sauce 3.5.5 → 3.5.6

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: 9ccdcf05d39b1b2832e33e233c2af31544d560b2
4
- data.tar.gz: 5a7959d17255cd42f605fa390f4798a0a5c503cc
3
+ metadata.gz: ad3334a7a1d5f395f753d7cc73b4e97bed7395b9
4
+ data.tar.gz: 37127667da25b694701d12811745a00405499012
5
5
  SHA512:
6
- metadata.gz: 623eb3e19e6c62d2b8c93b4e036b270912b3127a2110f29038efd14dc352031c4b3741be60ca322fdf383ed0ef0448e1c7e8fdb77889916a56d1145376e20a2d
7
- data.tar.gz: 4e1494f627edf4daa47da2ce9bc0000f34c14b94250dad306bd6c04bdffd39204b5bd25bbf7dbab6e13295891ffaeded2291b6046092fbcede32c9dc14cbb9d5
6
+ metadata.gz: e0be3a5702bdd62d855e2fbf577623f5ee68728909f45e78ac5f6cc869cc68619f5480b8397c04edcca6408bf01ead2e780d3371890fcfd00498cdf19518f9e1
7
+ data.tar.gz: 990e58494e057db7ab07b66f847b88ca4cd382f17d5cb02c691c613b384a3b1b059a3a6074e9064bad15113e835dd221b17196ee42dd40c2804e509f0a9bd445
@@ -17,6 +17,7 @@ Sauce.config do |config|
17
17
  ["OS", "BROWSER", "VERSION"],
18
18
  ["OS", "BROWSER", "VERSION"]
19
19
  ]
20
+ config[:sauce_connect_4_executable] = # path to Sauce Connect 4 executable
20
21
  end
21
22
  ENDFILE
22
23
  if Object.const_defined? "Capybara"
data/lib/sauce/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module Sauce
2
2
  MAJOR_VERSION = '3.5'
3
- PATCH_VERSION = '5'
3
+ PATCH_VERSION = '6'
4
4
 
5
5
  def version
6
6
  "#{MAJOR_VERSION}.#{PATCH_VERSION}"
@@ -36,9 +36,9 @@ namespace :sauce do
36
36
  desc "Set up your specs to run in parallel on Sauce Labs"
37
37
  task :spec do
38
38
  Rake::Task["sauce:install:create_helper"].execute(:helper_type => :spec)
39
- spec_helper_path = "spec/spec_helper.rb"
40
- unless File.open(spec_helper_path) { |f| f.read.match "require \"sauce_helper\""}
41
- File.open("spec/spec_helper.rb", "a") do |f|
39
+ helper_path = File.exist?("spec/rails_helper.rb") ? "spec/rails_helper.rb" : "spec/spec_helper.rb"
40
+ unless File.open(helper_path) { |f| f.read.match "require \"sauce_helper\""}
41
+ File.open(helper_path, "a") do |f|
42
42
  f.write "require \"sauce_helper\""
43
43
  end
44
44
  else
@@ -50,8 +50,8 @@ namespace :sauce do
50
50
 
51
51
  Next steps:
52
52
 
53
- 1. Edit spec/sauce_helper.rb with your required platforms
54
- 2. Make sure we've not mangled your spec/spec_helper.rb requiring sauce_helper
53
+ 1. Edit spec/sauce_helper.rb with your required platforms & Sauce Connect 4 path
54
+ 2. Make sure we've not mangled your spec/*_helper.rb requiring sauce_helper
55
55
  3. Set the SAUCE_USERNAME and SAUCE_ACCESS_KEY environment variables
56
56
  3. Run your tests with 'rake sauce:spec'
57
57
  --------------------------------------------------------------------------------
@@ -39,6 +39,7 @@ Sauce.config do |config|
39
39
  ["OS", "BROWSER", "VERSION"],
40
40
  ["OS", "BROWSER", "VERSION"]
41
41
  ]
42
+ config[:sauce_connect_4_executable] = # path to Sauce Connect 4 executable
42
43
  end
43
44
  ENDFILE
44
45
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sauce
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.5
4
+ version: 3.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dylan Lacey
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2015-04-07 00:00:00.000000000 Z
17
+ date: 2015-04-21 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: rspec