celerity 0.7.6 → 0.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION.yml +2 -2
- data/celerity.gemspec +3 -3
- data/lib/celerity/htmlunit/htmlunit-2.7-SNAPSHOT.jar +0 -0
- data/lib/celerity/htmlunit/{nekohtml-1.9.14-20091130.152932-3.jar → nekohtml-1.9.14-20091214.212542-7.jar} +0 -0
- data/lib/celerity/version.rb +1 -1
- data/lib/celerity/xpath_support.rb +5 -1
- metadata +3 -3
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.7.
|
|
8
|
+
s.version = "0.7.7"
|
|
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{
|
|
12
|
+
s.date = %q{2010-01-08}
|
|
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 = [
|
|
@@ -61,7 +61,7 @@ Gem::Specification.new do |s|
|
|
|
61
61
|
"lib/celerity/htmlunit/cssparser-0.9.5.jar",
|
|
62
62
|
"lib/celerity/htmlunit/htmlunit-2.7-SNAPSHOT.jar",
|
|
63
63
|
"lib/celerity/htmlunit/htmlunit-core-js-2.7-SNAPSHOT.jar",
|
|
64
|
-
"lib/celerity/htmlunit/nekohtml-1.9.14-
|
|
64
|
+
"lib/celerity/htmlunit/nekohtml-1.9.14-20091214.212542-7.jar",
|
|
65
65
|
"lib/celerity/htmlunit/sac-1.3.jar",
|
|
66
66
|
"lib/celerity/htmlunit/serializer-2.7.1.jar",
|
|
67
67
|
"lib/celerity/htmlunit/xalan-2.7.1.jar",
|
|
Binary file
|
|
Binary file
|
data/lib/celerity/version.rb
CHANGED
|
@@ -39,7 +39,11 @@ module Celerity
|
|
|
39
39
|
|
|
40
40
|
def element_from_dom_node(obj)
|
|
41
41
|
element_class = Util.htmlunit2celerity(obj.class) || Element
|
|
42
|
-
element_class.new(self, :object, obj)
|
|
42
|
+
element = element_class.new(self, :object, obj)
|
|
43
|
+
|
|
44
|
+
element.extend(ClickableElement) unless element.is_a?(ClickableElement)
|
|
45
|
+
|
|
46
|
+
element
|
|
43
47
|
end
|
|
44
48
|
|
|
45
49
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: celerity
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jari Bakken
|
|
@@ -11,7 +11,7 @@ autorequire:
|
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
13
|
|
|
14
|
-
date:
|
|
14
|
+
date: 2010-01-08 00:00:00 +01:00
|
|
15
15
|
default_executable:
|
|
16
16
|
dependencies:
|
|
17
17
|
- !ruby/object:Gem::Dependency
|
|
@@ -98,7 +98,7 @@ files:
|
|
|
98
98
|
- lib/celerity/htmlunit/cssparser-0.9.5.jar
|
|
99
99
|
- lib/celerity/htmlunit/htmlunit-2.7-SNAPSHOT.jar
|
|
100
100
|
- lib/celerity/htmlunit/htmlunit-core-js-2.7-SNAPSHOT.jar
|
|
101
|
-
- lib/celerity/htmlunit/nekohtml-1.9.14-
|
|
101
|
+
- lib/celerity/htmlunit/nekohtml-1.9.14-20091214.212542-7.jar
|
|
102
102
|
- lib/celerity/htmlunit/sac-1.3.jar
|
|
103
103
|
- lib/celerity/htmlunit/serializer-2.7.1.jar
|
|
104
104
|
- lib/celerity/htmlunit/xalan-2.7.1.jar
|