saucelabs-adapter 0.8.16 → 0.8.17

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -56,7 +56,7 @@ begin
56
56
  "generators/saucelabs_adapter/templates/jsunit.rake",
57
57
  "generators/saucelabs_adapter/templates/jsunit_suite_example.rb"
58
58
  ]
59
- gem.add_dependency 'rest-client', '>= 1.2.0'
59
+ gem.add_dependency 'rest-client', '>= 1.5.0'
60
60
  gem.add_dependency 'net-ssh', '>= 2.0.12'
61
61
  gem.add_dependency 'net-ssh-gateway', '>= 1.0.1'
62
62
  gem.add_dependency 'selenium-client', '>= 1.2.17'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.8.16
1
+ 0.8.17
@@ -10,7 +10,10 @@ namespace :selenium do
10
10
 
11
11
  # Rake tasks are cumulative, and some old plugins are still defining selenium:server, so clear it.
12
12
  Rake::Task[:'selenium:server'].clear_actions if Rake::Task.exists?('selenium:server')
13
-
13
+
14
+ desc "Run both test/unit and rspec tests, at saucelabs.com"
15
+ task :ci => [:sauce, :'spec:sauce']
16
+
14
17
  desc "Run the selenium remote-control server"
15
18
  task :server do
16
19
  system('selenium-rc')
@@ -18,7 +21,7 @@ namespace :selenium do
18
21
 
19
22
  desc "Run the selenium remote-control server in the background"
20
23
  task :server_bg do
21
- system('nohup selenium-rc 2&>1 &')
24
+ system('nohup selenium-rc 2>&1 &')
22
25
  end
23
26
 
24
27
  desc "Runs Selenium tests locally (selenium server must already be started)"
@@ -50,4 +53,17 @@ namespace :selenium do
50
53
  exit 1
51
54
  end
52
55
  end
56
+
57
+ namespace :spec do
58
+ desc "Runs Selenium tests locally (selenium server must already be started)"
59
+ task :local => [:local_env, :suite]
60
+
61
+ desc "Run Selenium tests at saucelabs.com (using configuration 'saucelabs' in config/selenium.yml)"
62
+ task :sauce => [:sauce_env, :suite]
63
+
64
+ task :suite do
65
+ require 'saucelabs-adapter'
66
+ Rake::Task['spec:integration'].invoke
67
+ end
68
+ end
53
69
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 8
8
- - 16
9
- version: 0.8.16
8
+ - 17
9
+ version: 0.8.17
10
10
  platform: ruby
11
11
  authors:
12
12
  - Kelly Felkins, Chad Woolley, Sam Pierson, Nate Clark
@@ -26,9 +26,9 @@ dependencies:
26
26
  - !ruby/object:Gem::Version
27
27
  segments:
28
28
  - 1
29
- - 2
29
+ - 5
30
30
  - 0
31
- version: 1.2.0
31
+ version: 1.5.0
32
32
  prerelease: false
33
33
  requirement: *id001
34
34
  - !ruby/object:Gem::Dependency