Skip to content

Commit

Permalink
Raised the minimum Ruby/Rails versions.
Browse files Browse the repository at this point in the history
Signed-off-by: Hermann Mayer <[email protected]>
  • Loading branch information
Jack12816 committed Jan 3, 2025
1 parent 4716642 commit 3ba1187
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 46 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ['2.7']
rails: ['5.2', '6.1', '7.1']
ruby: ['2.7', '3.0']
rails: ['6.1', '7.1']
env:
BUNDLE_GEMFILE: 'gemfiles/rails_${{ matrix.rails }}.gemfile'
steps:
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ AllCops:
SuggestExtensions: false
DisplayCopNames: true
TargetRubyVersion: 2.7
TargetRailsVersion: 5.2
TargetRailsVersion: 6.1
Exclude:
- bin/**/*
- vendor/**/*
Expand Down
6 changes: 0 additions & 6 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
# frozen_string_literal: true

appraise 'rails-5.2' do
gem 'activejob', '~> 5.2.0'
gem 'activerecord', '~> 5.2.0'
gem 'activesupport', '~> 5.2.0'
end

appraise 'rails-6.1' do
gem 'activejob', '~> 6.1.0'
gem 'activerecord', '~> 6.1.0'
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### next

* TODO: Replace this bullet point with an actual description of a change.
* Raised minimum supported Ruby/Rails version to 2.7/6.1 (#16)

### 2.5.0 (4 October 2024)

Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ gem 'countless', '~> 1.1'
gem 'guard-rspec', '~> 4.7'
gem 'rack', '~> 2.2'
gem 'rack-test', '~> 2.0'
gem 'railties', '>= 5.2'
gem 'railties', '>= 6.1'
gem 'rake', '~> 13.0'
gem 'rspec', '~> 3.12'
gem 'rubocop', '~> 1.28'
Expand Down
27 changes: 0 additions & 27 deletions gemfiles/rails_5.2.gemfile

This file was deleted.

2 changes: 1 addition & 1 deletion gemfiles/rails_6.1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ gem "countless", "~> 1.1"
gem "guard-rspec", "~> 4.7"
gem "rack", "~> 2.2"
gem "rack-test", "~> 2.0"
gem "railties", ">= 5.2"
gem "railties", ">= 6.1"
gem "rake", "~> 13.0"
gem "rspec", "~> 3.12"
gem "rubocop", "~> 1.28"
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_7.1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ gem "countless", "~> 1.1"
gem "guard-rspec", "~> 4.7"
gem "rack", "~> 2.2"
gem "rack-test", "~> 2.0"
gem "railties", ">= 5.2"
gem "railties", ">= 6.1"
gem "rake", "~> 13.0"
gem "rspec", "~> 3.12"
gem "rubocop", "~> 1.28"
Expand Down
12 changes: 6 additions & 6 deletions grape-jwt-authentication.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ Gem::Specification.new do |spec|

spec.required_ruby_version = '>= 2.7'

spec.add_runtime_dependency 'activesupport', '>= 5.2'
spec.add_runtime_dependency 'grape', '>= 1.0', '< 3.0'
spec.add_runtime_dependency 'httparty', '>= 0.21'
spec.add_runtime_dependency 'jwt', '~> 2.6'
spec.add_runtime_dependency 'keyless', '~> 1.4'
spec.add_runtime_dependency 'recursive-open-struct', '~> 2.0'
spec.add_dependency 'activesupport', '>= 6.1'
spec.add_dependency 'grape', '>= 1.0', '< 3.0'
spec.add_dependency 'httparty', '>= 0.21'
spec.add_dependency 'jwt', '~> 2.6'
spec.add_dependency 'keyless', '~> 1.4'
spec.add_dependency 'recursive-open-struct', '~> 2.0'
end

0 comments on commit 3ba1187

Please sign in to comment.