Skip to content

Commit

Permalink
Merge pull request #34 from DeployGate/feat/use_ruby26
Browse files Browse the repository at this point in the history
Upgrade ruby version to 2.6
  • Loading branch information
jmatsu authored Oct 21, 2022
2 parents 9462ada + 2f54786 commit cf0126f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ AllCops:
SuggestExtensions: false

Style/ObjectThen:
EnforcedStyle: yield_self # then has been introduced since 2.6 but this cop does not take of the target ruby version
EnforcedStyle: yield_self

Metrics/ModuleLength:
Exclude:
Expand Down Expand Up @@ -145,7 +145,7 @@ Layout/HeredocIndentation:
Style/SpecialGlobalVars:
Enabled: false

PercentLiteralDelimiters:
Style/PercentLiteralDelimiters:
PreferredDelimiters:
"%": ()
"%i": ()
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.5.1
2.6.10
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ DEPENDENCIES
pry
rake (~> 10.0)
rspec (~> 3.4)
rubocop (= 1.28.2)
rubocop
simplecov
yard

BUNDLED WITH
1.17.1
1.17.2
4 changes: 2 additions & 2 deletions android_apk.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
spec.summary = "Android APK file analyzer"
spec.homepage = "https://github.com/DeployGate/android_apk"
spec.license = "MIT"
spec.required_ruby_version = ">= 2.5.0"
spec.required_ruby_version = ">= 2.6.0"

spec.files = `git ls-files | grep -v 'spec/fixture'`.split($/)
spec.test_files = spec.files.grep(%r{^(test|spec)/})
Expand All @@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "simplecov"

# Linting code and docs
spec.add_development_dependency "rubocop", "= 1.28.2" # latest of ruby 2.5 support
spec.add_development_dependency "rubocop"
spec.add_development_dependency "yard"

# Makes testing easy via `bundle exec guard`
Expand Down

0 comments on commit cf0126f

Please sign in to comment.