leifcr-capybara-screenshot 1.0.14 → 1.0.15

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: 7514778e4e78652cf17308678a13a90f0cbec61e
4
- data.tar.gz: a2ff656c191ce42e534486acf6fd4b569c3d0fdf
3
+ metadata.gz: 2055c8c34096e3290fa3a825653f2899259aaeb5
4
+ data.tar.gz: 8bd41a0f9327e22c0c00f05a97e1f6312896459b
5
5
  SHA512:
6
- metadata.gz: 67060ef950c691b4db170d6db8c5ac4928043cda03fb2340d5daa8dcbc129e51df2d6ca27ac91c4801a2bf83b4aa7f1dad7f7016bb2fd126be6c191924a05f1c
7
- data.tar.gz: c62e86fe6ad4e6faa3bd86f55e3735dbb69daef22c6fd62385c9952fd331262b23461ffde6958ce25f00b63b687b6eeae5cfd41bec40be2e8243824e3557ae7f
6
+ metadata.gz: 04b230999d35973d596d03f347be9d6ec723a62c1e96d0d531be4631cae57c2e60bb698fca68fae09db34affcf6ac527ba32890df97998b6450127161f3b4231
7
+ data.tar.gz: 9b3f74ea94871096f492466fc2d9e1adf09c9fdbe30fe4b683feaa3e9562f08dbd732b5a3559dbffd09985ee4c60b4963427e8421334e4ec783b561a6066a9d6
data/README.md CHANGED
@@ -190,6 +190,11 @@ Capybara.save_path = "/file/path"
190
190
  ```
191
191
 
192
192
 
193
+ Alternative root path
194
+ ---------------------
195
+ This is used change the root path in the output logs. Useful when running in a docker env, to show e.g. the root path on the host instead.
196
+
197
+
193
198
  Uploading screenshots to S3
194
199
  --------------------------
195
200
  You can configure capybara-screenshot to automatically save your screenshots to an AWS S3 bucket.
@@ -1,5 +1,5 @@
1
1
  module Capybara
2
2
  module Screenshot
3
- VERSION = '1.0.14'
3
+ VERSION = '1.0.15'
4
4
  end
5
5
  end
@@ -58,7 +58,7 @@ module Capybara
58
58
  end
59
59
 
60
60
  def self.capybara_alt_root
61
- @capybara_root ||= if !alternative_root.blank?
61
+ @capybara_alt_root ||= if !alternative_root.blank?
62
62
  alternative_root
63
63
  elsif defined?(::Rails) && ::Rails.root.present?
64
64
  ::Rails.root.join capybara_tmp_path
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: leifcr-capybara-screenshot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.14
4
+ version: 1.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew O'Riordan