Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raised the minimum Ruby/Rails versions. #14

Merged
merged 1 commit into from
Jan 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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