Skip to content

Commit ec137b3

Browse files
authored
Merge pull request #340 from kpumuk/rails-open-range
Do not lock Rails version to allow early testing with newer versions
2 parents 3135254 + cb98375 commit ec137b3

21 files changed

+1152
-1004
lines changed

.github/workflows/standard.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,12 @@ jobs:
2424

2525
name: StandardRB - Ruby ${{ matrix.ruby-version }} on Rails ${{ matrix.rails-version }}
2626
steps:
27-
- name: Run StandardRB
28-
uses: standardrb/standard-ruby-action@v1
27+
- uses: actions/checkout@v6
28+
- name: Set up Ruby ${{ matrix.ruby-version }} on Rails ${{ matrix.rails-version }}
29+
uses: ruby/setup-ruby@v1
2930
with:
3031
ruby-version: ${{ matrix.ruby-version }}
31-
autofix: false
32+
bundler-cache: true
33+
- name: Run StandardRB (via Rubocop)
34+
run: |
35+
bundle exec rubocop --format offenses --format github

.rubocop-rails.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

.rubocop-rake.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,33 @@
1-
require:
1+
require: standard
2+
3+
inherit_gem:
4+
standard: config/base.yml
5+
6+
plugins:
7+
- standard-performance
8+
# rubocop-performance is required when using Performance cops
9+
- rubocop-performance
10+
- standard-rails
11+
- rubocop-rake
212
- rubocop-rspec
313

14+
AllCops:
15+
NewCops: disable
16+
SuggestExtensions: false
17+
TargetRubyVersion: 3.0
18+
19+
## standard-rails
20+
21+
# Do not require loading Rails environment for Rake tasks as we are not a Rails application.
22+
Rails/RakeEnvironment:
23+
Enabled: false
24+
25+
# Do not require subclassing from ApplicationController as we're not a rails application
26+
Rails/ApplicationController:
27+
Enabled: false
28+
29+
## rubocop-rspec
30+
431
RSpec/MultipleExpectations:
532
Max: 7
633

.standard.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

Appraisals

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,39 +2,47 @@
22

33
appraise "rails-6.1" do
44
gem "railties", "~> 6.1.7"
5-
gem "zeitwerk", "~> 2.6.18" # 2.7+ requires Ruby 3.2, and we still support Ruby 3.0
5+
gem "zeitwerk", "~> 2.6.18" # 2.7+ requires Ruby 3.2, and we still support Ruby 3.1
66
gem "base64" # not part of the default gems starting from Ruby 3.4.0
77
gem "bigdecimal" # not part of the default gems starting from Ruby 3.4.0
88
gem "logger" # not part of the default gems starting from Ruby 3.5.0
99
gem "mutex_m" # not part of the default gems starting from Ruby 3.4.0
10+
gem "minitest", "< 6.0" # 6.0+ requires Ruby 3.2, and we still support Ruby 3.1
1011
end
1112

1213
appraise "rails-7.0" do
1314
gem "railties", "~> 7.0.8"
14-
gem "zeitwerk", "~> 2.6.18" # 2.7+ requires Ruby 3.2, and we still support Ruby 3.0
15+
gem "zeitwerk", "~> 2.6.18" # 2.7+ requires Ruby 3.2, and we still support Ruby 3.1
1516
gem "base64" # not part of the default gems starting from Ruby 3.4.0
1617
gem "bigdecimal" # not part of the default gems starting from Ruby 3.4.0
1718
gem "logger" # not part of the default gems starting from Ruby 3.5.0
1819
gem "mutex_m" # not part of the default gems starting from Ruby 3.4.0
20+
gem "minitest", "< 6.0" # 6.0+ requires Ruby 3.2, and we still support Ruby 3.1
1921
end
2022

2123
appraise "rails-7.1" do
22-
gem "railties", "~> 7.1.4"
23-
gem "zeitwerk", "~> 2.6.18" # 2.7+ requires Ruby 3.2, and we still support Ruby 3.0
24+
gem "railties", "~> 7.1.6"
25+
gem "zeitwerk", "~> 2.6.18" # 2.7+ requires Ruby 3.2, and we still support Ruby 3.1
2426
gem "securerandom", "0.3.0" # 0.4.0 requires ruby version >= 3.1.0
27+
gem "minitest", "< 6.0" # 6.0+ requires Ruby 3.2, and we still support Ruby 3.1
28+
gem "connection_pool", "< 3.0" # 3.0+ requires Ruby 3.2, and we still support Ruby 3.1
29+
gem "erb", "< 5.0" # 5.0+ requires Ruby 3.2, and we still support Ruby 3.1
2530
end
2631

2732
appraise "rails-7.2" do
28-
gem "railties", "~> 7.2.1"
29-
gem "zeitwerk", "~> 2.6.18" # 2.7+ requires Ruby 3.2, and we still support Ruby 3.0
33+
gem "railties", "~> 7.2.3"
34+
gem "zeitwerk", "~> 2.6.18" # 2.7+ requires Ruby 3.2, and we still support Ruby 3.1
35+
gem "minitest", "< 6.0" # 6.0+ requires Ruby 3.2, and we still support Ruby 3.1
36+
gem "connection_pool", "< 3.0" # 3.0+ requires Ruby 3.2, and we still support Ruby 3.1
37+
gem "erb", "< 5.0" # 5.0+ requires Ruby 3.2, and we still support Ruby 3.1
3038
end
3139

3240
appraise "rails-8.0" do
33-
gem "railties", "~> 8.0.0.rc1"
41+
gem "railties", "~> 8.0.4"
3442
end
3543

3644
appraise "rails-8.1" do
37-
gem "railties", "~> 8.1.0"
45+
gem "railties", "~> 8.1.1"
3846
end
3947

4048
appraise "rails-edge" do

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## Development
4+
5+
Changes:
6+
7+
- Upper limit for Ruby on Rails version is no longer enforced (https://github.com/kpumuk/meta-tags/pull/340)
8+
39
## 2.22.2 (October 25, 2025) [](https://github.com/kpumuk/meta-tags/compare/v2.22.1...v2.22.2)
410

511
Changes:

gemfiles/rails_6.1.gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ gem "base64"
99
gem "bigdecimal"
1010
gem "logger"
1111
gem "mutex_m"
12+
gem "minitest", "< 6.0"
1213

1314
gemspec path: "../"

0 commit comments

Comments
 (0)