uia 0.2 → 0.2.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/ChangeLog +5 -1
- data/lib/uia/library.rb +1 -1
- data/lib/uia/version.rb +1 -1
- data/spec/uia/element_spec.rb +1 -1
- metadata +3 -3
data/ChangeLog
CHANGED
@@ -1,4 +1,8 @@
|
|
1
|
-
=== Version 0.2
|
1
|
+
=== Version 0.2.1 / 2014-04-30
|
2
|
+
* Bug Fixes
|
3
|
+
* fixes issue with using the :control_type condition with multiple types allowed (i.e. [:button, :list])
|
4
|
+
|
5
|
+
=== Version 0.2 / 2014-04-30
|
2
6
|
* Enhancements
|
3
7
|
* added Element#find_all method to find multiple elements by locators
|
4
8
|
* Table and SelectionItem utilize #find_all rather than #filter
|
data/lib/uia/library.rb
CHANGED
@@ -80,7 +80,7 @@ module Uia
|
|
80
80
|
|
81
81
|
def self.control_type_condition(*control_types)
|
82
82
|
args = control_types.flatten.map(&:to_control_type_const).reduce([]) { |a, n| a << :int << n }
|
83
|
-
Condition_ControlType
|
83
|
+
Condition_ControlType args.count, *args
|
84
84
|
end
|
85
85
|
|
86
86
|
# element methods
|
data/lib/uia/version.rb
CHANGED
data/spec/uia/element_spec.rb
CHANGED
@@ -119,7 +119,7 @@ describe Uia::Element do
|
|
119
119
|
|
120
120
|
context 'control_type' do
|
121
121
|
Then { element.find(control_type: :custom).id == 'automatableMonthCalendar1' }
|
122
|
-
Then { element.find(control_type: [:
|
122
|
+
Then { element.find(control_type: [:semantic_zoom, :custom]).id == 'automatableMonthCalendar1' }
|
123
123
|
end
|
124
124
|
|
125
125
|
context 'pattern' do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uia
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.2.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -255,7 +255,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
255
255
|
version: '0'
|
256
256
|
segments:
|
257
257
|
- 0
|
258
|
-
hash:
|
258
|
+
hash: -475586851
|
259
259
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
260
260
|
none: false
|
261
261
|
requirements:
|
@@ -264,7 +264,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
264
264
|
version: '0'
|
265
265
|
segments:
|
266
266
|
- 0
|
267
|
-
hash:
|
267
|
+
hash: -475586851
|
268
268
|
requirements: []
|
269
269
|
rubyforge_project:
|
270
270
|
rubygems_version: 1.8.28
|