Skip to content

Commit

Permalink
Raised the minimum Ruby/Rails versions. (#8)
Browse files Browse the repository at this point in the history
Signed-off-by: Hermann Mayer <hermann.mayer92@gmail.com>
  • Loading branch information
Jack12816 authored Jan 3, 2025
1 parent f1e2c20 commit 40274dd
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 32 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']
ruby: ['2.7', '3.0']
rails: ['6.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
4 changes: 0 additions & 4 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# frozen_string_literal: true

appraise 'rails-5.2' do
gem 'railties', '~> 5.2.0'
end

appraise 'rails-6.1' do
gem 'railties', '~> 6.1.0'
end
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 (#8)

### 3.6.5 (15 August 2024)

Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ gem 'appraisal', '~> 2.4'
gem 'bundler', '~> 2.3'
gem 'countless', '~> 1.1'
gem 'guard-rspec', '~> 4.7'
gem 'rails', '>= 5.2'
gem 'rails', '>= 6.1'
gem 'rake', '~> 13.0'
gem 'rspec', '~> 3.12'
gem 'rspec-rails', '~> 5.1'
Expand Down
2 changes: 1 addition & 1 deletion conversejs.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ Gem::Specification.new do |spec|

spec.required_ruby_version = '>= 2.7'

spec.add_runtime_dependency 'railties', '>= 5.2', '< 7.0'
spec.add_dependency 'railties', '>= 6.1', '< 7.0'
end
21 changes: 0 additions & 21 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 @@ -6,7 +6,7 @@ gem "appraisal", "~> 2.4"
gem "bundler", "~> 2.3"
gem "countless", "~> 1.1"
gem "guard-rspec", "~> 4.7"
gem "rails", ">= 5.2"
gem "rails", ">= 6.1"
gem "rake", "~> 13.0"
gem "rspec", "~> 3.12"
gem "rspec-rails", "~> 5.1"
Expand Down

0 comments on commit 40274dd

Please sign in to comment.