diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-11-10 13:21:36 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-11-10 13:21:36 +0000 |
commit | 77398e424e45d9e98c1cef3c43bdadb9d56e81ef (patch) | |
tree | 5aeffd3fc7b92fc615bd2c222fa8831aeda1925b /dev-ruby/rspec-expectations | |
parent | bd4aeefe33e63f613512604e47bfca7b2187697d (diff) |
gentoo resync : 10.11.2019
Diffstat (limited to 'dev-ruby/rspec-expectations')
-rw-r--r-- | dev-ruby/rspec-expectations/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/rspec-expectations/files/rspec-expectations-3.7.0-ruby25.patch | 33 |
2 files changed, 0 insertions, 34 deletions
diff --git a/dev-ruby/rspec-expectations/Manifest b/dev-ruby/rspec-expectations/Manifest index ad9051feb25b..46c7cfce9ae5 100644 --- a/dev-ruby/rspec-expectations/Manifest +++ b/dev-ruby/rspec-expectations/Manifest @@ -1,4 +1,3 @@ -AUX rspec-expectations-3.7.0-ruby25.patch 1467 BLAKE2B 39968ab1201fcc0e69fc1cf023150bdc19b8df15324f8411c1094857541c54f935d95d74714a870e2eb3d7de6d9b94891838efe2ff765f83f2b5d38b0ccb9774 SHA512 87a92967764e4c9214e55133d8b792441449ca87140ff4c594ff0bc528078d05d5164958744d75d6a9e8309acec9905224c45d36d408a3cf705e3987aedc24f3 DIST rspec-expectations-2.99.2-git.tgz 106884 BLAKE2B 5b31c8681306d5c688f62fc3fc6adf7be6cabad6df6fd16195c71787d73495924233d793633fa041a94d796f63c9ff97c58e6f4a75bdc09dfbe56e770bb6a5c9 SHA512 6042cafe225b2b16df458c7bf69e1694b637afcac6f6195e35a0be199432610457ccaa3e7e4bd114b27a7a6c3d530d94f4c0603c65f469cbadc55bd3f75b6f3a DIST rspec-expectations-3.8.4-git.tgz 200149 BLAKE2B 45fe4cdc4b032bb773ef0e7d3e9b75e6d14a6e8c1850ad6fd84991d85a61860730caa9f191aa9d1ce4e21c85dadd2c52bb69bd0a1454f5ab918dc1e563fc54f1 SHA512 0ecb16f11ccf19c02c40ce587f33846fb2241f1663dd87f012b9b782338c213362dac624c434dee6e00ad2cc7ec4a1cd0af7f2edf1a8e9ebb0a0dfb31cd244d8 DIST rspec-expectations-3.8.6-git.tgz 200343 BLAKE2B 9d668216c18716344e8c249086bcbf2b70e7c1a5a0d1f3a5328fe03752ef4ace6f5029219314016a4bb00ef482f440702a2adb7d9fe49392b5b1c6ec15f6a2e5 SHA512 9ded8de53127f63f2117f5ef64b6608b643586be498d8df24909366ce159a8bb95c9d8771633b777897f3e4ad3c9a12e3dfe62b2310513320b3d9656d24a120a diff --git a/dev-ruby/rspec-expectations/files/rspec-expectations-3.7.0-ruby25.patch b/dev-ruby/rspec-expectations/files/rspec-expectations-3.7.0-ruby25.patch deleted file mode 100644 index feeddb0eff1b..000000000000 --- a/dev-ruby/rspec-expectations/files/rspec-expectations-3.7.0-ruby25.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 5999ad46df4782a3136c4bad0c2353daede2cbbd Mon Sep 17 00:00:00 2001 -From: Myron Marston <myron.marston@gmail.com> -Date: Sat, 30 Dec 2017 17:36:55 -0800 -Subject: [PATCH] Disable Ruby 2.5 feature to avoid test failures on 2.5. - ---- - spec/rspec/expectations/failure_aggregator_spec.rb | 13 +++++++++++++ - 1 file changed, 13 insertions(+) - -diff --git a/spec/rspec/expectations/failure_aggregator_spec.rb b/spec/rspec/expectations/failure_aggregator_spec.rb -index 6628aa75..40a1ae35 100644 ---- a/spec/rspec/expectations/failure_aggregator_spec.rb -+++ b/spec/rspec/expectations/failure_aggregator_spec.rb -@@ -216,6 +216,19 @@ def expect_error_included_in_aggregated_failure(error) - end - - context "when an expectation failure happens in another thread" do -+ # On Ruby 2.5+, the new `report_on_exception` causes the errors in the threads -+ # to print warnings, which our rspec-support test harness converts into a test -+ # failure since we want to enforce warnings-free code. To prevent the warning, -+ # we need to disable the setting here. -+ if Thread.respond_to?(:report_on_exception) -+ around do |example| -+ orig = Thread.report_on_exception -+ Thread.report_on_exception = false -+ example.run -+ Thread.report_on_exception = orig -+ end -+ end -+ - it "includes the failure in the failures array if there are other failures" do - expect { - aggregate_failures do |