celerity 0.8.2 → 0.8.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/celerity.gemspec +10 -10
- data/lib/celerity/elements/button.rb +2 -2
- data/lib/celerity/htmlunit/commons-io-2.0.jar +0 -0
- data/lib/celerity/htmlunit/htmlunit-2.9-SNAPSHOT.jar +0 -0
- data/lib/celerity/htmlunit/{htmlunit-core-js-2.8.jar → htmlunit-core-js-2.9-SNAPSHOT.jar} +0 -0
- data/lib/celerity/htmlunit/{httpclient-4.0.1.jar → httpclient-4.0.3.jar} +0 -0
- data/lib/celerity/htmlunit/{httpmime-4.0.1.jar → httpmime-4.0.3.jar} +0 -0
- data/lib/celerity/htmlunit/{nekohtml-1.9.14.jar → nekohtml-1.9.15-20101026.093020-2.jar} +0 -0
- data/lib/celerity/version.rb +2 -2
- data/tasks/jeweler.rake +1 -1
- data/tasks/spec.rake +7 -6
- metadata +153 -151
- data/lib/celerity/htmlunit/commons-io-1.4.jar +0 -0
data/VERSION.yml
CHANGED
data/celerity.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{celerity}
|
8
|
-
s.version = "0.8.
|
8
|
+
s.version = "0.8.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", "T. Alexander Lystad", "Knut Johannes Dahle"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-11-12}
|
13
13
|
s.description = %q{Celerity is a JRuby wrapper around HtmlUnit – a headless Java browser with JavaScript support. It provides a simple API for programmatic navigation through web applications. Celerity provides a superset of Watir's API.}
|
14
14
|
s.email = %q{jari.bakken@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -55,16 +55,16 @@ Gem::Specification.new do |s|
|
|
55
55
|
"lib/celerity/htmlunit/apache-mime4j-0.6.jar",
|
56
56
|
"lib/celerity/htmlunit/commons-codec-1.4.jar",
|
57
57
|
"lib/celerity/htmlunit/commons-collections-3.2.1.jar",
|
58
|
-
"lib/celerity/htmlunit/commons-io-
|
58
|
+
"lib/celerity/htmlunit/commons-io-2.0.jar",
|
59
59
|
"lib/celerity/htmlunit/commons-lang-2.5.jar",
|
60
60
|
"lib/celerity/htmlunit/commons-logging-1.1.1.jar",
|
61
61
|
"lib/celerity/htmlunit/cssparser-0.9.5.jar",
|
62
62
|
"lib/celerity/htmlunit/htmlunit-2.9-SNAPSHOT.jar",
|
63
|
-
"lib/celerity/htmlunit/htmlunit-core-js-2.
|
64
|
-
"lib/celerity/htmlunit/httpclient-4.0.
|
63
|
+
"lib/celerity/htmlunit/htmlunit-core-js-2.9-SNAPSHOT.jar",
|
64
|
+
"lib/celerity/htmlunit/httpclient-4.0.3.jar",
|
65
65
|
"lib/celerity/htmlunit/httpcore-4.0.1.jar",
|
66
|
-
"lib/celerity/htmlunit/httpmime-4.0.
|
67
|
-
"lib/celerity/htmlunit/nekohtml-1.9.
|
66
|
+
"lib/celerity/htmlunit/httpmime-4.0.3.jar",
|
67
|
+
"lib/celerity/htmlunit/nekohtml-1.9.15-20101026.093020-2.jar",
|
68
68
|
"lib/celerity/htmlunit/sac-1.3.jar",
|
69
69
|
"lib/celerity/htmlunit/serializer-2.7.1.jar",
|
70
70
|
"lib/celerity/htmlunit/xalan-2.7.1.jar",
|
@@ -106,18 +106,18 @@ Gem::Specification.new do |s|
|
|
106
106
|
s.specification_version = 3
|
107
107
|
|
108
108
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
109
|
-
s.add_development_dependency(%q<rspec>, ["
|
109
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.0.0"])
|
110
110
|
s.add_development_dependency(%q<yard>, [">= 0"])
|
111
111
|
s.add_development_dependency(%q<sinatra>, [">= 1.0"])
|
112
112
|
s.add_development_dependency(%q<mongrel>, [">= 0"])
|
113
113
|
else
|
114
|
-
s.add_dependency(%q<rspec>, ["
|
114
|
+
s.add_dependency(%q<rspec>, ["~> 2.0.0"])
|
115
115
|
s.add_dependency(%q<yard>, [">= 0"])
|
116
116
|
s.add_dependency(%q<sinatra>, [">= 1.0"])
|
117
117
|
s.add_dependency(%q<mongrel>, [">= 0"])
|
118
118
|
end
|
119
119
|
else
|
120
|
-
s.add_dependency(%q<rspec>, ["
|
120
|
+
s.add_dependency(%q<rspec>, ["~> 2.0.0"])
|
121
121
|
s.add_dependency(%q<yard>, [">= 0"])
|
122
122
|
s.add_dependency(%q<sinatra>, [">= 1.0"])
|
123
123
|
s.add_dependency(%q<mongrel>, [">= 0"])
|
@@ -5,7 +5,7 @@ module Celerity
|
|
5
5
|
#
|
6
6
|
# Class representing button elements.
|
7
7
|
#
|
8
|
-
# This class covers both
|
8
|
+
# This class covers both button elements and input elements with type submit|reset|image|button.
|
9
9
|
#
|
10
10
|
|
11
11
|
class Button < InputElement
|
@@ -51,4 +51,4 @@ module Celerity
|
|
51
51
|
end
|
52
52
|
|
53
53
|
end # Button
|
54
|
-
end # Celerity
|
54
|
+
end # Celerity
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/celerity/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
module Celerity
|
2
|
-
VERSION = "0.8.
|
3
|
-
end
|
2
|
+
VERSION = "0.8.3dev"
|
3
|
+
end
|
data/tasks/jeweler.rake
CHANGED
@@ -15,7 +15,7 @@ begin
|
|
15
15
|
|
16
16
|
gem.files.reject! { |f| f =~ /^(website|doc|benchmark|log|spec|\.)/}
|
17
17
|
|
18
|
-
gem.add_development_dependency 'rspec'
|
18
|
+
gem.add_development_dependency 'rspec', "~> 2.0.0"
|
19
19
|
gem.add_development_dependency 'yard'
|
20
20
|
gem.add_development_dependency 'sinatra', '>= 1.0'
|
21
21
|
gem.add_development_dependency 'mongrel'
|
data/tasks/spec.rake
CHANGED
@@ -1,11 +1,12 @@
|
|
1
|
-
require '
|
2
|
-
|
3
|
-
|
4
|
-
spec.
|
1
|
+
require 'rspec/core/rake_task'
|
2
|
+
|
3
|
+
RSpec::Core::RakeTask.new(:spec) do |spec|
|
4
|
+
spec.ruby_opts = "-I lib:spec"
|
5
|
+
spec.pattern = 'spec/**/*_spec.rb'
|
5
6
|
end
|
6
7
|
|
7
|
-
|
8
|
-
spec.
|
8
|
+
RSpec::Core::RakeTask.new(:rcov) do |spec|
|
9
|
+
spec.ruby_opts = "-I lib:spec"
|
9
10
|
spec.pattern = 'spec/**/*_spec.rb'
|
10
11
|
spec.rcov = true
|
11
12
|
spec.rcov_opts = %w[--exclude spec,fcntl,path_helper,yaml,rack,jruby --include lib/celerity --no-rcovrt]
|
metadata
CHANGED
@@ -3,75 +3,77 @@ name: celerity
|
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
version: 0.8.
|
6
|
+
- 0
|
7
|
+
- 8
|
8
|
+
- 4
|
9
|
+
version: 0.8.4
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
|
-
|
13
|
-
|
14
|
-
|
12
|
+
- Jari Bakken
|
13
|
+
- T. Alexander Lystad
|
14
|
+
- Knut Johannes Dahle
|
15
15
|
autorequire:
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-
|
19
|
+
date: 2010-11-12 00:00:00 +01:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
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
|
-
|
22
|
+
- !ruby/object:Gem::Dependency
|
23
|
+
name: rspec
|
24
|
+
prerelease: false
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ~>
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
segments:
|
31
|
+
- 2
|
32
|
+
- 0
|
33
|
+
- 0
|
34
|
+
version: 2.0.0
|
35
|
+
type: :development
|
36
|
+
version_requirements: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: yard
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
segments:
|
46
|
+
- 0
|
47
|
+
version: "0"
|
48
|
+
type: :development
|
49
|
+
version_requirements: *id002
|
50
|
+
- !ruby/object:Gem::Dependency
|
51
|
+
name: sinatra
|
52
|
+
prerelease: false
|
53
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
54
|
+
none: false
|
55
|
+
requirements:
|
56
|
+
- - ">="
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
segments:
|
59
|
+
- 1
|
60
|
+
- 0
|
61
|
+
version: "1.0"
|
62
|
+
type: :development
|
63
|
+
version_requirements: *id003
|
64
|
+
- !ruby/object:Gem::Dependency
|
65
|
+
name: mongrel
|
66
|
+
prerelease: false
|
67
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
68
|
+
none: false
|
69
|
+
requirements:
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
segments:
|
73
|
+
- 0
|
74
|
+
version: "0"
|
75
|
+
type: :development
|
76
|
+
version_requirements: *id004
|
75
77
|
description: "Celerity is a JRuby wrapper around HtmlUnit \xE2\x80\x93 a headless Java browser with JavaScript support. It provides a simple API for programmatic navigation through web applications. Celerity provides a superset of Watir's API."
|
76
78
|
email: jari.bakken@gmail.com
|
77
79
|
executables: []
|
@@ -79,110 +81,110 @@ executables: []
|
|
79
81
|
extensions: []
|
80
82
|
|
81
83
|
extra_rdoc_files:
|
82
|
-
|
83
|
-
|
84
|
+
- LICENSE
|
85
|
+
- README.rdoc
|
84
86
|
files:
|
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
|
-
|
87
|
+
- HISTORY
|
88
|
+
- LICENSE
|
89
|
+
- README.rdoc
|
90
|
+
- Rakefile
|
91
|
+
- VERSION.yml
|
92
|
+
- celerity.gemspec
|
93
|
+
- lib/celerity.rb
|
94
|
+
- lib/celerity/browser.rb
|
95
|
+
- lib/celerity/clickable_element.rb
|
96
|
+
- lib/celerity/collections.rb
|
97
|
+
- lib/celerity/container.rb
|
98
|
+
- lib/celerity/default_viewer.rb
|
99
|
+
- lib/celerity/disabled_element.rb
|
100
|
+
- lib/celerity/element.rb
|
101
|
+
- lib/celerity/element_collection.rb
|
102
|
+
- lib/celerity/element_locator.rb
|
103
|
+
- lib/celerity/elements/button.rb
|
104
|
+
- lib/celerity/elements/file_field.rb
|
105
|
+
- lib/celerity/elements/form.rb
|
106
|
+
- lib/celerity/elements/frame.rb
|
107
|
+
- lib/celerity/elements/image.rb
|
108
|
+
- lib/celerity/elements/label.rb
|
109
|
+
- lib/celerity/elements/link.rb
|
110
|
+
- lib/celerity/elements/meta.rb
|
111
|
+
- lib/celerity/elements/non_control_elements.rb
|
112
|
+
- lib/celerity/elements/option.rb
|
113
|
+
- lib/celerity/elements/radio_check.rb
|
114
|
+
- lib/celerity/elements/select_list.rb
|
115
|
+
- lib/celerity/elements/table.rb
|
116
|
+
- lib/celerity/elements/table_cell.rb
|
117
|
+
- lib/celerity/elements/table_elements.rb
|
118
|
+
- lib/celerity/elements/table_row.rb
|
119
|
+
- lib/celerity/elements/text_field.rb
|
120
|
+
- lib/celerity/exception.rb
|
121
|
+
- lib/celerity/htmlunit.rb
|
122
|
+
- lib/celerity/htmlunit/apache-mime4j-0.6.jar
|
123
|
+
- lib/celerity/htmlunit/commons-codec-1.4.jar
|
124
|
+
- lib/celerity/htmlunit/commons-collections-3.2.1.jar
|
125
|
+
- lib/celerity/htmlunit/commons-io-2.0.jar
|
126
|
+
- lib/celerity/htmlunit/commons-lang-2.5.jar
|
127
|
+
- lib/celerity/htmlunit/commons-logging-1.1.1.jar
|
128
|
+
- lib/celerity/htmlunit/cssparser-0.9.5.jar
|
129
|
+
- lib/celerity/htmlunit/htmlunit-2.9-SNAPSHOT.jar
|
130
|
+
- lib/celerity/htmlunit/htmlunit-core-js-2.9-SNAPSHOT.jar
|
131
|
+
- lib/celerity/htmlunit/httpclient-4.0.3.jar
|
132
|
+
- lib/celerity/htmlunit/httpcore-4.0.1.jar
|
133
|
+
- lib/celerity/htmlunit/httpmime-4.0.3.jar
|
134
|
+
- lib/celerity/htmlunit/nekohtml-1.9.15-20101026.093020-2.jar
|
135
|
+
- lib/celerity/htmlunit/sac-1.3.jar
|
136
|
+
- lib/celerity/htmlunit/serializer-2.7.1.jar
|
137
|
+
- lib/celerity/htmlunit/xalan-2.7.1.jar
|
138
|
+
- lib/celerity/htmlunit/xercesImpl-2.9.1.jar
|
139
|
+
- lib/celerity/htmlunit/xml-apis-1.3.04.jar
|
140
|
+
- lib/celerity/identifier.rb
|
141
|
+
- lib/celerity/ignoring_web_connection.rb
|
142
|
+
- lib/celerity/input_element.rb
|
143
|
+
- lib/celerity/javascript_debugger.rb
|
144
|
+
- lib/celerity/listener.rb
|
145
|
+
- lib/celerity/resources/no_viewer.png
|
146
|
+
- lib/celerity/short_inspect.rb
|
147
|
+
- lib/celerity/util.rb
|
148
|
+
- lib/celerity/version.rb
|
149
|
+
- lib/celerity/viewer_connection.rb
|
150
|
+
- lib/celerity/watir_compatibility.rb
|
151
|
+
- lib/celerity/xpath_support.rb
|
152
|
+
- tasks/benchmark.rake
|
153
|
+
- tasks/check.rake
|
154
|
+
- tasks/clean.rake
|
155
|
+
- tasks/fix.rake
|
156
|
+
- tasks/jar.rake
|
157
|
+
- tasks/jeweler.rake
|
158
|
+
- tasks/rdoc.rake
|
159
|
+
- tasks/snapshot.rake
|
160
|
+
- tasks/spec.rake
|
161
|
+
- tasks/website.rake
|
162
|
+
- tasks/yard.rake
|
161
163
|
has_rdoc: true
|
162
164
|
homepage: http://github.com/jarib/celerity
|
163
165
|
licenses: []
|
164
166
|
|
165
167
|
post_install_message:
|
166
168
|
rdoc_options:
|
167
|
-
|
169
|
+
- --charset=UTF-8
|
168
170
|
require_paths:
|
169
|
-
|
171
|
+
- lib
|
170
172
|
required_ruby_version: !ruby/object:Gem::Requirement
|
171
173
|
none: false
|
172
174
|
requirements:
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
175
|
+
- - ">="
|
176
|
+
- !ruby/object:Gem::Version
|
177
|
+
segments:
|
178
|
+
- 0
|
179
|
+
version: "0"
|
178
180
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
179
181
|
none: false
|
180
182
|
requirements:
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
183
|
+
- - ">="
|
184
|
+
- !ruby/object:Gem::Version
|
185
|
+
segments:
|
186
|
+
- 0
|
187
|
+
version: "0"
|
186
188
|
requirements: []
|
187
189
|
|
188
190
|
rubyforge_project: celerity
|
Binary file
|