capybara-screenshot 1.0.19 → 1.0.20

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
  SHA1:
3
- metadata.gz: 081d352f2f3df5f810978f0784f83ec953462160
4
- data.tar.gz: eee03698c34b8a5dcf642fe19188196f9be0d34b
3
+ metadata.gz: 8b4528fe18542217f5e612e18079cf7064306e55
4
+ data.tar.gz: bb49b402ac3866551d08ff84ae679a5d013bad99
5
5
  SHA512:
6
- metadata.gz: 421a51cbc4246f926e68fef664679a7127320fb365fd418259e073b39167e88dfee21455a331c6de84b66bca3a739281e1c6aa1153b09ff007e5edd00858279a
7
- data.tar.gz: 2505c9923b0a39420886235828115a50bebdb86430d43d4bf2e22cce5d24bd0e3b5e8c7835ed799931458f7e213846173fe5cac586f181e47990bd03379e381a
6
+ metadata.gz: 82f8f3aa1001acf169c44f38920299737d88880eec9cf18406af1ae66d3c47fdbf22ac161f14ab77b3e2853bc0658888ea10e26d092ef22d097185af735a6b31
7
+ data.tar.gz: ed3f9b017ea19ecd45ea0ab168a68f05d709f636e9b11b4cc6272c895b28165d30044a122945665a5ddcd7671bff28a01c1acde706fdb291df10620be1aee3ba
@@ -1,3 +1,7 @@
1
+ 03 May 2018 - 1.0.19 -> 1.0.20
2
+
3
+ * [Bug fix: Only take screenshots for feature tests](https://github.com/mattheworiordan/capybara-screenshot/pull/223)
4
+
1
5
  10 April 2018 - 1.0.18 -> 1.0.19
2
6
 
3
7
  * Big thanks for [Geremia Taglialatela](https://github.com/tagliala) for [padding Capybara 3 support and fixing the builds](https://github.com/mattheworiordan/capybara-screenshot/pull/230)
@@ -90,7 +90,7 @@ RSpec.configure do |config|
90
90
  Capybara::Screenshot.final_session_name = nil
91
91
  end
92
92
 
93
- config.after do |example_from_block_arg|
93
+ config.after(type: :feature) do |example_from_block_arg|
94
94
  # RSpec 3 no longer defines `example`, but passes the example as block argument instead
95
95
  example = config.respond_to?(:expose_current_running_example_as) ? example_from_block_arg : self.example
96
96
 
@@ -1,5 +1,5 @@
1
1
  module Capybara
2
2
  module Screenshot
3
- VERSION = '1.0.19'
3
+ VERSION = '1.0.20'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capybara-screenshot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.19
4
+ version: 1.0.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew O'Riordan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-10 00:00:00.000000000 Z
11
+ date: 2018-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capybara