glyptic-strips 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/glyptic_strips.rb +3 -5
- metadata +5 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7855174f1dc9259a32f274c784f9a4fb80c320e3
|
4
|
+
data.tar.gz: 4f4340787fc4eb4e52a2d79319175114932c8cea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54db60ad4fc5c25eb0ea06fa8cd77c4556c50ef935243c699c9bbaaa9a3b163cb24e5cdd72a322c8129f96aabc2d9e5cd4b5a78b030ea6c571c00d1a0ab0daef
|
7
|
+
data.tar.gz: e04c71db0be4ef11a22891a4e34ff95e2243634a323e63b998a7f46e260a8f20f05f8b332a2fd4ab417a70442978164580d088d8a672081935021d8d59891565
|
data/lib/glyptic_strips.rb
CHANGED
@@ -1,6 +1,4 @@
|
|
1
|
-
require 'mini_magick'
|
2
1
|
require 'cucumber'
|
3
|
-
require 'fileutils'
|
4
2
|
##
|
5
3
|
#
|
6
4
|
# Main class of Glyptic Strips
|
@@ -10,7 +8,7 @@ require 'fileutils'
|
|
10
8
|
#
|
11
9
|
# = Example
|
12
10
|
#
|
13
|
-
# create_gif(sceanrio, './myproj/test_reports/screenshots', @browser, :watir)
|
11
|
+
# create_gif(sceanrio, './myproj/test_reports/screenshots', @browser, :watir, 6)
|
14
12
|
class GlypticStrips
|
15
13
|
@@scenario_index = 0
|
16
14
|
@@scenario_number = 0
|
@@ -63,7 +61,7 @@ class GlypticStrips
|
|
63
61
|
end
|
64
62
|
|
65
63
|
##
|
66
|
-
# Takes a screenshot and saves it as a single frame
|
64
|
+
# Takes a screenshot and saves it as a single frame
|
67
65
|
# in the png_folder location
|
68
66
|
#
|
69
67
|
def take_strip_frame(driver, driver_type, png_folder)
|
@@ -101,7 +99,7 @@ class GlypticStrips
|
|
101
99
|
end
|
102
100
|
|
103
101
|
##
|
104
|
-
#
|
102
|
+
# Creates the image link and sets the color of the border
|
105
103
|
#
|
106
104
|
def get_image_html(image_location, text, color, number_in_row)
|
107
105
|
image_percent = 90/number_in_row
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: glyptic-strips
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jared Sheffer
|
@@ -10,20 +10,6 @@ bindir: bin
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2017-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: mini_magick
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - '='
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 4.6.1
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - '='
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: 4.6.1
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: cucumber
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,9 +30,9 @@ dependencies:
|
|
44
30
|
- - ">="
|
45
31
|
- !ruby/object:Gem::Version
|
46
32
|
version: 2.0.0
|
47
|
-
description:
|
48
|
-
|
49
|
-
email:
|
33
|
+
description: Glyptic Strips - A gem which assists in the creation of screenshots formatted
|
34
|
+
for cucumber reports
|
35
|
+
email: jgsheffe@gmail.com
|
50
36
|
executables: []
|
51
37
|
extensions: []
|
52
38
|
extra_rdoc_files: []
|
@@ -75,5 +61,5 @@ rubyforge_project:
|
|
75
61
|
rubygems_version: 2.4.5.2
|
76
62
|
signing_key:
|
77
63
|
specification_version: 4
|
78
|
-
summary:
|
64
|
+
summary: Screenshot creation and Formatting Library
|
79
65
|
test_files: []
|