diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 64e57d8..37fccad 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,10 +20,13 @@ jobs: fail-fast: false matrix: ruby: + - 3.4.9 + - 3.3.11 - 3.2.1 - 3.1.3 - 3.0.5 appraisal: + - rails_8_1 - rails_7_0 - rails_6_1 adapter: @@ -31,7 +34,13 @@ jobs: - postgresql exclude: - { ruby: 3.2.1, appraisal: rails_6_1 } + - { ruby: 3.3.11, appraisal: rails_6_1 } + - { ruby: 3.4.9, appraisal: rails_6_1 } - { ruby: 3.0.5, appraisal: rails_7_0 } + - { ruby: 3.3.11, appraisal: rails_7_0 } + - { ruby: 3.4.9, appraisal: rails_7_0 } + - { ruby: 3.0.5, appraisal: rails_8_1 } + - { ruby: 3.1.3, appraisal: rails_8_1 } env: BUNDLE_GEMFILE: gemfiles/${{ matrix.appraisal }}.gemfile steps: diff --git a/Appraisals b/Appraisals index bab3a9e..0f47a29 100644 --- a/Appraisals +++ b/Appraisals @@ -45,7 +45,7 @@ appraise 'rails_7_0' do instance_eval(&shared_spring_dependencies) instance_eval(&controller_test_dependency) - gem 'rails', '7.0.4.2' + gem 'rails', '7.0.10' gem 'sprockets-rails' gem 'puma', '~> 5.0' gem 'importmap-rails' @@ -68,3 +68,38 @@ appraise 'rails_7_0' do gem 'sqlite3', '~> 1.4' gem 'pg', '~> 1.1' end + +appraise 'rails_8_1' do + instance_eval(&controller_test_dependency) + + gem 'rails', '8.1.3' + gem 'propshaft' + gem 'puma', '>= 5.0' + gem 'importmap-rails' + gem 'turbo-rails' + gem 'stimulus-rails' + gem 'jbuilder' + gem 'solid_cache' + gem 'solid_queue' + gem 'solid_cable' + gem 'bootsnap', require: false + gem 'kamal', require: false + gem 'thruster', require: false + gem 'image_processing', '~> 1.2' + gem 'debug', require: false + gem 'bundler-audit', require: false + gem 'brakeman', require: false + gem 'rubocop-rails-omakase', require: false + gem 'web-console' + gem 'capybara' + gem 'selenium-webdriver' + gem 'bcrypt', '~> 3.1.7' + + # test dependencies + gem 'rspec-rails', '>= 6.0' + gem 'shoulda-context', '~> 2.0.0' + + # Database adapters + gem 'sqlite3', '>= 2.1' + gem 'pg', '~> 1.1' +end diff --git a/gemfiles/rails_6_1.gemfile.lock b/gemfiles/rails_6_1.gemfile.lock index 67b29a7..046e3ae 100644 --- a/gemfiles/rails_6_1.gemfile.lock +++ b/gemfiles/rails_6_1.gemfile.lock @@ -8,7 +8,7 @@ GIT PATH remote: .. specs: - shoulda (4.0.0) + shoulda (5.0.0.rc1) shoulda-context (~> 2.0) shoulda-matchers (~> 5.0) @@ -145,7 +145,7 @@ GEM timeout net-smtp (0.3.3) net-protocol - nio4r (2.5.8) + nio4r (2.7.5) nokogiri (1.14.2-arm64-darwin) racc (~> 1.4) parallel (1.22.1) @@ -299,6 +299,7 @@ GEM PLATFORMS arm64-darwin-22 + arm64-darwin-25 DEPENDENCIES appraisal diff --git a/gemfiles/rails_7_0.gemfile b/gemfiles/rails_7_0.gemfile index 5306fd3..ff8e697 100644 --- a/gemfiles/rails_7_0.gemfile +++ b/gemfiles/rails_7_0.gemfile @@ -18,7 +18,7 @@ gem "warnings_logger" gem "spring" gem "spring-watcher-listen", "~> 2.0.0" gem "rails-controller-testing", ">= 1.0.1" -gem "rails", "7.0.4.2" +gem "rails", "7.0.10" gem "sprockets-rails" gem "puma", "~> 5.0" gem "importmap-rails" diff --git a/gemfiles/rails_7_0.gemfile.lock b/gemfiles/rails_7_0.gemfile.lock index 1a6b17b..cebe27d 100644 --- a/gemfiles/rails_7_0.gemfile.lock +++ b/gemfiles/rails_7_0.gemfile.lock @@ -8,77 +8,85 @@ GIT PATH remote: .. specs: - shoulda (4.0.0) + shoulda (5.0.0.rc1) shoulda-context (~> 2.0) shoulda-matchers (~> 5.0) GEM remote: https://rubygems.org/ specs: - actioncable (7.0.4.2) - actionpack (= 7.0.4.2) - activesupport (= 7.0.4.2) + actioncable (7.0.10) + actionpack (= 7.0.10) + activesupport (= 7.0.10) nio4r (~> 2.0) websocket-driver (>= 0.6.1) - actionmailbox (7.0.4.2) - actionpack (= 7.0.4.2) - activejob (= 7.0.4.2) - activerecord (= 7.0.4.2) - activestorage (= 7.0.4.2) - activesupport (= 7.0.4.2) + actionmailbox (7.0.10) + actionpack (= 7.0.10) + activejob (= 7.0.10) + activerecord (= 7.0.10) + activestorage (= 7.0.10) + activesupport (= 7.0.10) mail (>= 2.7.1) net-imap net-pop net-smtp - actionmailer (7.0.4.2) - actionpack (= 7.0.4.2) - actionview (= 7.0.4.2) - activejob (= 7.0.4.2) - activesupport (= 7.0.4.2) + actionmailer (7.0.10) + actionpack (= 7.0.10) + actionview (= 7.0.10) + activejob (= 7.0.10) + activesupport (= 7.0.10) mail (~> 2.5, >= 2.5.4) net-imap net-pop net-smtp rails-dom-testing (~> 2.0) - actionpack (7.0.4.2) - actionview (= 7.0.4.2) - activesupport (= 7.0.4.2) - rack (~> 2.0, >= 2.2.0) + actionpack (7.0.10) + actionview (= 7.0.10) + activesupport (= 7.0.10) + racc + rack (~> 2.0, >= 2.2.4) rack-test (>= 0.6.3) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.2.0) - actiontext (7.0.4.2) - actionpack (= 7.0.4.2) - activerecord (= 7.0.4.2) - activestorage (= 7.0.4.2) - activesupport (= 7.0.4.2) + actiontext (7.0.10) + actionpack (= 7.0.10) + activerecord (= 7.0.10) + activestorage (= 7.0.10) + activesupport (= 7.0.10) globalid (>= 0.6.0) nokogiri (>= 1.8.5) - actionview (7.0.4.2) - activesupport (= 7.0.4.2) + actionview (7.0.10) + activesupport (= 7.0.10) builder (~> 3.1) erubi (~> 1.4) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.1, >= 1.2.0) - activejob (7.0.4.2) - activesupport (= 7.0.4.2) + activejob (7.0.10) + activesupport (= 7.0.10) globalid (>= 0.3.6) - activemodel (7.0.4.2) - activesupport (= 7.0.4.2) - activerecord (7.0.4.2) - activemodel (= 7.0.4.2) - activesupport (= 7.0.4.2) - activestorage (7.0.4.2) - actionpack (= 7.0.4.2) - activejob (= 7.0.4.2) - activerecord (= 7.0.4.2) - activesupport (= 7.0.4.2) + activemodel (7.0.10) + activesupport (= 7.0.10) + activerecord (7.0.10) + activemodel (= 7.0.10) + activesupport (= 7.0.10) + activestorage (7.0.10) + actionpack (= 7.0.10) + activejob (= 7.0.10) + activerecord (= 7.0.10) + activesupport (= 7.0.10) marcel (~> 1.0) mini_mime (>= 1.1.0) - activesupport (7.0.4.2) + activesupport (7.0.10) + base64 + benchmark (>= 0.3) + bigdecimal concurrent-ruby (~> 1.0, >= 1.0.2) + drb i18n (>= 1.6, < 2) + logger (>= 1.4.2) minitest (>= 5.1) + mutex_m + securerandom (>= 0.3) tzinfo (~> 2.0) addressable (2.8.1) public_suffix (>= 2.0.2, < 6.0) @@ -88,7 +96,10 @@ GEM rake thor (>= 0.14.0) ast (2.4.2) + base64 (0.3.0) bcrypt (3.1.18) + benchmark (0.5.0) + bigdecimal (4.1.2) bootsnap (1.16.0) msgpack (~> 1.2) builder (3.2.4) @@ -105,8 +116,9 @@ GEM coderay (1.1.3) concurrent-ruby (1.2.2) crass (1.0.6) - date (3.3.3) + date (3.5.1) diff-lcs (1.5.0) + drb (2.2.3) erubi (1.12.0) ffi (1.15.5) globalid (1.1.0) @@ -123,18 +135,20 @@ GEM listen (3.8.0) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) + logger (1.7.0) loofah (2.19.1) crass (~> 1.0.2) nokogiri (>= 1.5.9) m (1.6.1) method_source (>= 0.6.7) rake (>= 0.9.2.2) - mail (2.8.1) + mail (2.9.0) + logger mini_mime (>= 0.1.1) net-imap net-pop net-smtp - marcel (1.0.2) + marcel (1.2.1) matrix (0.4.2) method_source (1.0.0) mini_mime (1.1.2) @@ -145,16 +159,17 @@ GEM minitest (>= 5.0) ruby-progressbar msgpack (1.6.1) - net-imap (0.3.4) + mutex_m (0.3.0) + net-imap (0.6.4) date net-protocol net-pop (0.1.2) net-protocol - net-protocol (0.2.1) + net-protocol (0.2.2) timeout - net-smtp (0.3.3) + net-smtp (0.5.1) net-protocol - nio4r (2.5.8) + nio4r (2.7.5) nokogiri (1.14.2-arm64-darwin) racc (~> 1.4) parallel (1.22.1) @@ -174,20 +189,20 @@ GEM rack (2.2.6.4) rack-test (2.1.0) rack (>= 1.3) - rails (7.0.4.2) - actioncable (= 7.0.4.2) - actionmailbox (= 7.0.4.2) - actionmailer (= 7.0.4.2) - actionpack (= 7.0.4.2) - actiontext (= 7.0.4.2) - actionview (= 7.0.4.2) - activejob (= 7.0.4.2) - activemodel (= 7.0.4.2) - activerecord (= 7.0.4.2) - activestorage (= 7.0.4.2) - activesupport (= 7.0.4.2) + rails (7.0.10) + actioncable (= 7.0.10) + actionmailbox (= 7.0.10) + actionmailer (= 7.0.10) + actionpack (= 7.0.10) + actiontext (= 7.0.10) + actionview (= 7.0.10) + activejob (= 7.0.10) + activemodel (= 7.0.10) + activerecord (= 7.0.10) + activestorage (= 7.0.10) + activesupport (= 7.0.10) bundler (>= 1.15.0) - railties (= 7.0.4.2) + railties (= 7.0.10) rails-controller-testing (1.0.5) actionpack (>= 5.0.1.rc1) actionview (>= 5.0.1.rc1) @@ -197,9 +212,9 @@ GEM nokogiri (>= 1.6) rails-html-sanitizer (1.5.0) loofah (~> 2.19, >= 2.19.1) - railties (7.0.4.2) - actionpack (= 7.0.4.2) - activesupport (= 7.0.4.2) + railties (7.0.10) + actionpack (= 7.0.10) + activesupport (= 7.0.10) method_source rake (>= 12.2) thor (~> 1.0) @@ -252,6 +267,7 @@ GEM rubocop (>= 1.33.0, < 2.0) ruby-progressbar (1.13.0) rubyzip (2.3.2) + securerandom (0.4.1) selenium-webdriver (4.8.1) rexml (~> 3.2, >= 3.2.5) rubyzip (>= 1.2.2, < 3.0) @@ -274,7 +290,7 @@ GEM stimulus-rails (1.2.1) railties (>= 6.0.0) thor (1.2.1) - timeout (0.3.2) + timeout (0.6.1) turbo-rails (1.4.0) actionpack (>= 6.0.0) activejob (>= 6.0.0) @@ -288,7 +304,8 @@ GEM rubyzip (>= 1.3.0) selenium-webdriver (~> 4.0) websocket (1.2.9) - websocket-driver (0.7.5) + websocket-driver (0.8.1) + base64 websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) xpath (3.2.0) @@ -297,6 +314,7 @@ GEM PLATFORMS arm64-darwin-22 + arm64-darwin-25 DEPENDENCIES appraisal @@ -312,7 +330,7 @@ DEPENDENCIES pry pry-byebug puma (~> 5.0) - rails (= 7.0.4.2) + rails (= 7.0.10) rails-controller-testing (>= 1.0.1) rake (= 13.0.1) rspec (~> 3.9) diff --git a/gemfiles/rails_8_1.gemfile b/gemfiles/rails_8_1.gemfile new file mode 100644 index 0000000..6f02e1b --- /dev/null +++ b/gemfiles/rails_8_1.gemfile @@ -0,0 +1,46 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "appraisal" +gem "m" +gem "minitest", "~> 5.0" +gem "minitest-reporters", "~> 1.0" +gem "pry" +gem "pry-byebug" +gem "rake", "13.0.1" +gem "rspec", "~> 3.9" +gem "rubocop", require: false +gem "rubocop-packaging", require: false +gem "rubocop-rails", require: false +gem "snowglobe", github: "mcmire/snowglobe", ref: "408ee4c08f823a4d9f89902fa0fa29aff7cafe6d" +gem "warnings_logger" +gem "rails-controller-testing", ">= 1.0.1" +gem "rails", "8.1.3" +gem "propshaft" +gem "puma", ">= 5.0" +gem "importmap-rails" +gem "turbo-rails" +gem "stimulus-rails" +gem "jbuilder" +gem "solid_cache" +gem "solid_queue" +gem "solid_cable" +gem "bootsnap", require: false +gem "kamal", require: false +gem "thruster", require: false +gem "image_processing", "~> 1.2" +gem "debug", require: false +gem "bundler-audit", require: false +gem "brakeman", require: false +gem "rubocop-rails-omakase", require: false +gem "web-console" +gem "capybara" +gem "selenium-webdriver" +gem "bcrypt", "~> 3.1.7" +gem "rspec-rails", ">= 6.0" +gem "shoulda-context", "~> 2.0.0" +gem "sqlite3", ">= 2.1" +gem "pg", "~> 1.1" + +gemspec path: "../" diff --git a/gemfiles/rails_8_1.gemfile.lock b/gemfiles/rails_8_1.gemfile.lock new file mode 100644 index 0000000..7624831 --- /dev/null +++ b/gemfiles/rails_8_1.gemfile.lock @@ -0,0 +1,470 @@ +GIT + remote: https://github.com/mcmire/snowglobe.git + revision: 408ee4c08f823a4d9f89902fa0fa29aff7cafe6d + ref: 408ee4c08f823a4d9f89902fa0fa29aff7cafe6d + specs: + snowglobe (0.3.0) + +PATH + remote: .. + specs: + shoulda (5.0.0.rc1) + shoulda-context (~> 2.0) + shoulda-matchers (~> 5.0) + +GEM + remote: https://rubygems.org/ + specs: + action_text-trix (2.1.19) + railties + actioncable (8.1.3) + actionpack (= 8.1.3) + activesupport (= 8.1.3) + nio4r (~> 2.0) + websocket-driver (>= 0.6.1) + zeitwerk (~> 2.6) + actionmailbox (8.1.3) + actionpack (= 8.1.3) + activejob (= 8.1.3) + activerecord (= 8.1.3) + activestorage (= 8.1.3) + activesupport (= 8.1.3) + mail (>= 2.8.0) + actionmailer (8.1.3) + actionpack (= 8.1.3) + actionview (= 8.1.3) + activejob (= 8.1.3) + activesupport (= 8.1.3) + mail (>= 2.8.0) + rails-dom-testing (~> 2.2) + actionpack (8.1.3) + actionview (= 8.1.3) + activesupport (= 8.1.3) + nokogiri (>= 1.8.5) + rack (>= 2.2.4) + rack-session (>= 1.0.1) + rack-test (>= 0.6.3) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + useragent (~> 0.16) + actiontext (8.1.3) + action_text-trix (~> 2.1.15) + actionpack (= 8.1.3) + activerecord (= 8.1.3) + activestorage (= 8.1.3) + activesupport (= 8.1.3) + globalid (>= 0.6.0) + nokogiri (>= 1.8.5) + actionview (8.1.3) + activesupport (= 8.1.3) + builder (~> 3.1) + erubi (~> 1.11) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + activejob (8.1.3) + activesupport (= 8.1.3) + globalid (>= 0.3.6) + activemodel (8.1.3) + activesupport (= 8.1.3) + activerecord (8.1.3) + activemodel (= 8.1.3) + activesupport (= 8.1.3) + timeout (>= 0.4.0) + activestorage (8.1.3) + actionpack (= 8.1.3) + activejob (= 8.1.3) + activerecord (= 8.1.3) + activesupport (= 8.1.3) + marcel (~> 1.0) + activesupport (8.1.3) + base64 + bigdecimal + concurrent-ruby (~> 1.0, >= 1.3.1) + connection_pool (>= 2.2.5) + drb + i18n (>= 1.6, < 2) + json + logger (>= 1.4.2) + minitest (>= 5.1) + securerandom (>= 0.3) + tzinfo (~> 2.0, >= 2.0.5) + uri (>= 0.13.1) + addressable (2.9.0) + public_suffix (>= 2.0.2, < 8.0) + ansi (1.6.0) + appraisal (2.5.0) + bundler + rake + thor (>= 0.14.0) + ast (2.4.3) + base64 (0.3.0) + bcrypt (3.1.22) + bcrypt_pbkdf (1.1.2-arm64-darwin) + bigdecimal (4.1.2) + bindex (0.8.1) + bootsnap (1.24.6) + msgpack (~> 1.2) + brakeman (8.0.4) + racc + builder (3.3.0) + bundler-audit (0.9.3) + bundler (>= 1.2.0) + thor (~> 1.0) + byebug (13.0.0) + reline (>= 0.6.0) + capybara (3.40.0) + addressable + matrix + mini_mime (>= 0.1.3) + nokogiri (~> 1.11) + rack (>= 1.6.0) + rack-test (>= 0.6.3) + regexp_parser (>= 1.5, < 3.0) + xpath (~> 3.2) + coderay (1.1.3) + concurrent-ruby (1.3.6) + connection_pool (3.0.2) + crass (1.0.6) + date (3.5.1) + debug (1.11.1) + irb (~> 1.10) + reline (>= 0.3.8) + diff-lcs (1.6.2) + dotenv (3.2.0) + drb (2.2.3) + ed25519 (1.4.0) + erb (6.0.4) + erubi (1.13.1) + et-orbi (1.4.0) + tzinfo + ffi (1.17.4-arm64-darwin) + fugit (1.12.2) + et-orbi (~> 1.4) + raabro (~> 1.4) + globalid (1.3.0) + activesupport (>= 6.1) + i18n (1.14.8) + concurrent-ruby (~> 1.0) + image_processing (1.14.0) + mini_magick (>= 4.9.5, < 6) + ruby-vips (>= 2.0.17, < 3) + importmap-rails (2.2.3) + actionpack (>= 6.0.0) + activesupport (>= 6.0.0) + railties (>= 6.0.0) + io-console (0.8.2) + irb (1.18.0) + pp (>= 0.6.0) + prism (>= 1.3.0) + rdoc (>= 4.0.0) + reline (>= 0.4.2) + jbuilder (2.15.1) + actionview (>= 7.0.0) + activesupport (>= 7.0.0) + json (2.19.8) + kamal (2.11.0) + activesupport (>= 7.0) + base64 (~> 0.2) + bcrypt_pbkdf (~> 1.0) + concurrent-ruby (~> 1.2) + dotenv (~> 3.1) + ed25519 (~> 1.4) + net-ssh (~> 7.3) + sshkit (>= 1.23.0, < 2.0) + thor (~> 1.3) + zeitwerk (>= 2.6.18, < 3.0) + language_server-protocol (3.17.0.5) + lint_roller (1.1.0) + logger (1.7.0) + loofah (2.25.1) + crass (~> 1.0.2) + nokogiri (>= 1.12.0) + m (1.7.0) + rake + mail (2.9.0) + logger + mini_mime (>= 0.1.1) + net-imap + net-pop + net-smtp + marcel (1.2.1) + matrix (0.4.3) + method_source (1.1.0) + mini_magick (5.3.1) + logger + mini_mime (1.1.5) + minitest (5.27.0) + minitest-reporters (1.8.0) + ansi + builder + minitest (>= 5.0, < 7) + ruby-progressbar + msgpack (1.8.2) + net-imap (0.6.4) + date + net-protocol + net-pop (0.1.2) + net-protocol + net-protocol (0.2.2) + timeout + net-scp (4.1.0) + net-ssh (>= 2.6.5, < 8.0.0) + net-sftp (4.0.0) + net-ssh (>= 5.0.0, < 8.0.0) + net-smtp (0.5.1) + net-protocol + net-ssh (7.3.2) + nio4r (2.7.5) + nokogiri (1.19.3-arm64-darwin) + racc (~> 1.4) + ostruct (0.6.3) + parallel (1.28.0) + parser (3.3.11.1) + ast (~> 2.4.1) + racc + pg (1.6.3-arm64-darwin) + pp (0.6.3) + prettyprint + prettyprint (0.2.0) + prism (1.9.0) + propshaft (1.3.2) + actionpack (>= 7.0.0) + activesupport (>= 7.0.0) + rack + pry (0.16.0) + coderay (~> 1.1) + method_source (~> 1.0) + reline (>= 0.6.0) + pry-byebug (3.12.0) + byebug (~> 13.0) + pry (>= 0.13, < 0.17) + psych (5.4.0) + date + stringio + public_suffix (7.0.5) + puma (6.6.1) + nio4r (~> 2.0) + raabro (1.4.0) + racc (1.8.1) + rack (3.2.6) + rack-session (2.1.2) + base64 (>= 0.1.0) + rack (>= 3.0.0) + rack-test (2.2.0) + rack (>= 1.3) + rackup (2.3.1) + rack (>= 3) + rails (8.1.3) + actioncable (= 8.1.3) + actionmailbox (= 8.1.3) + actionmailer (= 8.1.3) + actionpack (= 8.1.3) + actiontext (= 8.1.3) + actionview (= 8.1.3) + activejob (= 8.1.3) + activemodel (= 8.1.3) + activerecord (= 8.1.3) + activestorage (= 8.1.3) + activesupport (= 8.1.3) + bundler (>= 1.15.0) + railties (= 8.1.3) + rails-controller-testing (1.0.5) + actionpack (>= 5.0.1.rc1) + actionview (>= 5.0.1.rc1) + activesupport (>= 5.0.1.rc1) + rails-dom-testing (2.3.0) + activesupport (>= 5.0.0) + minitest + nokogiri (>= 1.6) + rails-html-sanitizer (1.7.0) + loofah (~> 2.25) + nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0) + railties (8.1.3) + actionpack (= 8.1.3) + activesupport (= 8.1.3) + irb (~> 1.13) + rackup (>= 1.0.0) + rake (>= 12.2) + thor (~> 1.0, >= 1.2.2) + tsort (>= 0.2) + zeitwerk (~> 2.6) + rainbow (3.1.1) + rake (13.0.1) + rdoc (7.2.0) + erb + psych (>= 4.0.0) + tsort + regexp_parser (2.12.0) + reline (0.6.3) + io-console (~> 0.5) + rexml (3.4.4) + rspec (3.13.2) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) + rspec-core (3.13.6) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.5) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.8) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-rails (8.0.4) + actionpack (>= 7.2) + activesupport (>= 7.2) + railties (>= 7.2) + rspec-core (>= 3.13.0, < 5.0.0) + rspec-expectations (>= 3.13.0, < 5.0.0) + rspec-mocks (>= 3.13.0, < 5.0.0) + rspec-support (>= 3.13.0, < 5.0.0) + rspec-support (3.13.7) + rubocop (1.87.0) + json (~> 2.3) + language_server-protocol (~> 3.17.0.2) + lint_roller (~> 1.1.0) + parallel (>= 1.10) + parser (>= 3.3.0.2) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 2.9.3, < 3.0) + rubocop-ast (>= 1.49.0, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 2.4.0, < 4.0) + rubocop-ast (1.49.1) + parser (>= 3.3.7.2) + prism (~> 1.7) + rubocop-packaging (0.6.0) + lint_roller (~> 1.1.0) + rubocop (>= 1.72.1, < 2.0) + rubocop-performance (1.26.1) + lint_roller (~> 1.1) + rubocop (>= 1.75.0, < 2.0) + rubocop-ast (>= 1.47.1, < 2.0) + rubocop-rails (2.35.4) + activesupport (>= 4.2.0) + lint_roller (~> 1.1) + rack (>= 1.1) + rubocop (>= 1.75.0, < 2.0) + rubocop-ast (>= 1.44.0, < 2.0) + rubocop-rails-omakase (1.1.0) + rubocop (>= 1.72) + rubocop-performance (>= 1.24) + rubocop-rails (>= 2.30) + ruby-progressbar (1.13.0) + ruby-vips (2.3.0) + ffi (~> 1.12) + logger + rubyzip (3.3.1) + securerandom (0.4.1) + selenium-webdriver (4.44.0) + base64 (~> 0.2) + logger (~> 1.4) + rexml (~> 3.2, >= 3.2.5) + rubyzip (>= 1.2.2, < 4.0) + websocket (~> 1.0) + shoulda-context (2.0.0) + shoulda-matchers (5.3.0) + activesupport (>= 5.2.0) + solid_cable (3.0.12) + actioncable (>= 7.2) + activejob (>= 7.2) + activerecord (>= 7.2) + railties (>= 7.2) + solid_cache (1.0.10) + activejob (>= 7.2) + activerecord (>= 7.2) + railties (>= 7.2) + solid_queue (1.4.0) + activejob (>= 7.1) + activerecord (>= 7.1) + concurrent-ruby (>= 1.3.1) + fugit (~> 1.11) + railties (>= 7.1) + thor (>= 1.3.1) + sqlite3 (2.9.5-arm64-darwin) + sshkit (1.25.0) + base64 + logger + net-scp (>= 1.1.2) + net-sftp (>= 2.1.2) + net-ssh (>= 2.8.0) + ostruct + stimulus-rails (1.3.4) + railties (>= 6.0.0) + stringio (3.2.0) + thor (1.5.0) + thruster (0.1.21-arm64-darwin) + timeout (0.6.1) + tsort (0.2.0) + turbo-rails (2.0.23) + actionpack (>= 7.1.0) + railties (>= 7.1.0) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + unicode-display_width (3.2.0) + unicode-emoji (~> 4.1) + unicode-emoji (4.2.0) + uri (1.1.1) + useragent (0.16.11) + warnings_logger (0.1.1) + web-console (4.3.0) + actionview (>= 8.0.0) + bindex (>= 0.4.0) + railties (>= 8.0.0) + websocket (1.2.11) + websocket-driver (0.8.1) + base64 + websocket-extensions (>= 0.1.0) + websocket-extensions (0.1.5) + xpath (3.2.0) + nokogiri (~> 1.8) + zeitwerk (2.8.2) + +PLATFORMS + arm64-darwin-25 + +DEPENDENCIES + appraisal + bcrypt (~> 3.1.7) + bootsnap + brakeman + bundler-audit + capybara + debug + image_processing (~> 1.2) + importmap-rails + jbuilder + kamal + m + minitest (~> 5.0) + minitest-reporters (~> 1.0) + pg (~> 1.1) + propshaft + pry + pry-byebug + puma (>= 5.0) + rails (= 8.1.3) + rails-controller-testing (>= 1.0.1) + rake (= 13.0.1) + rspec (~> 3.9) + rspec-rails (>= 6.0) + rubocop + rubocop-packaging + rubocop-rails + rubocop-rails-omakase + selenium-webdriver + shoulda! + shoulda-context (~> 2.0.0) + snowglobe! + solid_cable + solid_cache + solid_queue + sqlite3 (>= 2.1) + stimulus-rails + thruster + turbo-rails + warnings_logger + web-console + +BUNDLED WITH + 2.4.6 diff --git a/test/acceptance/integrates_with_rails_test.rb b/test/acceptance/integrates_with_rails_test.rb index 8fd2cd7..aceba7e 100644 --- a/test/acceptance/integrates_with_rails_test.rb +++ b/test/acceptance/integrates_with_rails_test.rb @@ -123,12 +123,20 @@ class User < ActiveRecord::Base # defined in the test (see below) belongs_to :city - enum status: { inactive: 0, active: 1 } + if Rails::VERSION::MAJOR >= 7 + enum :status, { inactive: 0, active: 1 } + else + enum status: { inactive: 0, active: 1 } + end attr_readonly :username has_and_belongs_to_many :categories has_many :issues has_one :life - serialize :aspects + if Rails::VERSION::MAJOR > 7 || (Rails::VERSION::MAJOR == 7 && Rails::VERSION::MINOR >= 1) + serialize :aspects, coder: YAML + else + serialize :aspects + end validates_uniqueness_of :email accepts_nested_attributes_for :issues end @@ -149,7 +157,6 @@ class ExamplesController < ApplicationController def index render :index - head :ok end def create diff --git a/test/acceptance_test_helper.rb b/test/acceptance_test_helper.rb index d6a129c..2084b30 100644 --- a/test/acceptance_test_helper.rb +++ b/test/acceptance_test_helper.rb @@ -35,7 +35,7 @@ def format_rerun_snippet(result) result.method(result.name).source_location end - "#{executable} #{relative_path_for(location)}:#{line}" + "#{self.class.executable} #{relative_path_for(location)}:#{line}" end end rescue LoadError diff --git a/test/support/acceptance/matchers/have_output.rb b/test/support/acceptance/matchers/have_output.rb index 3299959..7945516 100644 --- a/test/support/acceptance/matchers/have_output.rb +++ b/test/support/acceptance/matchers/have_output.rb @@ -3,7 +3,6 @@ module Matchers def have_output(output) HaveOutputMatcher.new(output) end - # rubocop:enable Naming/PredicateName class HaveOutputMatcher def initialize(output) diff --git a/test/support/acceptance/rails_application_with_shoulda.rb b/test/support/acceptance/rails_application_with_shoulda.rb index de87c34..056ad4a 100644 --- a/test/support/acceptance/rails_application_with_shoulda.rb +++ b/test/support/acceptance/rails_application_with_shoulda.rb @@ -37,7 +37,7 @@ def format_rerun_snippet(result) result.method(result.name).source_location end - "\#{executable} \#{relative_path_for(location)}:\#{line}" + "\#{self.class.executable} \#{relative_path_for(location)}:\#{line}" end end rescue LoadError