Skip to content

Commit 608c53d

Browse files
authored
Merge pull request #11 from jdee/update-rubocop
Use fastlane-plugin-maintenance to update RuboCop to 0.5.2
2 parents 8744254 + 0847f65 commit 608c53d

File tree

7 files changed

+20
-4
lines changed

7 files changed

+20
-4
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,8 @@ Gemfile.lock
66
/_yardoc/
77
/doc/
88
/rdoc/
9+
fastlane/report.xml
10+
fastlane/README.md
11+
912
coverage
1013
test-results

.rubocop.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
Style/MixinUsage:
2+
Enabled: true
3+
14
Style/MultipleComparison:
25
Enabled: false
36

Gemfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
source 'https://rubygems.org'
22

33
gemspec
4+
gem "fastlane", ">= 2.69.0"
5+
6+
plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')
7+
eval_gemfile(plugins_path) if File.exist?(plugins_path)

fastlane/Fastfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
fastlane_version "2.69.0"
2+
3+
lane :rubocop_update do
4+
update_rubocop
5+
end

fastlane/Pluginfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
gem "fastlane-plugin-maintenance"

pattern_patch.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ Gem::Specification.new do |spec|
2121
spec.add_development_dependency 'pry'
2222
spec.add_development_dependency 'rake'
2323
spec.add_development_dependency 'rspec'
24-
spec.add_development_dependency 'rspec_junit_formatter'
2524
spec.add_development_dependency 'rspec-simplecov'
26-
spec.add_development_dependency 'rubocop', '~> 0.50.0'
25+
spec.add_development_dependency 'rspec_junit_formatter'
26+
spec.add_development_dependency 'rubocop', '0.52.0'
2727
spec.add_development_dependency 'simplecov'
2828
spec.add_development_dependency 'yard'
2929
end

spec/methods_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
include PatternPatch::Methods
2-
31
describe PatternPatch::Methods do
2+
include PatternPatch::Methods
3+
44
it 'has an attr_accessor :patch_dir' do
55
expect(PatternPatch).to respond_to(:patch_dir)
66
expect(PatternPatch).to respond_to(:patch_dir=)

0 commit comments

Comments
 (0)