shoot 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/shoot/scenario.rb +5 -5
- data/lib/shoot/version.rb +1 -1
- data/shoot.gemspec +3 -3
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa001afe6a8a35dde26b5eeba9151f245ee1736e
|
4
|
+
data.tar.gz: 75ea88b0c093cea26a72f6f1bb53c31f2a3a73f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92466e634907b357cf47ba9f3f71538ee616e511a235292471cce8968ff887c8f623d526c474e86b2cb6e45af0fdfcdb9d5dc8dd4fb2cef8a5f7ec8368d74fe3
|
7
|
+
data.tar.gz: abad6c48e58b3eccb46a14c2bf959c36391c947e2cb98789d6def263708396558bb333d6ecbd9b3b354689e551d57a30ff9a33259b3be40802f427fde9a7be66
|
data/lib/shoot/scenario.rb
CHANGED
@@ -31,6 +31,11 @@ class Shoot::Scenario
|
|
31
31
|
save_screenshot(".screenshots/#{method} #{platform_name}.png")
|
32
32
|
end
|
33
33
|
|
34
|
+
def ok
|
35
|
+
puts 'OK'
|
36
|
+
page.driver.quit
|
37
|
+
end
|
38
|
+
|
34
39
|
private
|
35
40
|
|
36
41
|
def platform_name
|
@@ -42,11 +47,6 @@ class Shoot::Scenario
|
|
42
47
|
end
|
43
48
|
end
|
44
49
|
|
45
|
-
def ok
|
46
|
-
puts 'OK'
|
47
|
-
page.driver.quit
|
48
|
-
end
|
49
|
-
|
50
50
|
def config_capabilities # rubocop:disable AbcSize
|
51
51
|
@capabilities = Selenium::WebDriver::Remote::Capabilities.new
|
52
52
|
@capabilities[:browser] = @platform['browser']
|
data/lib/shoot/version.rb
CHANGED
data/shoot.gemspec
CHANGED
@@ -22,9 +22,9 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_development_dependency "rake", "~> 10.0"
|
23
23
|
spec.add_development_dependency "rspec", "~> 2"
|
24
24
|
|
25
|
-
spec.add_dependency "selenium-webdriver", "~> 2
|
26
|
-
spec.add_dependency "capybara", "~> 2
|
25
|
+
spec.add_dependency "selenium-webdriver", "~> 2"
|
26
|
+
spec.add_dependency "capybara", "~> 2"
|
27
27
|
spec.add_dependency "thor", "~> 0.19"
|
28
28
|
spec.add_dependency "colorize", "~> 0.7"
|
29
|
-
spec.add_dependency "
|
29
|
+
spec.add_dependency "rest-client", "~> 1.7"
|
30
30
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shoot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Lulkin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02
|
11
|
+
date: 2015-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -58,28 +58,28 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '2
|
61
|
+
version: '2'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '2
|
68
|
+
version: '2'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: capybara
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '2
|
75
|
+
version: '2'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '2
|
82
|
+
version: '2'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: thor
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -109,7 +109,7 @@ dependencies:
|
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0.7'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
112
|
+
name: rest-client
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|