jarib-celerity 0.0.6.1 → 0.0.6.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.
@@ -3,7 +3,7 @@ module Celerity #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
5
  TINY = 6
6
- PATCH = 1 # Set to nil for official release
6
+ PATCH = 2 # Set to nil for official release
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PATCH].compact.join('.')
9
9
  end
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.1
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-28 00:00:00 -07:00
14
+ date: 2009-03-31 00:00:00 -07:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency