sauce 2.2.2 → 2.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/.document DELETED
@@ -1,5 +0,0 @@
1
- README.rdoc
2
- lib/**/*.rb
3
- bin/*
4
- features/**/*.feature
5
- LICENSE
data/.gitignore DELETED
@@ -1,30 +0,0 @@
1
- ## MAC OS
2
- .DS_Store
3
-
4
- ## TEXTMATE
5
- *.tmproj
6
- tmtags
7
-
8
- ## EMACS
9
- *~
10
- \#*
11
- .\#*
12
-
13
- ## VIM
14
- *.swp
15
-
16
- ## PROJECT::GENERAL
17
- coverage
18
- rdoc
19
- pkg
20
-
21
- ## PROJECT::SPECIFIC
22
- sauce_connect.log*
23
- account.yml
24
- *.gem
25
- Gemfile.lock
26
- .idea
27
- .rvmrc
28
- ondemand.yml
29
- *.sqlite3
30
- schema.rb
data/Gemfile DELETED
@@ -1,16 +0,0 @@
1
- source :gemcutter
2
-
3
- gem 'rake'
4
-
5
- gemspec
6
-
7
- group :test do
8
- gem 'cucumber'
9
- gem 'rspec', '~> 2.12'
10
- gem 'capybara'
11
- gem 'jasmine'
12
- end
13
-
14
- group :development do
15
- gem 'debugger', :platform => :mri_19
16
- end
data/LICENSE DELETED
@@ -1,19 +0,0 @@
1
- Copyright (c) 2009-2012 Sauce Labs Inc
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining a copy
4
- of this software and associated documentation files (the "Software"), to deal
5
- in the Software without restriction, including without limitation the rights
6
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
- copies of the Software, and to permit persons to whom the Software is
8
- furnished to do so, subject to the following conditions:
9
-
10
- The above copyright notice and this permission notice shall be included in
11
- all copies or substantial portions of the Software.
12
-
13
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
- THE SOFTWARE.
data/README.markdown DELETED
@@ -1,67 +0,0 @@
1
- # Sauce for Ruby
2
-
3
- [![Build Status](https://buildhive.cloudbees.com/job/saucelabs/job/sauce_ruby/badge/icon)](https://buildhive.cloudbees.com/job/saucelabs/job/sauce_ruby/)
4
-
5
- Sauce is a Selenium-based browser testing service offered by [Sauce
6
- Labs](https://www.saucelabs.com).
7
-
8
-
9
- There is more information on **[the
10
- wiki](https://github.com/saucelabs/sauce_ruby/wiki)**, so be sure to look there
11
- for information too!
12
-
13
-
14
- ## Installation
15
-
16
- ```bash
17
- % gem install sauce
18
- ```
19
-
20
-
21
- ## Suggested Toolchain
22
-
23
-
24
- The Sauce gem has been optimized to work most effectively with
25
- [Cucumber](https://www.cukes.info) and
26
- [Capybara](http://jnicklas.github.com/capybara/).
27
-
28
- To get started with Sauce and Cucumber, install the appropriate gem:
29
-
30
- ```bash
31
- % gem install sauce-cucumber
32
- ```
33
-
34
- And then read more how to get started with [Cucumber and Capybara on this
35
- wiki
36
- page](https://github.com/saucelabs/sauce\_ruby/wiki/Cucumber-and-Capybara).
37
-
38
-
39
-
40
-
41
- ## Contributing to the Gem
42
-
43
- * Fork the GitHub project
44
- * Create a branch to perform your work in, this will help make your pull
45
- request more clear.
46
- * Write some RSpec tests to demonstrate your desired capability or exhibit the
47
- bug you're fixing.
48
- * Make your feature addition or bug fix.
49
- * Commit
50
- * Send a pull request! :)
51
-
52
-
53
- ### Testing the Gem
54
-
55
- Running the full test suite will require [RVM](http://rvm.beginrescueend.com)
56
-
57
- * Set `SAUCE_USERNAME` and `SAUCE_ACCESS_KEY` in your environment to valid Sauce credentials **or** create an `ondemand.yml` in the following format:
58
-
59
- access_key: <yourkeyhere>
60
- username: <yourusernamehere>
61
-
62
- * Invoke `bundle install` to install the gems necessary to work with the Sauce
63
- gem
64
- * Running `rake spec:unit` will run the [RSpec](https://github.com/rspec/rspec) unit tests
65
- * If you'd like to run the *entire* test suit, `rake test` will run all the
66
- integration tests, but requires the Sauce credentials to be set up properly
67
- as these tests will run actual jobs on Sauce.
data/Rakefile DELETED
@@ -1,102 +0,0 @@
1
- require 'rubygems'
2
- require 'bundler'
3
- require 'rake/testtask'
4
- require 'rspec/core/rake_task'
5
- require 'shellwords'
6
-
7
- Bundler::GemHelper.install_tasks
8
-
9
- namespace :spec do
10
- rspec_options = '--color --format d --fail-fast --order random'
11
- RSpec::Core::RakeTask.new(:unit) do |s|
12
- s.pattern = 'spec/sauce/**_spec.rb'
13
- s.rspec_opts = rspec_options
14
- end
15
-
16
- RSpec::Core::RakeTask.new(:integration) do |s|
17
- s.pattern = 'spec/integration/**_spec.rb'
18
- s.rspec_opts = rspec_options
19
- end
20
- end
21
-
22
- def ensure_rvm!
23
- unless File.exists? File.expand_path("~/.rvm/scripts/rvm")
24
- abort("I don't think you have RVM installed, which means this test will fail")
25
- end
26
- end
27
-
28
- namespace :test do
29
- namespace :cucumber do
30
- desc "Run an integration test with the cucumber-capybara code (slow)"
31
- task :capybara do |t|
32
- ensure_rvm!
33
- sh "(cd examples/cucumber-capybara/ && ./run-test.sh)"
34
- end
35
- end
36
- namespace :rails3 do
37
- desc "Run an integration test with the rails3-demo code (slow)"
38
- task :testunit do |t|
39
- ensure_rvm!
40
- sh "(cd examples/rails3-demo && ./run-test.sh)"
41
- end
42
- end
43
- end
44
-
45
- desc "Run *all* tests, this will be slow!"
46
- task :test => [:'spec:unit', :'spec:integration',
47
- :'test:cucumber:capybara', :'test:rails3:testunit']
48
-
49
-
50
- Rake::TestTask.new(:examples) do |test|
51
- test.libs << 'lib' << 'examples'
52
- test.pattern = 'examples/test_*.rb'
53
- test.verbose = true
54
- end
55
-
56
- begin
57
- require 'rcov/rcovtask'
58
- Rcov::RcovTask.new do |test|
59
- test.libs << 'test'
60
- test.pattern = 'test/**/test_*.rb'
61
- test.verbose = true
62
- end
63
- rescue LoadError
64
- task :rcov do
65
- abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
66
- end
67
- end
68
-
69
- require 'rake/rdoctask'
70
- Rake::RDocTask.new do |rdoc|
71
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
72
-
73
- rdoc.rdoc_dir = 'rdoc'
74
- rdoc.title = "sauce #{version}"
75
- rdoc.rdoc_files.include('README*')
76
- rdoc.rdoc_files.include('lib/**/*.rb')
77
- end
78
-
79
- GEMS = ['sauce-jasmine', 'sauce-cucumber']
80
-
81
- def gem_kind(name)
82
- name.split('-')[1]
83
- end
84
-
85
- GEMS.each do |gem|
86
-
87
- namespace gem_kind(gem) do
88
- desc "Build the #{gem} gem"
89
- task :build do
90
- sh "(cd gems/#{gem} && rake build)"
91
- end
92
-
93
- desc "Release the #{gem} gem"
94
- task :release do
95
- sh "(cd gems/#{gem} && rake release)"
96
- end
97
- end
98
- end
99
-
100
- task :build => GEMS.collect { |n| "#{gem_kind(n)}:build" }
101
- task :release => [:build]
102
- task :default => [:'spec:unit', :build]
@@ -1,10 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source :gemcutter
4
-
5
- gem "rspec", "1.3.2"
6
- gem "rspec-rails", "1.3.4"
7
- gem "rails", "2.3.14"
8
- gem "sqlite3"
9
-
10
- gemspec :path=>"../"
@@ -1,77 +0,0 @@
1
- PATH
2
- remote: /home/tyler/source/github/sauce_ruby
3
- specs:
4
- sauce (1.1.0)
5
- childprocess (>= 0.1.6)
6
- cmdparse (>= 2.0.2)
7
- highline (>= 1.5.0)
8
- json (>= 1.2.0)
9
- net-http-persistent
10
- net-ssh
11
- net-ssh-gateway
12
- rest-client
13
- selenium-webdriver (>= 0.1.4)
14
-
15
- GEM
16
- remote: http://rubygems.org/
17
- specs:
18
- actionmailer (2.3.14)
19
- actionpack (= 2.3.14)
20
- actionpack (2.3.14)
21
- activesupport (= 2.3.14)
22
- rack (~> 1.1.0)
23
- activerecord (2.3.14)
24
- activesupport (= 2.3.14)
25
- activeresource (2.3.14)
26
- activesupport (= 2.3.14)
27
- activesupport (2.3.14)
28
- appraisal (0.4.1)
29
- bundler
30
- rake
31
- childprocess (0.3.1)
32
- ffi (~> 1.0.6)
33
- cmdparse (2.0.3)
34
- ffi (1.0.11)
35
- highline (1.6.11)
36
- json (1.6.6)
37
- mime-types (1.18)
38
- multi_json (1.2.0)
39
- net-http-persistent (2.6)
40
- net-ssh (2.3.0)
41
- net-ssh-gateway (1.1.0)
42
- net-ssh (>= 1.99.1)
43
- rack (1.1.3)
44
- rails (2.3.14)
45
- actionmailer (= 2.3.14)
46
- actionpack (= 2.3.14)
47
- activerecord (= 2.3.14)
48
- activeresource (= 2.3.14)
49
- activesupport (= 2.3.14)
50
- rake (>= 0.8.3)
51
- rake (0.9.2.2)
52
- rest-client (1.6.7)
53
- mime-types (>= 1.16)
54
- rspec (1.3.2)
55
- rspec-rails (1.3.4)
56
- rack (>= 1.0.0)
57
- rspec (~> 1.3.1)
58
- rubyzip (0.9.6.1)
59
- selenium-webdriver (2.20.0)
60
- childprocess (>= 0.2.5)
61
- ffi (~> 1.0)
62
- multi_json (~> 1.0)
63
- rubyzip
64
- sqlite3 (1.3.5)
65
-
66
- PLATFORMS
67
- ruby
68
-
69
- DEPENDENCIES
70
- appraisal
71
- bundler
72
- rails (= 2.3.14)
73
- rake
74
- rspec (= 1.3.2)
75
- rspec-rails (= 1.3.4)
76
- sauce!
77
- sqlite3
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source :gemcutter
4
-
5
- gem "rspec"
6
- gem "rspec-rails"
7
- gem "rails", "3.2.0"
8
-
9
- gemspec :path=>"../"
@@ -1,137 +0,0 @@
1
- PATH
2
- remote: /home/tyler/source/github/sauce_ruby
3
- specs:
4
- sauce (1.1.0)
5
- childprocess (>= 0.1.6)
6
- cmdparse (>= 2.0.2)
7
- highline (>= 1.5.0)
8
- json (>= 1.2.0)
9
- net-http-persistent
10
- net-ssh
11
- net-ssh-gateway
12
- rest-client
13
- selenium-webdriver (>= 0.1.4)
14
-
15
- GEM
16
- remote: http://rubygems.org/
17
- specs:
18
- actionmailer (3.2.0)
19
- actionpack (= 3.2.0)
20
- mail (~> 2.4.0)
21
- actionpack (3.2.0)
22
- activemodel (= 3.2.0)
23
- activesupport (= 3.2.0)
24
- builder (~> 3.0.0)
25
- erubis (~> 2.7.0)
26
- journey (~> 1.0.0)
27
- rack (~> 1.4.0)
28
- rack-cache (~> 1.1)
29
- rack-test (~> 0.6.1)
30
- sprockets (~> 2.1.2)
31
- activemodel (3.2.0)
32
- activesupport (= 3.2.0)
33
- builder (~> 3.0.0)
34
- activerecord (3.2.0)
35
- activemodel (= 3.2.0)
36
- activesupport (= 3.2.0)
37
- arel (~> 3.0.0)
38
- tzinfo (~> 0.3.29)
39
- activeresource (3.2.0)
40
- activemodel (= 3.2.0)
41
- activesupport (= 3.2.0)
42
- activesupport (3.2.0)
43
- i18n (~> 0.6)
44
- multi_json (~> 1.0)
45
- appraisal (0.4.1)
46
- bundler
47
- rake
48
- arel (3.0.2)
49
- builder (3.0.0)
50
- childprocess (0.3.1)
51
- ffi (~> 1.0.6)
52
- cmdparse (2.0.3)
53
- diff-lcs (1.1.3)
54
- erubis (2.7.0)
55
- ffi (1.0.11)
56
- highline (1.6.11)
57
- hike (1.2.1)
58
- i18n (0.6.0)
59
- journey (1.0.3)
60
- json (1.6.6)
61
- mail (2.4.4)
62
- i18n (>= 0.4.0)
63
- mime-types (~> 1.16)
64
- treetop (~> 1.4.8)
65
- mime-types (1.18)
66
- multi_json (1.2.0)
67
- net-http-persistent (2.6)
68
- net-ssh (2.3.0)
69
- net-ssh-gateway (1.1.0)
70
- net-ssh (>= 1.99.1)
71
- polyglot (0.3.3)
72
- rack (1.4.1)
73
- rack-cache (1.2)
74
- rack (>= 0.4)
75
- rack-ssl (1.3.2)
76
- rack
77
- rack-test (0.6.1)
78
- rack (>= 1.0)
79
- rails (3.2.0)
80
- actionmailer (= 3.2.0)
81
- actionpack (= 3.2.0)
82
- activerecord (= 3.2.0)
83
- activeresource (= 3.2.0)
84
- activesupport (= 3.2.0)
85
- bundler (~> 1.0)
86
- railties (= 3.2.0)
87
- railties (3.2.0)
88
- actionpack (= 3.2.0)
89
- activesupport (= 3.2.0)
90
- rack-ssl (~> 1.3.2)
91
- rake (>= 0.8.7)
92
- rdoc (~> 3.4)
93
- thor (~> 0.14.6)
94
- rake (0.9.2.2)
95
- rdoc (3.12)
96
- json (~> 1.4)
97
- rest-client (1.6.7)
98
- mime-types (>= 1.16)
99
- rspec (2.9.0)
100
- rspec-core (~> 2.9.0)
101
- rspec-expectations (~> 2.9.0)
102
- rspec-mocks (~> 2.9.0)
103
- rspec-core (2.9.0)
104
- rspec-expectations (2.9.1)
105
- diff-lcs (~> 1.1.3)
106
- rspec-mocks (2.9.0)
107
- rspec-rails (1.3.2)
108
- rack (>= 1.0.0)
109
- rspec (>= 1.3.0)
110
- rubyzip (0.9.6.1)
111
- selenium-webdriver (2.20.0)
112
- childprocess (>= 0.2.5)
113
- ffi (~> 1.0)
114
- multi_json (~> 1.0)
115
- rubyzip
116
- sprockets (2.1.2)
117
- hike (~> 1.2)
118
- rack (~> 1.0)
119
- tilt (~> 1.1, != 1.3.0)
120
- thor (0.14.6)
121
- tilt (1.3.3)
122
- treetop (1.4.10)
123
- polyglot
124
- polyglot (>= 0.3.1)
125
- tzinfo (0.3.32)
126
-
127
- PLATFORMS
128
- ruby
129
-
130
- DEPENDENCIES
131
- appraisal
132
- bundler
133
- rails (= 3.2.0)
134
- rake
135
- rspec
136
- rspec-rails
137
- sauce!