saucer 0.6.4 → 0.6.5

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
  SHA1:
3
- metadata.gz: 8d33e4dedd27f235473ebe168e937341be939aa3
4
- data.tar.gz: 587a6adfcb837922f40c508a550db2f84f815a0a
3
+ metadata.gz: 8563d0a40f72b5d339a70304d948f103b9655e38
4
+ data.tar.gz: 80844b96e29ff34b83ab1e47a6a25fe8206a8e12
5
5
  SHA512:
6
- metadata.gz: e2e0c7732193c8cf3782a92097abf502126316e1594ed00d5effe3041ef564f3ee47f78b08d60669af838cd8f8dee6a0f14f3b43c3be28d3d44b5b865dfb33a3
7
- data.tar.gz: 641c2a891889fc370d4f88fcda087d4be9d464352a33338e82714b0b5aeac6163b269d546e2480afa57324b0f7848becc2c80026f526200d1dec4fedbb808e26
6
+ metadata.gz: 3001ebb0491bce0b8c1de318d4b757cf26f8ece4c3869a9ec42e11043cf297fbd79fd6b48a6bce5ffb07e76254e84b222a4533443755304ceeb9b4fb02074e96
7
+ data.tar.gz: e078e82ec75bee429a90be76deefde3b6992aae3c125845addb5d1cf50a535685c62e262ed2dabf56702fdba0aa7290e3daad668f427f6fd7d61fba7c225fb37
@@ -29,6 +29,8 @@ module Saucer
29
29
 
30
30
  @sauce = Sauce.new.to_hash
31
31
  caps[:"sauce:data"] = @sauce.to_hash
32
+ caps[:name] = @sauce[:name]
33
+ caps[:build] = @sauce[:build]
32
34
  caps
33
35
  end
34
36
  end
@@ -4,7 +4,7 @@ module Saucer
4
4
  attr_reader :driver, :config
5
5
 
6
6
  def initialize(*args)
7
- browser = args.pop if args.first.is_a? Symbol
7
+ browser = args.shift if args.first.is_a? Symbol
8
8
  browser = nil if browser == :remote
9
9
  opt = args.first || {}
10
10
  unless opt[:desired_capabilities].is_a? Selenium::WebDriver::Remote::Capabilities
@@ -18,9 +18,6 @@ module Saucer
18
18
  opt[:desired_capabilities] = @config.capabilities
19
19
 
20
20
  super(opt)
21
-
22
- sauce.job_name = @config.sauce[:name]
23
- sauce.build_name = @config.sauce[:build]
24
21
  end
25
22
 
26
23
  def sauce
@@ -1,3 +1,3 @@
1
1
  module Saucer
2
- VERSION = "0.6.4"
2
+ VERSION = "0.6.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: saucer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.4
4
+ version: 0.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Titus Fortner
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-07-19 00:00:00.000000000 Z
11
+ date: 2017-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler