capybara-screenshot-diff 1.0.0 → 1.0.1

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: 1ed4cf559968821a2689708d36fe556f97b9f0c730a09ab39ca05f1b991ca8ea
4
- data.tar.gz: 4749b6bec782a95edd8fe51ec6d216c505fb0b606769738cb0192f37480c67c8
3
+ metadata.gz: f506814195be957a571f69a8d333527ffb0821b4b99c622a2c6569c2dd657d84
4
+ data.tar.gz: 2a432734a85404b2e45045afd262eed823686d994d9413414b14f5d7e9def15e
5
5
  SHA512:
6
- metadata.gz: 2ce1837fa5049d423afad82daa6b0c589d1cf2670da9268584b9c16ce589abb7a91fd4d11601c0639037da102754e8a5696d9e143949074354f70ffca38e8499
7
- data.tar.gz: 1d3df4ef083b2980e31f59d15b783c9fd26474a1a550f5c8c4d5405abf523bab798b0f21fa246c2b872053dddf79d72c21bb52d412aaa8b40fd6fb23dfca2b96
6
+ metadata.gz: 0c50f7d782931cf98820c994299eee0fa210ae40a224b09b3ad8cee47460d1fbe5e2d89678c8fb95dc7eebd962a3579e25f09a00f3e6eca8cfde0071b08e79f9
7
+ data.tar.gz: e707af262c119ce508fab95cbf8749f72e99fd7740aaaa8202099a867b84aff1b3a14ef9a9cb0c3a859461c0c6d6c9a9ebfad79520408b70384f7970d64f8b11
@@ -59,8 +59,8 @@ module Capybara
59
59
 
60
60
  clas.teardown do
61
61
  if Capybara::Screenshot::Diff.enabled && @test_screenshots
62
- test_screenshot_errors = @test_screenshots
63
- .map { |caller, name, compare| assert_image_not_changed(caller, name, compare) }.compact!
62
+ test_screenshot_errors = @test_screenshots.map(&method(:assert_image_not_changed))
63
+ test_screenshot_errors.compact!
64
64
  fail(test_screenshot_errors.join("\n\n")) if test_screenshot_errors.any?
65
65
  end
66
66
  end
@@ -3,7 +3,7 @@
3
3
  module Capybara
4
4
  module Screenshot
5
5
  module Diff
6
- VERSION = '1.0.0'
6
+ VERSION = '1.0.1'
7
7
  end
8
8
  end
9
9
  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.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Uwe Kubosch
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-08 00:00:00.000000000 Z
11
+ date: 2019-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack