uia 0.2 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -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 control_types.count, *args
83
+ Condition_ControlType args.count, *args
84
84
  end
85
85
 
86
86
  # element methods
@@ -1,3 +1,3 @@
1
1
  module Uia
2
- VERSION = '0.2'
2
+ VERSION = '0.2.1'
3
3
  end
@@ -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: [:custom, :semantic_zoom]).id == 'automatableMonthCalendar1' }
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: '0.2'
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: 148459631
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: 148459631
267
+ hash: -475586851
268
268
  requirements: []
269
269
  rubyforge_project:
270
270
  rubygems_version: 1.8.28