diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7cf3821..94ac252 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,6 +41,7 @@ jobs: - '3.10' - '3.11' - '3.12' + - '3.13' env: BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rspec-${{ matrix.gemfile }}.gemfile steps: @@ -63,7 +64,7 @@ jobs: bundle exec rspec \ --format json --out tmp/rspec.json \ --format documentation && bin/check_num_tests.rb - if: ${{ matrix.ruby == 3.1 && matrix.gemfile == 3.12 }} + if: ${{ matrix.ruby == 3.1 && matrix.gemfile == 3.13 }} env: RWX_ACCESS_TOKEN: ${{ secrets.RWX_ACCESS_TOKEN }} timeout-minutes: 5 @@ -72,7 +73,7 @@ jobs: bundle exec rspec \ --format json --out tmp/rspec.json \ --format documentation && bin/check_num_tests.rb - if: ${{ matrix.ruby != 3.1 || matrix.gemfile != 3.12 }} + if: ${{ matrix.ruby != 3.1 || matrix.gemfile != 3.13 }} timeout-minutes: 5 - name: Upload Coverage if: always() diff --git a/Gemfile b/Gemfile index 88d4266..5dd8b20 100644 --- a/Gemfile +++ b/Gemfile @@ -6,7 +6,7 @@ source "https://rubygems.org" gemspec # and the specific patch version of rspec -gem "rspec", "~> 3.12" +gem "rspec", "~> 3.13" group :development do gem "rake", "~> 13.0" diff --git a/Gemfile.lock b/Gemfile.lock index 52c6b5e..b4a63f7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -10,7 +10,7 @@ PATH remote: . specs: rspec-abq (1.1.5) - rspec-core (>= 3.8.0, < 3.13.0) + rspec-core (>= 3.8.0, < 3.14.0) GEM remote: https://rubygems.org/ @@ -64,29 +64,29 @@ GEM puma (6.4.2) nio4r (~> 2.0) racc (1.7.3) - rack (2.2.8) + rack (2.2.8.1) rack-test (2.1.0) rack (>= 1.3) rainbow (3.1.1) rake (13.1.0) regexp_parser (2.9.0) rexml (3.2.6) - rspec (3.12.0) - rspec-core (~> 3.12.0) - rspec-expectations (~> 3.12.0) - rspec-mocks (~> 3.12.0) - rspec-core (3.12.3) - rspec-support (~> 3.12.0) - rspec-expectations (3.12.4) + rspec (3.13.0) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) + rspec-core (3.13.0) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.0) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-mocks (3.12.7) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.0) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) + rspec-support (~> 3.13.0) rspec-retry (0.6.2) rspec-core (> 3.3) - rspec-support (3.12.2) - rubocop (1.60.2) + rspec-support (3.13.1) + rubocop (1.61.0) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) @@ -97,8 +97,9 @@ GEM rubocop-ast (>= 1.30.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-ast (1.31.0) + parser (>= 3.3.0.4) + prism (>= 0.24.0) rubocop-capybara (2.20.0) rubocop (~> 1.41) rubocop-factory_bot (2.25.1) @@ -112,7 +113,7 @@ GEM rubocop (~> 1.40) rubocop-capybara (~> 2.17) rubocop-factory_bot (~> 2.22) - ruby-lsp (0.14.1) + ruby-lsp (0.14.3) language_server-protocol (~> 3.17.0) prism (>= 0.22.0, < 0.25) sorbet-runtime (>= 0.5.10782) @@ -128,7 +129,7 @@ GEM simplecov_json_formatter (~> 0.1) simplecov-html (0.12.3) simplecov_json_formatter (0.1.4) - sorbet-runtime (0.5.11262) + sorbet-runtime (0.5.11279) standard (1.34.0) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.0) @@ -149,10 +150,11 @@ GEM websocket (1.2.10) xpath (3.2.0) nokogiri (~> 1.8) - yard (0.9.34) + yard (0.9.35) PLATFORMS arm64-darwin-21 + arm64-darwin-23 x86_64-darwin-21 x86_64-linux @@ -165,7 +167,7 @@ DEPENDENCIES puma (~> 6.4) rack (~> 2.2) rake (~> 13.0) - rspec (~> 3.12) + rspec (~> 3.13) rspec-abq! rspec-retry (~> 0.6.2) rspec-snapshot! diff --git a/bin/generate-abq-test-output.rb b/bin/generate-abq-test-output.rb index 35cef52..cc5d22a 100755 --- a/bin/generate-abq-test-output.rb +++ b/bin/generate-abq-test-output.rb @@ -33,10 +33,10 @@ `bundle exec rspec --dry-run --format json | jq '.examples | length' > spec/NUM_TESTS` # symlink the results for the latest gemfile to the results for the default gemfile -Dir['spec/**/*-rspec-3.12.gemfile.snap'].each do |path| +Dir['spec/**/*-rspec-3.13.gemfile.snap'].each do |path| Dir.chdir(File.dirname(path)) do source = File.basename(path) - target = source.sub('rspec-3.12.gemfile', 'Gemfile') + target = source.sub('rspec-3.13.gemfile', 'Gemfile') FileUtils.rm(target) if File.exist? target FileUtils.ln_s(source, target) end diff --git a/gemfiles/rspec-3.10.gemfile.lock b/gemfiles/rspec-3.10.gemfile.lock index 53eae37..e1b4fd3 100644 --- a/gemfiles/rspec-3.10.gemfile.lock +++ b/gemfiles/rspec-3.10.gemfile.lock @@ -10,7 +10,7 @@ PATH remote: .. specs: rspec-abq (1.1.5) - rspec-core (>= 3.8.0, < 3.13.0) + rspec-core (>= 3.8.0, < 3.14.0) GEM remote: https://rubygems.org/ @@ -54,7 +54,7 @@ GEM puma (6.4.2) nio4r (~> 2.0) racc (1.7.3) - rack (2.2.8) + rack (2.2.8.1) rack-test (2.1.0) rack (>= 1.3) regexp_parser (2.9.0) @@ -95,6 +95,7 @@ GEM PLATFORMS arm64-darwin-21 + arm64-darwin-23 x86_64-darwin-21 x86_64-linux diff --git a/gemfiles/rspec-3.11.gemfile.lock b/gemfiles/rspec-3.11.gemfile.lock index f6535bc..544109a 100644 --- a/gemfiles/rspec-3.11.gemfile.lock +++ b/gemfiles/rspec-3.11.gemfile.lock @@ -10,7 +10,7 @@ PATH remote: .. specs: rspec-abq (1.1.5) - rspec-core (>= 3.8.0, < 3.13.0) + rspec-core (>= 3.8.0, < 3.14.0) GEM remote: https://rubygems.org/ @@ -54,7 +54,7 @@ GEM puma (6.4.2) nio4r (~> 2.0) racc (1.7.3) - rack (2.2.8) + rack (2.2.8.1) rack-test (2.1.0) rack (>= 1.3) regexp_parser (2.9.0) @@ -95,6 +95,7 @@ GEM PLATFORMS arm64-darwin-21 + arm64-darwin-23 x86_64-darwin-21 x86_64-linux diff --git a/gemfiles/rspec-3.12.gemfile.lock b/gemfiles/rspec-3.12.gemfile.lock index 64e395f..517c82e 100644 --- a/gemfiles/rspec-3.12.gemfile.lock +++ b/gemfiles/rspec-3.12.gemfile.lock @@ -10,7 +10,7 @@ PATH remote: .. specs: rspec-abq (1.1.5) - rspec-core (>= 3.8.0, < 3.13.0) + rspec-core (>= 3.8.0, < 3.14.0) GEM remote: https://rubygems.org/ @@ -54,7 +54,7 @@ GEM puma (6.4.2) nio4r (~> 2.0) racc (1.7.3) - rack (2.2.8) + rack (2.2.8.1) rack-test (2.1.0) rack (>= 1.3) regexp_parser (2.9.0) @@ -95,6 +95,7 @@ GEM PLATFORMS arm64-darwin-21 + arm64-darwin-23 x86_64-darwin-21 x86_64-linux diff --git a/gemfiles/rspec-3.13.gemfile b/gemfiles/rspec-3.13.gemfile new file mode 100644 index 0000000..4532d98 --- /dev/null +++ b/gemfiles/rspec-3.13.gemfile @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +source "https://rubygems.org" + +# Specify your gem's dependencies in rspec-abq.gemspec +gemspec(path: "..") + +# and the specific patch version of rspec +gem "rspec", "~> 3.13", "< 3.14" +gem "rspec-snapshot", github: "rwx-research/rspec-snapshot" diff --git a/gemfiles/rspec-3.13.gemfile.lock b/gemfiles/rspec-3.13.gemfile.lock new file mode 100644 index 0000000..cd9afc5 --- /dev/null +++ b/gemfiles/rspec-3.13.gemfile.lock @@ -0,0 +1,118 @@ +GIT + remote: https://github.com/rwx-research/rspec-snapshot.git + revision: 77b3098b46190a291b32b52686d07c96cced18d5 + specs: + rspec-snapshot (2.0.1) + awesome_print (> 1.0.0) + rspec (> 3.0.0) + +PATH + remote: .. + specs: + rspec-abq (1.1.5) + rspec-core (>= 3.8.0, < 3.14.0) + +GEM + remote: https://rubygems.org/ + specs: + addressable (2.8.6) + public_suffix (>= 2.0.2, < 6.0) + awesome_print (1.9.2) + 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) + capybara-inline-screenshot (2.2.1) + capybara-screenshot + capybara-screenshot (1.0.26) + capybara (>= 1.0, < 4) + launchy + coderay (1.1.3) + diff-lcs (1.5.1) + docile (1.4.0) + launchy (2.5.2) + addressable (~> 2.8) + matrix (0.4.2) + method_source (1.0.0) + mini_mime (1.1.5) + nio4r (2.7.0) + nokogiri (1.16.2-arm64-darwin) + racc (~> 1.4) + nokogiri (1.16.2-x86_64-darwin) + racc (~> 1.4) + nokogiri (1.16.2-x86_64-linux) + racc (~> 1.4) + pry (0.14.2) + coderay (~> 1.1) + method_source (~> 1.0) + public_suffix (5.0.4) + puma (6.4.2) + nio4r (~> 2.0) + racc (1.7.3) + rack (2.2.8.1) + rack-test (2.1.0) + rack (>= 1.3) + regexp_parser (2.9.0) + rexml (3.2.6) + rspec (3.13.0) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) + rspec-core (3.13.0) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.0) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.0) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-retry (0.6.2) + rspec-core (> 3.3) + rspec-support (3.13.1) + rubyzip (2.3.2) + selenium-webdriver (4.10.0) + rexml (~> 3.2, >= 3.2.5) + rubyzip (>= 1.2.2, < 3.0) + websocket (~> 1.0) + 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) + webdrivers (5.3.1) + nokogiri (~> 1.6) + rubyzip (>= 1.3.0) + selenium-webdriver (~> 4.0, < 4.11) + websocket (1.2.10) + xpath (3.2.0) + nokogiri (~> 1.8) + +PLATFORMS + arm64-darwin-21 + arm64-darwin-23 + x86_64-darwin-21 + x86_64-linux + +DEPENDENCIES + capybara (~> 3.40) + capybara-inline-screenshot (~> 2.2.1) + nokogiri (~> 1.16) + pry (~> 0.14.1) + puma (~> 6.4) + rack (~> 2.2) + rspec (~> 3.13, < 3.14) + rspec-abq! + rspec-retry (~> 0.6.2) + rspec-snapshot! + selenium-webdriver (~> 4.10.0) + simplecov (~> 0.22.0) + webdrivers (~> 5.3) + +BUNDLED WITH + 2.3.7 diff --git a/gemfiles/rspec-3.8.gemfile.lock b/gemfiles/rspec-3.8.gemfile.lock index 72fa100..d589cb9 100644 --- a/gemfiles/rspec-3.8.gemfile.lock +++ b/gemfiles/rspec-3.8.gemfile.lock @@ -10,7 +10,7 @@ PATH remote: .. specs: rspec-abq (1.1.5) - rspec-core (>= 3.8.0, < 3.13.0) + rspec-core (>= 3.8.0, < 3.14.0) GEM remote: https://rubygems.org/ @@ -54,7 +54,7 @@ GEM puma (6.4.2) nio4r (~> 2.0) racc (1.7.3) - rack (2.2.8) + rack (2.2.8.1) rack-test (2.1.0) rack (>= 1.3) regexp_parser (2.9.0) @@ -95,6 +95,7 @@ GEM PLATFORMS arm64-darwin-21 + arm64-darwin-23 x86_64-darwin-21 x86_64-linux diff --git a/gemfiles/rspec-3.9.gemfile.lock b/gemfiles/rspec-3.9.gemfile.lock index 7b51025..b9cef14 100644 --- a/gemfiles/rspec-3.9.gemfile.lock +++ b/gemfiles/rspec-3.9.gemfile.lock @@ -10,7 +10,7 @@ PATH remote: .. specs: rspec-abq (1.1.5) - rspec-core (>= 3.8.0, < 3.13.0) + rspec-core (>= 3.8.0, < 3.14.0) GEM remote: https://rubygems.org/ @@ -54,7 +54,7 @@ GEM puma (6.4.2) nio4r (~> 2.0) racc (1.7.3) - rack (2.2.8) + rack (2.2.8.1) rack-test (2.1.0) rack (>= 1.3) regexp_parser (2.9.0) @@ -95,6 +95,7 @@ GEM PLATFORMS arm64-darwin-21 + arm64-darwin-23 x86_64-darwin-21 x86_64-linux diff --git a/rspec-abq.gemspec b/rspec-abq.gemspec index 43f739a..3305884 100644 --- a/rspec-abq.gemspec +++ b/rspec-abq.gemspec @@ -27,7 +27,7 @@ Gem::Specification.new do |spec| spec.files = `git ls-files -- lib/*`.split("\n") + %w[README.md LICENSE.md] spec.require_paths = ["lib"] - spec.add_dependency "rspec-core", ">= 3.8.0", "< 3.13.0" + spec.add_dependency "rspec-core", ">= 3.8.0", "< 3.14.0" spec.add_development_dependency "pry", "~> 0.14.1" spec.add_development_dependency "rspec-retry", "~> 0.6.2" spec.add_development_dependency "capybara", "~> 3.40"