sauce 1.0.2 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +30 -0
- data/Gemfile +16 -0
- data/README.markdown +39 -145
- data/Rakefile +46 -20
- data/bin/sauce +72 -61
- data/gemfiles/rails2.gemfile +10 -0
- data/gemfiles/rails2.gemfile.lock +77 -0
- data/gemfiles/rails3.gemfile +9 -0
- data/gemfiles/rails3.gemfile.lock +137 -0
- data/lib/generators/sauce/install/install_generator.rb +1 -2
- data/lib/sauce.rb +0 -22
- data/lib/sauce/capybara.rb +70 -32
- data/lib/sauce/capybara/cucumber.rb +121 -0
- data/lib/sauce/config.rb +57 -13
- data/lib/sauce/connect.rb +22 -11
- data/lib/sauce/integrations.rb +27 -69
- data/lib/sauce/jasmine.rb +35 -0
- data/lib/sauce/jasmine/rake.rb +47 -0
- data/lib/sauce/jasmine/runner.rb +4 -0
- data/lib/sauce/job.rb +10 -6
- data/lib/sauce/raketasks.rb +0 -21
- data/lib/sauce/selenium.rb +9 -18
- data/lib/sauce/utilities.rb +0 -17
- data/sauce.gemspec +8 -60
- data/spec/integration/connect_integration_spec.rb +84 -0
- data/spec/sauce/capybara/cucumber_spec.rb +156 -0
- data/spec/sauce/capybara/spec_helper.rb +42 -0
- data/spec/sauce/capybara_spec.rb +121 -0
- data/spec/sauce/config_spec.rb +239 -0
- data/spec/sauce/jasmine_spec.rb +49 -0
- data/spec/sauce/selenium_spec.rb +57 -0
- data/spec/spec_helper.rb +4 -0
- data/support/Sauce-Connect.jar +0 -0
- data/test/test_integrations.rb +202 -0
- data/test/test_testcase.rb +13 -0
- metadata +170 -171
- data/examples/helper.rb +0 -16
- data/examples/other_spec.rb +0 -7
- data/examples/saucelabs_spec.rb +0 -12
- data/examples/test_saucelabs.rb +0 -13
- data/examples/test_saucelabs2.rb +0 -9
- data/support/sauce_connect +0 -938
- data/support/selenium-server.jar +0 -0
- data/support/simplejson/LICENSE.txt +0 -19
- data/support/simplejson/__init__.py +0 -437
- data/support/simplejson/decoder.py +0 -421
- data/support/simplejson/encoder.py +0 -501
- data/support/simplejson/ordered_dict.py +0 -119
- data/support/simplejson/scanner.py +0 -77
- data/support/simplejson/tool.py +0 -39
- data/test/test_config.rb +0 -112
- data/test/test_connect.rb +0 -45
- data/test/test_job.rb +0 -13
- data/test/test_selenium.rb +0 -50
- data/test/test_selenium2.rb +0 -9
data/spec/spec_helper.rb
ADDED
Binary file
|
@@ -0,0 +1,202 @@
|
|
1
|
+
require File.expand_path("../helper.rb", __FILE__)
|
2
|
+
|
3
|
+
class TestIntegrations < Test::Unit::TestCase
|
4
|
+
@@globally_setup = false
|
5
|
+
|
6
|
+
def setup
|
7
|
+
if !@@globally_setup
|
8
|
+
ensure_rvm_installed
|
9
|
+
Dir.chdir File.expand_path("../..", __FILE__) do
|
10
|
+
silence_stream(STDOUT) do
|
11
|
+
system("gem build sauce.gemspec")
|
12
|
+
end
|
13
|
+
end
|
14
|
+
ENV['SAUCE_GEM'] = File.expand_path("../../"+Dir.entries(".").select {|f| f =~ /sauce-.*.gem/}.sort.last, __FILE__)
|
15
|
+
@@globally_setup = true
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
def run_with_ruby(ruby_version, test)
|
20
|
+
ruby_version = RVM.list_strings.find {|version| version =~ /#{ruby_version}/}
|
21
|
+
if ruby_version.nil?
|
22
|
+
RVM.install ruby_version
|
23
|
+
ruby_version = RVM.list_strings.find {|version| version =~ /#{ruby_version}/}
|
24
|
+
end
|
25
|
+
|
26
|
+
gemset_name = "saucegem_#{test.to_s}"
|
27
|
+
rubie = RVM.environment(ruby_version)
|
28
|
+
rubie.gemset.create gemset_name
|
29
|
+
begin
|
30
|
+
rubie = RVM.environment("#{ruby_version}@#{gemset_name}")
|
31
|
+
send(test, rubie)
|
32
|
+
ensure
|
33
|
+
rubie.gemset.delete gemset_name
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
def run_in_environment(env, command)
|
38
|
+
result = env.run(command)
|
39
|
+
assert result.successful?, result.stderr
|
40
|
+
end
|
41
|
+
|
42
|
+
def in_tempdir
|
43
|
+
oldwd = Dir.pwd
|
44
|
+
temp = File.join(Dir.tmpdir, "sauce_gem_integration_test_#{rand(100000)}")
|
45
|
+
Dir.mkdir(temp)
|
46
|
+
Dir.chdir(temp)
|
47
|
+
begin
|
48
|
+
yield temp
|
49
|
+
ensure
|
50
|
+
Dir.chdir(oldwd)
|
51
|
+
FileUtils.remove_dir(temp)
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
def with_rails_3_environment(env)
|
56
|
+
in_tempdir do |temp|
|
57
|
+
run_in_environment(env, "gem install rails --no-rdoc --no-ri")
|
58
|
+
run_in_environment(env, "rails new rails3_testapp")
|
59
|
+
Dir.chdir("rails3_testapp")
|
60
|
+
run_in_environment(env, "bundle install")
|
61
|
+
run_in_environment(env, "rake db:migrate")
|
62
|
+
yield
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
def with_rails_2_environment(env)
|
67
|
+
in_tempdir do |temp|
|
68
|
+
run_in_environment(env, "gem install rails -v 2.3.10 --no-rdoc --no-ri")
|
69
|
+
run_in_environment(env, "gem install sqlite3 --no-rdoc --no-ri")
|
70
|
+
run_in_environment(env, "rails rails2_testapp")
|
71
|
+
Dir.chdir("rails2_testapp")
|
72
|
+
run_in_environment(env, "rake db:migrate")
|
73
|
+
yield
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
def recipe_rails3_testunit(env)
|
78
|
+
with_rails_3_environment(env) do
|
79
|
+
# Add some Sauce
|
80
|
+
open("Gemfile", 'a') do |f|
|
81
|
+
f.puts "gem 'sauce'"
|
82
|
+
end
|
83
|
+
run_in_environment(env, "gem install \"$SAUCE_GEM\" --no-rdoc --no-ri")
|
84
|
+
run_in_environment(env, "bundle install")
|
85
|
+
run_in_environment(env, "rails generate sauce:install #{ENV['SAUCE_USERNAME']} #{ENV['SAUCE_ACCESS_KEY']}")
|
86
|
+
|
87
|
+
open("test/selenium/demo_test.rb", 'wb') do |file|
|
88
|
+
file.write(<<-EOF)
|
89
|
+
require "test_helper"
|
90
|
+
|
91
|
+
class DemoTest < Sauce::RailsTestCase
|
92
|
+
test "my app" do
|
93
|
+
page.open "/"
|
94
|
+
assert page.is_text_present("Welcome aboard")
|
95
|
+
end
|
96
|
+
end
|
97
|
+
EOF
|
98
|
+
end
|
99
|
+
|
100
|
+
run_in_environment(env, "rake test:selenium:sauce")
|
101
|
+
run_in_environment(env, "rake test:selenium:local") unless ENV['SAUCE_TEST_NO_LOCAL']
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
def recipe_rails3_rspec(env)
|
106
|
+
with_rails_3_environment(env) do
|
107
|
+
open("Gemfile", 'a') do |f|
|
108
|
+
f.puts "gem 'sauce'"
|
109
|
+
f.puts "gem 'rspec-rails'"
|
110
|
+
end
|
111
|
+
run_in_environment(env, "gem install \"$SAUCE_GEM\" --no-rdoc --no-ri")
|
112
|
+
run_in_environment(env, "bundle install")
|
113
|
+
run_in_environment(env, "rails generate rspec:install")
|
114
|
+
|
115
|
+
# Add some Sauce
|
116
|
+
run_in_environment(env, "rails generate sauce:install #{ENV['SAUCE_USERNAME']} #{ENV['SAUCE_ACCESS_KEY']}")
|
117
|
+
|
118
|
+
open("spec/selenium/demo_spec.rb", 'wb') do |file|
|
119
|
+
file.write(<<-EOF)
|
120
|
+
require "spec_helper"
|
121
|
+
|
122
|
+
describe "my app" do
|
123
|
+
it "should have a home page" do
|
124
|
+
page.open "/"
|
125
|
+
page.is_text_present("Welcome aboard").should be_true
|
126
|
+
end
|
127
|
+
end
|
128
|
+
EOF
|
129
|
+
end
|
130
|
+
|
131
|
+
run_in_environment(env, "rake spec:selenium:sauce")
|
132
|
+
run_in_environment(env, "rake spec:selenium:local") unless ENV['SAUCE_TEST_NO_LOCAL']
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
def recipe_rails2_testunit(env)
|
137
|
+
with_rails_2_environment(env) do
|
138
|
+
run_in_environment(env, "gem install \"$SAUCE_GEM\" --no-rdoc --no-ri")
|
139
|
+
run_in_environment(env, "script/generate sauce #{ENV['SAUCE_USERNAME']} #{ENV['SAUCE_ACCESS_KEY']}")
|
140
|
+
|
141
|
+
open("test/selenium/demo_test.rb", 'wb') do |file|
|
142
|
+
file.write(<<-EOF)
|
143
|
+
require "test_helper"
|
144
|
+
|
145
|
+
class DemoTest < Sauce::RailsTestCase
|
146
|
+
test "my app" do
|
147
|
+
page.open "/"
|
148
|
+
assert page.is_text_present("Welcome aboard")
|
149
|
+
end
|
150
|
+
end
|
151
|
+
EOF
|
152
|
+
end
|
153
|
+
|
154
|
+
run_in_environment(env, "rake test:selenium:sauce")
|
155
|
+
run_in_environment(env, "rake test:selenium:local") unless ENV['SAUCE_TEST_NO_LOCAL']
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
159
|
+
def recipe_rails2_rspec(env)
|
160
|
+
with_rails_2_environment(env) do
|
161
|
+
|
162
|
+
run_in_environment(env, "gem install rspec-rails -v '< 2' --no-rdoc --no-ri")
|
163
|
+
if env.environment_name =~ /^ruby-1.9.*/
|
164
|
+
# newer versions of hoe get angry
|
165
|
+
run_in_environment(env, "gem install hoe -v 1.5.1 --no-rdoc --no-ri")
|
166
|
+
# this is a strange dependency...
|
167
|
+
run_in_environment(env, "gem install test-unit -v 1.2.3 --no-rdoc --no-ri")
|
168
|
+
end
|
169
|
+
run_in_environment(env, "script/generate rspec")
|
170
|
+
|
171
|
+
# Add some Sauce
|
172
|
+
run_in_environment(env, "gem install \"$SAUCE_GEM\" --no-rdoc --no-ri")
|
173
|
+
run_in_environment(env, "script/generate sauce #{ENV['SAUCE_USERNAME']} #{ENV['SAUCE_ACCESS_KEY']}")
|
174
|
+
|
175
|
+
open("spec/selenium/demo_spec.rb", 'wb') do |file|
|
176
|
+
file.write(<<-EOF)
|
177
|
+
require "spec_helper"
|
178
|
+
|
179
|
+
describe "my app" do
|
180
|
+
it "should have a home page" do
|
181
|
+
page.open "/"
|
182
|
+
page.is_text_present("Welcome aboard").should be_true
|
183
|
+
end
|
184
|
+
end
|
185
|
+
EOF
|
186
|
+
end
|
187
|
+
|
188
|
+
run_in_environment(env, "rake spec:selenium:sauce --trace")
|
189
|
+
run_in_environment(env, "rake spec:selenium:local") unless ENV['SAUCE_TEST_NO_LOCAL']
|
190
|
+
end
|
191
|
+
end
|
192
|
+
|
193
|
+
# Turn the recipes into tests
|
194
|
+
self.instance_methods(false).select {|m| m =~ /recipe_.*/ }.each do |recipe|
|
195
|
+
define_method(("test_ruby18_"+recipe).to_sym) do
|
196
|
+
run_with_ruby("ruby-1.8.7", recipe.to_sym)
|
197
|
+
end
|
198
|
+
define_method(("test_ruby19_"+recipe).to_sym) do
|
199
|
+
run_with_ruby("ruby-1.9.2", recipe.to_sym)
|
200
|
+
end
|
201
|
+
end
|
202
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require File.expand_path("../helper", __FILE__)
|
2
|
+
|
3
|
+
class TestSauceTestCase < Sauce::TestCase
|
4
|
+
self.selenium_flags = {:trustAllSSLCertificates => false}
|
5
|
+
self.sauce_config = {:browser_url => "https://cacert.org"}
|
6
|
+
|
7
|
+
def test_turning_off_trustAllSSLCertificates
|
8
|
+
selenium.set_timeout("5000")
|
9
|
+
assert_raise Selenium::Client::CommandError do
|
10
|
+
selenium.open("https://cacert.org")
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
metadata
CHANGED
@@ -1,240 +1,239 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: sauce
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.0.0
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 0
|
9
|
-
- 2
|
10
|
-
version: 1.0.2
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Eric Allen
|
14
9
|
- Sean Grove
|
15
10
|
- Steven Hazel
|
16
|
-
-
|
11
|
+
- R. Tyler Croy
|
12
|
+
- Santiago Suarez Ordoñez
|
17
13
|
autorequire:
|
18
14
|
bindir: bin
|
19
15
|
cert_chain: []
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
- !ruby/object:Gem::Version
|
31
|
-
hash: 3
|
32
|
-
segments:
|
33
|
-
- 0
|
34
|
-
version: "0"
|
16
|
+
date: 2012-06-26 00:00:00.000000000 Z
|
17
|
+
dependencies:
|
18
|
+
- !ruby/object:Gem::Dependency
|
19
|
+
name: net-http-persistent
|
20
|
+
requirement: !ruby/object:Gem::Requirement
|
21
|
+
none: false
|
22
|
+
requirements:
|
23
|
+
- - ! '>='
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: '0'
|
35
26
|
type: :runtime
|
36
|
-
name: rest-client
|
37
|
-
version_requirements: *id001
|
38
|
-
- !ruby/object:Gem::Dependency
|
39
27
|
prerelease: false
|
40
|
-
|
41
|
-
none: false
|
42
|
-
requirements:
|
43
|
-
- -
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
28
|
+
version_requirements: !ruby/object:Gem::Requirement
|
29
|
+
none: false
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: rest-client
|
36
|
+
requirement: !ruby/object:Gem::Requirement
|
37
|
+
none: false
|
38
|
+
requirements:
|
39
|
+
- - ! '>='
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
49
42
|
type: :runtime
|
50
|
-
name: net-ssh
|
51
|
-
version_requirements: *id002
|
52
|
-
- !ruby/object:Gem::Dependency
|
53
43
|
prerelease: false
|
54
|
-
|
55
|
-
none: false
|
56
|
-
requirements:
|
57
|
-
- -
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
44
|
+
version_requirements: !ruby/object:Gem::Requirement
|
45
|
+
none: false
|
46
|
+
requirements:
|
47
|
+
- - ! '>='
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '0'
|
50
|
+
- !ruby/object:Gem::Dependency
|
51
|
+
name: net-ssh
|
52
|
+
requirement: !ruby/object:Gem::Requirement
|
53
|
+
none: false
|
54
|
+
requirements:
|
55
|
+
- - ! '>='
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: '0'
|
63
58
|
type: :runtime
|
59
|
+
prerelease: false
|
60
|
+
version_requirements: !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '0'
|
66
|
+
- !ruby/object:Gem::Dependency
|
64
67
|
name: net-ssh-gateway
|
65
|
-
|
66
|
-
|
68
|
+
requirement: !ruby/object:Gem::Requirement
|
69
|
+
none: false
|
70
|
+
requirements:
|
71
|
+
- - ! '>='
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '0'
|
74
|
+
type: :runtime
|
67
75
|
prerelease: false
|
68
|
-
|
69
|
-
none: false
|
70
|
-
requirements:
|
71
|
-
- -
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
76
|
+
version_requirements: !ruby/object:Gem::Requirement
|
77
|
+
none: false
|
78
|
+
requirements:
|
79
|
+
- - ! '>='
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0'
|
82
|
+
- !ruby/object:Gem::Dependency
|
83
|
+
name: selenium-webdriver
|
84
|
+
requirement: !ruby/object:Gem::Requirement
|
85
|
+
none: false
|
86
|
+
requirements:
|
87
|
+
- - ! '>='
|
88
|
+
- !ruby/object:Gem::Version
|
78
89
|
version: 0.1.4
|
79
90
|
type: :runtime
|
80
|
-
name: selenium-webdriver
|
81
|
-
version_requirements: *id004
|
82
|
-
- !ruby/object:Gem::Dependency
|
83
91
|
prerelease: false
|
84
|
-
|
85
|
-
none: false
|
86
|
-
requirements:
|
87
|
-
- -
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
none: false
|
94
|
+
requirements:
|
95
|
+
- - ! '>='
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: 0.1.4
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: childprocess
|
100
|
+
requirement: !ruby/object:Gem::Requirement
|
101
|
+
none: false
|
102
|
+
requirements:
|
103
|
+
- - ! '>='
|
104
|
+
- !ruby/object:Gem::Version
|
94
105
|
version: 0.1.6
|
95
106
|
type: :runtime
|
96
|
-
name: childprocess
|
97
|
-
version_requirements: *id005
|
98
|
-
- !ruby/object:Gem::Dependency
|
99
107
|
prerelease: false
|
100
|
-
|
101
|
-
none: false
|
102
|
-
requirements:
|
103
|
-
- -
|
104
|
-
- !ruby/object:Gem::Version
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
108
|
+
version_requirements: !ruby/object:Gem::Requirement
|
109
|
+
none: false
|
110
|
+
requirements:
|
111
|
+
- - ! '>='
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
version: 0.1.6
|
114
|
+
- !ruby/object:Gem::Dependency
|
115
|
+
name: json
|
116
|
+
requirement: !ruby/object:Gem::Requirement
|
117
|
+
none: false
|
118
|
+
requirements:
|
119
|
+
- - ! '>='
|
120
|
+
- !ruby/object:Gem::Version
|
110
121
|
version: 1.2.0
|
111
122
|
type: :runtime
|
112
|
-
name: json
|
113
|
-
version_requirements: *id006
|
114
|
-
- !ruby/object:Gem::Dependency
|
115
123
|
prerelease: false
|
116
|
-
|
117
|
-
none: false
|
118
|
-
requirements:
|
119
|
-
- -
|
120
|
-
- !ruby/object:Gem::Version
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
124
|
+
version_requirements: !ruby/object:Gem::Requirement
|
125
|
+
none: false
|
126
|
+
requirements:
|
127
|
+
- - ! '>='
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: 1.2.0
|
130
|
+
- !ruby/object:Gem::Dependency
|
131
|
+
name: cmdparse
|
132
|
+
requirement: !ruby/object:Gem::Requirement
|
133
|
+
none: false
|
134
|
+
requirements:
|
135
|
+
- - ! '>='
|
136
|
+
- !ruby/object:Gem::Version
|
126
137
|
version: 2.0.2
|
127
138
|
type: :runtime
|
128
|
-
name: cmdparse
|
129
|
-
version_requirements: *id007
|
130
|
-
- !ruby/object:Gem::Dependency
|
131
139
|
prerelease: false
|
132
|
-
|
133
|
-
none: false
|
134
|
-
requirements:
|
135
|
-
- -
|
136
|
-
- !ruby/object:Gem::Version
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
140
|
+
version_requirements: !ruby/object:Gem::Requirement
|
141
|
+
none: false
|
142
|
+
requirements:
|
143
|
+
- - ! '>='
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 2.0.2
|
146
|
+
- !ruby/object:Gem::Dependency
|
147
|
+
name: highline
|
148
|
+
requirement: !ruby/object:Gem::Requirement
|
149
|
+
none: false
|
150
|
+
requirements:
|
151
|
+
- - ! '>='
|
152
|
+
- !ruby/object:Gem::Version
|
142
153
|
version: 1.5.0
|
143
154
|
type: :runtime
|
144
|
-
|
145
|
-
version_requirements:
|
155
|
+
prerelease: false
|
156
|
+
version_requirements: !ruby/object:Gem::Requirement
|
157
|
+
none: false
|
158
|
+
requirements:
|
159
|
+
- - ! '>='
|
160
|
+
- !ruby/object:Gem::Version
|
161
|
+
version: 1.5.0
|
146
162
|
description: A Ruby interface to Sauce OnDemand.
|
147
163
|
email: help@saucelabs.com
|
148
|
-
executables:
|
164
|
+
executables:
|
149
165
|
- sauce
|
150
166
|
extensions: []
|
151
|
-
|
152
167
|
extra_rdoc_files: []
|
153
|
-
|
154
|
-
|
168
|
+
files:
|
169
|
+
- .document
|
170
|
+
- .gitignore
|
171
|
+
- Gemfile
|
155
172
|
- LICENSE
|
156
173
|
- README.markdown
|
157
174
|
- Rakefile
|
158
175
|
- bin/sauce
|
159
|
-
-
|
160
|
-
-
|
161
|
-
-
|
162
|
-
-
|
163
|
-
- examples/test_saucelabs2.rb
|
176
|
+
- gemfiles/rails2.gemfile
|
177
|
+
- gemfiles/rails2.gemfile.lock
|
178
|
+
- gemfiles/rails3.gemfile
|
179
|
+
- gemfiles/rails3.gemfile.lock
|
164
180
|
- generators/sauce/sauce_generator.rb
|
165
181
|
- generators/sauce/templates/sauce.rake
|
166
182
|
- lib/generators/sauce/install/install_generator.rb
|
167
183
|
- lib/generators/sauce/install/templates/sauce.rake
|
168
184
|
- lib/sauce.rb
|
169
185
|
- lib/sauce/capybara.rb
|
186
|
+
- lib/sauce/capybara/cucumber.rb
|
170
187
|
- lib/sauce/client.rb
|
171
188
|
- lib/sauce/config.rb
|
172
189
|
- lib/sauce/connect.rb
|
173
190
|
- lib/sauce/heroku.rb
|
174
191
|
- lib/sauce/integrations.rb
|
192
|
+
- lib/sauce/jasmine.rb
|
193
|
+
- lib/sauce/jasmine/rake.rb
|
194
|
+
- lib/sauce/jasmine/runner.rb
|
175
195
|
- lib/sauce/job.rb
|
176
196
|
- lib/sauce/raketasks.rb
|
177
197
|
- lib/sauce/selenium.rb
|
178
198
|
- lib/sauce/utilities.rb
|
179
199
|
- sauce.gemspec
|
180
|
-
-
|
181
|
-
-
|
182
|
-
-
|
183
|
-
-
|
184
|
-
-
|
185
|
-
-
|
186
|
-
-
|
187
|
-
-
|
188
|
-
- support/
|
200
|
+
- spec/integration/connect_integration_spec.rb
|
201
|
+
- spec/sauce/capybara/cucumber_spec.rb
|
202
|
+
- spec/sauce/capybara/spec_helper.rb
|
203
|
+
- spec/sauce/capybara_spec.rb
|
204
|
+
- spec/sauce/config_spec.rb
|
205
|
+
- spec/sauce/jasmine_spec.rb
|
206
|
+
- spec/sauce/selenium_spec.rb
|
207
|
+
- spec/spec_helper.rb
|
208
|
+
- support/Sauce-Connect.jar
|
189
209
|
- test/helper.rb
|
190
|
-
- test/
|
191
|
-
- test/
|
192
|
-
- test/test_connect.rb
|
193
|
-
- test/test_selenium.rb
|
194
|
-
- test/test_selenium2.rb
|
195
|
-
has_rdoc: true
|
210
|
+
- test/test_integrations.rb
|
211
|
+
- test/test_testcase.rb
|
196
212
|
homepage: http://github.com/saucelabs/sauce_ruby
|
197
213
|
licenses: []
|
198
|
-
|
199
214
|
post_install_message:
|
200
215
|
rdoc_options: []
|
201
|
-
|
202
|
-
require_paths:
|
216
|
+
require_paths:
|
203
217
|
- lib
|
204
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
218
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
205
219
|
none: false
|
206
|
-
requirements:
|
207
|
-
- -
|
208
|
-
- !ruby/object:Gem::Version
|
209
|
-
|
210
|
-
|
211
|
-
- 0
|
212
|
-
version: "0"
|
213
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
220
|
+
requirements:
|
221
|
+
- - ! '>='
|
222
|
+
- !ruby/object:Gem::Version
|
223
|
+
version: '0'
|
224
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
214
225
|
none: false
|
215
|
-
requirements:
|
216
|
-
- -
|
217
|
-
- !ruby/object:Gem::Version
|
218
|
-
|
219
|
-
segments:
|
220
|
-
- 0
|
221
|
-
version: "0"
|
226
|
+
requirements:
|
227
|
+
- - ! '>='
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0'
|
222
230
|
requirements: []
|
223
|
-
|
224
231
|
rubyforge_project:
|
225
|
-
rubygems_version: 1.
|
232
|
+
rubygems_version: 1.8.24
|
226
233
|
signing_key:
|
227
234
|
specification_version: 3
|
228
235
|
summary: Ruby access to Sauce Labs' features
|
229
|
-
test_files:
|
230
|
-
- examples/helper.rb
|
231
|
-
- examples/other_spec.rb
|
232
|
-
- examples/saucelabs_spec.rb
|
233
|
-
- examples/test_saucelabs.rb
|
234
|
-
- examples/test_saucelabs2.rb
|
236
|
+
test_files:
|
235
237
|
- test/helper.rb
|
236
|
-
- test/
|
237
|
-
- test/
|
238
|
-
- test/test_selenium.rb
|
239
|
-
- test/test_job.rb
|
240
|
-
- test/test_selenium2.rb
|
238
|
+
- test/test_integrations.rb
|
239
|
+
- test/test_testcase.rb
|