commonwatir 1.8.1 → 1.9.0.rc1
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/CHANGES +10 -0
- data/VERSION +1 -1
- data/lib/watir/element_extensions.rb +0 -4
- data/lib/watir/exceptions.rb +4 -2
- metadata +14 -12
data/CHANGES
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
== Version 1.9.0 -2011//
|
2
|
+
|
3
|
+
* Added support for IE9
|
4
|
+
* Updated watir/ie for Ruby 1.8.7 and are no longer supporting Ruby 1.8.6.
|
5
|
+
* Using RAutomation instead of Autoit, WinClicker and the WindowHelper
|
6
|
+
* New implementation of ie.file_field
|
7
|
+
* Replaced ie.dialog with ie.javascript_dialog
|
8
|
+
* Recompiled win32ole for 1.8.7 mingw and removed win32ole for 1.8.6
|
9
|
+
|
10
|
+
|
1
11
|
== Version 1.8.1 - 2011/04/08
|
2
12
|
|
3
13
|
=== IE improvements
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.9.0.rc1
|
@@ -16,10 +16,6 @@ module Watir
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def method_missing(m, *args, &block)
|
19
|
-
unless @element.respond_to?(m)
|
20
|
-
raise NoMethodError, "undefined method `#{m}' for #{@element.inspect}:#{@element.class}"
|
21
|
-
end
|
22
|
-
|
23
19
|
Watir::Wait.until(@timeout) { @element.present? }
|
24
20
|
@element.send(m, *args, &block)
|
25
21
|
end
|
data/lib/watir/exceptions.rb
CHANGED
@@ -11,9 +11,11 @@ module Watir
|
|
11
11
|
# This exception is raised if an attempt is made to access an object that doesn't exist
|
12
12
|
class UnknownObjectException < WatirException; end
|
13
13
|
# This exception is raised if an attempt is made to access an object that is in a disabled state
|
14
|
-
class ObjectDisabledException
|
14
|
+
class ObjectDisabledException < WatirException; end
|
15
15
|
# This exception is raised if an attempt is made to access a frame that cannot be found
|
16
|
-
class UnknownFrameException< WatirException; end
|
16
|
+
class UnknownFrameException < WatirException; end
|
17
|
+
# This exception is raised if an attempt is made to access a frame that IE is denying access to
|
18
|
+
class FrameAccessDeniedException < WatirException; end
|
17
19
|
# This exception is raised if an attempt is made to access a form that cannot be found
|
18
20
|
class UnknownFormException< WatirException; end
|
19
21
|
# This exception is raised if an attempt is made to access an object that is in a read only state
|
metadata
CHANGED
@@ -1,13 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: commonwatir
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 15424167
|
5
|
+
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
-
-
|
8
|
+
- 9
|
9
|
+
- 0
|
10
|
+
- rc
|
9
11
|
- 1
|
10
|
-
version: 1.
|
12
|
+
version: 1.9.0.rc1
|
11
13
|
platform: ruby
|
12
14
|
authors:
|
13
15
|
- Bret Pettichord
|
@@ -15,8 +17,7 @@ autorequire:
|
|
15
17
|
bindir: bin
|
16
18
|
cert_chain: []
|
17
19
|
|
18
|
-
date: 2011-
|
19
|
-
default_executable:
|
20
|
+
date: 2011-06-05 00:00:00 Z
|
20
21
|
dependencies:
|
21
22
|
- !ruby/object:Gem::Dependency
|
22
23
|
name: user-choices
|
@@ -101,7 +102,6 @@ files:
|
|
101
102
|
- unittests/visibility_test.rb
|
102
103
|
- unittests/wait_test.rb
|
103
104
|
- unittests/whitespace_test.rb
|
104
|
-
has_rdoc: true
|
105
105
|
homepage: http://www.watir.com
|
106
106
|
licenses: []
|
107
107
|
|
@@ -123,16 +123,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
123
123
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
124
124
|
none: false
|
125
125
|
requirements:
|
126
|
-
- - "
|
126
|
+
- - ">"
|
127
127
|
- !ruby/object:Gem::Version
|
128
|
-
hash:
|
128
|
+
hash: 25
|
129
129
|
segments:
|
130
|
-
-
|
131
|
-
|
130
|
+
- 1
|
131
|
+
- 3
|
132
|
+
- 1
|
133
|
+
version: 1.3.1
|
132
134
|
requirements: []
|
133
135
|
|
134
136
|
rubyforge_project: wtr
|
135
|
-
rubygems_version: 1.
|
137
|
+
rubygems_version: 1.7.2
|
136
138
|
signing_key:
|
137
139
|
specification_version: 3
|
138
140
|
summary: Common library for Watir and FireWatir
|