uia 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog CHANGED
@@ -1,3 +1,12 @@
1
+ === Version 0.4.4 / 2014-05-23
2
+ * Enhancements
3
+ * modified how it uses the runtime_id to locate an element to use the
4
+ first found handle section, rather than the last
5
+
6
+ === Version 0.4.3 / 2014-05-23
7
+ * Enhancements
8
+ * improved the speed at which you can locate an element by runtime_id
9
+
1
10
  === Version 0.4.2 / 2014-05-21
2
11
  * Enhancements
3
12
  * Exceptions on the .NET side of things now include stack trace
@@ -191,7 +191,7 @@ namespace UIA.Helper
191
191
 
192
192
  private static Element ClosestParentOfId(IEnumerable<int> runtimeId)
193
193
  {
194
- var parentHandle = runtimeId.LastOrDefault(x => IsWindow(x.IntPtr())).IntPtr();
194
+ var parentHandle = runtimeId.FirstOrDefault(x => IsWindow(x.IntPtr())).IntPtr();
195
195
  return IntPtr.Zero != parentHandle ? ByHandle(parentHandle) : new RootElement();
196
196
  }
197
197
 
@@ -1,3 +1,3 @@
1
1
  module Uia
2
- VERSION = '0.4.3'
2
+ VERSION = '0.4.4'
3
3
  end
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.4.3
4
+ version: 0.4.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -262,7 +262,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
262
262
  version: '0'
263
263
  segments:
264
264
  - 0
265
- hash: 795502381
265
+ hash: -945145251
266
266
  required_rubygems_version: !ruby/object:Gem::Requirement
267
267
  none: false
268
268
  requirements:
@@ -271,7 +271,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
271
271
  version: '0'
272
272
  segments:
273
273
  - 0
274
- hash: 795502381
274
+ hash: -945145251
275
275
  requirements: []
276
276
  rubyforge_project:
277
277
  rubygems_version: 1.8.28