Skip to content

Commit c7ae5ea

Browse files
committed
feat: Add support for Rails 8.0
1 parent 388ab6f commit c7ae5ea

10 files changed

+50
-7
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,14 @@ jobs:
2222
- rails_7.0.gemfile
2323
- rails_7.1.gemfile
2424
- rails_7.2.gemfile
25+
- rails_8.0.gemfile
2526
exclude:
27+
- gemfile: rails_8.0.gemfile
28+
ruby: "3.1"
29+
- gemfile: rails_8.0.gemfile
30+
ruby: "3.0"
31+
- gemfile: rails_8.0.gemfile
32+
ruby: "2.7"
2633
- gemfile: rails_7.2.gemfile
2734
ruby: "3.0"
2835
- gemfile: rails_7.2.gemfile

Appraisals

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@ appraise 'rails-7.2' do
2828
gem 'railties', '~> 7.2.0', require: 'rails'
2929
end
3030

31+
appraise 'rails-8.0' do
32+
gem 'activesupport', '~> 8.0.0'
33+
gem 'activemodel', '~> 8.0.0'
34+
gem 'actionpack', '~> 8.0.0'
35+
gem 'railties', '~> 8.0.0', require: 'rails'
36+
end
37+
3138
appraise 'rails-head' do
3239
gem 'activesupport', github: 'rails/rails'
3340
gem 'activemodel', github: 'rails/rails'

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a Ch
99

1010
### New
1111

12+
- Support Rails 8.0 by @jgraichen
13+
1214
### Changes
1315

1416
### Fixes
@@ -21,7 +23,7 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a Ch
2123

2224
### New
2325

24-
- Add support for Rails 7.2
26+
- Add support for Rails 7.2 by @jgraichen
2527

2628
## 3.1.0 - (2023-11-28)
2729

gemfiles/rails_6.1.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ source "https://rubygems.org"
44

55
gem "rake"
66
gem "rake-release", "~> 1.0"
7-
gem "rubocop-config", github: "jgraichen/rubocop-config", ref: "v11", require: false
87
gem "activesupport", "~> 6.1.0"
98
gem "activemodel", "~> 6.1.0"
109
gem "actionpack", "~> 6.1.0"
@@ -15,6 +14,7 @@ group :development do
1514
gem "benchmark-ips"
1615
gem "pry"
1716
gem "pry-byebug"
17+
gem "rubocop-config", github: "jgraichen/rubocop-config", ref: "v12", require: false
1818
end
1919

2020
group :test do

gemfiles/rails_7.0.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ source "https://rubygems.org"
44

55
gem "rake"
66
gem "rake-release", "~> 1.0"
7-
gem "rubocop-config", github: "jgraichen/rubocop-config", ref: "v11", require: false
87
gem "activesupport", "~> 7.0.0"
98
gem "activemodel", "~> 7.0.0"
109
gem "actionpack", "~> 7.0.0"
@@ -15,6 +14,7 @@ group :development do
1514
gem "benchmark-ips"
1615
gem "pry"
1716
gem "pry-byebug"
17+
gem "rubocop-config", github: "jgraichen/rubocop-config", ref: "v12", require: false
1818
end
1919

2020
group :test do

gemfiles/rails_7.1.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ source "https://rubygems.org"
44

55
gem "rake"
66
gem "rake-release", "~> 1.0"
7-
gem "rubocop-config", github: "jgraichen/rubocop-config", ref: "v11", require: false
87
gem "activesupport", "~> 7.1.0"
98
gem "activemodel", "~> 7.1.0"
109
gem "actionpack", "~> 7.1.0"
@@ -15,6 +14,7 @@ group :development do
1514
gem "benchmark-ips"
1615
gem "pry"
1716
gem "pry-byebug"
17+
gem "rubocop-config", github: "jgraichen/rubocop-config", ref: "v12", require: false
1818
end
1919

2020
group :test do

gemfiles/rails_7.2.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ source "https://rubygems.org"
44

55
gem "rake"
66
gem "rake-release", "~> 1.0"
7-
gem "rubocop-config", github: "jgraichen/rubocop-config", ref: "v11", require: false
87
gem "activesupport", "~> 7.2.0"
98
gem "activemodel", "~> 7.2.0"
109
gem "actionpack", "~> 7.2.0"
@@ -15,6 +14,7 @@ group :development do
1514
gem "benchmark-ips"
1615
gem "pry"
1716
gem "pry-byebug"
17+
gem "rubocop-config", github: "jgraichen/rubocop-config", ref: "v12", require: false
1818
end
1919

2020
group :test do

gemfiles/rails_8.0.gemfile

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "rake"
6+
gem "rake-release", "~> 1.0"
7+
gem "activesupport", "~> 8.0.0"
8+
gem "activemodel", "~> 8.0.0"
9+
gem "actionpack", "~> 8.0.0"
10+
gem "railties", "~> 8.0.0", require: "rails"
11+
12+
group :development do
13+
gem "appraisal"
14+
gem "benchmark-ips"
15+
gem "pry"
16+
gem "pry-byebug"
17+
gem "rubocop-config", github: "jgraichen/rubocop-config", ref: "v12", require: false
18+
end
19+
20+
group :test do
21+
gem "rspec", "~> 3.0"
22+
gem "rspec-rails"
23+
gem "simplecov"
24+
gem "simplecov-cobertura"
25+
end
26+
27+
gemspec path: "../"

gemfiles/rails_head.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ source "https://rubygems.org"
44

55
gem "rake"
66
gem "rake-release", "~> 1.0"
7-
gem "rubocop-config", github: "jgraichen/rubocop-config", ref: "v11", require: false
87
gem "activesupport", github: "rails/rails"
98
gem "activemodel", github: "rails/rails"
109
gem "actionpack", github: "rails/rails"
@@ -15,6 +14,7 @@ group :development do
1514
gem "benchmark-ips"
1615
gem "pry"
1716
gem "pry-byebug"
17+
gem "rubocop-config", github: "jgraichen/rubocop-config", ref: "v12", require: false
1818
end
1919

2020
group :test do

rails-rfc6570.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ Gem::Specification.new do |spec|
2727

2828
spec.required_ruby_version = '>= 2.7'
2929

30-
spec.add_dependency 'actionpack', '>= 4.2', '< 8.0'
30+
spec.add_dependency 'actionpack', '>= 4.2', '< 8.1'
3131
spec.add_dependency 'addressable', '~> 2.3'
3232
end

0 commit comments

Comments
 (0)