Skip to content

Commit

Permalink
Support rails 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mkhairi committed Sep 11, 2024
1 parent faf2c2a commit b44cb09
Show file tree
Hide file tree
Showing 14 changed files with 258 additions and 155 deletions.
53 changes: 39 additions & 14 deletions .github/workflows/rspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,53 @@ jobs:
strategy:
matrix:
ruby:
- "2.6"
- "2.7"
- "3.0"
- "3.1"
- "3.3"
- "3.2"
- "3.1"
- "3.0"
- "2.7"
- "2.6"
gemfile:
- gemfiles/rails_5.2.gemfile
- gemfiles/rails_6.0.gemfile
- gemfiles/rails_6.1.gemfile
- gemfiles/rails_7.0.gemfile
- gemfiles/rails_7.2.gemfile
- gemfiles/rails_7.1.gemfile
- gemfiles/rails_7.0.gemfile
- gemfiles/rails_6.1.gemfile
- gemfiles/rails_6.0.gemfile
- gemfiles/rails_5.2.gemfile
exclude:
- gemfile: gemfiles/rails_5.2.gemfile
- gemfile: gemfiles/rails_7.2.gemfile
ruby: "3.0"
- gemfile: gemfiles/rails_5.2.gemfile
ruby: "3.1"
- gemfile: gemfiles/rails_5.2.gemfile
ruby: "3.2"
- gemfile: gemfiles/rails_7.0.gemfile
- gemfile: gemfiles/rails_7.2.gemfile
ruby: "2.7"
- gemfile: gemfiles/rails_7.2.gemfile
ruby: "2.6"
- gemfile: gemfiles/rails_7.1.gemfile
ruby: "2.6"
- gemfile: gemfiles/rails_7.0.gemfile
ruby: "2.6"
- gemfile: gemfiles/rails_6.1.gemfile
ruby: "3.3"
- gemfile: gemfiles/rails_6.1.gemfile
ruby: "3.2"
- gemfile: gemfiles/rails_6.1.gemfile
ruby: "3.1"
- gemfile: gemfiles/rails_6.0.gemfile
ruby: "3.3"
- gemfile: gemfiles/rails_6.0.gemfile
ruby: "3.2"
- gemfile: gemfiles/rails_6.0.gemfile
ruby: "3.1"
- gemfile: gemfiles/rails_6.0.gemfile
ruby: "3.0"
- gemfile: gemfiles/rails_5.2.gemfile
ruby: "3.3"
- gemfile: gemfiles/rails_5.2.gemfile
ruby: "3.2"
- gemfile: gemfiles/rails_5.2.gemfile
ruby: "3.1"
- gemfile: gemfiles/rails_5.2.gemfile
ruby: "3.0"

env:
BUNDLE_GEMFILE: ${{ format('{0}/{1}', github.workspace, matrix.gemfile) }}
BUNDLE_PATH: ${{ format('{0}/vendor/bundle', github.workspace) }}
Expand Down
8 changes: 6 additions & 2 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,13 @@ appraise "rails-6.1" do
end

appraise "rails-7.0" do
gem 'activemodel', '~> 7.0.8'
gem 'activemodel', '~> 7.0.8.4'
end

appraise "rails-7.1" do
gem 'activemodel', '~> 7.1.1'
gem 'activemodel', '~> 7.1.4'
end

appraise "rails-7.2" do
gem 'activemodel', '~> 7.2.1'
end
34 changes: 17 additions & 17 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
PATH
remote: .
specs:
nested_record (1.1.1)
activemodel (> 5.2, < 7.2)
nested_record (1.1.2)
activemodel (> 5.2, < 8.0)

GEM
remote: https://rubygems.org/
specs:
activemodel (7.1.1)
activesupport (= 7.1.1)
activesupport (7.1.1)
activemodel (7.2.1)
activesupport (= 7.2.1)
activesupport (7.2.1)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
concurrent-ruby (~> 1.0, >= 1.3.1)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
logger (>= 1.4.2)
minitest (>= 5.1)
mutex_m
tzinfo (~> 2.0)
securerandom (>= 0.3)
tzinfo (~> 2.0, >= 2.0.5)
appraisal (2.5.0)
bundler
rake
thor (>= 0.14.0)
base64 (0.1.1)
bigdecimal (3.1.4)
concurrent-ruby (1.2.2)
base64 (0.2.0)
bigdecimal (3.1.8)
concurrent-ruby (1.3.4)
connection_pool (2.4.1)
diff-lcs (1.5.0)
drb (2.1.1)
ruby2_keywords
i18n (1.14.1)
drb (2.2.1)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
minitest (5.20.0)
mutex_m (0.1.2)
logger (1.6.1)
minitest (5.25.1)
rake (13.0.6)
rspec (3.12.0)
rspec-core (~> 3.12.0)
Expand All @@ -48,7 +48,7 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.1)
ruby2_keywords (0.0.5)
securerandom (0.3.1)
thor (1.2.2)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
Expand Down
38 changes: 19 additions & 19 deletions gemfiles/rails_5.2.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
PATH
remote: ..
specs:
nested_record (1.1.1)
activemodel (> 5.2, < 7.2)
nested_record (1.1.2)
activemodel (> 5.2, < 8.0)

GEM
remote: https://rubygems.org/
Expand All @@ -18,26 +18,26 @@ GEM
bundler
rake
thor (>= 0.14.0)
concurrent-ruby (1.2.2)
diff-lcs (1.5.0)
i18n (1.14.1)
concurrent-ruby (1.3.4)
diff-lcs (1.5.1)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
minitest (5.20.0)
rake (13.0.6)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-core (3.12.2)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.3)
minitest (5.25.1)
rake (13.2.1)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.1)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.6)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.1)
thor (1.3.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.1)
thor (1.3.2)
thread_safe (0.3.6)
tzinfo (1.2.11)
thread_safe (~> 0.1)
Expand Down
42 changes: 21 additions & 21 deletions gemfiles/rails_6.0.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
PATH
remote: ..
specs:
nested_record (1.1.1)
activemodel (> 5.2, < 7.2)
nested_record (1.1.2)
activemodel (> 5.2, < 8.0)

GEM
remote: https://rubygems.org/
Expand All @@ -19,30 +19,30 @@ GEM
bundler
rake
thor (>= 0.14.0)
concurrent-ruby (1.2.2)
diff-lcs (1.5.0)
i18n (1.14.1)
concurrent-ruby (1.3.4)
diff-lcs (1.5.1)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
minitest (5.20.0)
rake (13.0.6)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-core (3.12.2)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.3)
minitest (5.25.1)
rake (13.2.1)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.1)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.6)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.1)
thor (1.3.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.1)
thor (1.3.2)
thread_safe (0.3.6)
tzinfo (1.2.11)
thread_safe (~> 0.1)
zeitwerk (2.6.12)
zeitwerk (2.6.18)

PLATFORMS
ruby
Expand All @@ -56,4 +56,4 @@ DEPENDENCIES
rspec (~> 3.0)

BUNDLED WITH
2.4.20
2.4.20
48 changes: 24 additions & 24 deletions gemfiles/rails_6.1.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
PATH
remote: ..
specs:
nested_record (1.1.1)
activemodel (> 5.2, < 7.2)
nested_record (1.1.2)
activemodel (> 5.2, < 8.0)

GEM
remote: https://rubygems.org/
specs:
activemodel (6.1.7.6)
activesupport (= 6.1.7.6)
activesupport (6.1.7.6)
activemodel (6.1.7.8)
activesupport (= 6.1.7.8)
activesupport (6.1.7.8)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
Expand All @@ -19,29 +19,29 @@ GEM
bundler
rake
thor (>= 0.14.0)
concurrent-ruby (1.2.2)
diff-lcs (1.5.0)
i18n (1.14.1)
concurrent-ruby (1.3.4)
diff-lcs (1.5.1)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
minitest (5.20.0)
rake (13.0.6)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-core (3.12.2)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.3)
minitest (5.25.1)
rake (13.2.1)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.1)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.6)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.1)
thor (1.3.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.1)
thor (1.3.2)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
zeitwerk (2.6.12)
zeitwerk (2.6.18)

PLATFORMS
ruby
Expand All @@ -55,4 +55,4 @@ DEPENDENCIES
rspec (~> 3.0)

BUNDLED WITH
2.4.20
2.4.20
2 changes: 1 addition & 1 deletion gemfiles/rails_7.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

source "https://rubygems.org"

gem "activemodel", "~> 7.0.8"
gem "activemodel", "~> 7.0.8.4"

gemspec path: "../"
Loading

0 comments on commit b44cb09

Please sign in to comment.