From eb753321433bf9e85b93942a169e5d59df6ff427 Mon Sep 17 00:00:00 2001 From: Andrey Marchenko Date: Tue, 12 Mar 2024 09:27:01 +0100 Subject: [PATCH] confirm that Module.const_source_location works with shoulda-context 2.0 --- Appraisals | 2 +- ...st_5_shoulda_context_2_shoulda_matchers_6.gemfile | 2 +- ...shoulda_context_2_shoulda_matchers_6.gemfile.lock | 12 +++--------- ...st_5_shoulda_context_2_shoulda_matchers_6.gemfile | 2 +- ...shoulda_context_2_shoulda_matchers_6.gemfile.lock | 12 +++--------- ...st_5_shoulda_context_2_shoulda_matchers_6.gemfile | 2 +- ...shoulda_context_2_shoulda_matchers_6.gemfile.lock | 12 +++--------- ...st_5_shoulda_context_2_shoulda_matchers_6.gemfile | 2 +- ...shoulda_context_2_shoulda_matchers_6.gemfile.lock | 12 +++--------- 9 files changed, 17 insertions(+), 41 deletions(-) diff --git a/Appraisals b/Appraisals index 2dc8d4dab..45be03e1a 100644 --- a/Appraisals +++ b/Appraisals @@ -100,7 +100,7 @@ def self.with_minitest_shoulda_context_gem(minitest_versions: 5, shoulda_context Array(shoulda_matchers_versions).each do |shoulda_matchers_v| appraise "minitest-#{minitest_v}-shoulda-context-#{shoulda_context_v}-shoulda-matchers-#{shoulda_matchers_v}" do gem "minitest", "~> #{minitest_v}" - gem "shoulda-context", github: "thoughtbot/shoulda-context", branch: "main" + gem "shoulda-context", "~> #{shoulda_context_v}" gem "shoulda-matchers", "~> #{shoulda_matchers_v}" end end diff --git a/gemfiles/jruby_9.4_minitest_5_shoulda_context_2_shoulda_matchers_6.gemfile b/gemfiles/jruby_9.4_minitest_5_shoulda_context_2_shoulda_matchers_6.gemfile index c63ac7eb7..1e4118611 100644 --- a/gemfiles/jruby_9.4_minitest_5_shoulda_context_2_shoulda_matchers_6.gemfile +++ b/gemfiles/jruby_9.4_minitest_5_shoulda_context_2_shoulda_matchers_6.gemfile @@ -19,7 +19,7 @@ gem "pimpmychangelog", ">= 0.1.2" gem "simplecov" gem "simplecov-cobertura", "~> 2.1.0" gem "minitest", "~> 5" -gem "shoulda-context", github: "thoughtbot/shoulda-context", branch: "main" +gem "shoulda-context", "~> 2" gem "shoulda-matchers", "~> 6" group :check do diff --git a/gemfiles/jruby_9.4_minitest_5_shoulda_context_2_shoulda_matchers_6.gemfile.lock b/gemfiles/jruby_9.4_minitest_5_shoulda_context_2_shoulda_matchers_6.gemfile.lock index b8d2dd62b..52481422b 100644 --- a/gemfiles/jruby_9.4_minitest_5_shoulda_context_2_shoulda_matchers_6.gemfile.lock +++ b/gemfiles/jruby_9.4_minitest_5_shoulda_context_2_shoulda_matchers_6.gemfile.lock @@ -1,14 +1,7 @@ -GIT - remote: https://github.com/thoughtbot/shoulda-context.git - revision: 36d5c380ead406d48587bdbfdc9d8b06a4efce9c - branch: main - specs: - shoulda-context (2.0.0) - PATH remote: .. specs: - datadog-ci (0.7.0) + datadog-ci (0.8.0) msgpack GEM @@ -107,6 +100,7 @@ GEM rubocop (>= 1.48.1, < 2.0) rubocop-ast (>= 1.30.0, < 2.0) ruby-progressbar (1.13.0) + shoulda-context (2.0.0) shoulda-matchers (6.1.0) activesupport (>= 5.2.0) simplecov (0.22.0) @@ -156,7 +150,7 @@ DEPENDENCIES rspec rspec-collection_matchers rspec_junit_formatter - shoulda-context! + shoulda-context (~> 2) shoulda-matchers (~> 6) simplecov simplecov-cobertura (~> 2.1.0) diff --git a/gemfiles/ruby_3.1_minitest_5_shoulda_context_2_shoulda_matchers_6.gemfile b/gemfiles/ruby_3.1_minitest_5_shoulda_context_2_shoulda_matchers_6.gemfile index 99e4539d2..c9ee7fa3c 100644 --- a/gemfiles/ruby_3.1_minitest_5_shoulda_context_2_shoulda_matchers_6.gemfile +++ b/gemfiles/ruby_3.1_minitest_5_shoulda_context_2_shoulda_matchers_6.gemfile @@ -20,7 +20,7 @@ gem "pimpmychangelog", ">= 0.1.2" gem "simplecov" gem "simplecov-cobertura", "~> 2.1.0" gem "minitest", "~> 5" -gem "shoulda-context", github: "thoughtbot/shoulda-context", branch: "main" +gem "shoulda-context", "~> 2" gem "shoulda-matchers", "~> 6" group :check do diff --git a/gemfiles/ruby_3.1_minitest_5_shoulda_context_2_shoulda_matchers_6.gemfile.lock b/gemfiles/ruby_3.1_minitest_5_shoulda_context_2_shoulda_matchers_6.gemfile.lock index 3da4748dd..e9a130dd6 100644 --- a/gemfiles/ruby_3.1_minitest_5_shoulda_context_2_shoulda_matchers_6.gemfile.lock +++ b/gemfiles/ruby_3.1_minitest_5_shoulda_context_2_shoulda_matchers_6.gemfile.lock @@ -1,14 +1,7 @@ -GIT - remote: https://github.com/thoughtbot/shoulda-context.git - revision: 36d5c380ead406d48587bdbfdc9d8b06a4efce9c - branch: main - specs: - shoulda-context (2.0.0) - PATH remote: .. specs: - datadog-ci (0.7.0) + datadog-ci (0.8.0) msgpack GEM @@ -107,6 +100,7 @@ GEM rubocop (>= 1.48.1, < 2.0) rubocop-ast (>= 1.30.0, < 2.0) ruby-progressbar (1.13.0) + shoulda-context (2.0.0) shoulda-matchers (6.1.0) activesupport (>= 5.2.0) simplecov (0.22.0) @@ -155,7 +149,7 @@ DEPENDENCIES rspec rspec-collection_matchers rspec_junit_formatter - shoulda-context! + shoulda-context (~> 2) shoulda-matchers (~> 6) simplecov simplecov-cobertura (~> 2.1.0) diff --git a/gemfiles/ruby_3.2_minitest_5_shoulda_context_2_shoulda_matchers_6.gemfile b/gemfiles/ruby_3.2_minitest_5_shoulda_context_2_shoulda_matchers_6.gemfile index 99e4539d2..c9ee7fa3c 100644 --- a/gemfiles/ruby_3.2_minitest_5_shoulda_context_2_shoulda_matchers_6.gemfile +++ b/gemfiles/ruby_3.2_minitest_5_shoulda_context_2_shoulda_matchers_6.gemfile @@ -20,7 +20,7 @@ gem "pimpmychangelog", ">= 0.1.2" gem "simplecov" gem "simplecov-cobertura", "~> 2.1.0" gem "minitest", "~> 5" -gem "shoulda-context", github: "thoughtbot/shoulda-context", branch: "main" +gem "shoulda-context", "~> 2" gem "shoulda-matchers", "~> 6" group :check do diff --git a/gemfiles/ruby_3.2_minitest_5_shoulda_context_2_shoulda_matchers_6.gemfile.lock b/gemfiles/ruby_3.2_minitest_5_shoulda_context_2_shoulda_matchers_6.gemfile.lock index 3da4748dd..e9a130dd6 100644 --- a/gemfiles/ruby_3.2_minitest_5_shoulda_context_2_shoulda_matchers_6.gemfile.lock +++ b/gemfiles/ruby_3.2_minitest_5_shoulda_context_2_shoulda_matchers_6.gemfile.lock @@ -1,14 +1,7 @@ -GIT - remote: https://github.com/thoughtbot/shoulda-context.git - revision: 36d5c380ead406d48587bdbfdc9d8b06a4efce9c - branch: main - specs: - shoulda-context (2.0.0) - PATH remote: .. specs: - datadog-ci (0.7.0) + datadog-ci (0.8.0) msgpack GEM @@ -107,6 +100,7 @@ GEM rubocop (>= 1.48.1, < 2.0) rubocop-ast (>= 1.30.0, < 2.0) ruby-progressbar (1.13.0) + shoulda-context (2.0.0) shoulda-matchers (6.1.0) activesupport (>= 5.2.0) simplecov (0.22.0) @@ -155,7 +149,7 @@ DEPENDENCIES rspec rspec-collection_matchers rspec_junit_formatter - shoulda-context! + shoulda-context (~> 2) shoulda-matchers (~> 6) simplecov simplecov-cobertura (~> 2.1.0) diff --git a/gemfiles/ruby_3.3_minitest_5_shoulda_context_2_shoulda_matchers_6.gemfile b/gemfiles/ruby_3.3_minitest_5_shoulda_context_2_shoulda_matchers_6.gemfile index 99e4539d2..c9ee7fa3c 100644 --- a/gemfiles/ruby_3.3_minitest_5_shoulda_context_2_shoulda_matchers_6.gemfile +++ b/gemfiles/ruby_3.3_minitest_5_shoulda_context_2_shoulda_matchers_6.gemfile @@ -20,7 +20,7 @@ gem "pimpmychangelog", ">= 0.1.2" gem "simplecov" gem "simplecov-cobertura", "~> 2.1.0" gem "minitest", "~> 5" -gem "shoulda-context", github: "thoughtbot/shoulda-context", branch: "main" +gem "shoulda-context", "~> 2" gem "shoulda-matchers", "~> 6" group :check do diff --git a/gemfiles/ruby_3.3_minitest_5_shoulda_context_2_shoulda_matchers_6.gemfile.lock b/gemfiles/ruby_3.3_minitest_5_shoulda_context_2_shoulda_matchers_6.gemfile.lock index 95bdb4af2..562c1107e 100644 --- a/gemfiles/ruby_3.3_minitest_5_shoulda_context_2_shoulda_matchers_6.gemfile.lock +++ b/gemfiles/ruby_3.3_minitest_5_shoulda_context_2_shoulda_matchers_6.gemfile.lock @@ -1,14 +1,7 @@ -GIT - remote: https://github.com/thoughtbot/shoulda-context.git - revision: 36d5c380ead406d48587bdbfdc9d8b06a4efce9c - branch: main - specs: - shoulda-context (2.0.0) - PATH remote: .. specs: - datadog-ci (0.7.0) + datadog-ci (0.8.0) msgpack GEM @@ -110,6 +103,7 @@ GEM rubocop (>= 1.48.1, < 2.0) rubocop-ast (>= 1.30.0, < 2.0) ruby-progressbar (1.13.0) + shoulda-context (2.0.0) shoulda-matchers (6.1.0) activesupport (>= 5.2.0) simplecov (0.22.0) @@ -159,7 +153,7 @@ DEPENDENCIES rspec rspec-collection_matchers rspec_junit_formatter - shoulda-context! + shoulda-context (~> 2) shoulda-matchers (~> 6) simplecov simplecov-cobertura (~> 2.1.0)