Skip to content

Commit

Permalink
confirm that Module.const_source_location works with shoulda-context 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
anmarchenko committed Mar 12, 2024
1 parent a7dfe52 commit 570e56c
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 41 deletions.
2 changes: 1 addition & 1 deletion Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 570e56c

Please sign in to comment.