system_test_html_screenshots 0.1.0 → 0.1.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: 93c1895ea2e3b6cb201afef59d4ed35b075bbf85740b539060a35fb9dde3fea8
4
- data.tar.gz: 9594a1b57da318cf0dfe43408ae8acaaec7c8e980f72294c25902d2b5a3a37aa
3
+ metadata.gz: 2607fbd9410f48a0a67d42af7b607fbb978be052fdd54187da21de946970d6a1
4
+ data.tar.gz: 0445a09ee8fd608033ad71963c2ce36281f83c5698e67954340712cf4a0c310c
5
5
  SHA512:
6
- metadata.gz: b61c9ed03a3035a4f30ff5d3e70a02f7063f3864fa795b58b83ac3a6afc7dde2e8c50594cfc90befce20ae4a28f1e1406dda659251d1f54bae5a36b3635634b3
7
- data.tar.gz: 7175a581afbc1e5f51d6b23c661041efadabbb426c887c1ab2fef25b4c2dc06cca39fcca70954df06eb677d9b209c85bbc5db6dc7bd834a6f9ef5631ce6e0007
6
+ metadata.gz: 4f207250ee4bc3b2be6b10eb73b802538353ebce91667a6e0f51c54df6edf9a2c2c184099d04f7c0e8b406c72c96070a9d4750349fcd08534aaaaa5fd72d1808
7
+ data.tar.gz: 4e760ec8133a9c0181c91a2f70acd1df633797626ad33128bf8c09ee0b79ee0c5caf4d67f28d291f0beaf757e23fb7a6f25db0b08bbb44fee8d5de8334ee9a64
@@ -9,11 +9,15 @@ module ActionDispatch
9
9
  def take_screenshot
10
10
  save_image
11
11
  save_page
12
- STDOUT.puts display_screenshot
12
+ puts display_screenshot
13
13
  end
14
14
 
15
15
  private
16
16
 
17
+ def image_path
18
+ @image_path ||= absolute_image_path.to_s
19
+ end
20
+
17
21
  def page_path
18
22
  @page_path ||= absolute_page_path.to_s
19
23
  end
@@ -1,3 +1,3 @@
1
1
  module SystemTestHtmlScreenshots
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: system_test_html_screenshots
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Rodríguez