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 +4 -4
- data/lib/sauce/utilities/rake.rb +1 -0
- data/lib/sauce/version.rb +1 -1
- data/lib/tasks/parallel_testing.rb +5 -5
- data/spec/sauce/utilities/rake_spec.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad3334a7a1d5f395f753d7cc73b4e97bed7395b9
|
4
|
+
data.tar.gz: 37127667da25b694701d12811745a00405499012
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0be3a5702bdd62d855e2fbf577623f5ee68728909f45e78ac5f6cc869cc68619f5480b8397c04edcca6408bf01ead2e780d3371890fcfd00498cdf19518f9e1
|
7
|
+
data.tar.gz: 990e58494e057db7ab07b66f847b88ca4cd382f17d5cb02c691c613b384a3b1b059a3a6074e9064bad15113e835dd221b17196ee42dd40c2804e509f0a9bd445
|
data/lib/sauce/utilities/rake.rb
CHANGED
data/lib/sauce/version.rb
CHANGED
@@ -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
|
-
|
40
|
-
unless File.open(
|
41
|
-
File.open(
|
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
|
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
|
--------------------------------------------------------------------------------
|
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.
|
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-
|
17
|
+
date: 2015-04-21 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: rspec
|