Skip to content

Commit

Permalink
fix: dropping ruby 2.5 support
Browse files Browse the repository at this point in the history
BREAKING
  • Loading branch information
niteshpurohit committed Aug 20, 2021
1 parent 3d36429 commit fe99e5e
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 7 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
ruby: [2.5, 2.6, 2.7, jruby, truffleruby]
ruby:
- "3.0"
- "2.7"
- "2.6"
include:
- ruby: "3.0"
coverage: "true"
name: Test with ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v2
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
ruby: [2.5, 2.6, 2.7, jruby, truffleruby]
ruby:
- "3.0"
- "2.7"
- "2.6"
include:
- ruby: "3.0"
coverage: "true"
name: Test with ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
inherit_from: .rubocop_todo.yml

AllCops:
TargetRubyVersion: "2.5.0"
TargetRubyVersion: "2.6.0"
Exclude:
- 'spec/**/*'
- 'test/**/*'
- 'test/**/*'
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#rvm:
# - 2.5
# - 2.6.3
# - 2.6.5
# - 2.7.0
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ GIT
PATH
remote: .
specs:
mutils (1.1.8)
mutils (1.2.0)
dry-inflector

GEM
Expand Down
2 changes: 1 addition & 1 deletion mutils.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.5.0'
spec.required_ruby_version = '>= 2.6.0'
spec.required_rubygems_version = '>= 1.8.11'
spec.add_dependency('dry-inflector')
spec.add_development_dependency 'bundler', '~> 2.0'
Expand Down

0 comments on commit fe99e5e

Please sign in to comment.