diff --git a/.github/dependabot.yml b/.github/dependabot.yml index fdc71058..ca264f7b 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,4 +1,4 @@ -# This file was generated on 2023-03-16T21:03:44+00:00 from the rspec-dev repo. +# This file was generated on 2023-04-11T15:33:34+01:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. version: 2 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e9810bb9..ac644328 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -# This file was generated on 2023-03-16T21:03:44+00:00 from the rspec-dev repo. +# This file was generated on 2023-04-11T15:33:34+01:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. name: RSpec CI @@ -50,7 +50,6 @@ jobs: - 2.4 - 2.3 - 2.2 - - 2.1.9 env: - DIFF_LCS_VERSION: "> 1.4.3" @@ -94,6 +93,9 @@ jobs: fail-fast: false matrix: container: + - version: "2.1.9" + tag: ghcr.io/rspec/docker-ci:2.1.9 + post: git config --global --add safe.directory `pwd` - version: "2.0" tag: ghcr.io/rspec/docker-ci:2.0.0 - version: "1.9.3" @@ -124,6 +126,7 @@ jobs: - uses: actions/checkout@v3 - run: ${{ matrix.container.pre }} - run: script/legacy_setup.sh + - run: ${{ matrix.container.post }} - run: bundle exec bin/rspec - run: bundle exec script/cucumber.sh @@ -139,7 +142,6 @@ jobs: - 2.4 - 2.3 - 2.2 - - 2.1.9 fail-fast: false steps: - uses: actions/checkout@v3 diff --git a/.rubocop_rspec_base.yml b/.rubocop_rspec_base.yml index 86e8825c..27489f12 100644 --- a/.rubocop_rspec_base.yml +++ b/.rubocop_rspec_base.yml @@ -1,4 +1,4 @@ -# This file was generated on 2023-03-16T21:03:44+00:00 from the rspec-dev repo. +# This file was generated on 2023-04-11T15:33:34+01:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. # This file contains defaults for RSpec projects. Individual projects diff --git a/script/ci_functions.sh b/script/ci_functions.sh index 47f26ff7..d75bd918 100644 --- a/script/ci_functions.sh +++ b/script/ci_functions.sh @@ -1,4 +1,4 @@ -# This file was generated on 2023-03-16T21:03:44+00:00 from the rspec-dev repo. +# This file was generated on 2023-04-11T15:33:34+01:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. # Taken from: diff --git a/script/clone_all_rspec_repos b/script/clone_all_rspec_repos index f1a89ecc..f2c9bc83 100755 --- a/script/clone_all_rspec_repos +++ b/script/clone_all_rspec_repos @@ -1,5 +1,5 @@ #!/bin/bash -# This file was generated on 2023-03-16T21:03:44+00:00 from the rspec-dev repo. +# This file was generated on 2023-04-11T15:33:34+01:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. set -e diff --git a/script/cucumber.sh b/script/cucumber.sh index cd724faf..a5c1f94f 100755 --- a/script/cucumber.sh +++ b/script/cucumber.sh @@ -1,5 +1,5 @@ #!/bin/bash -# This file was generated on 2023-03-16T21:03:44+00:00 from the rspec-dev repo. +# This file was generated on 2023-04-11T15:33:34+01:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. set -e diff --git a/script/functions.sh b/script/functions.sh index 3f6afb05..f575d357 100644 --- a/script/functions.sh +++ b/script/functions.sh @@ -1,4 +1,4 @@ -# This file was generated on 2023-03-16T21:03:44+00:00 from the rspec-dev repo. +# This file was generated on 2023-04-11T15:33:34+01:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" diff --git a/script/legacy_setup.sh b/script/legacy_setup.sh index fb7f84cb..78031529 100755 --- a/script/legacy_setup.sh +++ b/script/legacy_setup.sh @@ -1,5 +1,5 @@ #!/bin/bash -# This file was generated on 2023-03-16T21:03:44+00:00 from the rspec-dev repo. +# This file was generated on 2023-04-11T15:33:34+01:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. set -e diff --git a/script/predicate_functions.sh b/script/predicate_functions.sh index 57ec9c77..965ec586 100644 --- a/script/predicate_functions.sh +++ b/script/predicate_functions.sh @@ -1,4 +1,4 @@ -# This file was generated on 2023-03-16T21:03:44+00:00 from the rspec-dev repo. +# This file was generated on 2023-04-11T15:33:34+01:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. function is_mri { diff --git a/script/run_build b/script/run_build index 48be7af9..5d0de9fc 100755 --- a/script/run_build +++ b/script/run_build @@ -1,5 +1,5 @@ #!/bin/bash -# This file was generated on 2023-03-16T21:03:44+00:00 from the rspec-dev repo. +# This file was generated on 2023-04-11T15:33:34+01:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. set -e diff --git a/script/run_rubocop b/script/run_rubocop index 4b2153ad..4ce4e830 100755 --- a/script/run_rubocop +++ b/script/run_rubocop @@ -1,5 +1,5 @@ #!/bin/bash -# This file was generated on 2023-03-16T21:03:44+00:00 from the rspec-dev repo. +# This file was generated on 2023-04-11T15:33:34+01:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. set -e diff --git a/script/update_rubygems_and_install_bundler b/script/update_rubygems_and_install_bundler index 254a6b28..2b5188ef 100755 --- a/script/update_rubygems_and_install_bundler +++ b/script/update_rubygems_and_install_bundler @@ -1,5 +1,5 @@ #!/bin/bash -# This file was generated on 2023-03-16T21:03:44+00:00 from the rspec-dev repo. +# This file was generated on 2023-04-11T15:33:34+01:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. set -e diff --git a/spec/rspec/support/reentrant_mutex_spec.rb b/spec/rspec/support/reentrant_mutex_spec.rb index f9786a93..eab55cad 100644 --- a/spec/rspec/support/reentrant_mutex_spec.rb +++ b/spec/rspec/support/reentrant_mutex_spec.rb @@ -28,13 +28,13 @@ order.join_all end - # On Ruby 3.1.3, 3.2.0 and RUBY_HEAD the raise in this spec can + # On Ruby 3.1.3+, 3.2.0 and RUBY_HEAD the raise in this spec can # bypass the `raise_error` capture and break this spec but # it is not sufficient to pend it as the raise can escape to the other # threads somehow therefore poisoning them so its skipped entirely. # This is a temporary work around to allow green cross project builds but # needs a fix. - if RUBY_VERSION >= '3.0' && RUBY_VERSION != '3.1.3' && RUBY_VERSION < '3.2.0' && !ENV['RUBY_HEAD'] + if RUBY_VERSION >= '3.0' && RUBY_VERSION < '3.1.3' && !ENV['RUBY_HEAD'] it 'waits when trying to lock from another Fiber' do mutex.synchronize do ready = false