Skip to content

Commit 64f0e51

Browse files
authored
Merge pull request rswag#867 from 4ndv/rails-8-1
Update gemspec to support Rails 8.1 for v3
2 parents 5c7288a + 95aa55b commit 64f0e51

File tree

5 files changed

+23
-8
lines changed

5 files changed

+23
-8
lines changed

.github/workflows/ruby.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,21 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
# Ruby 3.0 became EOL on 2024-04-23; kept for information only
16+
# Ruby 3.1 became EOL on 2025-03-31; kept for information only
1617
ruby: ['3.0', '3.1', '3.2', '3.3', '3.4']
1718

1819
# Rails 6.0 became EOL on 2023-06-01; kept for information only
19-
rails: ['6.0.6.1', '6.1.7.8', '7.0.8.4', '7.1.3.4', '7.2.0', '8.0.0']
20+
# Rails 6.1 became EOL on 2024-10-01; kept for information only
21+
# Rails 7.0 became EOL on 2025-04-01; kept for information only
22+
# Rails 7.1 became EOL on 2025-10-01; kept for information only
23+
rails: ['6.0.6.1', '6.1.7.8', '7.0.8.4', '7.1.3.4', '7.2.0', '8.0.0', '8.1.0']
2024

2125
exclude:
2226
# Excludes Rails 6.0 on Ruby 3.0+
2327
# Excludes Rails 7.0 on Ruby 3.4
2428
# Excludes Rails 7.2 on Ruby 3.0
2529
# Excludes Rails 8.0 on Ruby 2.6, 2.7, 3.0, 3.1
30+
# Excludes Rails 8.1 on Ruby 2.6, 2.7, 3.0, 3.1
2631
- rails: '6.0.6.1'
2732
ruby: '3.0'
2833
- rails: '6.0.6.1'
@@ -47,6 +52,14 @@ jobs:
4752
ruby: '3.0'
4853
- rails: '8.0.0'
4954
ruby: '3.1'
55+
- rails: '8.1.0'
56+
ruby: '2.6'
57+
- rails: '8.1.0'
58+
ruby: '2.7'
59+
- rails: '8.1.0'
60+
ruby: '3.0'
61+
- rails: '8.1.0'
62+
ruby: '3.1'
5063
name: Ruby ${{ matrix.ruby }}, Rails ${{ matrix.rails }}
5164
env:
5265
RAILS_VERSION: ${{ matrix.rails }}

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1818
- Drop support for OpenAPI v2 (Swagger) (https://github.com/rswag/rswag/pull/574)
1919
- Drop Rspec V2 support (https://github.com/rswag/rswag/pull/636)
2020
- upgrade to ruby 3.0.6 and rails 7.0.4.3 in local dev (https://github.com/rswag/rswag/pull/625)
21+
- Update rails dependency in gemspec to support Rails 8.1 (https://github.com/rswag/rswag/pull/867)
22+
- Relax the dependency on json-schema to allow v6. (https://github.com/rswag/rswag/pull/867)
2123

2224
### Documentation
2325

rswag-api/rswag-api.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ Gem::Specification.new do |s|
1919

2020
s.files = Dir['{lib}/**/*'] + %w[MIT-LICENSE Rakefile]
2121

22-
s.add_dependency 'activesupport', '>= 5.2', '< 8.1'
23-
s.add_dependency 'railties', '>= 5.2', '< 8.1'
22+
s.add_dependency 'activesupport', '>= 5.2', '< 8.2'
23+
s.add_dependency 'railties', '>= 5.2', '< 8.2'
2424

2525
s.add_development_dependency 'simplecov', '=0.21.2'
2626
end

rswag-specs/rswag-specs.gemspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ Gem::Specification.new do |s|
2222

2323
s.files = Dir['{lib}/**/*'] + ['MIT-LICENSE', 'Rakefile', '.rubocop_rspec_alias_config.yml']
2424

25-
s.add_dependency 'activesupport', '>= 5.2', '< 8.1'
26-
s.add_dependency 'json-schema', '>= 2.2', '< 6.0'
27-
s.add_dependency 'railties', '>= 5.2', '< 8.1'
25+
s.add_dependency 'activesupport', '>= 5.2', '< 8.2'
26+
s.add_dependency 'json-schema', '>= 2.2', '< 7.0'
27+
s.add_dependency 'railties', '>= 5.2', '< 8.2'
2828
s.add_dependency 'rspec-core', '>=3.12'
2929

3030
s.add_development_dependency 'simplecov', '=0.21.2'

rswag-ui/rswag-ui.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ Gem::Specification.new do |s|
2222

2323
s.files = Dir.glob('{lib,node_modules}/**/*') + %w[MIT-LICENSE Rakefile]
2424

25-
s.add_dependency 'actionpack', '>= 5.2', '< 8.1'
26-
s.add_dependency 'railties', '>= 5.2', '< 8.1'
25+
s.add_dependency 'actionpack', '>= 5.2', '< 8.2'
26+
s.add_dependency 'railties', '>= 5.2', '< 8.2'
2727

2828
s.add_development_dependency 'simplecov', '=0.21.2'
2929
end

0 commit comments

Comments
 (0)