forked from brynary/webrat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
webrat.gemspec
355 lines (351 loc) · 16.1 KB
/
webrat.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
93
94
95
96
97
98
99
100
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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = %q{webrat}
s.version = "0.7.5"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Bryan Helmkamp"]
s.date = %q{2011-01-01}
s.description = %q{Webrat lets you quickly write expressive and robust acceptance tests
for a Ruby web application. It supports simulating a browser inside
a Ruby process to avoid the performance hit and browser dependency of
Selenium or Watir, but the same API can also be used to drive real
Selenium tests when necessary (eg. for testing AJAX interactions).
Most Ruby web frameworks and testing frameworks are supported.}
s.email = %q{[email protected]}
s.extra_rdoc_files = [
"README.rdoc",
"MIT-LICENSE.txt",
"History.txt"
]
s.files = [
".document",
".gitignore",
"Gemfile",
"History.txt",
"MIT-LICENSE.txt",
"README.rdoc",
"Rakefile",
"Thorfile",
"install.rb",
"lib/webrat.rb",
"lib/webrat/adapters/mechanize.rb",
"lib/webrat/adapters/merb.rb",
"lib/webrat/adapters/rack.rb",
"lib/webrat/adapters/rails.rb",
"lib/webrat/adapters/sinatra.rb",
"lib/webrat/core.rb",
"lib/webrat/core/configuration.rb",
"lib/webrat/core/elements/area.rb",
"lib/webrat/core/elements/element.rb",
"lib/webrat/core/elements/field.rb",
"lib/webrat/core/elements/form.rb",
"lib/webrat/core/elements/label.rb",
"lib/webrat/core/elements/link.rb",
"lib/webrat/core/elements/select_option.rb",
"lib/webrat/core/locators.rb",
"lib/webrat/core/locators/area_locator.rb",
"lib/webrat/core/locators/button_locator.rb",
"lib/webrat/core/locators/field_by_id_locator.rb",
"lib/webrat/core/locators/field_labeled_locator.rb",
"lib/webrat/core/locators/field_locator.rb",
"lib/webrat/core/locators/field_named_locator.rb",
"lib/webrat/core/locators/form_locator.rb",
"lib/webrat/core/locators/label_locator.rb",
"lib/webrat/core/locators/link_locator.rb",
"lib/webrat/core/locators/locator.rb",
"lib/webrat/core/locators/select_option_locator.rb",
"lib/webrat/core/logging.rb",
"lib/webrat/core/matchers.rb",
"lib/webrat/core/matchers/have_content.rb",
"lib/webrat/core/matchers/have_selector.rb",
"lib/webrat/core/matchers/have_tag.rb",
"lib/webrat/core/matchers/have_xpath.rb",
"lib/webrat/core/methods.rb",
"lib/webrat/core/mime.rb",
"lib/webrat/core/save_and_open_page.rb",
"lib/webrat/core/scope.rb",
"lib/webrat/core/session.rb",
"lib/webrat/core/xml.rb",
"lib/webrat/core_extensions/blank.rb",
"lib/webrat/core_extensions/deprecate.rb",
"lib/webrat/core_extensions/detect_mapped.rb",
"lib/webrat/core_extensions/meta_class.rb",
"lib/webrat/core_extensions/nil_to_query_string.rb",
"lib/webrat/core_extensions/tcp_socket.rb",
"lib/webrat/integrations/merb.rb",
"lib/webrat/integrations/rack.rb",
"lib/webrat/integrations/rails.rb",
"lib/webrat/integrations/rspec-rails.rb",
"lib/webrat/integrations/selenium.rb",
"lib/webrat/merb.rb",
"lib/webrat/rspec-rails.rb",
"lib/webrat/selenium.rb",
"lib/webrat/selenium/application_server_factory.rb",
"lib/webrat/selenium/application_servers.rb",
"lib/webrat/selenium/application_servers/base.rb",
"lib/webrat/selenium/application_servers/external.rb",
"lib/webrat/selenium/application_servers/merb.rb",
"lib/webrat/selenium/application_servers/rack.rb",
"lib/webrat/selenium/application_servers/rails.rb",
"lib/webrat/selenium/application_servers/sinatra.rb",
"lib/webrat/selenium/location_strategy_javascript/button.js",
"lib/webrat/selenium/location_strategy_javascript/label.js",
"lib/webrat/selenium/location_strategy_javascript/webrat.js",
"lib/webrat/selenium/location_strategy_javascript/webratlink.js",
"lib/webrat/selenium/location_strategy_javascript/webratlinkwithin.js",
"lib/webrat/selenium/location_strategy_javascript/webratselectwithoption.js",
"lib/webrat/selenium/matchers.rb",
"lib/webrat/selenium/matchers/have_content.rb",
"lib/webrat/selenium/matchers/have_selector.rb",
"lib/webrat/selenium/matchers/have_tag.rb",
"lib/webrat/selenium/matchers/have_xpath.rb",
"lib/webrat/selenium/selenium_extensions.js",
"lib/webrat/selenium/selenium_rc_server.rb",
"lib/webrat/selenium/selenium_session.rb",
"lib/webrat/selenium/silence_stream.rb",
"spec/fakes/test_adapter.rb",
"spec/integration/mechanize/Rakefile",
"spec/integration/mechanize/config.ru",
"spec/integration/mechanize/sample_app.rb",
"spec/integration/mechanize/spec/mechanize_spec.rb",
"spec/integration/mechanize/spec/spec_helper.rb",
"spec/integration/merb/.gitignore",
"spec/integration/merb/Rakefile",
"spec/integration/merb/app/controllers/application.rb",
"spec/integration/merb/app/controllers/exceptions.rb",
"spec/integration/merb/app/controllers/testing.rb",
"spec/integration/merb/app/views/exceptions/not_acceptable.html.erb",
"spec/integration/merb/app/views/exceptions/not_found.html.erb",
"spec/integration/merb/app/views/layout/application.html.erb",
"spec/integration/merb/app/views/testing/show_form.html.erb",
"spec/integration/merb/app/views/testing/upload.html.erb",
"spec/integration/merb/config/environments/development.rb",
"spec/integration/merb/config/environments/rake.rb",
"spec/integration/merb/config/environments/test.rb",
"spec/integration/merb/config/init.rb",
"spec/integration/merb/config/rack.rb",
"spec/integration/merb/config/router.rb",
"spec/integration/merb/spec/spec.opts",
"spec/integration/merb/spec/spec_helper.rb",
"spec/integration/merb/spec/webrat_spec.rb",
"spec/integration/merb/tasks/merb.thor/app_script.rb",
"spec/integration/merb/tasks/merb.thor/common.rb",
"spec/integration/merb/tasks/merb.thor/gem_ext.rb",
"spec/integration/merb/tasks/merb.thor/main.thor",
"spec/integration/merb/tasks/merb.thor/ops.rb",
"spec/integration/merb/tasks/merb.thor/utils.rb",
"spec/integration/rack/Rakefile",
"spec/integration/rack/app.rb",
"spec/integration/rack/test/helper.rb",
"spec/integration/rack/test/webrat_rack_test.rb",
"spec/integration/rails/.gitignore",
"spec/integration/rails/Rakefile",
"spec/integration/rails/app/controllers/application_controller.rb",
"spec/integration/rails/app/controllers/buttons_controller.rb",
"spec/integration/rails/app/controllers/fields_controller.rb",
"spec/integration/rails/app/controllers/links_controller.rb",
"spec/integration/rails/app/controllers/webrat_controller.rb",
"spec/integration/rails/app/helpers/buttons_helper.rb",
"spec/integration/rails/app/helpers/fields_helper.rb",
"spec/integration/rails/app/helpers/links_helper.rb",
"spec/integration/rails/app/views/buttons/show.html.erb",
"spec/integration/rails/app/views/fields/show.html.erb",
"spec/integration/rails/app/views/links/show.html.erb",
"spec/integration/rails/app/views/webrat/before_redirect_form.html.erb",
"spec/integration/rails/app/views/webrat/buttons.html.erb",
"spec/integration/rails/app/views/webrat/form.html.erb",
"spec/integration/rails/app/views/webrat/within.html.erb",
"spec/integration/rails/config/boot.rb",
"spec/integration/rails/config/environment.rb",
"spec/integration/rails/config/environments/development.rb",
"spec/integration/rails/config/environments/selenium.rb",
"spec/integration/rails/config/environments/test.rb",
"spec/integration/rails/config/initializers/inflections.rb",
"spec/integration/rails/config/initializers/mime_types.rb",
"spec/integration/rails/config/initializers/new_rails_defaults.rb",
"spec/integration/rails/config/locales/en.yml",
"spec/integration/rails/config/routes.rb",
"spec/integration/rails/public/404.html",
"spec/integration/rails/public/422.html",
"spec/integration/rails/public/500.html",
"spec/integration/rails/script/about",
"spec/integration/rails/script/console",
"spec/integration/rails/script/dbconsole",
"spec/integration/rails/script/destroy",
"spec/integration/rails/script/generate",
"spec/integration/rails/script/performance/benchmarker",
"spec/integration/rails/script/performance/profiler",
"spec/integration/rails/script/performance/request",
"spec/integration/rails/script/plugin",
"spec/integration/rails/script/process/inspector",
"spec/integration/rails/script/process/reaper",
"spec/integration/rails/script/process/spawner",
"spec/integration/rails/script/runner",
"spec/integration/rails/script/server",
"spec/integration/rails/test/integration/button_click_test.rb",
"spec/integration/rails/test/integration/fill_in_test.rb",
"spec/integration/rails/test/integration/link_click_test.rb",
"spec/integration/rails/test/integration/webrat_test.rb",
"spec/integration/rails/test/test_helper.rb",
"spec/integration/sinatra/Rakefile",
"spec/integration/sinatra/classic_app.rb",
"spec/integration/sinatra/modular_app.rb",
"spec/integration/sinatra/test/classic_app_test.rb",
"spec/integration/sinatra/test/modular_app_test.rb",
"spec/integration/sinatra/test/test_helper.rb",
"spec/private/core/configuration_spec.rb",
"spec/private/core/field_spec.rb",
"spec/private/core/form_spec.rb",
"spec/private/core/link_spec.rb",
"spec/private/core/session_spec.rb",
"spec/private/mechanize/mechanize_adapter_spec.rb",
"spec/private/nokogiri_spec.rb",
"spec/private/rails/attaches_file_spec.rb",
"spec/private/rails/rails_adapter_spec.rb",
"spec/private/selenium/application_servers/rails_spec.rb",
"spec/public/basic_auth_spec.rb",
"spec/public/check_spec.rb",
"spec/public/choose_spec.rb",
"spec/public/click_area_spec.rb",
"spec/public/click_button_spec.rb",
"spec/public/click_link_spec.rb",
"spec/public/fill_in_spec.rb",
"spec/public/locators/field_by_xpath_spec.rb",
"spec/public/locators/field_labeled_spec.rb",
"spec/public/locators/field_with_id_spec.rb",
"spec/public/matchers/contain_spec.rb",
"spec/public/matchers/have_selector_spec.rb",
"spec/public/matchers/have_tag_spec.rb",
"spec/public/matchers/have_xpath_spec.rb",
"spec/public/reload_spec.rb",
"spec/public/save_and_open_spec.rb",
"spec/public/select_date_spec.rb",
"spec/public/select_datetime_spec.rb",
"spec/public/select_spec.rb",
"spec/public/select_time_spec.rb",
"spec/public/selenium/application_server_factory_spec.rb",
"spec/public/selenium/application_servers/external_spec.rb",
"spec/public/selenium/selenium_session_spec.rb",
"spec/public/set_hidden_field_spec.rb",
"spec/public/submit_form_spec.rb",
"spec/public/visit_spec.rb",
"spec/public/within_spec.rb",
"spec/rcov.opts",
"spec/spec.opts",
"spec/spec_helper.rb",
"vendor/selenium-server.jar",
"webrat.gemspec"
]
s.homepage = %q{http://github.com/brynary/webrat}
s.require_paths = ["lib"]
s.rubyforge_project = %q{webrat}
s.rubygems_version = %q{1.3.7}
s.summary = %q{Ruby Acceptance Testing for Web applications}
s.test_files = [
"spec/fakes/test_adapter.rb",
"spec/integration/mechanize/sample_app.rb",
"spec/integration/mechanize/spec/mechanize_spec.rb",
"spec/integration/mechanize/spec/spec_helper.rb",
"spec/integration/merb/app/controllers/application.rb",
"spec/integration/merb/app/controllers/exceptions.rb",
"spec/integration/merb/app/controllers/testing.rb",
"spec/integration/merb/config/environments/development.rb",
"spec/integration/merb/config/environments/rake.rb",
"spec/integration/merb/config/environments/test.rb",
"spec/integration/merb/config/init.rb",
"spec/integration/merb/config/rack.rb",
"spec/integration/merb/config/router.rb",
"spec/integration/merb/spec/spec_helper.rb",
"spec/integration/merb/spec/webrat_spec.rb",
"spec/integration/merb/tasks/merb.thor/app_script.rb",
"spec/integration/merb/tasks/merb.thor/common.rb",
"spec/integration/merb/tasks/merb.thor/gem_ext.rb",
"spec/integration/merb/tasks/merb.thor/ops.rb",
"spec/integration/merb/tasks/merb.thor/utils.rb",
"spec/integration/rack/app.rb",
"spec/integration/rack/test/helper.rb",
"spec/integration/rack/test/webrat_rack_test.rb",
"spec/integration/rails/app/controllers/application_controller.rb",
"spec/integration/rails/app/controllers/buttons_controller.rb",
"spec/integration/rails/app/controllers/fields_controller.rb",
"spec/integration/rails/app/controllers/links_controller.rb",
"spec/integration/rails/app/controllers/webrat_controller.rb",
"spec/integration/rails/app/helpers/buttons_helper.rb",
"spec/integration/rails/app/helpers/fields_helper.rb",
"spec/integration/rails/app/helpers/links_helper.rb",
"spec/integration/rails/config/boot.rb",
"spec/integration/rails/config/environment.rb",
"spec/integration/rails/config/environments/development.rb",
"spec/integration/rails/config/environments/selenium.rb",
"spec/integration/rails/config/environments/test.rb",
"spec/integration/rails/config/initializers/inflections.rb",
"spec/integration/rails/config/initializers/mime_types.rb",
"spec/integration/rails/config/initializers/new_rails_defaults.rb",
"spec/integration/rails/config/routes.rb",
"spec/integration/rails/test/integration/button_click_test.rb",
"spec/integration/rails/test/integration/fill_in_test.rb",
"spec/integration/rails/test/integration/link_click_test.rb",
"spec/integration/rails/test/integration/webrat_test.rb",
"spec/integration/rails/test/test_helper.rb",
"spec/integration/sinatra/classic_app.rb",
"spec/integration/sinatra/modular_app.rb",
"spec/integration/sinatra/test/classic_app_test.rb",
"spec/integration/sinatra/test/modular_app_test.rb",
"spec/integration/sinatra/test/test_helper.rb",
"spec/private/core/configuration_spec.rb",
"spec/private/core/field_spec.rb",
"spec/private/core/form_spec.rb",
"spec/private/core/link_spec.rb",
"spec/private/core/session_spec.rb",
"spec/private/mechanize/mechanize_adapter_spec.rb",
"spec/private/nokogiri_spec.rb",
"spec/private/rails/attaches_file_spec.rb",
"spec/private/rails/rails_adapter_spec.rb",
"spec/private/selenium/application_servers/rails_spec.rb",
"spec/public/basic_auth_spec.rb",
"spec/public/check_spec.rb",
"spec/public/choose_spec.rb",
"spec/public/click_area_spec.rb",
"spec/public/click_button_spec.rb",
"spec/public/click_link_spec.rb",
"spec/public/fill_in_spec.rb",
"spec/public/locators/field_by_xpath_spec.rb",
"spec/public/locators/field_labeled_spec.rb",
"spec/public/locators/field_with_id_spec.rb",
"spec/public/matchers/contain_spec.rb",
"spec/public/matchers/have_selector_spec.rb",
"spec/public/matchers/have_tag_spec.rb",
"spec/public/matchers/have_xpath_spec.rb",
"spec/public/reload_spec.rb",
"spec/public/save_and_open_spec.rb",
"spec/public/select_date_spec.rb",
"spec/public/select_datetime_spec.rb",
"spec/public/select_spec.rb",
"spec/public/select_time_spec.rb",
"spec/public/selenium/application_server_factory_spec.rb",
"spec/public/selenium/application_servers/external_spec.rb",
"spec/public/selenium/selenium_session_spec.rb",
"spec/public/set_hidden_field_spec.rb",
"spec/public/submit_form_spec.rb",
"spec/public/visit_spec.rb",
"spec/public/within_spec.rb",
"spec/spec_helper.rb"
]
if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<nokogiri>, [">= 1.2.0"])
s.add_runtime_dependency(%q<rack>, [">= 1.0"])
s.add_runtime_dependency(%q<rack-test>, [">= 0.5.3"])
else
s.add_dependency(%q<nokogiri>, [">= 1.2.0"])
s.add_dependency(%q<rack>, [">= 1.0"])
s.add_dependency(%q<rack-test>, [">= 0.5.3"])
end
else
s.add_dependency(%q<nokogiri>, [">= 1.2.0"])
s.add_dependency(%q<rack>, [">= 1.0"])
s.add_dependency(%q<rack-test>, [">= 0.5.3"])
end
end