From 7aa164184b3a67e3187f9c4cc3a5436d0618ddbf Mon Sep 17 00:00:00 2001 From: Mattia Roccoberton Date: Mon, 17 Mar 2025 08:22:38 +0100 Subject: [PATCH 1/3] test: Update ruby versions in specs workflows --- .github/workflows/specs_rails61.yml | 2 +- .github/workflows/specs_rails70.yml | 2 +- .github/workflows/specs_rails71.yml | 42 +++ gemfiles/rails71_activeadmin.gemfile.lock | 325 ++++++++++++---------- 4 files changed, 215 insertions(+), 156 deletions(-) create mode 100644 .github/workflows/specs_rails71.yml diff --git a/.github/workflows/specs_rails61.yml b/.github/workflows/specs_rails61.yml index 2ba13ce..44e8eb7 100644 --- a/.github/workflows/specs_rails61.yml +++ b/.github/workflows/specs_rails61.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: - ruby: ['3.0', '3.1', '3.2'] + ruby: ['3.2'] gemfile: ['rails61_activeadmin29', 'rails61_activeadmin'] env: diff --git a/.github/workflows/specs_rails70.yml b/.github/workflows/specs_rails70.yml index 43882ed..db35478 100644 --- a/.github/workflows/specs_rails70.yml +++ b/.github/workflows/specs_rails70.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: - ruby: ['3.0', '3.1', '3.2'] + ruby: ['3.0', '3.3'] gemfile: ['rails70_activeadmin'] env: diff --git a/.github/workflows/specs_rails71.yml b/.github/workflows/specs_rails71.yml new file mode 100644 index 0000000..fee40d3 --- /dev/null +++ b/.github/workflows/specs_rails71.yml @@ -0,0 +1,42 @@ +--- +name: Specs Rails 7.1 + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + tests: + runs-on: ubuntu-latest + + strategy: + matrix: + ruby: ['3.2', '3.4'] + gemfile: ['rails71_activeadmin'] + + env: + BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + bundler-cache: true + + - name: Run tests + run: bundle exec rspec --profile + + - name: On failure, archive screenshots as artifacts + uses: actions/upload-artifact@v4 + if: failure() + with: + name: test-failed-screenshots + path: spec/dummy/tmp/screenshots diff --git a/gemfiles/rails71_activeadmin.gemfile.lock b/gemfiles/rails71_activeadmin.gemfile.lock index 0a79a2e..27c9141 100644 --- a/gemfiles/rails71_activeadmin.gemfile.lock +++ b/gemfiles/rails71_activeadmin.gemfile.lock @@ -7,35 +7,35 @@ PATH GEM remote: https://rubygems.org/ specs: - actioncable (7.1.3.2) - actionpack (= 7.1.3.2) - activesupport (= 7.1.3.2) + actioncable (7.1.5.1) + actionpack (= 7.1.5.1) + activesupport (= 7.1.5.1) nio4r (~> 2.0) websocket-driver (>= 0.6.1) zeitwerk (~> 2.6) - actionmailbox (7.1.3.2) - actionpack (= 7.1.3.2) - activejob (= 7.1.3.2) - activerecord (= 7.1.3.2) - activestorage (= 7.1.3.2) - activesupport (= 7.1.3.2) + actionmailbox (7.1.5.1) + actionpack (= 7.1.5.1) + activejob (= 7.1.5.1) + activerecord (= 7.1.5.1) + activestorage (= 7.1.5.1) + activesupport (= 7.1.5.1) mail (>= 2.7.1) net-imap net-pop net-smtp - actionmailer (7.1.3.2) - actionpack (= 7.1.3.2) - actionview (= 7.1.3.2) - activejob (= 7.1.3.2) - activesupport (= 7.1.3.2) + actionmailer (7.1.5.1) + actionpack (= 7.1.5.1) + actionview (= 7.1.5.1) + activejob (= 7.1.5.1) + activesupport (= 7.1.5.1) mail (~> 2.5, >= 2.5.4) net-imap net-pop net-smtp rails-dom-testing (~> 2.2) - actionpack (7.1.3.2) - actionview (= 7.1.3.2) - activesupport (= 7.1.3.2) + actionpack (7.1.5.1) + actionview (= 7.1.5.1) + activesupport (= 7.1.5.1) nokogiri (>= 1.8.5) racc rack (>= 2.2.4) @@ -43,21 +43,22 @@ GEM rack-test (>= 0.6.3) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) - actiontext (7.1.3.2) - actionpack (= 7.1.3.2) - activerecord (= 7.1.3.2) - activestorage (= 7.1.3.2) - activesupport (= 7.1.3.2) + actiontext (7.1.5.1) + actionpack (= 7.1.5.1) + activerecord (= 7.1.5.1) + activestorage (= 7.1.5.1) + activesupport (= 7.1.5.1) globalid (>= 0.6.0) nokogiri (>= 1.8.5) - actionview (7.1.3.2) - activesupport (= 7.1.3.2) + actionview (7.1.5.1) + activesupport (= 7.1.5.1) builder (~> 3.1) erubi (~> 1.11) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) - activeadmin (3.2.0) + activeadmin (3.3.0) arbre (~> 1.2, >= 1.2.1) + csv formtastic (>= 3.1) formtastic_i18n (>= 0.4) inherited_resources (~> 1.7) @@ -65,33 +66,36 @@ GEM kaminari (>= 1.2.1) railties (>= 6.1) ransack (>= 4.0) - activejob (7.1.3.2) - activesupport (= 7.1.3.2) + activejob (7.1.5.1) + activesupport (= 7.1.5.1) globalid (>= 0.3.6) - activemodel (7.1.3.2) - activesupport (= 7.1.3.2) - activerecord (7.1.3.2) - activemodel (= 7.1.3.2) - activesupport (= 7.1.3.2) + activemodel (7.1.5.1) + activesupport (= 7.1.5.1) + activerecord (7.1.5.1) + activemodel (= 7.1.5.1) + activesupport (= 7.1.5.1) timeout (>= 0.4.0) - activestorage (7.1.3.2) - actionpack (= 7.1.3.2) - activejob (= 7.1.3.2) - activerecord (= 7.1.3.2) - activesupport (= 7.1.3.2) + activestorage (7.1.5.1) + actionpack (= 7.1.5.1) + activejob (= 7.1.5.1) + activerecord (= 7.1.5.1) + activesupport (= 7.1.5.1) marcel (~> 1.0) - activesupport (7.1.3.2) + activesupport (7.1.5.1) base64 + benchmark (>= 0.3) bigdecimal concurrent-ruby (~> 1.0, >= 1.0.2) connection_pool (>= 2.2.5) drb i18n (>= 1.6, < 2) + logger (>= 1.4.2) minitest (>= 5.1) mutex_m + securerandom (>= 0.3) tzinfo (~> 2.0) - addressable (2.8.6) - public_suffix (>= 2.0.2, < 6.0) + addressable (2.8.7) + public_suffix (>= 2.0.2, < 7.0) appraisal (2.5.0) bundler rake @@ -101,8 +105,9 @@ GEM ruby2_keywords (>= 0.0.2) ast (2.4.2) base64 (0.2.0) - bigdecimal (3.1.6) - builder (3.2.4) + benchmark (0.4.0) + bigdecimal (3.1.9) + builder (3.3.0) capybara (3.40.0) addressable matrix @@ -113,25 +118,26 @@ GEM regexp_parser (>= 1.5, < 3.0) xpath (~> 3.2) coderay (1.1.3) - concurrent-ruby (1.2.3) - connection_pool (2.4.1) + concurrent-ruby (1.3.5) + connection_pool (2.5.0) crass (1.0.6) - cuprite (0.15) + csv (3.3.2) + cuprite (0.15.1) capybara (~> 3.0) - ferrum (~> 0.14.0) - date (3.3.4) - diff-lcs (1.5.1) - drb (2.2.0) - ruby2_keywords - erubi (1.12.0) + ferrum (~> 0.15.0) + date (3.4.1) + diff-lcs (1.6.0) + drb (2.2.1) + erubi (1.13.1) fasterer (0.11.0) ruby_parser (>= 3.19.1) - ferrum (0.14) + ferrum (0.15) addressable (~> 2.5) concurrent-ruby (~> 1.1) webrick (~> 1.7) - websocket-driver (>= 0.6, < 0.8) - ffi (1.16.3) + websocket-driver (~> 0.7) + ffi (1.17.1-arm64-darwin) + ffi (1.17.1-x86_64-linux-gnu) formtastic (5.0.0) actionpack (>= 6.0.0) formtastic_i18n (0.7.0) @@ -140,22 +146,23 @@ GEM has_scope (0.8.2) actionpack (>= 5.2) activesupport (>= 5.2) - i18n (1.14.1) + i18n (1.14.7) concurrent-ruby (~> 1.0) inherited_resources (1.14.0) actionpack (>= 6.0) has_scope (>= 0.6) railties (>= 6.0) responders (>= 2) - io-console (0.7.2) - irb (1.11.2) - rdoc + io-console (0.8.0) + irb (1.15.1) + pp (>= 0.6.0) + rdoc (>= 4.0.0) reline (>= 0.4.2) jquery-rails (4.6.0) rails-dom-testing (>= 1, < 3) railties (>= 4.2.0) thor (>= 0.14, < 2.0) - json (2.7.1) + json (2.10.2) kaminari (1.2.2) activesupport (>= 4.1.0) kaminari-actionview (= 1.2.2) @@ -168,8 +175,10 @@ GEM activerecord kaminari-core (= 1.2.2) kaminari-core (1.2.2) - language_server-protocol (3.17.0.3) - loofah (2.22.0) + language_server-protocol (3.17.0.4) + lint_roller (1.1.0) + logger (1.6.6) + loofah (2.24.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) mail (2.8.1) @@ -177,175 +186,183 @@ GEM net-imap net-pop net-smtp - marcel (1.0.2) + marcel (1.0.4) matrix (0.4.2) - method_source (1.0.0) + method_source (1.1.0) mini_mime (1.1.5) - minitest (5.22.2) - mutex_m (0.2.0) - net-imap (0.4.10) + minitest (5.25.5) + mutex_m (0.3.0) + net-imap (0.5.6) date net-protocol net-pop (0.1.2) net-protocol net-protocol (0.2.2) timeout - net-smtp (0.4.0.1) + net-smtp (0.5.1) net-protocol - nio4r (2.7.0) - nokogiri (1.16.2-arm64-darwin) + nio4r (2.7.4) + nokogiri (1.18.4-arm64-darwin) racc (~> 1.4) - parallel (1.24.0) - parser (3.3.0.5) + nokogiri (1.18.4-x86_64-linux-gnu) + racc (~> 1.4) + parallel (1.26.3) + parser (3.3.7.1) ast (~> 2.4.1) racc - pry (0.14.2) + pp (0.6.2) + prettyprint + prettyprint (0.2.0) + pry (0.15.2) coderay (~> 1.1) method_source (~> 1.0) - pry-rails (0.3.9) - pry (>= 0.10.4) - psych (5.1.2) + pry-rails (0.3.11) + pry (>= 0.13.0) + psych (5.2.3) + date stringio - public_suffix (5.0.4) - puma (6.4.2) + public_suffix (6.0.1) + puma (6.6.0) nio4r (~> 2.0) - racc (1.7.3) - rack (3.0.9.1) - rack-session (2.0.0) + racc (1.8.1) + rack (3.1.12) + rack-session (2.1.0) + base64 (>= 0.1.0) rack (>= 3.0.0) - rack-test (2.1.0) + rack-test (2.2.0) rack (>= 1.3) - rackup (2.1.0) + rackup (2.2.1) rack (>= 3) - webrick (~> 1.8) - rails (7.1.3.2) - actioncable (= 7.1.3.2) - actionmailbox (= 7.1.3.2) - actionmailer (= 7.1.3.2) - actionpack (= 7.1.3.2) - actiontext (= 7.1.3.2) - actionview (= 7.1.3.2) - activejob (= 7.1.3.2) - activemodel (= 7.1.3.2) - activerecord (= 7.1.3.2) - activestorage (= 7.1.3.2) - activesupport (= 7.1.3.2) + rails (7.1.5.1) + actioncable (= 7.1.5.1) + actionmailbox (= 7.1.5.1) + actionmailer (= 7.1.5.1) + actionpack (= 7.1.5.1) + actiontext (= 7.1.5.1) + actionview (= 7.1.5.1) + activejob (= 7.1.5.1) + activemodel (= 7.1.5.1) + activerecord (= 7.1.5.1) + activestorage (= 7.1.5.1) + activesupport (= 7.1.5.1) bundler (>= 1.15.0) - railties (= 7.1.3.2) + railties (= 7.1.5.1) rails-dom-testing (2.2.0) activesupport (>= 5.0.0) minitest nokogiri (>= 1.6) - rails-html-sanitizer (1.6.0) + rails-html-sanitizer (1.6.2) loofah (~> 2.21) - nokogiri (~> 1.14) - railties (7.1.3.2) - actionpack (= 7.1.3.2) - activesupport (= 7.1.3.2) + 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 (7.1.5.1) + actionpack (= 7.1.5.1) + activesupport (= 7.1.5.1) irb rackup (>= 1.0.0) rake (>= 12.2) thor (~> 1.0, >= 1.2.2) zeitwerk (~> 2.6) rainbow (3.1.1) - rake (13.1.0) - ransack (4.1.1) + rake (13.2.1) + ransack (4.3.0) activerecord (>= 6.1.5) activesupport (>= 6.1.5) i18n - rdoc (6.6.2) + rdoc (6.12.0) psych (>= 4.0.0) - regexp_parser (2.9.0) - reline (0.4.3) + regexp_parser (2.10.0) + reline (0.6.0) io-console (~> 0.5) responders (3.1.1) actionpack (>= 5.2) railties (>= 5.2) - rexml (3.2.6) - rspec-core (3.13.0) + rspec-core (3.13.3) rspec-support (~> 3.13.0) - rspec-expectations (3.13.0) + rspec-expectations (3.13.3) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-mocks (3.13.0) + rspec-mocks (3.13.2) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-rails (6.1.1) - actionpack (>= 6.1) - activesupport (>= 6.1) - railties (>= 6.1) - rspec-core (~> 3.12) - rspec-expectations (~> 3.12) - rspec-mocks (~> 3.12) - rspec-support (~> 3.12) + rspec-rails (7.1.1) + actionpack (>= 7.0) + activesupport (>= 7.0) + railties (>= 7.0) + rspec-core (~> 3.13) + rspec-expectations (~> 3.13) + rspec-mocks (~> 3.13) + rspec-support (~> 3.13) rspec-retry (0.6.2) rspec-core (> 3.3) - rspec-support (3.13.1) + rspec-support (3.13.2) rspec_junit_formatter (0.6.0) rspec-core (>= 2, < 4, != 2.12.0) - rubocop (1.60.2) + rubocop (1.74.0) json (~> 2.3) - language_server-protocol (>= 3.17.0) + 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 (>= 1.8, < 3.0) - rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.30.0, < 2.0) + regexp_parser (>= 2.9.3, < 3.0) + rubocop-ast (>= 1.38.0, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.30.0) - parser (>= 3.2.1.0) - rubocop-capybara (2.20.0) - rubocop (~> 1.41) - rubocop-factory_bot (2.25.1) - rubocop (~> 1.41) + unicode-display_width (>= 2.4.0, < 4.0) + rubocop-ast (1.39.0) + parser (>= 3.3.1.0) rubocop-packaging (0.5.2) rubocop (>= 1.33, < 2.0) - rubocop-performance (1.20.2) - rubocop (>= 1.48.1, < 2.0) - rubocop-ast (>= 1.30.0, < 2.0) - rubocop-rails (2.23.1) + rubocop-performance (1.24.0) + lint_roller (~> 1.1) + rubocop (>= 1.72.1, < 2.0) + rubocop-ast (>= 1.38.0, < 2.0) + rubocop-rails (2.30.3) activesupport (>= 4.2.0) + lint_roller (~> 1.1) rack (>= 1.1) - rubocop (>= 1.33.0, < 2.0) - rubocop-ast (>= 1.30.0, < 2.0) - rubocop-rspec (2.26.1) - rubocop (~> 1.40) - rubocop-capybara (~> 2.17) - rubocop-factory_bot (~> 2.22) + rubocop (>= 1.72.1, < 2.0) + rubocop-ast (>= 1.38.0, < 2.0) + rubocop-rspec (3.5.0) + lint_roller (~> 1.1) + rubocop (~> 1.72, >= 1.72.1) ruby-progressbar (1.13.0) ruby2_keywords (0.0.5) - ruby_parser (3.21.0) + ruby_parser (3.21.1) racc (~> 1.5) sexp_processor (~> 4.16) sassc (2.4.0) ffi (~> 1.9) - sexp_processor (4.17.1) + securerandom (0.4.1) + sexp_processor (4.17.3) sprockets (4.2.1) concurrent-ruby (~> 1.0) rack (>= 2.2.4, < 4) - sprockets-rails (3.4.2) - actionpack (>= 5.2) - activesupport (>= 5.2) + sprockets-rails (3.5.2) + actionpack (>= 6.1) + activesupport (>= 6.1) sprockets (>= 3.0.0) - sqlite3 (1.7.2-arm64-darwin) - stringio (3.1.0) - thor (1.3.0) - timeout (0.4.1) + sqlite3 (2.6.0-arm64-darwin) + sqlite3 (2.6.0-x86_64-linux-gnu) + stringio (3.1.5) + thor (1.3.2) + timeout (0.4.3) tzinfo (2.0.6) concurrent-ruby (~> 1.0) - unicode-display_width (2.5.0) - webrick (1.8.1) - websocket-driver (0.7.6) + unicode-display_width (3.1.4) + unicode-emoji (~> 4.0, >= 4.0.4) + unicode-emoji (4.0.4) + webrick (1.9.1) + websocket-driver (0.7.7) + base64 websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) xpath (3.2.0) nokogiri (~> 1.8) - zeitwerk (2.6.13) + zeitwerk (2.7.2) PLATFORMS arm64-darwin-23 + x86_64-linux DEPENDENCIES activeadmin From 30848efc057fcd7ec28d47af6e4913223e429118 Mon Sep 17 00:00:00 2001 From: Mattia Roccoberton Date: Mon, 17 Mar 2025 08:35:44 +0100 Subject: [PATCH 2/3] test: Add Rails 7.2 workflow --- .github/workflows/specs_rails72.yml | 42 ++ Appraisals | 5 + gemfiles/rails61_activeadmin.gemfile | 39 +- gemfiles/rails61_activeadmin.gemfile.lock | 9 +- gemfiles/rails61_activeadmin29.gemfile | 39 +- gemfiles/rails61_activeadmin29.gemfile.lock | 9 +- gemfiles/rails70_activeadmin.gemfile | 39 +- gemfiles/rails70_activeadmin.gemfile.lock | 9 +- gemfiles/rails71_activeadmin.gemfile | 39 +- gemfiles/rails71_activeadmin.gemfile.lock | 11 + gemfiles/rails72_activeadmin.gemfile | 28 ++ gemfiles/rails72_activeadmin.gemfile.lock | 426 ++++++++++++++++++++ 12 files changed, 616 insertions(+), 79 deletions(-) create mode 100644 .github/workflows/specs_rails72.yml create mode 100644 gemfiles/rails72_activeadmin.gemfile create mode 100644 gemfiles/rails72_activeadmin.gemfile.lock diff --git a/.github/workflows/specs_rails72.yml b/.github/workflows/specs_rails72.yml new file mode 100644 index 0000000..9bb8ed9 --- /dev/null +++ b/.github/workflows/specs_rails72.yml @@ -0,0 +1,42 @@ +--- +name: Specs Rails 7.2 + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + tests: + runs-on: ubuntu-latest + + strategy: + matrix: + ruby: ['3.2', '3.4'] + gemfile: ['rails72_activeadmin'] + + env: + BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + bundler-cache: true + + - name: Run tests + run: bundle exec rspec --profile + + - name: On failure, archive screenshots as artifacts + uses: actions/upload-artifact@v4 + if: failure() + with: + name: test-failed-screenshots + path: spec/dummy/tmp/screenshots diff --git a/Appraisals b/Appraisals index cd71bf3..c7eac7f 100644 --- a/Appraisals +++ b/Appraisals @@ -19,3 +19,8 @@ appraise 'rails71-activeadmin' do gem 'activeadmin' gem 'rails', '~> 7.1.0' end + +appraise 'rails72-activeadmin' do + gem 'activeadmin' + gem 'rails', '~> 7.2.0' +end diff --git a/gemfiles/rails61_activeadmin.gemfile b/gemfiles/rails61_activeadmin.gemfile index 566be21..e3e2463 100644 --- a/gemfiles/rails61_activeadmin.gemfile +++ b/gemfiles/rails61_activeadmin.gemfile @@ -2,26 +2,27 @@ source "https://rubygems.org" +gem "sqlite3" +gem "bigdecimal" +gem "mutex_m" +gem "puma" +gem "sassc" +gem "sprockets-rails" +gem "capybara" +gem "cuprite" +gem "rspec_junit_formatter" +gem "rspec-rails" +gem "rspec-retry" +gem "fasterer" +gem "rubocop" +gem "rubocop-capybara" +gem "rubocop-packaging" +gem "rubocop-performance" +gem "rubocop-rails" +gem "rubocop-rspec" +gem "rubocop-rspec_rails" +gem "pry-rails" gem "activeadmin" gem "rails", "~> 6.1.0" -group :development, :test do - gem "puma" - gem "sassc" - gem "sprockets-rails" - gem "sqlite3" - gem "capybara" - gem "cuprite" - gem "rspec_junit_formatter" - gem "rspec-rails" - gem "rspec-retry" - gem "fasterer" - gem "rubocop" - gem "rubocop-packaging" - gem "rubocop-performance" - gem "rubocop-rails" - gem "rubocop-rspec" - gem "pry-rails" -end - gemspec path: "../" diff --git a/gemfiles/rails61_activeadmin.gemfile.lock b/gemfiles/rails61_activeadmin.gemfile.lock index 31315f2..44bf3aa 100644 --- a/gemfiles/rails61_activeadmin.gemfile.lock +++ b/gemfiles/rails61_activeadmin.gemfile.lock @@ -85,6 +85,7 @@ GEM activesupport (>= 3.0.0) ruby2_keywords (>= 0.0.2) ast (2.4.2) + bigdecimal (3.1.9) builder (3.2.4) capybara (3.40.0) addressable @@ -158,6 +159,7 @@ GEM method_source (1.0.0) mini_mime (1.1.5) minitest (5.22.2) + mutex_m (0.3.0) net-imap (0.4.10) date net-protocol @@ -166,7 +168,6 @@ GEM net-protocol (0.2.2) timeout net-smtp (0.4.0.1) - net-protocol nio4r (2.7.0) nokogiri (1.16.2-arm64-darwin) racc (~> 1.4) @@ -281,6 +282,8 @@ GEM rubocop (~> 1.40) rubocop-capybara (~> 2.17) rubocop-factory_bot (~> 2.22) + rubocop-rspec_rails (2.28.3) + rubocop (~> 1.40) ruby-progressbar (1.13.0) ruby2_keywords (0.0.5) ruby_parser (3.21.0) @@ -322,9 +325,11 @@ DEPENDENCIES activeadmin activeadmin_quill_editor! appraisal (~> 2.4) + bigdecimal capybara cuprite fasterer + mutex_m pry-rails puma rails (~> 6.1.0) @@ -332,10 +337,12 @@ DEPENDENCIES rspec-retry rspec_junit_formatter rubocop + rubocop-capybara rubocop-packaging rubocop-performance rubocop-rails rubocop-rspec + rubocop-rspec_rails sassc sprockets-rails sqlite3 diff --git a/gemfiles/rails61_activeadmin29.gemfile b/gemfiles/rails61_activeadmin29.gemfile index c3674ea..de6c7e4 100644 --- a/gemfiles/rails61_activeadmin29.gemfile +++ b/gemfiles/rails61_activeadmin29.gemfile @@ -2,26 +2,27 @@ source "https://rubygems.org" +gem "sqlite3" +gem "bigdecimal" +gem "mutex_m" +gem "puma" +gem "sassc" +gem "sprockets-rails" +gem "capybara" +gem "cuprite" +gem "rspec_junit_formatter" +gem "rspec-rails" +gem "rspec-retry" +gem "fasterer" +gem "rubocop" +gem "rubocop-capybara" +gem "rubocop-packaging" +gem "rubocop-performance" +gem "rubocop-rails" +gem "rubocop-rspec" +gem "rubocop-rspec_rails" +gem "pry-rails" gem "activeadmin", "~> 2.9.0" gem "rails", "~> 6.1.0" -group :development, :test do - gem "puma" - gem "sassc" - gem "sprockets-rails" - gem "sqlite3" - gem "capybara" - gem "cuprite" - gem "rspec_junit_formatter" - gem "rspec-rails" - gem "rspec-retry" - gem "fasterer" - gem "rubocop" - gem "rubocop-packaging" - gem "rubocop-performance" - gem "rubocop-rails" - gem "rubocop-rspec" - gem "pry-rails" -end - gemspec path: "../" diff --git a/gemfiles/rails61_activeadmin29.gemfile.lock b/gemfiles/rails61_activeadmin29.gemfile.lock index a9974de..e53c207 100644 --- a/gemfiles/rails61_activeadmin29.gemfile.lock +++ b/gemfiles/rails61_activeadmin29.gemfile.lock @@ -85,6 +85,7 @@ GEM activesupport (>= 3.0.0) ruby2_keywords (>= 0.0.2) ast (2.4.2) + bigdecimal (3.1.9) builder (3.2.4) capybara (3.40.0) addressable @@ -158,6 +159,7 @@ GEM method_source (1.0.0) mini_mime (1.1.5) minitest (5.22.2) + mutex_m (0.3.0) net-imap (0.4.10) date net-protocol @@ -166,7 +168,6 @@ GEM net-protocol (0.2.2) timeout net-smtp (0.4.0.1) - net-protocol nio4r (2.7.0) nokogiri (1.16.2-arm64-darwin) racc (~> 1.4) @@ -281,6 +282,8 @@ GEM rubocop (~> 1.40) rubocop-capybara (~> 2.17) rubocop-factory_bot (~> 2.22) + rubocop-rspec_rails (2.28.3) + rubocop (~> 1.40) ruby-progressbar (1.13.0) ruby2_keywords (0.0.5) ruby_parser (3.21.0) @@ -322,9 +325,11 @@ DEPENDENCIES activeadmin (~> 2.9.0) activeadmin_quill_editor! appraisal (~> 2.4) + bigdecimal capybara cuprite fasterer + mutex_m pry-rails puma rails (~> 6.1.0) @@ -332,10 +337,12 @@ DEPENDENCIES rspec-retry rspec_junit_formatter rubocop + rubocop-capybara rubocop-packaging rubocop-performance rubocop-rails rubocop-rspec + rubocop-rspec_rails sassc sprockets-rails sqlite3 diff --git a/gemfiles/rails70_activeadmin.gemfile b/gemfiles/rails70_activeadmin.gemfile index 8804b01..e147e22 100644 --- a/gemfiles/rails70_activeadmin.gemfile +++ b/gemfiles/rails70_activeadmin.gemfile @@ -2,26 +2,27 @@ source "https://rubygems.org" +gem "sqlite3" +gem "bigdecimal" +gem "mutex_m" +gem "puma" +gem "sassc" +gem "sprockets-rails" +gem "capybara" +gem "cuprite" +gem "rspec_junit_formatter" +gem "rspec-rails" +gem "rspec-retry" +gem "fasterer" +gem "rubocop" +gem "rubocop-capybara" +gem "rubocop-packaging" +gem "rubocop-performance" +gem "rubocop-rails" +gem "rubocop-rspec" +gem "rubocop-rspec_rails" +gem "pry-rails" gem "activeadmin" gem "rails", "~> 7.0.0" -group :development, :test do - gem "puma" - gem "sassc" - gem "sprockets-rails" - gem "sqlite3" - gem "capybara" - gem "cuprite" - gem "rspec_junit_formatter" - gem "rspec-rails" - gem "rspec-retry" - gem "fasterer" - gem "rubocop" - gem "rubocop-packaging" - gem "rubocop-performance" - gem "rubocop-rails" - gem "rubocop-rspec" - gem "pry-rails" -end - gemspec path: "../" diff --git a/gemfiles/rails70_activeadmin.gemfile.lock b/gemfiles/rails70_activeadmin.gemfile.lock index 0b3cff0..7b740ed 100644 --- a/gemfiles/rails70_activeadmin.gemfile.lock +++ b/gemfiles/rails70_activeadmin.gemfile.lock @@ -91,6 +91,7 @@ GEM activesupport (>= 3.0.0) ruby2_keywords (>= 0.0.2) ast (2.4.2) + bigdecimal (3.1.9) builder (3.2.4) capybara (3.40.0) addressable @@ -164,6 +165,7 @@ GEM method_source (1.0.0) mini_mime (1.1.5) minitest (5.22.2) + mutex_m (0.3.0) net-imap (0.4.10) date net-protocol @@ -172,7 +174,6 @@ GEM net-protocol (0.2.2) timeout net-smtp (0.4.0.1) - net-protocol nio4r (2.7.0) nokogiri (1.16.2-arm64-darwin) racc (~> 1.4) @@ -285,6 +286,8 @@ GEM rubocop (~> 1.40) rubocop-capybara (~> 2.17) rubocop-factory_bot (~> 2.22) + rubocop-rspec_rails (2.28.3) + rubocop (~> 1.40) ruby-progressbar (1.13.0) ruby2_keywords (0.0.5) ruby_parser (3.21.0) @@ -324,9 +327,11 @@ DEPENDENCIES activeadmin activeadmin_quill_editor! appraisal (~> 2.4) + bigdecimal capybara cuprite fasterer + mutex_m pry-rails puma rails (~> 7.0.0) @@ -334,10 +339,12 @@ DEPENDENCIES rspec-retry rspec_junit_formatter rubocop + rubocop-capybara rubocop-packaging rubocop-performance rubocop-rails rubocop-rspec + rubocop-rspec_rails sassc sprockets-rails sqlite3 diff --git a/gemfiles/rails71_activeadmin.gemfile b/gemfiles/rails71_activeadmin.gemfile index c88fd13..cc5c772 100644 --- a/gemfiles/rails71_activeadmin.gemfile +++ b/gemfiles/rails71_activeadmin.gemfile @@ -2,26 +2,27 @@ source "https://rubygems.org" +gem "sqlite3" +gem "bigdecimal" +gem "mutex_m" +gem "puma" +gem "sassc" +gem "sprockets-rails" +gem "capybara" +gem "cuprite" +gem "rspec_junit_formatter" +gem "rspec-rails" +gem "rspec-retry" +gem "fasterer" +gem "rubocop" +gem "rubocop-capybara" +gem "rubocop-packaging" +gem "rubocop-performance" +gem "rubocop-rails" +gem "rubocop-rspec" +gem "rubocop-rspec_rails" +gem "pry-rails" gem "activeadmin" gem "rails", "~> 7.1.0" -group :development, :test do - gem "puma" - gem "sassc" - gem "sprockets-rails" - gem "sqlite3" - gem "capybara" - gem "cuprite" - gem "rspec_junit_formatter" - gem "rspec-rails" - gem "rspec-retry" - gem "fasterer" - gem "rubocop" - gem "rubocop-packaging" - gem "rubocop-performance" - gem "rubocop-rails" - gem "rubocop-rspec" - gem "pry-rails" -end - gemspec path: "../" diff --git a/gemfiles/rails71_activeadmin.gemfile.lock b/gemfiles/rails71_activeadmin.gemfile.lock index 27c9141..31d1e00 100644 --- a/gemfiles/rails71_activeadmin.gemfile.lock +++ b/gemfiles/rails71_activeadmin.gemfile.lock @@ -310,6 +310,9 @@ GEM unicode-display_width (>= 2.4.0, < 4.0) rubocop-ast (1.39.0) parser (>= 3.3.1.0) + rubocop-capybara (2.22.1) + lint_roller (~> 1.1) + rubocop (~> 1.72, >= 1.72.1) rubocop-packaging (0.5.2) rubocop (>= 1.33, < 2.0) rubocop-performance (1.24.0) @@ -325,6 +328,10 @@ GEM rubocop-rspec (3.5.0) lint_roller (~> 1.1) rubocop (~> 1.72, >= 1.72.1) + rubocop-rspec_rails (2.31.0) + lint_roller (~> 1.1) + rubocop (~> 1.72, >= 1.72.1) + rubocop-rspec (~> 3.5) ruby-progressbar (1.13.0) ruby2_keywords (0.0.5) ruby_parser (3.21.1) @@ -368,9 +375,11 @@ DEPENDENCIES activeadmin activeadmin_quill_editor! appraisal (~> 2.4) + bigdecimal capybara cuprite fasterer + mutex_m pry-rails puma rails (~> 7.1.0) @@ -378,10 +387,12 @@ DEPENDENCIES rspec-retry rspec_junit_formatter rubocop + rubocop-capybara rubocop-packaging rubocop-performance rubocop-rails rubocop-rspec + rubocop-rspec_rails sassc sprockets-rails sqlite3 diff --git a/gemfiles/rails72_activeadmin.gemfile b/gemfiles/rails72_activeadmin.gemfile new file mode 100644 index 0000000..9c34a24 --- /dev/null +++ b/gemfiles/rails72_activeadmin.gemfile @@ -0,0 +1,28 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "sqlite3" +gem "bigdecimal" +gem "mutex_m" +gem "puma" +gem "sassc" +gem "sprockets-rails" +gem "capybara" +gem "cuprite" +gem "rspec_junit_formatter" +gem "rspec-rails" +gem "rspec-retry" +gem "fasterer" +gem "rubocop" +gem "rubocop-capybara" +gem "rubocop-packaging" +gem "rubocop-performance" +gem "rubocop-rails" +gem "rubocop-rspec" +gem "rubocop-rspec_rails" +gem "pry-rails" +gem "activeadmin" +gem "rails", "~> 7.2.0" + +gemspec path: "../" diff --git a/gemfiles/rails72_activeadmin.gemfile.lock b/gemfiles/rails72_activeadmin.gemfile.lock new file mode 100644 index 0000000..0d22d03 --- /dev/null +++ b/gemfiles/rails72_activeadmin.gemfile.lock @@ -0,0 +1,426 @@ +PATH + remote: .. + specs: + activeadmin_quill_editor (1.2.0) + activeadmin (>= 2.9, < 4) + +GEM + remote: https://rubygems.org/ + specs: + actioncable (7.2.2.1) + actionpack (= 7.2.2.1) + activesupport (= 7.2.2.1) + nio4r (~> 2.0) + websocket-driver (>= 0.6.1) + zeitwerk (~> 2.6) + actionmailbox (7.2.2.1) + actionpack (= 7.2.2.1) + activejob (= 7.2.2.1) + activerecord (= 7.2.2.1) + activestorage (= 7.2.2.1) + activesupport (= 7.2.2.1) + mail (>= 2.8.0) + actionmailer (7.2.2.1) + actionpack (= 7.2.2.1) + actionview (= 7.2.2.1) + activejob (= 7.2.2.1) + activesupport (= 7.2.2.1) + mail (>= 2.8.0) + rails-dom-testing (~> 2.2) + actionpack (7.2.2.1) + actionview (= 7.2.2.1) + activesupport (= 7.2.2.1) + 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) + actiontext (7.2.2.1) + actionpack (= 7.2.2.1) + activerecord (= 7.2.2.1) + activestorage (= 7.2.2.1) + activesupport (= 7.2.2.1) + globalid (>= 0.6.0) + nokogiri (>= 1.8.5) + actionview (7.2.2.1) + activesupport (= 7.2.2.1) + builder (~> 3.1) + erubi (~> 1.11) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + activeadmin (3.3.0) + arbre (~> 1.2, >= 1.2.1) + csv + formtastic (>= 3.1) + formtastic_i18n (>= 0.4) + inherited_resources (~> 1.7) + jquery-rails (>= 4.2) + kaminari (>= 1.2.1) + railties (>= 6.1) + ransack (>= 4.0) + activejob (7.2.2.1) + activesupport (= 7.2.2.1) + globalid (>= 0.3.6) + activemodel (7.2.2.1) + activesupport (= 7.2.2.1) + activerecord (7.2.2.1) + activemodel (= 7.2.2.1) + activesupport (= 7.2.2.1) + timeout (>= 0.4.0) + activestorage (7.2.2.1) + actionpack (= 7.2.2.1) + activejob (= 7.2.2.1) + activerecord (= 7.2.2.1) + activesupport (= 7.2.2.1) + marcel (~> 1.0) + activesupport (7.2.2.1) + base64 + benchmark (>= 0.3) + 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) + addressable (2.8.7) + public_suffix (>= 2.0.2, < 7.0) + appraisal (2.5.0) + bundler + rake + thor (>= 0.14.0) + arbre (1.7.0) + activesupport (>= 3.0.0) + ruby2_keywords (>= 0.0.2) + ast (2.4.2) + base64 (0.2.0) + benchmark (0.4.0) + bigdecimal (3.1.9) + builder (3.3.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.5) + connection_pool (2.5.0) + crass (1.0.6) + csv (3.3.2) + cuprite (0.15.1) + capybara (~> 3.0) + ferrum (~> 0.15.0) + date (3.4.1) + diff-lcs (1.6.0) + drb (2.2.1) + erubi (1.13.1) + fasterer (0.11.0) + ruby_parser (>= 3.19.1) + ferrum (0.15) + addressable (~> 2.5) + concurrent-ruby (~> 1.1) + webrick (~> 1.7) + websocket-driver (~> 0.7) + ffi (1.17.1-aarch64-linux-gnu) + ffi (1.17.1-aarch64-linux-musl) + ffi (1.17.1-arm-linux-gnu) + ffi (1.17.1-arm-linux-musl) + ffi (1.17.1-arm64-darwin) + ffi (1.17.1-x86_64-darwin) + ffi (1.17.1-x86_64-linux-gnu) + ffi (1.17.1-x86_64-linux-musl) + formtastic (5.0.0) + actionpack (>= 6.0.0) + formtastic_i18n (0.7.0) + globalid (1.2.1) + activesupport (>= 6.1) + has_scope (0.8.2) + actionpack (>= 5.2) + activesupport (>= 5.2) + i18n (1.14.7) + concurrent-ruby (~> 1.0) + inherited_resources (1.14.0) + actionpack (>= 6.0) + has_scope (>= 0.6) + railties (>= 6.0) + responders (>= 2) + io-console (0.8.0) + irb (1.15.1) + pp (>= 0.6.0) + rdoc (>= 4.0.0) + reline (>= 0.4.2) + jquery-rails (4.6.0) + rails-dom-testing (>= 1, < 3) + railties (>= 4.2.0) + thor (>= 0.14, < 2.0) + json (2.10.2) + kaminari (1.2.2) + activesupport (>= 4.1.0) + kaminari-actionview (= 1.2.2) + kaminari-activerecord (= 1.2.2) + kaminari-core (= 1.2.2) + kaminari-actionview (1.2.2) + actionview + kaminari-core (= 1.2.2) + kaminari-activerecord (1.2.2) + activerecord + kaminari-core (= 1.2.2) + kaminari-core (1.2.2) + language_server-protocol (3.17.0.4) + lint_roller (1.1.0) + logger (1.6.6) + loofah (2.24.0) + crass (~> 1.0.2) + nokogiri (>= 1.12.0) + mail (2.8.1) + mini_mime (>= 0.1.1) + net-imap + net-pop + net-smtp + marcel (1.0.4) + matrix (0.4.2) + method_source (1.1.0) + mini_mime (1.1.5) + minitest (5.25.5) + mutex_m (0.3.0) + net-imap (0.5.6) + date + net-protocol + net-pop (0.1.2) + net-protocol + net-protocol (0.2.2) + timeout + net-smtp (0.5.1) + net-protocol + nio4r (2.7.4) + nokogiri (1.18.4-aarch64-linux-gnu) + racc (~> 1.4) + nokogiri (1.18.4-aarch64-linux-musl) + racc (~> 1.4) + nokogiri (1.18.4-arm-linux-gnu) + racc (~> 1.4) + nokogiri (1.18.4-arm-linux-musl) + racc (~> 1.4) + nokogiri (1.18.4-arm64-darwin) + racc (~> 1.4) + nokogiri (1.18.4-x86_64-darwin) + racc (~> 1.4) + nokogiri (1.18.4-x86_64-linux-gnu) + racc (~> 1.4) + nokogiri (1.18.4-x86_64-linux-musl) + racc (~> 1.4) + parallel (1.26.3) + parser (3.3.7.1) + ast (~> 2.4.1) + racc + pp (0.6.2) + prettyprint + prettyprint (0.2.0) + pry (0.15.2) + coderay (~> 1.1) + method_source (~> 1.0) + pry-rails (0.3.11) + pry (>= 0.13.0) + psych (5.2.3) + date + stringio + public_suffix (6.0.1) + puma (6.6.0) + nio4r (~> 2.0) + racc (1.8.1) + rack (3.1.12) + rack-session (2.1.0) + base64 (>= 0.1.0) + rack (>= 3.0.0) + rack-test (2.2.0) + rack (>= 1.3) + rackup (2.2.1) + rack (>= 3) + rails (7.2.2.1) + actioncable (= 7.2.2.1) + actionmailbox (= 7.2.2.1) + actionmailer (= 7.2.2.1) + actionpack (= 7.2.2.1) + actiontext (= 7.2.2.1) + actionview (= 7.2.2.1) + activejob (= 7.2.2.1) + activemodel (= 7.2.2.1) + activerecord (= 7.2.2.1) + activestorage (= 7.2.2.1) + activesupport (= 7.2.2.1) + bundler (>= 1.15.0) + railties (= 7.2.2.1) + rails-dom-testing (2.2.0) + activesupport (>= 5.0.0) + minitest + nokogiri (>= 1.6) + rails-html-sanitizer (1.6.2) + loofah (~> 2.21) + 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 (7.2.2.1) + actionpack (= 7.2.2.1) + activesupport (= 7.2.2.1) + 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) + ransack (4.3.0) + activerecord (>= 6.1.5) + activesupport (>= 6.1.5) + i18n + rdoc (6.12.0) + psych (>= 4.0.0) + regexp_parser (2.10.0) + reline (0.6.0) + io-console (~> 0.5) + responders (3.1.1) + actionpack (>= 5.2) + railties (>= 5.2) + rspec-core (3.13.3) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.3) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-rails (7.1.1) + actionpack (>= 7.0) + activesupport (>= 7.0) + railties (>= 7.0) + rspec-core (~> 3.13) + rspec-expectations (~> 3.13) + rspec-mocks (~> 3.13) + rspec-support (~> 3.13) + rspec-retry (0.6.2) + rspec-core (> 3.3) + rspec-support (3.13.2) + rspec_junit_formatter (0.6.0) + rspec-core (>= 2, < 4, != 2.12.0) + rubocop (1.74.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.38.0, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 2.4.0, < 4.0) + rubocop-ast (1.39.0) + parser (>= 3.3.1.0) + rubocop-capybara (2.22.1) + lint_roller (~> 1.1) + rubocop (~> 1.72, >= 1.72.1) + rubocop-packaging (0.5.2) + rubocop (>= 1.33, < 2.0) + rubocop-performance (1.24.0) + lint_roller (~> 1.1) + rubocop (>= 1.72.1, < 2.0) + rubocop-ast (>= 1.38.0, < 2.0) + rubocop-rails (2.30.3) + activesupport (>= 4.2.0) + lint_roller (~> 1.1) + rack (>= 1.1) + rubocop (>= 1.72.1, < 2.0) + rubocop-ast (>= 1.38.0, < 2.0) + rubocop-rspec (3.5.0) + lint_roller (~> 1.1) + rubocop (~> 1.72, >= 1.72.1) + rubocop-rspec_rails (2.31.0) + lint_roller (~> 1.1) + rubocop (~> 1.72, >= 1.72.1) + rubocop-rspec (~> 3.5) + ruby-progressbar (1.13.0) + ruby2_keywords (0.0.5) + ruby_parser (3.21.1) + racc (~> 1.5) + sexp_processor (~> 4.16) + sassc (2.4.0) + ffi (~> 1.9) + securerandom (0.4.1) + sexp_processor (4.17.3) + sprockets (4.2.1) + concurrent-ruby (~> 1.0) + rack (>= 2.2.4, < 4) + sprockets-rails (3.5.2) + actionpack (>= 6.1) + activesupport (>= 6.1) + sprockets (>= 3.0.0) + sqlite3 (2.6.0-aarch64-linux-gnu) + sqlite3 (2.6.0-aarch64-linux-musl) + sqlite3 (2.6.0-arm-linux-gnu) + sqlite3 (2.6.0-arm-linux-musl) + sqlite3 (2.6.0-arm64-darwin) + sqlite3 (2.6.0-x86_64-darwin) + sqlite3 (2.6.0-x86_64-linux-gnu) + sqlite3 (2.6.0-x86_64-linux-musl) + stringio (3.1.5) + thor (1.3.2) + timeout (0.4.3) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + unicode-display_width (3.1.4) + unicode-emoji (~> 4.0, >= 4.0.4) + unicode-emoji (4.0.4) + useragent (0.16.11) + webrick (1.9.1) + websocket-driver (0.7.7) + base64 + websocket-extensions (>= 0.1.0) + websocket-extensions (0.1.5) + xpath (3.2.0) + nokogiri (~> 1.8) + zeitwerk (2.7.2) + +PLATFORMS + aarch64-linux-gnu + aarch64-linux-musl + arm-linux-gnu + arm-linux-musl + arm64-darwin + x86_64-darwin + x86_64-linux-gnu + x86_64-linux-musl + +DEPENDENCIES + activeadmin + activeadmin_quill_editor! + appraisal (~> 2.4) + bigdecimal + capybara + cuprite + fasterer + mutex_m + pry-rails + puma + rails (~> 7.2.0) + rspec-rails + rspec-retry + rspec_junit_formatter + rubocop + rubocop-capybara + rubocop-packaging + rubocop-performance + rubocop-rails + rubocop-rspec + rubocop-rspec_rails + sassc + sprockets-rails + sqlite3 + +BUNDLED WITH + 2.6.6 From cab290e8babea0f34b0c23ab1d87f2fa25a67c2d Mon Sep 17 00:00:00 2001 From: Mattia Roccoberton Date: Mon, 17 Mar 2025 08:39:28 +0100 Subject: [PATCH 3/3] test: Add Rails 8.0 workflow --- .github/workflows/specs_rails70.yml | 2 +- .github/workflows/specs_rails80.yml | 42 +++ Appraisals | 5 + README.md | 4 + gemfiles/rails80_activeadmin.gemfile | 28 ++ gemfiles/rails80_activeadmin.gemfile.lock | 427 ++++++++++++++++++++++ 6 files changed, 507 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/specs_rails80.yml create mode 100644 gemfiles/rails80_activeadmin.gemfile create mode 100644 gemfiles/rails80_activeadmin.gemfile.lock diff --git a/.github/workflows/specs_rails70.yml b/.github/workflows/specs_rails70.yml index db35478..c22400d 100644 --- a/.github/workflows/specs_rails70.yml +++ b/.github/workflows/specs_rails70.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: - ruby: ['3.0', '3.3'] + ruby: ['3.3'] gemfile: ['rails70_activeadmin'] env: diff --git a/.github/workflows/specs_rails80.yml b/.github/workflows/specs_rails80.yml new file mode 100644 index 0000000..c91bdaa --- /dev/null +++ b/.github/workflows/specs_rails80.yml @@ -0,0 +1,42 @@ +--- +name: Specs Rails 8.0 + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + tests: + runs-on: ubuntu-latest + + strategy: + matrix: + ruby: ['3.2', '3.4'] + gemfile: ['rails80_activeadmin'] + + env: + BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + bundler-cache: true + + - name: Run tests + run: bundle exec rspec --profile + + - name: On failure, archive screenshots as artifacts + uses: actions/upload-artifact@v4 + if: failure() + with: + name: test-failed-screenshots + path: spec/dummy/tmp/screenshots diff --git a/Appraisals b/Appraisals index c7eac7f..94d41e6 100644 --- a/Appraisals +++ b/Appraisals @@ -24,3 +24,8 @@ appraise 'rails72-activeadmin' do gem 'activeadmin' gem 'rails', '~> 7.2.0' end + +appraise 'rails80-activeadmin' do + gem 'activeadmin' + gem 'rails', '~> 8.0.0' +end diff --git a/README.md b/README.md index 6f69534..b58ccb9 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,12 @@ [![gem version](https://badge.fury.io/rb/activeadmin_quill_editor.svg)](https://badge.fury.io/rb/activeadmin_quill_editor) [![gem downloads](https://badgen.net/rubygems/dt/activeadmin_quill_editor)](https://rubygems.org/gems/activeadmin_quill_editor) [![linters](https://github.com/blocknotes/activeadmin_quill_editor/actions/workflows/linters.yml/badge.svg)](https://github.com/blocknotes/activeadmin_quill_editor/actions/workflows/linters.yml) + [![specs Rails 6.1](https://github.com/blocknotes/activeadmin_quill_editor/actions/workflows/specs_rails61.yml/badge.svg)](https://github.com/blocknotes/activeadmin_quill_editor/actions/workflows/specs_rails61.yml) [![specs Rails 7.0](https://github.com/blocknotes/activeadmin_quill_editor/actions/workflows/specs_rails70.yml/badge.svg)](https://github.com/blocknotes/activeadmin_quill_editor/actions/workflows/specs_rails70.yml) +[![Specs Rails 7.1](https://github.com/blocknotes/activeadmin_quill_editor/actions/workflows/specs_rails71.yml/badge.svg)](https://github.com/blocknotes/activeadmin_quill_editor/actions/workflows/specs_rails71.yml) +[![Specs Rails 7.2](https://github.com/blocknotes/activeadmin_quill_editor/actions/workflows/specs_rails72.yml/badge.svg)](https://github.com/blocknotes/activeadmin_quill_editor/actions/workflows/specs_rails72.yml) +[![Specs Rails 8.0](https://github.com/blocknotes/activeadmin_quill_editor/actions/workflows/specs_rails80.yml/badge.svg)](https://github.com/blocknotes/activeadmin_quill_editor/actions/workflows/specs_rails80.yml) An Active Admin plugin to use [Quill Rich Text Editor](https://github.com/quilljs/quill) in form fields. diff --git a/gemfiles/rails80_activeadmin.gemfile b/gemfiles/rails80_activeadmin.gemfile new file mode 100644 index 0000000..e1b9ce3 --- /dev/null +++ b/gemfiles/rails80_activeadmin.gemfile @@ -0,0 +1,28 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "sqlite3" +gem "bigdecimal" +gem "mutex_m" +gem "puma" +gem "sassc" +gem "sprockets-rails" +gem "capybara" +gem "cuprite" +gem "rspec_junit_formatter" +gem "rspec-rails" +gem "rspec-retry" +gem "fasterer" +gem "rubocop" +gem "rubocop-capybara" +gem "rubocop-packaging" +gem "rubocop-performance" +gem "rubocop-rails" +gem "rubocop-rspec" +gem "rubocop-rspec_rails" +gem "pry-rails" +gem "activeadmin" +gem "rails", "~> 8.0.0" + +gemspec path: "../" diff --git a/gemfiles/rails80_activeadmin.gemfile.lock b/gemfiles/rails80_activeadmin.gemfile.lock new file mode 100644 index 0000000..9742ac9 --- /dev/null +++ b/gemfiles/rails80_activeadmin.gemfile.lock @@ -0,0 +1,427 @@ +PATH + remote: .. + specs: + activeadmin_quill_editor (1.2.0) + activeadmin (>= 2.9, < 4) + +GEM + remote: https://rubygems.org/ + specs: + actioncable (8.0.2) + actionpack (= 8.0.2) + activesupport (= 8.0.2) + nio4r (~> 2.0) + websocket-driver (>= 0.6.1) + zeitwerk (~> 2.6) + actionmailbox (8.0.2) + actionpack (= 8.0.2) + activejob (= 8.0.2) + activerecord (= 8.0.2) + activestorage (= 8.0.2) + activesupport (= 8.0.2) + mail (>= 2.8.0) + actionmailer (8.0.2) + actionpack (= 8.0.2) + actionview (= 8.0.2) + activejob (= 8.0.2) + activesupport (= 8.0.2) + mail (>= 2.8.0) + rails-dom-testing (~> 2.2) + actionpack (8.0.2) + actionview (= 8.0.2) + activesupport (= 8.0.2) + 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.0.2) + actionpack (= 8.0.2) + activerecord (= 8.0.2) + activestorage (= 8.0.2) + activesupport (= 8.0.2) + globalid (>= 0.6.0) + nokogiri (>= 1.8.5) + actionview (8.0.2) + activesupport (= 8.0.2) + builder (~> 3.1) + erubi (~> 1.11) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + activeadmin (3.3.0) + arbre (~> 1.2, >= 1.2.1) + csv + formtastic (>= 3.1) + formtastic_i18n (>= 0.4) + inherited_resources (~> 1.7) + jquery-rails (>= 4.2) + kaminari (>= 1.2.1) + railties (>= 6.1) + ransack (>= 4.0) + activejob (8.0.2) + activesupport (= 8.0.2) + globalid (>= 0.3.6) + activemodel (8.0.2) + activesupport (= 8.0.2) + activerecord (8.0.2) + activemodel (= 8.0.2) + activesupport (= 8.0.2) + timeout (>= 0.4.0) + activestorage (8.0.2) + actionpack (= 8.0.2) + activejob (= 8.0.2) + activerecord (= 8.0.2) + activesupport (= 8.0.2) + marcel (~> 1.0) + activesupport (8.0.2) + base64 + benchmark (>= 0.3) + 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) + uri (>= 0.13.1) + addressable (2.8.7) + public_suffix (>= 2.0.2, < 7.0) + appraisal (2.5.0) + bundler + rake + thor (>= 0.14.0) + arbre (1.7.0) + activesupport (>= 3.0.0) + ruby2_keywords (>= 0.0.2) + ast (2.4.2) + base64 (0.2.0) + benchmark (0.4.0) + bigdecimal (3.1.9) + builder (3.3.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.5) + connection_pool (2.5.0) + crass (1.0.6) + csv (3.3.2) + cuprite (0.15.1) + capybara (~> 3.0) + ferrum (~> 0.15.0) + date (3.4.1) + diff-lcs (1.6.0) + drb (2.2.1) + erubi (1.13.1) + fasterer (0.11.0) + ruby_parser (>= 3.19.1) + ferrum (0.15) + addressable (~> 2.5) + concurrent-ruby (~> 1.1) + webrick (~> 1.7) + websocket-driver (~> 0.7) + ffi (1.17.1-aarch64-linux-gnu) + ffi (1.17.1-aarch64-linux-musl) + ffi (1.17.1-arm-linux-gnu) + ffi (1.17.1-arm-linux-musl) + ffi (1.17.1-arm64-darwin) + ffi (1.17.1-x86_64-darwin) + ffi (1.17.1-x86_64-linux-gnu) + ffi (1.17.1-x86_64-linux-musl) + formtastic (5.0.0) + actionpack (>= 6.0.0) + formtastic_i18n (0.7.0) + globalid (1.2.1) + activesupport (>= 6.1) + has_scope (0.8.2) + actionpack (>= 5.2) + activesupport (>= 5.2) + i18n (1.14.7) + concurrent-ruby (~> 1.0) + inherited_resources (1.14.0) + actionpack (>= 6.0) + has_scope (>= 0.6) + railties (>= 6.0) + responders (>= 2) + io-console (0.8.0) + irb (1.15.1) + pp (>= 0.6.0) + rdoc (>= 4.0.0) + reline (>= 0.4.2) + jquery-rails (4.6.0) + rails-dom-testing (>= 1, < 3) + railties (>= 4.2.0) + thor (>= 0.14, < 2.0) + json (2.10.2) + kaminari (1.2.2) + activesupport (>= 4.1.0) + kaminari-actionview (= 1.2.2) + kaminari-activerecord (= 1.2.2) + kaminari-core (= 1.2.2) + kaminari-actionview (1.2.2) + actionview + kaminari-core (= 1.2.2) + kaminari-activerecord (1.2.2) + activerecord + kaminari-core (= 1.2.2) + kaminari-core (1.2.2) + language_server-protocol (3.17.0.4) + lint_roller (1.1.0) + logger (1.6.6) + loofah (2.24.0) + crass (~> 1.0.2) + nokogiri (>= 1.12.0) + mail (2.8.1) + mini_mime (>= 0.1.1) + net-imap + net-pop + net-smtp + marcel (1.0.4) + matrix (0.4.2) + method_source (1.1.0) + mini_mime (1.1.5) + minitest (5.25.5) + mutex_m (0.3.0) + net-imap (0.5.6) + date + net-protocol + net-pop (0.1.2) + net-protocol + net-protocol (0.2.2) + timeout + net-smtp (0.5.1) + net-protocol + nio4r (2.7.4) + nokogiri (1.18.4-aarch64-linux-gnu) + racc (~> 1.4) + nokogiri (1.18.4-aarch64-linux-musl) + racc (~> 1.4) + nokogiri (1.18.4-arm-linux-gnu) + racc (~> 1.4) + nokogiri (1.18.4-arm-linux-musl) + racc (~> 1.4) + nokogiri (1.18.4-arm64-darwin) + racc (~> 1.4) + nokogiri (1.18.4-x86_64-darwin) + racc (~> 1.4) + nokogiri (1.18.4-x86_64-linux-gnu) + racc (~> 1.4) + nokogiri (1.18.4-x86_64-linux-musl) + racc (~> 1.4) + parallel (1.26.3) + parser (3.3.7.1) + ast (~> 2.4.1) + racc + pp (0.6.2) + prettyprint + prettyprint (0.2.0) + pry (0.15.2) + coderay (~> 1.1) + method_source (~> 1.0) + pry-rails (0.3.11) + pry (>= 0.13.0) + psych (5.2.3) + date + stringio + public_suffix (6.0.1) + puma (6.6.0) + nio4r (~> 2.0) + racc (1.8.1) + rack (3.1.12) + rack-session (2.1.0) + base64 (>= 0.1.0) + rack (>= 3.0.0) + rack-test (2.2.0) + rack (>= 1.3) + rackup (2.2.1) + rack (>= 3) + rails (8.0.2) + actioncable (= 8.0.2) + actionmailbox (= 8.0.2) + actionmailer (= 8.0.2) + actionpack (= 8.0.2) + actiontext (= 8.0.2) + actionview (= 8.0.2) + activejob (= 8.0.2) + activemodel (= 8.0.2) + activerecord (= 8.0.2) + activestorage (= 8.0.2) + activesupport (= 8.0.2) + bundler (>= 1.15.0) + railties (= 8.0.2) + rails-dom-testing (2.2.0) + activesupport (>= 5.0.0) + minitest + nokogiri (>= 1.6) + rails-html-sanitizer (1.6.2) + loofah (~> 2.21) + 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.0.2) + actionpack (= 8.0.2) + activesupport (= 8.0.2) + 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) + ransack (4.3.0) + activerecord (>= 6.1.5) + activesupport (>= 6.1.5) + i18n + rdoc (6.12.0) + psych (>= 4.0.0) + regexp_parser (2.10.0) + reline (0.6.0) + io-console (~> 0.5) + responders (3.1.1) + actionpack (>= 5.2) + railties (>= 5.2) + rspec-core (3.13.3) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.3) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-rails (7.1.1) + actionpack (>= 7.0) + activesupport (>= 7.0) + railties (>= 7.0) + rspec-core (~> 3.13) + rspec-expectations (~> 3.13) + rspec-mocks (~> 3.13) + rspec-support (~> 3.13) + rspec-retry (0.6.2) + rspec-core (> 3.3) + rspec-support (3.13.2) + rspec_junit_formatter (0.6.0) + rspec-core (>= 2, < 4, != 2.12.0) + rubocop (1.74.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.38.0, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 2.4.0, < 4.0) + rubocop-ast (1.39.0) + parser (>= 3.3.1.0) + rubocop-capybara (2.22.1) + lint_roller (~> 1.1) + rubocop (~> 1.72, >= 1.72.1) + rubocop-packaging (0.5.2) + rubocop (>= 1.33, < 2.0) + rubocop-performance (1.24.0) + lint_roller (~> 1.1) + rubocop (>= 1.72.1, < 2.0) + rubocop-ast (>= 1.38.0, < 2.0) + rubocop-rails (2.30.3) + activesupport (>= 4.2.0) + lint_roller (~> 1.1) + rack (>= 1.1) + rubocop (>= 1.72.1, < 2.0) + rubocop-ast (>= 1.38.0, < 2.0) + rubocop-rspec (3.5.0) + lint_roller (~> 1.1) + rubocop (~> 1.72, >= 1.72.1) + rubocop-rspec_rails (2.31.0) + lint_roller (~> 1.1) + rubocop (~> 1.72, >= 1.72.1) + rubocop-rspec (~> 3.5) + ruby-progressbar (1.13.0) + ruby2_keywords (0.0.5) + ruby_parser (3.21.1) + racc (~> 1.5) + sexp_processor (~> 4.16) + sassc (2.4.0) + ffi (~> 1.9) + securerandom (0.4.1) + sexp_processor (4.17.3) + sprockets (4.2.1) + concurrent-ruby (~> 1.0) + rack (>= 2.2.4, < 4) + sprockets-rails (3.5.2) + actionpack (>= 6.1) + activesupport (>= 6.1) + sprockets (>= 3.0.0) + sqlite3 (2.6.0-aarch64-linux-gnu) + sqlite3 (2.6.0-aarch64-linux-musl) + sqlite3 (2.6.0-arm-linux-gnu) + sqlite3 (2.6.0-arm-linux-musl) + sqlite3 (2.6.0-arm64-darwin) + sqlite3 (2.6.0-x86_64-darwin) + sqlite3 (2.6.0-x86_64-linux-gnu) + sqlite3 (2.6.0-x86_64-linux-musl) + stringio (3.1.5) + thor (1.3.2) + timeout (0.4.3) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + unicode-display_width (3.1.4) + unicode-emoji (~> 4.0, >= 4.0.4) + unicode-emoji (4.0.4) + uri (1.0.3) + useragent (0.16.11) + webrick (1.9.1) + websocket-driver (0.7.7) + base64 + websocket-extensions (>= 0.1.0) + websocket-extensions (0.1.5) + xpath (3.2.0) + nokogiri (~> 1.8) + zeitwerk (2.7.2) + +PLATFORMS + aarch64-linux-gnu + aarch64-linux-musl + arm-linux-gnu + arm-linux-musl + arm64-darwin + x86_64-darwin + x86_64-linux-gnu + x86_64-linux-musl + +DEPENDENCIES + activeadmin + activeadmin_quill_editor! + appraisal (~> 2.4) + bigdecimal + capybara + cuprite + fasterer + mutex_m + pry-rails + puma + rails (~> 8.0.0) + rspec-rails + rspec-retry + rspec_junit_formatter + rubocop + rubocop-capybara + rubocop-packaging + rubocop-performance + rubocop-rails + rubocop-rspec + rubocop-rspec_rails + sassc + sprockets-rails + sqlite3 + +BUNDLED WITH + 2.6.6