sauce-cucumber 3.4.0 → 3.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/sauce/cucumber.rb +6 -5
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NzM0NDFhYzVhYzRmZWQ5MzM5ZmU0OWU0YzNjNzc3Yjc4ODFiYzVlNA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NDgyZDM2ZTZkYTM0NzhmNTE3MWE4MGVhOTQ0YmZlYjNlYTBiODlmNw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OTAyYWIyNzc5ZTNkNWUyNTBkMjEwODcwMzAxNzVjMGRiMTI2OWMzOGJmM2U2
|
10
|
+
YjM0MWQzNGE2OGE4ZGFjNzVlMTE3NGI1MDdhMTYyMzU4YzQzMzc3NGI1NTQw
|
11
|
+
NjI0Y2FlMGVhZWJlODE5MWIxNjc4NTdlMjkzMWE0ODA1ZDZkODM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NTZiYmVlOGEwZDdiYTEwODA3NTNmNGQ2NzMzNTNhOGVlZTdmMjljZDExZjkw
|
14
|
+
YTBhYWI2MjBlNDMxZTAwOGYzYTljNmExY2Y4MTdlOTJkNjFhOThhMGU2YTdi
|
15
|
+
ZDIwMDdhMmQzYWRhMmU5OGM2OTM3YzcxNzA1ZjIwNTI0OTBhYWI=
|
data/lib/sauce/cucumber.rb
CHANGED
@@ -3,11 +3,14 @@ require 'cucumber'
|
|
3
3
|
require 'sauce/job'
|
4
4
|
require 'sauce/capybara'
|
5
5
|
require 'sauce/utilities'
|
6
|
+
require 'sauce/test_base'
|
6
7
|
require 'sauce_whisk'
|
7
8
|
|
8
9
|
module Sauce
|
9
10
|
module Capybara
|
10
11
|
module Cucumber
|
12
|
+
extend Sauce::TestBase
|
13
|
+
|
11
14
|
def use_sauce_driver
|
12
15
|
::Capybara.current_driver = :sauce
|
13
16
|
end
|
@@ -88,12 +91,10 @@ module Sauce
|
|
88
91
|
|
89
92
|
fn = file_name_from_scenario(scenario)
|
90
93
|
config = Sauce::Config.new
|
94
|
+
platforms = config.caps_for_location("./#{fn[:file]}", fn[:line])
|
91
95
|
|
92
|
-
|
93
|
-
@selenium =
|
94
|
-
:browser => browser,
|
95
|
-
:browser_version => version,
|
96
|
-
:job_name => job_name})
|
96
|
+
test_each platforms, job_name do |selenium, caps|
|
97
|
+
@selenium = selenium
|
97
98
|
|
98
99
|
Sauce.driver_pool[Thread.current.object_id] = @selenium
|
99
100
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sauce-cucumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- R. Tyler Croy
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-09-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sauce
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - ~>
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 3.
|
20
|
+
version: 3.5.3
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - ~>
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 3.
|
27
|
+
version: 3.5.3
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: sauce_whisk
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|