jarib-celerity 0.0.6.1 → 0.0.6.2
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/lib/celerity/element.rb +9 -0
- data/lib/celerity/version.rb +1 -1
- metadata +2 -2
data/lib/celerity/element.rb
CHANGED
@@ -79,6 +79,15 @@ module Celerity
|
|
79
79
|
assert_exists
|
80
80
|
@object.focus
|
81
81
|
end
|
82
|
+
|
83
|
+
#
|
84
|
+
# Fires the given event for this element
|
85
|
+
#
|
86
|
+
|
87
|
+
def fire_event(event_name)
|
88
|
+
assert_exists
|
89
|
+
@object.fireEvent(event_name.sub(/^on/, ''))
|
90
|
+
end
|
82
91
|
|
83
92
|
#
|
84
93
|
# Used internally. Find the element on the page.
|
data/lib/celerity/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jarib-celerity
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.6.
|
4
|
+
version: 0.0.6.2
|
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-03-
|
14
|
+
date: 2009-03-31 00:00:00 -07:00
|
15
15
|
default_executable:
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|