saucelabs-adapter 0.8.10 → 0.8.11

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -48,7 +48,9 @@ begin
48
48
  "lib/saucerest-python/sshtunnel.py",
49
49
  "lib/tasks/jsunit.rake",
50
50
  "generators/saucelabs_adapter/saucelabs_adapter_generator.rb",
51
+ "generators/saucelabs_adapter/templates/sample_webrat_test.rb",
51
52
  "generators/saucelabs_adapter/templates/selenium.yml",
53
+ "generators/saucelabs_adapter/templates/selenium_suite.rb",
52
54
  "generators/saucelabs_adapter/templates/saucelabs_adapter.rake",
53
55
  "generators/saucelabs_adapter/templates/jsunit.rake",
54
56
  "generators/saucelabs_adapter/templates/jsunit_suite_example.rb"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.8.10
1
+ 0.8.11
@@ -25,6 +25,9 @@ class SaucelabsAdapterGenerator < Rails::Generator::Base
25
25
  m.directory 'lib/tasks'
26
26
  m.file 'saucelabs_adapter.rake', 'lib/tasks/saucelabs_adapter.rake'
27
27
  m.file 'selenium.yml', 'config/selenium.yml'
28
+ m.directory 'test/selenium'
29
+ m.file 'sample_webrat_test.rb', 'test/selenium/sample_webrat_test.rb'
30
+ m.file 'selenium_suite.rb', 'test/selenium/selenium_suite.rb'
28
31
  if options[:jsunit]
29
32
  m.file 'jsunit.rake', 'lib/tasks/jsunit.rake'
30
33
  m.directory 'test/jsunit'
@@ -0,0 +1,7 @@
1
+ class SampleWebratTest < ActionController::IntegrationTest
2
+
3
+ def test_widget
4
+ visit "/widgets"
5
+ assert_contain "widget"
6
+ end
7
+ end
@@ -0,0 +1,10 @@
1
+ require File.expand_path(File.join(File.dirname(__FILE__), '..', 'test_helper'))
2
+ require 'test/unit/ui/console/testrunner'
3
+ require 'webrat'
4
+ require 'saucelabs_adapter'
5
+
6
+ Webrat.configure do |config|
7
+ config.mode = :selenium
8
+ end
9
+
10
+ require File.join(File.dirname(__FILE__), 'sample_webrat_test')
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: saucelabs-adapter
3
3
  version: !ruby/object:Gem::Version
4
- hash: 43
4
+ hash: 41
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 8
9
- - 10
10
- version: 0.8.10
9
+ - 11
10
+ version: 0.8.11
11
11
  platform: ruby
12
12
  authors:
13
13
  - Kelly Felkins, Chad Woolley, Sam Pierson, Nate Clark
@@ -15,14 +15,11 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-06-21 00:00:00 -07:00
18
+ date: 2010-06-22 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- type: :runtime
23
- prerelease: false
24
- name: rest-client
25
- version_requirements: &id001 !ruby/object:Gem::Requirement
22
+ requirement: &id001 !ruby/object:Gem::Requirement
26
23
  none: false
27
24
  requirements:
28
25
  - - ">="
@@ -33,12 +30,12 @@ dependencies:
33
30
  - 2
34
31
  - 0
35
32
  version: 1.2.0
36
- requirement: *id001
37
- - !ruby/object:Gem::Dependency
38
33
  type: :runtime
34
+ name: rest-client
39
35
  prerelease: false
40
- name: net-ssh
41
- version_requirements: &id002 !ruby/object:Gem::Requirement
36
+ version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ requirement: &id002 !ruby/object:Gem::Requirement
42
39
  none: false
43
40
  requirements:
44
41
  - - ">="
@@ -49,12 +46,12 @@ dependencies:
49
46
  - 0
50
47
  - 12
51
48
  version: 2.0.12
52
- requirement: *id002
53
- - !ruby/object:Gem::Dependency
54
49
  type: :runtime
50
+ name: net-ssh
55
51
  prerelease: false
56
- name: net-ssh-gateway
57
- version_requirements: &id003 !ruby/object:Gem::Requirement
52
+ version_requirements: *id002
53
+ - !ruby/object:Gem::Dependency
54
+ requirement: &id003 !ruby/object:Gem::Requirement
58
55
  none: false
59
56
  requirements:
60
57
  - - ">="
@@ -65,12 +62,12 @@ dependencies:
65
62
  - 0
66
63
  - 1
67
64
  version: 1.0.1
68
- requirement: *id003
69
- - !ruby/object:Gem::Dependency
70
65
  type: :runtime
66
+ name: net-ssh-gateway
71
67
  prerelease: false
72
- name: selenium-client
73
- version_requirements: &id004 !ruby/object:Gem::Requirement
68
+ version_requirements: *id003
69
+ - !ruby/object:Gem::Dependency
70
+ requirement: &id004 !ruby/object:Gem::Requirement
74
71
  none: false
75
72
  requirements:
76
73
  - - ">="
@@ -81,12 +78,12 @@ dependencies:
81
78
  - 2
82
79
  - 17
83
80
  version: 1.2.17
84
- requirement: *id004
85
- - !ruby/object:Gem::Dependency
86
81
  type: :runtime
82
+ name: selenium-client
87
83
  prerelease: false
88
- name: lsof
89
- version_requirements: &id005 !ruby/object:Gem::Requirement
84
+ version_requirements: *id004
85
+ - !ruby/object:Gem::Dependency
86
+ requirement: &id005 !ruby/object:Gem::Requirement
90
87
  none: false
91
88
  requirements:
92
89
  - - ">="
@@ -97,7 +94,10 @@ dependencies:
97
94
  - 3
98
95
  - 0
99
96
  version: 0.3.0
100
- requirement: *id005
97
+ type: :runtime
98
+ name: lsof
99
+ prerelease: false
100
+ version_requirements: *id005
101
101
  description: "This gem augments Test::Unit and Polonium/Webrat to run Selenium tests in the cloud. "
102
102
  email: pair+kelly+sam@pivotallabs.com
103
103
  executables: []
@@ -114,8 +114,10 @@ files:
114
114
  - generators/saucelabs_adapter/saucelabs_adapter_generator.rb
115
115
  - generators/saucelabs_adapter/templates/jsunit.rake
116
116
  - generators/saucelabs_adapter/templates/jsunit_suite_example.rb
117
+ - generators/saucelabs_adapter/templates/sample_webrat_test.rb
117
118
  - generators/saucelabs_adapter/templates/saucelabs_adapter.rake
118
119
  - generators/saucelabs_adapter/templates/selenium.yml
120
+ - generators/saucelabs_adapter/templates/selenium_suite.rb
119
121
  - lib/saucelabs-adapter.rb
120
122
  - lib/saucelabs_adapter.rb
121
123
  - lib/saucelabs_adapter/jsunit_selenium_support.rb