Skip to content

Commit

Permalink
Merge pull request #11 from jdee/update-rubocop
Browse files Browse the repository at this point in the history
Use fastlane-plugin-maintenance to update RuboCop to 0.5.2
  • Loading branch information
jdee authored Dec 13, 2017
2 parents 8744254 + 0847f65 commit 608c53d
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@ Gemfile.lock
/_yardoc/
/doc/
/rdoc/
fastlane/report.xml
fastlane/README.md

coverage
test-results
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
Style/MixinUsage:
Enabled: true

Style/MultipleComparison:
Enabled: false

Expand Down
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
source 'https://rubygems.org'

gemspec
gem "fastlane", ">= 2.69.0"

plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')
eval_gemfile(plugins_path) if File.exist?(plugins_path)
5 changes: 5 additions & 0 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
fastlane_version "2.69.0"

lane :rubocop_update do
update_rubocop
end
1 change: 1 addition & 0 deletions fastlane/Pluginfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gem "fastlane-plugin-maintenance"
4 changes: 2 additions & 2 deletions pattern_patch.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'pry'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'rspec'
spec.add_development_dependency 'rspec_junit_formatter'
spec.add_development_dependency 'rspec-simplecov'
spec.add_development_dependency 'rubocop', '~> 0.50.0'
spec.add_development_dependency 'rspec_junit_formatter'
spec.add_development_dependency 'rubocop', '0.52.0'
spec.add_development_dependency 'simplecov'
spec.add_development_dependency 'yard'
end
4 changes: 2 additions & 2 deletions spec/methods_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include PatternPatch::Methods

describe PatternPatch::Methods do
include PatternPatch::Methods

it 'has an attr_accessor :patch_dir' do
expect(PatternPatch).to respond_to(:patch_dir)
expect(PatternPatch).to respond_to(:patch_dir=)
Expand Down

0 comments on commit 608c53d

Please sign in to comment.