Skip to content

Commit

Permalink
ci: Add Rails 7.2 to testing matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
hasghari committed Aug 17, 2024
1 parent 9f41b19 commit 25695a0
Show file tree
Hide file tree
Showing 11 changed files with 275 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruby 3.3.0
ruby 3.3.4
18 changes: 15 additions & 3 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
appraise 'activerecord-6.1.0' do
appraise 'activerecord_6.1.0' do
gem 'activerecord', '~> 6.1', '< 6.2'
gem 'base64'
gem 'bigdecimal'
gem 'drb'
gem 'mutex_m'
end

appraise 'activerecord-7.0.0' do
appraise 'activerecord_7.0.0' do
gem 'activerecord', '~> 7.0', '< 7.1'
gem 'base64'
gem 'bigdecimal'
gem 'drb'
gem 'mutex_m'
end

appraise 'activerecord-7.1.0' do
appraise 'activerecord_7.1.0' do
gem 'activerecord', '~> 7.1', '< 7.2'
end

appraise 'activerecord_7.2.0' do
gem 'activerecord', '~> 7.2', '< 8'
end
4 changes: 4 additions & 0 deletions gemfiles/activerecord_6.1.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,9 @@ gem "rspec-rails", "~> 6.1"
gem "rubocop-rspec", "~> 2"
gem "simplecov", "~> 0.20"
gem "activerecord", "~> 6.1", "< 6.2"
gem "base64"
gem "bigdecimal"
gem "drb"
gem "mutex_m"

gemspec path: "../"
10 changes: 9 additions & 1 deletion gemfiles/activerecord_6.1.0.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PATH
remote: ..
specs:
parentry (1.6.0)
activerecord (>= 6.1, < 7.2)
activerecord (>= 6.1, < 8)

GEM
remote: https://rubygems.org/
Expand Down Expand Up @@ -36,6 +36,8 @@ GEM
rake
thor (>= 0.14.0)
ast (2.4.2)
base64 (0.2.0)
bigdecimal (3.1.8)
builder (3.2.4)
coderay (1.1.3)
combustion (1.4.0)
Expand All @@ -52,6 +54,7 @@ GEM
database_cleaner-core (2.0.1)
diff-lcs (1.5.1)
docile (1.4.0)
drb (2.2.1)
erubi (1.12.0)
i18n (1.14.4)
concurrent-ruby (~> 1.0)
Expand All @@ -62,6 +65,7 @@ GEM
nokogiri (>= 1.12.0)
method_source (1.1.0)
minitest (5.22.3)
mutex_m (0.2.0)
nokogiri (1.16.4-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.16.4-x86_64-linux)
Expand Down Expand Up @@ -157,9 +161,13 @@ PLATFORMS
DEPENDENCIES
activerecord (~> 6.1, < 6.2)
appraisal
base64
bigdecimal
bundler (~> 2)
combustion (~> 1.4)
database_cleaner (~> 2)
drb
mutex_m
parentry!
pg (~> 1.5)
pry (~> 0.13)
Expand Down
4 changes: 4 additions & 0 deletions gemfiles/activerecord_7.0.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,9 @@ gem "rspec-rails", "~> 6.1"
gem "rubocop-rspec", "~> 2"
gem "simplecov", "~> 0.20"
gem "activerecord", "~> 7.0", "< 7.1"
gem "base64"
gem "bigdecimal"
gem "drb"
gem "mutex_m"

gemspec path: "../"
10 changes: 9 additions & 1 deletion gemfiles/activerecord_7.0.0.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PATH
remote: ..
specs:
parentry (1.6.0)
activerecord (>= 6.1, < 7.2)
activerecord (>= 6.1, < 8)

GEM
remote: https://rubygems.org/
Expand Down Expand Up @@ -35,6 +35,8 @@ GEM
rake
thor (>= 0.14.0)
ast (2.4.2)
base64 (0.2.0)
bigdecimal (3.1.8)
builder (3.2.4)
coderay (1.1.3)
combustion (1.4.0)
Expand All @@ -51,6 +53,7 @@ GEM
database_cleaner-core (2.0.1)
diff-lcs (1.5.1)
docile (1.4.0)
drb (2.2.1)
erubi (1.12.0)
i18n (1.14.4)
concurrent-ruby (~> 1.0)
Expand All @@ -61,6 +64,7 @@ GEM
nokogiri (>= 1.12.0)
method_source (1.1.0)
minitest (5.22.3)
mutex_m (0.2.0)
nokogiri (1.16.4-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.16.4-x86_64-linux)
Expand Down Expand Up @@ -157,9 +161,13 @@ PLATFORMS
DEPENDENCIES
activerecord (~> 7.0, < 7.1)
appraisal
base64
bigdecimal
bundler (~> 2)
combustion (~> 1.4)
database_cleaner (~> 2)
drb
mutex_m
parentry!
pg (~> 1.5)
pry (~> 0.13)
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/activerecord_7.1.0.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PATH
remote: ..
specs:
parentry (1.6.0)
activerecord (>= 6.1, < 7.2)
activerecord (>= 6.1, < 8)

GEM
remote: https://rubygems.org/
Expand Down
17 changes: 17 additions & 0 deletions gemfiles/activerecord_7.2.0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "appraisal"
gem "bundler", "~> 2"
gem "combustion", "~> 1.4"
gem "database_cleaner", "~> 2"
gem "pg", "~> 1.5"
gem "pry", "~> 0.13"
gem "rake", "~> 13"
gem "rspec-rails", "~> 6.1"
gem "rubocop-rspec", "~> 2"
gem "simplecov", "~> 0.20"
gem "activerecord", "~> 7.2", "< 8"

gemspec path: "../"
207 changes: 207 additions & 0 deletions gemfiles/activerecord_7.2.0.gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,207 @@
PATH
remote: ..
specs:
parentry (1.6.0)
activerecord (>= 6.1, < 8)

GEM
remote: https://rubygems.org/
specs:
actionpack (7.2.0)
actionview (= 7.2.0)
activesupport (= 7.2.0)
nokogiri (>= 1.8.5)
racc
rack (>= 2.2.4, < 3.2)
rack-session (>= 1.0.1)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
useragent (~> 0.16)
actionview (7.2.0)
activesupport (= 7.2.0)
builder (~> 3.1)
erubi (~> 1.11)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
activemodel (7.2.0)
activesupport (= 7.2.0)
activerecord (7.2.0)
activemodel (= 7.2.0)
activesupport (= 7.2.0)
timeout (>= 0.4.0)
activesupport (7.2.0)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.3.1)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
logger (>= 1.4.2)
minitest (>= 5.1)
securerandom (>= 0.3)
tzinfo (~> 2.0, >= 2.0.5)
appraisal (2.5.0)
bundler
rake
thor (>= 0.14.0)
ast (2.4.2)
base64 (0.2.0)
bigdecimal (3.1.8)
builder (3.3.0)
coderay (1.1.3)
combustion (1.5.0)
activesupport (>= 3.0.0)
railties (>= 3.0.0)
thor (>= 0.14.6)
concurrent-ruby (1.3.4)
connection_pool (2.4.1)
crass (1.0.6)
database_cleaner (2.0.2)
database_cleaner-active_record (>= 2, < 3)
database_cleaner-active_record (2.2.0)
activerecord (>= 5.a)
database_cleaner-core (~> 2.0.0)
database_cleaner-core (2.0.1)
diff-lcs (1.5.1)
docile (1.4.1)
drb (2.2.1)
erubi (1.13.0)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
io-console (0.7.2)
irb (1.14.0)
rdoc (>= 4.0.0)
reline (>= 0.4.2)
json (2.7.2)
language_server-protocol (3.17.0.3)
logger (1.6.0)
loofah (2.22.0)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
method_source (1.1.0)
minitest (5.25.0)
nokogiri (1.16.7-x86_64-darwin)
racc (~> 1.4)
parallel (1.26.2)
parser (3.3.4.2)
ast (~> 2.4.1)
racc
pg (1.5.7)
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
psych (5.1.2)
stringio
racc (1.8.1)
rack (3.1.7)
rack-session (2.0.0)
rack (>= 3.0.0)
rack-test (2.1.0)
rack (>= 1.3)
rackup (2.1.0)
rack (>= 3)
webrick (~> 1.8)
rails-dom-testing (2.2.0)
activesupport (>= 5.0.0)
minitest
nokogiri (>= 1.6)
rails-html-sanitizer (1.6.0)
loofah (~> 2.21)
nokogiri (~> 1.14)
railties (7.2.0)
actionpack (= 7.2.0)
activesupport (= 7.2.0)
irb (~> 1.13)
rackup (>= 1.0.0)
rake (>= 12.2)
thor (~> 1.0, >= 1.2.2)
zeitwerk (~> 2.6)
rainbow (3.1.1)
rake (13.2.1)
rdoc (6.7.0)
psych (>= 4.0.0)
regexp_parser (2.9.2)
reline (0.5.9)
io-console (~> 0.5)
rexml (3.3.5)
strscan
rspec-core (3.13.0)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-rails (6.1.4)
actionpack (>= 6.1)
activesupport (>= 6.1)
railties (>= 6.1)
rspec-core (~> 3.13)
rspec-expectations (~> 3.13)
rspec-mocks (~> 3.13)
rspec-support (~> 3.13)
rspec-support (3.13.1)
rubocop (1.65.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 2.4, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.32.0)
parser (>= 3.3.1.0)
rubocop-capybara (2.21.0)
rubocop (~> 1.41)
rubocop-factory_bot (2.26.1)
rubocop (~> 1.61)
rubocop-rspec (2.31.0)
rubocop (~> 1.40)
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
rubocop-rspec_rails (~> 2.28)
rubocop-rspec_rails (2.29.1)
rubocop (~> 1.61)
ruby-progressbar (1.13.0)
securerandom (0.3.1)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
stringio (3.1.1)
strscan (3.1.0)
thor (1.3.1)
timeout (0.4.1)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.5.0)
useragent (0.16.10)
webrick (1.8.1)
zeitwerk (2.6.17)

PLATFORMS
x86_64-darwin

DEPENDENCIES
activerecord (~> 7.2, < 8)
appraisal
bundler (~> 2)
combustion (~> 1.4)
database_cleaner (~> 2)
parentry!
pg (~> 1.5)
pry (~> 0.13)
rake (~> 13)
rspec-rails (~> 6.1)
rubocop-rspec (~> 2)
simplecov (~> 0.20)

BUNDLED WITH
2.5.3
2 changes: 1 addition & 1 deletion parentry.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ Gem::Specification.new do |spec|
spec.required_ruby_version = '>= 3.1'
spec.metadata['rubygems_mfa_required'] = 'true'

spec.add_dependency 'activerecord', '>= 6.1', '< 7.2'
spec.add_dependency 'activerecord', '>= 6.1', '< 8'
end
Loading

0 comments on commit 25695a0

Please sign in to comment.