watir-webdriver 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/lib/watir-webdriver/browserbot.js +8 -0
- data/lib/watir-webdriver/extensions/alerts.rb +2 -2
- data/spec/alert_spec.rb +2 -2
- data/spec/special_chars_spec.rb +1 -1
- data/spec/watirspec/area_spec.rb +4 -1
- data/spec/watirspec/browser_spec.rb +8 -6
- data/spec/watirspec/button_spec.rb +3 -1
- data/spec/watirspec/images_spec.rb +2 -2
- data/spec/watirspec/link_spec.rb +12 -4
- data/watir-webdriver.gemspec +200 -175
- metadata +153 -37
- data/.gitignore +0 -5
data/Rakefile
CHANGED
@@ -11,7 +11,7 @@ begin
|
|
11
11
|
gem.homepage = "http://github.com/jarib/watir-webdriver"
|
12
12
|
gem.authors = ["Jari Bakken"]
|
13
13
|
|
14
|
-
gem.add_dependency "selenium-webdriver", '0.1.0'
|
14
|
+
gem.add_dependency "selenium-webdriver", '>= 0.1.0'
|
15
15
|
|
16
16
|
gem.add_development_dependency "rspec", "~> 2.1.0"
|
17
17
|
gem.add_development_dependency "yard", "~> 0.6"
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.4
|
@@ -1,5 +1,13 @@
|
|
1
1
|
// stolen from injectableSelenium.js in WebDriver
|
2
2
|
var browserbot = {
|
3
|
+
createEventObject : function(element, controlKeyDown, altKeyDown, shiftKeyDown, metaKeyDown) {
|
4
|
+
var evt = element.ownerDocument.createEventObject();
|
5
|
+
evt.shiftKey = shiftKeyDown;
|
6
|
+
evt.metaKey = metaKeyDown;
|
7
|
+
evt.altKey = altKeyDown;
|
8
|
+
evt.ctrlKey = controlKeyDown;
|
9
|
+
return evt;
|
10
|
+
},
|
3
11
|
|
4
12
|
triggerEvent: function(element, eventType, canBubble, controlKeyDown, altKeyDown, shiftKeyDown, metaKeyDown) {
|
5
13
|
canBubble = (typeof(canBubble) == undefined) ? true: canBubble;
|
@@ -49,11 +49,11 @@ module Watir
|
|
49
49
|
# @example
|
50
50
|
# browser.prompt("hello") do
|
51
51
|
# browser.button(:value => "Prompt").click
|
52
|
-
# end #=> { :message => "foo", :
|
52
|
+
# end #=> { :message => "foo", :default_value => "bar" }
|
53
53
|
#
|
54
54
|
|
55
55
|
def prompt(answer, &blk)
|
56
|
-
execute_script "window.prompt = function(text, value) { window.__lastWatirPrompt = { message: text,
|
56
|
+
execute_script "window.prompt = function(text, value) { window.__lastWatirPrompt = { message: text, default_value: value }; return #{answer.to_json}; }"
|
57
57
|
yield
|
58
58
|
result = execute_script "return window.__lastWatirPrompt"
|
59
59
|
|
data/spec/alert_spec.rb
CHANGED
data/spec/special_chars_spec.rb
CHANGED
@@ -6,7 +6,7 @@ describe Watir::Browser do
|
|
6
6
|
browser.goto("file://" + File.expand_path("../html/special_chars.html", __FILE__))
|
7
7
|
end
|
8
8
|
|
9
|
-
it "
|
9
|
+
it "finds elements with single quotes" do
|
10
10
|
browser.div(:text => "single 'quotes'").should exist
|
11
11
|
end
|
12
12
|
|
data/spec/watirspec/area_spec.rb
CHANGED
@@ -15,7 +15,10 @@ describe "Area" do
|
|
15
15
|
browser.area(:title, "Tables").should exist
|
16
16
|
browser.area(:title, /Tables/).should exist
|
17
17
|
|
18
|
-
|
18
|
+
not_compliant_on [:webdriver, :ie] do
|
19
|
+
browser.area(:href, "tables.html").should exist
|
20
|
+
end
|
21
|
+
|
19
22
|
browser.area(:href, /tables/).should exist
|
20
23
|
|
21
24
|
browser.area(:index, 0).should exist
|
@@ -112,12 +112,14 @@ describe "Browser" do
|
|
112
112
|
end
|
113
113
|
|
114
114
|
describe "#refresh" do
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
115
|
+
not_compliant_on [:webdriver, :ie] do
|
116
|
+
it "refreshes the page" do
|
117
|
+
browser.goto(WatirSpec.files + "/non_control_elements.html")
|
118
|
+
browser.span(:class, 'footer').click
|
119
|
+
browser.span(:class, 'footer').text.should include('Javascript')
|
120
|
+
browser.refresh
|
121
|
+
browser.span(:class, 'footer').text.should_not include('Javascript')
|
122
|
+
end
|
121
123
|
end
|
122
124
|
end
|
123
125
|
|
@@ -16,7 +16,9 @@ describe "Button" do
|
|
16
16
|
browser.button(:name, /new_user_reset/).should exist
|
17
17
|
browser.button(:value, "Button 2").should exist
|
18
18
|
browser.button(:value, /Button 2/).should exist
|
19
|
-
|
19
|
+
not_compliant_on [:webdriver, :ie] do
|
20
|
+
browser.button(:src, "images/button.jpg").should exist
|
21
|
+
end
|
20
22
|
browser.button(:src, /button.jpg/).should exist
|
21
23
|
browser.button(:text, "Button 2").should exist
|
22
24
|
browser.button(:text, /Button 2/).should exist
|
data/spec/watirspec/link_spec.rb
CHANGED
@@ -16,7 +16,9 @@ describe "Link" do
|
|
16
16
|
browser.link(:title, /link_title_2/).should exist
|
17
17
|
browser.link(:text, "Link 2").should exist
|
18
18
|
browser.link(:text, /Link 2/i).should exist
|
19
|
-
|
19
|
+
not_compliant_on [:webdriver, :ie] do
|
20
|
+
browser.link(:href, 'non_control_elements.html').should exist
|
21
|
+
end
|
20
22
|
browser.link(:href, /non_control_elements.html/).should exist
|
21
23
|
browser.link(:index, 1).should exist
|
22
24
|
browser.link(:xpath, "//a[@id='link_2']").should exist
|
@@ -142,17 +144,17 @@ describe "Link" do
|
|
142
144
|
|
143
145
|
# Manipulation methods
|
144
146
|
describe "#click" do
|
145
|
-
it "finds an existing link by (:text, String) and
|
147
|
+
it "finds an existing link by (:text, String) and clicks it" do
|
146
148
|
browser.link(:text, "Link 3").click
|
147
149
|
browser.text.include?("User administration").should be_true
|
148
150
|
end
|
149
151
|
|
150
|
-
it "finds an existing link by (:text, Regexp) and
|
152
|
+
it "finds an existing link by (:text, Regexp) and clicks it" do
|
151
153
|
browser.link(:href, /forms_with_input_elements/).click
|
152
154
|
browser.text.include?("User administration").should be_true
|
153
155
|
end
|
154
156
|
|
155
|
-
it "finds an existing link by (:index, Integer) and
|
157
|
+
it "finds an existing link by (:index, Integer) and clicks it" do
|
156
158
|
browser.link(:index, 2).click
|
157
159
|
browser.text.include?("User administration").should be_true
|
158
160
|
end
|
@@ -161,6 +163,12 @@ describe "Link" do
|
|
161
163
|
lambda { browser.link(:index, 1337).click }.should raise_error(UnknownObjectException)
|
162
164
|
end
|
163
165
|
|
166
|
+
it "clicks a link with no text content but an img child" do
|
167
|
+
browser.goto "#{WatirSpec.files}/images.html"
|
168
|
+
browser.link(:href => /definition_lists.html/).click
|
169
|
+
browser.title.should == 'definition_lists'
|
170
|
+
end
|
171
|
+
|
164
172
|
end
|
165
173
|
|
166
174
|
end
|
data/watir-webdriver.gemspec
CHANGED
@@ -1,198 +1,196 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{watir-webdriver}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Jari Bakken"]
|
12
|
-
s.date = %q{2010-11-
|
12
|
+
s.date = %q{2010-11-30}
|
13
13
|
s.description = %q{WebDriver-backed Watir}
|
14
14
|
s.email = %q{jari.bakken@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE",
|
17
|
-
|
17
|
+
"README.rdoc"
|
18
18
|
]
|
19
19
|
s.files = [
|
20
20
|
".document",
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
"watir-webdriver.gemspec"
|
21
|
+
".gitmodules",
|
22
|
+
"Gemfile",
|
23
|
+
"LICENSE",
|
24
|
+
"README.rdoc",
|
25
|
+
"Rakefile",
|
26
|
+
"VERSION",
|
27
|
+
"lib/watir-webdriver.rb",
|
28
|
+
"lib/watir-webdriver/attribute_helper.rb",
|
29
|
+
"lib/watir-webdriver/browser.rb",
|
30
|
+
"lib/watir-webdriver/browserbot.js",
|
31
|
+
"lib/watir-webdriver/cell_container.rb",
|
32
|
+
"lib/watir-webdriver/container.rb",
|
33
|
+
"lib/watir-webdriver/core_ext/string.rb",
|
34
|
+
"lib/watir-webdriver/element_collection.rb",
|
35
|
+
"lib/watir-webdriver/elements/button.rb",
|
36
|
+
"lib/watir-webdriver/elements/checkbox.rb",
|
37
|
+
"lib/watir-webdriver/elements/element.rb",
|
38
|
+
"lib/watir-webdriver/elements/file_field.rb",
|
39
|
+
"lib/watir-webdriver/elements/font.rb",
|
40
|
+
"lib/watir-webdriver/elements/form.rb",
|
41
|
+
"lib/watir-webdriver/elements/frame.rb",
|
42
|
+
"lib/watir-webdriver/elements/generated.rb",
|
43
|
+
"lib/watir-webdriver/elements/hidden.rb",
|
44
|
+
"lib/watir-webdriver/elements/image.rb",
|
45
|
+
"lib/watir-webdriver/elements/input.rb",
|
46
|
+
"lib/watir-webdriver/elements/link.rb",
|
47
|
+
"lib/watir-webdriver/elements/option.rb",
|
48
|
+
"lib/watir-webdriver/elements/radio.rb",
|
49
|
+
"lib/watir-webdriver/elements/select.rb",
|
50
|
+
"lib/watir-webdriver/elements/table.rb",
|
51
|
+
"lib/watir-webdriver/elements/table_cell.rb",
|
52
|
+
"lib/watir-webdriver/elements/table_row.rb",
|
53
|
+
"lib/watir-webdriver/elements/table_section.rb",
|
54
|
+
"lib/watir-webdriver/elements/text_field.rb",
|
55
|
+
"lib/watir-webdriver/exception.rb",
|
56
|
+
"lib/watir-webdriver/extensions/alerts.rb",
|
57
|
+
"lib/watir-webdriver/extensions/nokogiri.rb",
|
58
|
+
"lib/watir-webdriver/extensions/performance.rb",
|
59
|
+
"lib/watir-webdriver/extensions/wait.rb",
|
60
|
+
"lib/watir-webdriver/html.rb",
|
61
|
+
"lib/watir-webdriver/html/generator.rb",
|
62
|
+
"lib/watir-webdriver/html/idl_sorter.rb",
|
63
|
+
"lib/watir-webdriver/html/spec_extractor.rb",
|
64
|
+
"lib/watir-webdriver/html/util.rb",
|
65
|
+
"lib/watir-webdriver/html/visitor.rb",
|
66
|
+
"lib/watir-webdriver/locators/button_locator.rb",
|
67
|
+
"lib/watir-webdriver/locators/child_cell_locator.rb",
|
68
|
+
"lib/watir-webdriver/locators/child_row_locator.rb",
|
69
|
+
"lib/watir-webdriver/locators/element_locator.rb",
|
70
|
+
"lib/watir-webdriver/locators/text_field_locator.rb",
|
71
|
+
"lib/watir-webdriver/row_container.rb",
|
72
|
+
"lib/watir-webdriver/window_switching.rb",
|
73
|
+
"lib/watir-webdriver/xpath_support.rb",
|
74
|
+
"lib/yard/handlers/watir.rb",
|
75
|
+
"spec/alert_spec.rb",
|
76
|
+
"spec/browser_spec.rb",
|
77
|
+
"spec/container_spec.rb",
|
78
|
+
"spec/element_locator_spec.rb",
|
79
|
+
"spec/element_spec.rb",
|
80
|
+
"spec/html/alerts.html",
|
81
|
+
"spec/html/keylogger.html",
|
82
|
+
"spec/html/special_chars.html",
|
83
|
+
"spec/html/wait.html",
|
84
|
+
"spec/implementation.rb",
|
85
|
+
"spec/input_spec.rb",
|
86
|
+
"spec/locator_spec_helper.rb",
|
87
|
+
"spec/spec_helper.rb",
|
88
|
+
"spec/special_chars_spec.rb",
|
89
|
+
"spec/wait_spec.rb",
|
90
|
+
"support/html5.html",
|
91
|
+
"watir-webdriver.gemspec"
|
93
92
|
]
|
94
93
|
s.homepage = %q{http://github.com/jarib/watir-webdriver}
|
95
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
96
94
|
s.require_paths = ["lib"]
|
97
95
|
s.rubygems_version = %q{1.3.7}
|
98
96
|
s.summary = %q{Watir on WebDriver}
|
99
97
|
s.test_files = [
|
100
98
|
"spec/alert_spec.rb",
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
99
|
+
"spec/browser_spec.rb",
|
100
|
+
"spec/container_spec.rb",
|
101
|
+
"spec/element_locator_spec.rb",
|
102
|
+
"spec/element_spec.rb",
|
103
|
+
"spec/implementation.rb",
|
104
|
+
"spec/input_spec.rb",
|
105
|
+
"spec/locator_spec_helper.rb",
|
106
|
+
"spec/spec_helper.rb",
|
107
|
+
"spec/special_chars_spec.rb",
|
108
|
+
"spec/wait_spec.rb",
|
109
|
+
"spec/watirspec/area_spec.rb",
|
110
|
+
"spec/watirspec/areas_spec.rb",
|
111
|
+
"spec/watirspec/browser_spec.rb",
|
112
|
+
"spec/watirspec/button_spec.rb",
|
113
|
+
"spec/watirspec/buttons_spec.rb",
|
114
|
+
"spec/watirspec/checkbox_spec.rb",
|
115
|
+
"spec/watirspec/checkboxes_spec.rb",
|
116
|
+
"spec/watirspec/collections_spec.rb",
|
117
|
+
"spec/watirspec/dd_spec.rb",
|
118
|
+
"spec/watirspec/dds_spec.rb",
|
119
|
+
"spec/watirspec/del_spec.rb",
|
120
|
+
"spec/watirspec/dels_spec.rb",
|
121
|
+
"spec/watirspec/div_spec.rb",
|
122
|
+
"spec/watirspec/divs_spec.rb",
|
123
|
+
"spec/watirspec/dl_spec.rb",
|
124
|
+
"spec/watirspec/dls_spec.rb",
|
125
|
+
"spec/watirspec/dt_spec.rb",
|
126
|
+
"spec/watirspec/dts_spec.rb",
|
127
|
+
"spec/watirspec/element_spec.rb",
|
128
|
+
"spec/watirspec/em_spec.rb",
|
129
|
+
"spec/watirspec/ems_spec.rb",
|
130
|
+
"spec/watirspec/filefield_spec.rb",
|
131
|
+
"spec/watirspec/filefields_spec.rb",
|
132
|
+
"spec/watirspec/font_spec.rb",
|
133
|
+
"spec/watirspec/form_spec.rb",
|
134
|
+
"spec/watirspec/forms_spec.rb",
|
135
|
+
"spec/watirspec/frame_spec.rb",
|
136
|
+
"spec/watirspec/frames_spec.rb",
|
137
|
+
"spec/watirspec/hidden_spec.rb",
|
138
|
+
"spec/watirspec/hiddens_spec.rb",
|
139
|
+
"spec/watirspec/hn_spec.rb",
|
140
|
+
"spec/watirspec/hns_spec.rb",
|
141
|
+
"spec/watirspec/image_spec.rb",
|
142
|
+
"spec/watirspec/images_spec.rb",
|
143
|
+
"spec/watirspec/ins_spec.rb",
|
144
|
+
"spec/watirspec/inses_spec.rb",
|
145
|
+
"spec/watirspec/label_spec.rb",
|
146
|
+
"spec/watirspec/labels_spec.rb",
|
147
|
+
"spec/watirspec/li_spec.rb",
|
148
|
+
"spec/watirspec/lib/guards.rb",
|
149
|
+
"spec/watirspec/lib/implementation.rb",
|
150
|
+
"spec/watirspec/lib/runner.rb",
|
151
|
+
"spec/watirspec/lib/server.rb",
|
152
|
+
"spec/watirspec/lib/watirspec.rb",
|
153
|
+
"spec/watirspec/link_spec.rb",
|
154
|
+
"spec/watirspec/links_spec.rb",
|
155
|
+
"spec/watirspec/lis_spec.rb",
|
156
|
+
"spec/watirspec/map_spec.rb",
|
157
|
+
"spec/watirspec/maps_spec.rb",
|
158
|
+
"spec/watirspec/meta_spec.rb",
|
159
|
+
"spec/watirspec/metas_spec.rb",
|
160
|
+
"spec/watirspec/ol_spec.rb",
|
161
|
+
"spec/watirspec/ols_spec.rb",
|
162
|
+
"spec/watirspec/option_spec.rb",
|
163
|
+
"spec/watirspec/p_spec.rb",
|
164
|
+
"spec/watirspec/pre_spec.rb",
|
165
|
+
"spec/watirspec/pres_spec.rb",
|
166
|
+
"spec/watirspec/ps_spec.rb",
|
167
|
+
"spec/watirspec/radio_spec.rb",
|
168
|
+
"spec/watirspec/radios_spec.rb",
|
169
|
+
"spec/watirspec/select_list_spec.rb",
|
170
|
+
"spec/watirspec/select_lists_spec.rb",
|
171
|
+
"spec/watirspec/span_spec.rb",
|
172
|
+
"spec/watirspec/spans_spec.rb",
|
173
|
+
"spec/watirspec/spec_helper.rb",
|
174
|
+
"spec/watirspec/strong_spec.rb",
|
175
|
+
"spec/watirspec/strongs_spec.rb",
|
176
|
+
"spec/watirspec/table_nesting_spec.rb",
|
177
|
+
"spec/watirspec/table_spec.rb",
|
178
|
+
"spec/watirspec/tables_spec.rb",
|
179
|
+
"spec/watirspec/tbody_spec.rb",
|
180
|
+
"spec/watirspec/tbodys_spec.rb",
|
181
|
+
"spec/watirspec/td_spec.rb",
|
182
|
+
"spec/watirspec/tds_spec.rb",
|
183
|
+
"spec/watirspec/text_field_spec.rb",
|
184
|
+
"spec/watirspec/text_fields_spec.rb",
|
185
|
+
"spec/watirspec/tfoot_spec.rb",
|
186
|
+
"spec/watirspec/tfoots_spec.rb",
|
187
|
+
"spec/watirspec/thead_spec.rb",
|
188
|
+
"spec/watirspec/theads_spec.rb",
|
189
|
+
"spec/watirspec/tr_spec.rb",
|
190
|
+
"spec/watirspec/trs_spec.rb",
|
191
|
+
"spec/watirspec/ul_spec.rb",
|
192
|
+
"spec/watirspec/uls_spec.rb",
|
193
|
+
"spec/watirspec/window_switching_spec.rb"
|
196
194
|
]
|
197
195
|
|
198
196
|
if s.respond_to? :specification_version then
|
@@ -200,7 +198,16 @@ Gem::Specification.new do |s|
|
|
200
198
|
s.specification_version = 3
|
201
199
|
|
202
200
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
203
|
-
s.add_runtime_dependency(%q<
|
201
|
+
s.add_runtime_dependency(%q<jeweler>, [">= 0"])
|
202
|
+
s.add_runtime_dependency(%q<watir-webdriver>, [">= 0"])
|
203
|
+
s.add_runtime_dependency(%q<selenium-webdriver>, [">= 0.1.0"])
|
204
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.1.0"])
|
205
|
+
s.add_development_dependency(%q<yard>, ["~> 0.6"])
|
206
|
+
s.add_development_dependency(%q<webidl>, [">= 0.0.6"])
|
207
|
+
s.add_development_dependency(%q<sinatra>, ["~> 1.0"])
|
208
|
+
s.add_development_dependency(%q<nokogiri>, [">= 0"])
|
209
|
+
s.add_development_dependency(%q<activesupport>, ["~> 2.3.5"])
|
210
|
+
s.add_runtime_dependency(%q<selenium-webdriver>, [">= 0.1.0"])
|
204
211
|
s.add_development_dependency(%q<rspec>, ["~> 2.1.0"])
|
205
212
|
s.add_development_dependency(%q<yard>, ["~> 0.6"])
|
206
213
|
s.add_development_dependency(%q<webidl>, [">= 0.0.6"])
|
@@ -208,7 +215,16 @@ Gem::Specification.new do |s|
|
|
208
215
|
s.add_development_dependency(%q<nokogiri>, [">= 0"])
|
209
216
|
s.add_development_dependency(%q<activesupport>, ["~> 2.3.5"])
|
210
217
|
else
|
211
|
-
s.add_dependency(%q<
|
218
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
219
|
+
s.add_dependency(%q<watir-webdriver>, [">= 0"])
|
220
|
+
s.add_dependency(%q<selenium-webdriver>, [">= 0.1.0"])
|
221
|
+
s.add_dependency(%q<rspec>, ["~> 2.1.0"])
|
222
|
+
s.add_dependency(%q<yard>, ["~> 0.6"])
|
223
|
+
s.add_dependency(%q<webidl>, [">= 0.0.6"])
|
224
|
+
s.add_dependency(%q<sinatra>, ["~> 1.0"])
|
225
|
+
s.add_dependency(%q<nokogiri>, [">= 0"])
|
226
|
+
s.add_dependency(%q<activesupport>, ["~> 2.3.5"])
|
227
|
+
s.add_dependency(%q<selenium-webdriver>, [">= 0.1.0"])
|
212
228
|
s.add_dependency(%q<rspec>, ["~> 2.1.0"])
|
213
229
|
s.add_dependency(%q<yard>, ["~> 0.6"])
|
214
230
|
s.add_dependency(%q<webidl>, [">= 0.0.6"])
|
@@ -217,7 +233,16 @@ Gem::Specification.new do |s|
|
|
217
233
|
s.add_dependency(%q<activesupport>, ["~> 2.3.5"])
|
218
234
|
end
|
219
235
|
else
|
220
|
-
s.add_dependency(%q<
|
236
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
237
|
+
s.add_dependency(%q<watir-webdriver>, [">= 0"])
|
238
|
+
s.add_dependency(%q<selenium-webdriver>, [">= 0.1.0"])
|
239
|
+
s.add_dependency(%q<rspec>, ["~> 2.1.0"])
|
240
|
+
s.add_dependency(%q<yard>, ["~> 0.6"])
|
241
|
+
s.add_dependency(%q<webidl>, [">= 0.0.6"])
|
242
|
+
s.add_dependency(%q<sinatra>, ["~> 1.0"])
|
243
|
+
s.add_dependency(%q<nokogiri>, [">= 0"])
|
244
|
+
s.add_dependency(%q<activesupport>, ["~> 2.3.5"])
|
245
|
+
s.add_dependency(%q<selenium-webdriver>, [">= 0.1.0"])
|
221
246
|
s.add_dependency(%q<rspec>, ["~> 2.1.0"])
|
222
247
|
s.add_dependency(%q<yard>, ["~> 0.6"])
|
223
248
|
s.add_dependency(%q<webidl>, [">= 0.0.6"])
|
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: watir-webdriver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 29
|
5
4
|
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 0
|
8
7
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
8
|
+
- 4
|
9
|
+
version: 0.1.4
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Jari Bakken
|
@@ -15,117 +14,237 @@ autorequire:
|
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
16
|
|
18
|
-
date: 2010-11-
|
17
|
+
date: 2010-11-30 00:00:00 +01:00
|
19
18
|
default_executable:
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
22
|
-
name:
|
23
|
-
prerelease: false
|
21
|
+
name: jeweler
|
24
22
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
23
|
none: false
|
26
24
|
requirements:
|
27
|
-
- - "
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 0
|
29
|
+
version: "0"
|
30
|
+
type: :runtime
|
31
|
+
prerelease: false
|
32
|
+
version_requirements: *id001
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: watir-webdriver
|
35
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
36
|
+
none: false
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
segments:
|
41
|
+
- 0
|
42
|
+
version: "0"
|
43
|
+
type: :runtime
|
44
|
+
prerelease: false
|
45
|
+
version_requirements: *id002
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: selenium-webdriver
|
48
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
28
52
|
- !ruby/object:Gem::Version
|
29
|
-
hash: 27
|
30
53
|
segments:
|
31
54
|
- 0
|
32
55
|
- 1
|
33
56
|
- 0
|
34
57
|
version: 0.1.0
|
35
58
|
type: :runtime
|
36
|
-
|
59
|
+
prerelease: false
|
60
|
+
version_requirements: *id003
|
37
61
|
- !ruby/object:Gem::Dependency
|
38
62
|
name: rspec
|
39
|
-
|
40
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
63
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
41
64
|
none: false
|
42
65
|
requirements:
|
43
66
|
- - ~>
|
44
67
|
- !ruby/object:Gem::Version
|
45
|
-
hash: 11
|
46
68
|
segments:
|
47
69
|
- 2
|
48
70
|
- 1
|
49
71
|
- 0
|
50
72
|
version: 2.1.0
|
51
73
|
type: :development
|
52
|
-
|
74
|
+
prerelease: false
|
75
|
+
version_requirements: *id004
|
53
76
|
- !ruby/object:Gem::Dependency
|
54
77
|
name: yard
|
55
|
-
|
56
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
78
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
57
79
|
none: false
|
58
80
|
requirements:
|
59
81
|
- - ~>
|
60
82
|
- !ruby/object:Gem::Version
|
61
|
-
hash: 7
|
62
83
|
segments:
|
63
84
|
- 0
|
64
85
|
- 6
|
65
86
|
version: "0.6"
|
66
87
|
type: :development
|
67
|
-
|
88
|
+
prerelease: false
|
89
|
+
version_requirements: *id005
|
68
90
|
- !ruby/object:Gem::Dependency
|
69
91
|
name: webidl
|
70
|
-
|
71
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
92
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
72
93
|
none: false
|
73
94
|
requirements:
|
74
95
|
- - ">="
|
75
96
|
- !ruby/object:Gem::Version
|
76
|
-
hash: 19
|
77
97
|
segments:
|
78
98
|
- 0
|
79
99
|
- 0
|
80
100
|
- 6
|
81
101
|
version: 0.0.6
|
82
102
|
type: :development
|
83
|
-
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: *id006
|
84
105
|
- !ruby/object:Gem::Dependency
|
85
106
|
name: sinatra
|
86
|
-
|
87
|
-
requirement: &id005 !ruby/object:Gem::Requirement
|
107
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
88
108
|
none: false
|
89
109
|
requirements:
|
90
110
|
- - ~>
|
91
111
|
- !ruby/object:Gem::Version
|
92
|
-
hash: 15
|
93
112
|
segments:
|
94
113
|
- 1
|
95
114
|
- 0
|
96
115
|
version: "1.0"
|
97
116
|
type: :development
|
98
|
-
|
117
|
+
prerelease: false
|
118
|
+
version_requirements: *id007
|
99
119
|
- !ruby/object:Gem::Dependency
|
100
120
|
name: nokogiri
|
101
|
-
|
102
|
-
requirement: &id006 !ruby/object:Gem::Requirement
|
121
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
103
122
|
none: false
|
104
123
|
requirements:
|
105
124
|
- - ">="
|
106
125
|
- !ruby/object:Gem::Version
|
107
|
-
hash: 3
|
108
126
|
segments:
|
109
127
|
- 0
|
110
128
|
version: "0"
|
111
129
|
type: :development
|
112
|
-
|
130
|
+
prerelease: false
|
131
|
+
version_requirements: *id008
|
113
132
|
- !ruby/object:Gem::Dependency
|
114
133
|
name: activesupport
|
134
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
135
|
+
none: false
|
136
|
+
requirements:
|
137
|
+
- - ~>
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
segments:
|
140
|
+
- 2
|
141
|
+
- 3
|
142
|
+
- 5
|
143
|
+
version: 2.3.5
|
144
|
+
type: :development
|
115
145
|
prerelease: false
|
116
|
-
|
146
|
+
version_requirements: *id009
|
147
|
+
- !ruby/object:Gem::Dependency
|
148
|
+
name: selenium-webdriver
|
149
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
150
|
+
none: false
|
151
|
+
requirements:
|
152
|
+
- - ">="
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
segments:
|
155
|
+
- 0
|
156
|
+
- 1
|
157
|
+
- 0
|
158
|
+
version: 0.1.0
|
159
|
+
type: :runtime
|
160
|
+
prerelease: false
|
161
|
+
version_requirements: *id010
|
162
|
+
- !ruby/object:Gem::Dependency
|
163
|
+
name: rspec
|
164
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
165
|
+
none: false
|
166
|
+
requirements:
|
167
|
+
- - ~>
|
168
|
+
- !ruby/object:Gem::Version
|
169
|
+
segments:
|
170
|
+
- 2
|
171
|
+
- 1
|
172
|
+
- 0
|
173
|
+
version: 2.1.0
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: *id011
|
177
|
+
- !ruby/object:Gem::Dependency
|
178
|
+
name: yard
|
179
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
180
|
+
none: false
|
181
|
+
requirements:
|
182
|
+
- - ~>
|
183
|
+
- !ruby/object:Gem::Version
|
184
|
+
segments:
|
185
|
+
- 0
|
186
|
+
- 6
|
187
|
+
version: "0.6"
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: *id012
|
191
|
+
- !ruby/object:Gem::Dependency
|
192
|
+
name: webidl
|
193
|
+
requirement: &id013 !ruby/object:Gem::Requirement
|
194
|
+
none: false
|
195
|
+
requirements:
|
196
|
+
- - ">="
|
197
|
+
- !ruby/object:Gem::Version
|
198
|
+
segments:
|
199
|
+
- 0
|
200
|
+
- 0
|
201
|
+
- 6
|
202
|
+
version: 0.0.6
|
203
|
+
type: :development
|
204
|
+
prerelease: false
|
205
|
+
version_requirements: *id013
|
206
|
+
- !ruby/object:Gem::Dependency
|
207
|
+
name: sinatra
|
208
|
+
requirement: &id014 !ruby/object:Gem::Requirement
|
209
|
+
none: false
|
210
|
+
requirements:
|
211
|
+
- - ~>
|
212
|
+
- !ruby/object:Gem::Version
|
213
|
+
segments:
|
214
|
+
- 1
|
215
|
+
- 0
|
216
|
+
version: "1.0"
|
217
|
+
type: :development
|
218
|
+
prerelease: false
|
219
|
+
version_requirements: *id014
|
220
|
+
- !ruby/object:Gem::Dependency
|
221
|
+
name: nokogiri
|
222
|
+
requirement: &id015 !ruby/object:Gem::Requirement
|
223
|
+
none: false
|
224
|
+
requirements:
|
225
|
+
- - ">="
|
226
|
+
- !ruby/object:Gem::Version
|
227
|
+
segments:
|
228
|
+
- 0
|
229
|
+
version: "0"
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: *id015
|
233
|
+
- !ruby/object:Gem::Dependency
|
234
|
+
name: activesupport
|
235
|
+
requirement: &id016 !ruby/object:Gem::Requirement
|
117
236
|
none: false
|
118
237
|
requirements:
|
119
238
|
- - ~>
|
120
239
|
- !ruby/object:Gem::Version
|
121
|
-
hash: 9
|
122
240
|
segments:
|
123
241
|
- 2
|
124
242
|
- 3
|
125
243
|
- 5
|
126
244
|
version: 2.3.5
|
127
245
|
type: :development
|
128
|
-
|
246
|
+
prerelease: false
|
247
|
+
version_requirements: *id016
|
129
248
|
description: WebDriver-backed Watir
|
130
249
|
email: jari.bakken@gmail.com
|
131
250
|
executables: []
|
@@ -137,7 +256,6 @@ extra_rdoc_files:
|
|
137
256
|
- README.rdoc
|
138
257
|
files:
|
139
258
|
- .document
|
140
|
-
- .gitignore
|
141
259
|
- .gitmodules
|
142
260
|
- Gemfile
|
143
261
|
- LICENSE
|
@@ -299,8 +417,8 @@ homepage: http://github.com/jarib/watir-webdriver
|
|
299
417
|
licenses: []
|
300
418
|
|
301
419
|
post_install_message:
|
302
|
-
rdoc_options:
|
303
|
-
|
420
|
+
rdoc_options: []
|
421
|
+
|
304
422
|
require_paths:
|
305
423
|
- lib
|
306
424
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -308,7 +426,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
308
426
|
requirements:
|
309
427
|
- - ">="
|
310
428
|
- !ruby/object:Gem::Version
|
311
|
-
hash: 3
|
312
429
|
segments:
|
313
430
|
- 0
|
314
431
|
version: "0"
|
@@ -317,7 +434,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
317
434
|
requirements:
|
318
435
|
- - ">="
|
319
436
|
- !ruby/object:Gem::Version
|
320
|
-
hash: 3
|
321
437
|
segments:
|
322
438
|
- 0
|
323
439
|
version: "0"
|