Skip to content

Commit

Permalink
Drop support for Ruby 2.5 (#709)
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandroperea authored Jan 22, 2022
1 parent df8dbe3 commit 6bdfe0b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
3 changes: 0 additions & 3 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ pull_request_rules:
conditions:
- author~=^dependabot(|-preview)\[bot\]$
- check-success=lint
- check-success=test(ruby-2.5, rails_52)
- check-success=test(ruby-2.5, rails_60)
- check-success=test(ruby-2.5, rails_61)
- check-success=test(ruby-2.6, rails_52)
- check-success=test(ruby-2.6, rails_60)
- check-success=test(ruby-2.6, rails_61)
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ jobs:

matrix:
ruby:
- { name: ruby-2.5, value: 2.5.9 }
- { name: ruby-2.6, value: 2.6.9 }
- { name: ruby-2.7, value: 2.7.5 }
- { name: ruby-3.0, value: 3.0.3 }
Expand All @@ -56,8 +55,6 @@ jobs:
rails: [rails_52, rails_60, rails_61, rails_70]

exclude:
- ruby: { name: ruby-2.5, value: 2.5.9 }
rails: rails_70
- ruby: { name: ruby-2.6, value: 2.6.9 }
rails: rails_70
- ruby: { name: ruby-2.7, value: 2.7.5 }
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ AllCops:
DisplayCopNames: true
DisplayStyleGuide: true

TargetRubyVersion: 2.5
TargetRubyVersion: 2.6

Metrics:
Enabled: false
Expand Down
2 changes: 1 addition & 1 deletion inherited_resources.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Gem::Specification.new do |s|
s.files = Dir["app/**/*", "lib/**/*", "README.md", "MIT-LICENSE"]
s.require_paths = ["lib"]

s.required_ruby_version = '>= 2.5'
s.required_ruby_version = '>= 2.6'

s.add_dependency("responders", ">= 2", "< 4")
s.add_dependency("actionpack", ">= 5.2", "< 7.1")
Expand Down

0 comments on commit 6bdfe0b

Please sign in to comment.