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 b7314ea commit c0f085e
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 42 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
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 'activesupport', '~> 5.2.0'
end

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

### 1.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 @@ -13,7 +13,7 @@ gem 'bundler', '~> 2.3'
gem 'countless', '~> 1.1'
gem 'factory_bot', '~> 6.2'
gem 'guard-rspec', '~> 4.7'
gem 'railties', '>= 5.2'
gem 'railties', '>= 6.1'
gem 'rake', '~> 13.0'
gem 'redcarpet', '~> 3.5'
gem 'rspec', '~> 3.12'
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 @@ -7,7 +7,7 @@ gem "bundler", "~> 2.3"
gem "countless", "~> 1.1"
gem "factory_bot", "~> 6.2"
gem "guard-rspec", "~> 4.7"
gem "railties", ">= 5.2"
gem "railties", ">= 6.1"
gem "rake", "~> 13.0"
gem "redcarpet", "~> 3.5"
gem "rspec", "~> 3.12"
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 @@ -7,7 +7,7 @@ gem "bundler", "~> 2.3"
gem "countless", "~> 1.1"
gem "factory_bot", "~> 6.2"
gem "guard-rspec", "~> 4.7"
gem "railties", ">= 5.2"
gem "railties", ">= 6.1"
gem "rake", "~> 13.0"
gem "redcarpet", "~> 3.5"
gem "rspec", "~> 3.12"
Expand Down
8 changes: 4 additions & 4 deletions immoscout.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ Gem::Specification.new do |spec|

spec.required_ruby_version = '>= 2.7'

spec.add_runtime_dependency 'activesupport', '>= 5.2'
spec.add_runtime_dependency 'faraday', '~> 1.10'
spec.add_runtime_dependency 'faraday_middleware', '~> 1.2'
spec.add_runtime_dependency 'simple_oauth', '>= 0.3'
spec.add_dependency 'activesupport', '>= 6.1'
spec.add_dependency 'faraday', '~> 1.10'
spec.add_dependency 'faraday_middleware', '~> 1.2'
spec.add_dependency 'simple_oauth', '>= 0.3'
end

0 comments on commit c0f085e

Please sign in to comment.