celerity 0.7.6 → 0.7.7

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- :patch: 6
3
2
  :major: 0
4
- :build:
5
3
  :minor: 7
4
+ :patch: 7
5
+ :build:
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.6"
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{2009-12-05}
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-20091130.152932-3.jar",
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",
@@ -1,3 +1,3 @@
1
1
  module Celerity
2
- VERSION = "0.7.5"
2
+ VERSION = "0.7.7"
3
3
  end
@@ -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.6
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: 2009-12-05 00:00:00 +01:00
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-20091130.152932-3.jar
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