capybara-inline-screenshot 2.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +3 -0
- data/lib/capybara-inline-screenshot/cucumber.rb +2 -1
- metadata +24 -5
- metadata.gz.sig +2 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 693fb7fb88d73acc53ad299d126269a1567a09cd794bf961909452a4b4dc607a
|
4
|
+
data.tar.gz: 10af9f9d003448da6652126f8b96ee9fd2a850644d889c05015ebe5be0ca4719
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd02e9e0cb01324577d86572f1a31def92055719eab102f1e6ea53601511afcc22e79fc63cfb0d814af049af550ace3de2098fe4d20cda7dd0a9804af5f5c75b
|
7
|
+
data.tar.gz: e5e1c0e1f34762614629f36fe675d0f2c853234ce7363714985ab48804059bd5016036e3306f2c8670b63cb033b5423724e43b60500db7082f71316c57fa6bf9
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data.tar.gz.sig
ADDED
@@ -16,7 +16,8 @@ After do |scenario|
|
|
16
16
|
|
17
17
|
if File.exist?(saver.screenshot_path)
|
18
18
|
encoded_img = CapybaraInlineScreenshot.inline_base64(File.read(saver.screenshot_path))
|
19
|
-
|
19
|
+
method = respond_to?(:attach) ? :attach : :embed
|
20
|
+
send(method, encoded_img, 'image/png;base64')
|
20
21
|
|
21
22
|
STDOUT.puts CapybaraInlineScreenshot.escape_code_for_image(saver.screenshot_path)
|
22
23
|
end
|
metadata
CHANGED
@@ -1,14 +1,34 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capybara-inline-screenshot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2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/2aMDfS/bpDzqR0ela2dwTh/29/oZQeAtzbQq6dE
|
26
|
+
7Pax2oYi+dahcreJFndcA6P/dl03XLNVIFVDtfEHvcUjtKKWQALAWirmW7KGAW1R
|
27
|
+
Xn1uy1RJ0TzazCY059p0UQwLU1KXz/5NnTrGka/GvKjLTjk67T6Y05lmr7TxMY2w
|
28
|
+
cTRkS42ilkarelc4DnSSO5jw7qFq7Cmf6F9hMx3xdoSWpLf+FvXJRbYrqwZIsmME
|
29
|
+
V8zEtJFhdNOFOdtcTE67qh/aYQe2y/LDnG9ywXHWdSeF4UUjg1WRt8s3OP8=
|
30
|
+
-----END CERTIFICATE-----
|
31
|
+
date: 2020-08-05 00:00:00.000000000 Z
|
12
32
|
dependencies:
|
13
33
|
- !ruby/object:Gem::Dependency
|
14
34
|
name: capybara-screenshot
|
@@ -55,8 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
55
75
|
- !ruby/object:Gem::Version
|
56
76
|
version: '0'
|
57
77
|
requirements: []
|
58
|
-
|
59
|
-
rubygems_version: 2.5.1
|
78
|
+
rubygems_version: 3.0.6
|
60
79
|
signing_key:
|
61
80
|
specification_version: 4
|
62
81
|
summary: Extends capybara-screenshot with inline image output
|
metadata.gz.sig
ADDED