capybara-screenshot-diff 1.6.1 → 1.6.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a91dd8a070c361c9a646f9ce4587a67b770816a8637491685aef9527c235237a
4
- data.tar.gz: c5fb14de8566174bae34f17cff2e04f1ff908ff11094a4754652f9aef303a62e
3
+ metadata.gz: 20b4db107019526c96ab897a33d33b216bbe4dc177422593788edfea085e7209
4
+ data.tar.gz: 07b4e70a28fa8c85475dd7d804eb2e5f808e7e86a6e95892ade41341b9284736
5
5
  SHA512:
6
- metadata.gz: 036d7c19297100686302c36aa5a91a9cb844119a2bd1621752a6000c6b0608900665b1d16c35bdd6f347f81b19787cf916c31a8cab70d3b59f6071e6c1e26912
7
- data.tar.gz: 7d8fffa2da879924779892469bb0ecc2c9583ffde907b5d93a7127d031786310ae50753bb2f0e989953f05dfba01bfc341c93175723cb1f68cfb8aaef6200e15
6
+ metadata.gz: 8f3f56d3bbc74dcba0fe48a5f6e281a5df381f49caf1ce0e49ebe04e813f2d634f6939e9221285e23e6dc2b759ff832320feeee3dc82105360b1c00ba860758f
7
+ data.tar.gz: 343cc3cc4f16d9c24c90814375ea44df8c8ddf7f8e89e36a7da55e2a642539c71f400870ef29d2665619e20f8a77a8ec9ec7ba930af95102ece8f4a4e70b8f9b
@@ -3,7 +3,7 @@
3
3
  module Capybara
4
4
  module Screenshot
5
5
  module Diff
6
- VERSION = "1.6.1"
6
+ VERSION = "1.6.2"
7
7
  end
8
8
  end
9
9
  end
@@ -96,7 +96,11 @@ module Capybara
96
96
  if test_screenshot_errors.any?
97
97
  e = ASSERTION.new(test_screenshot_errors.join("\n\n"))
98
98
  e.set_backtrace(caller)
99
- failures << e
99
+ if defined?(failures)
100
+ failures << e
101
+ else
102
+ raise e
103
+ end
100
104
  end
101
105
  end
102
106
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capybara-screenshot-diff
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Uwe Kubosch
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-04-25 00:00:00.000000000 Z
11
+ date: 2022-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack