watir 2.0.0 → 2.0.1
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 +5 -0
- data/VERSION +1 -1
- data/lib/watir/element.rb +1 -1
- data/lib/watir/element_collections.rb +1 -1
- data/lib/watir/ie-class.rb +1 -1
- metadata +6 -6
data/CHANGES
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
== Version 2.0.1 - 2011/08/10
|
|
2
|
+
|
|
3
|
+
* fixed Watir::IE#close for Ruby 1.9.2 - fixes http://jira.openqa.org/browse/WTR-481
|
|
4
|
+
* fixed locating elements on Ruby 1.9.2
|
|
5
|
+
|
|
1
6
|
== Version 2.0.0 - 2011/08/10
|
|
2
7
|
|
|
3
8
|
* RIP FireWatir - there won't be any new releases due to the lack of JSSH extension for Firefox 4+ versions.
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.0.
|
|
1
|
+
2.0.1
|
data/lib/watir/element.rb
CHANGED
|
@@ -32,7 +32,7 @@ module Watir
|
|
|
32
32
|
|
|
33
33
|
def locate
|
|
34
34
|
return if [Element, TableBodies].include? self.class
|
|
35
|
-
tag = self.class.
|
|
35
|
+
tag = self.class.const_defined?(:TAG) ? self.class::TAG : self.class.name.split("::").last
|
|
36
36
|
@o = @container.tagged_element_locator(tag, @how, @what).locate
|
|
37
37
|
end
|
|
38
38
|
|
|
@@ -70,7 +70,7 @@ module Watir
|
|
|
70
70
|
end
|
|
71
71
|
|
|
72
72
|
def element_tag
|
|
73
|
-
element_class.
|
|
73
|
+
element_class.const_defined?(:TAG) ? element_class::TAG : element_class.name.split("::").last
|
|
74
74
|
end
|
|
75
75
|
end
|
|
76
76
|
end
|
data/lib/watir/ie-class.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: watir
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 13
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 2
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 2.0.
|
|
9
|
+
- 1
|
|
10
|
+
version: 2.0.1
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Bret Pettichord
|
|
@@ -57,12 +57,12 @@ dependencies:
|
|
|
57
57
|
requirements:
|
|
58
58
|
- - "="
|
|
59
59
|
- !ruby/object:Gem::Version
|
|
60
|
-
hash:
|
|
60
|
+
hash: 13
|
|
61
61
|
segments:
|
|
62
62
|
- 2
|
|
63
63
|
- 0
|
|
64
|
-
-
|
|
65
|
-
version: 2.0.
|
|
64
|
+
- 1
|
|
65
|
+
version: 2.0.1
|
|
66
66
|
type: :runtime
|
|
67
67
|
version_requirements: *id003
|
|
68
68
|
- !ruby/object:Gem::Dependency
|