diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d7e4098a3..ae418fc20 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ concurrency: env: RSPEC_CI: true # This tells rspec-rails what branch to run in ci - RSPEC_VERSION: '= 3.13.0.pre' + RSPEC_VERSION: '~> 3.13.0' jobs: rubocop: name: Rubocop diff --git a/Changelog.md b/Changelog.md index 12644c448..230eafa46 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,6 +1,9 @@ ### Development [Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.12.3...main) +### 3.13.0 / 2024-02-04 +[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.12.4...v3.13.0) + Enhancements: * Update `eq` and `eql` matchers to better highlight difference in string encoding. diff --git a/demo.rb b/demo.rb new file mode 100644 index 000000000..9b1829767 --- /dev/null +++ b/demo.rb @@ -0,0 +1,9 @@ +require './lib/rspec/expectations' +class IsolatedTest + include RSpec::Matchers + def test + expect(nil).to(eq("")) + end +end +RSpec::Expectations::Syntax.enable_expect(IsolatedTest) +IsolatedTest.new.test diff --git a/lib/rspec/expectations/version.rb b/lib/rspec/expectations/version.rb index 622b855d5..e6052276a 100644 --- a/lib/rspec/expectations/version.rb +++ b/lib/rspec/expectations/version.rb @@ -2,7 +2,7 @@ module RSpec module Expectations # @private module Version - STRING = '3.13.0.pre' + STRING = '3.13.0' end end end diff --git a/maintenance-branch b/maintenance-branch index ba2906d06..a71b13e28 100644 --- a/maintenance-branch +++ b/maintenance-branch @@ -1 +1 @@ -main +3-13-maintenance diff --git a/script/clone_all_rspec_repos b/script/clone_all_rspec_repos index 1f93877e4..85b3961cc 100755 --- a/script/clone_all_rspec_repos +++ b/script/clone_all_rspec_repos @@ -12,7 +12,7 @@ if is_mri; then clone_repo "rspec-core" clone_repo "rspec-expectations" clone_repo "rspec-mocks" - clone_repo "rspec-rails" + clone_repo "rspec-rails" "6-1-maintenance" if rspec_support_compatible; then clone_repo "rspec-support"