uia 0.7 → 0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (7) hide show
  1. checksums.yaml +5 -5
  2. data/.gitmodules +2 -2
  3. data/ChangeLog +100 -95
  4. data/Rakefile +6 -7
  5. data/lib/uia/version.rb +1 -1
  6. data/uia.gemspec +3 -4
  7. metadata +12 -27
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: c966c5e58a5c2b30fad2f966be8e24a881d4f309
4
- data.tar.gz: 324ddfa069b36dd359f9f794cd639f8aab3dfef0
2
+ SHA256:
3
+ metadata.gz: ea0b1601de87f24bd90569b367cf1a422050540bbb5cd0b1433cfda100cb2ba0
4
+ data.tar.gz: 1212a4bb5744b0a97cd0e5faea2cc95e51f637c6174daa22460165c5848809d8
5
5
  SHA512:
6
- metadata.gz: 4eae7ba71eea61ab05e842e03c61537d6893d94052fa0e514987e51b977159535cfb3ea7096c3778163e4370317f4f1ea145b4f61c14d7dd254559c354b48a8d
7
- data.tar.gz: ab750c1795c1e1bf7c43444526f1d6198b703396e0563224ffddf2e4f95e5c75a135813a2dba1e1b4bdacf29f17c8a57dfbf03c94aeb5a062102be61d48e4b5c
6
+ metadata.gz: c9aa631498aa9d59e1c43edfc3b2291e3b88a5303efc04727e5af432462e8f0873e40a1d0e1b2cb1e4920cba385640b39d47b61c2adcfa9057033e5a05883863
7
+ data.tar.gz: 11ce730915f85520a660342e5ab5da591aa5c4d0b49e41146c4ed6e263e7c3807a8813524c3d83566b49aad239c7bf68c7a4df0e5d56946cc6bb11cac1ebd980
@@ -1,3 +1,3 @@
1
1
  [submodule "spec/app/src"]
2
- path = spec/app/src
3
- url = git://github.com/leviwilson/mohawk-testing-app
2
+ path = spec/app/src
3
+ url = https://github.com/leviwilson/mohawk-testing-app.git
data/ChangeLog CHANGED
@@ -1,35 +1,40 @@
1
- === Version 0.7 / 2019-01-22
2
- * Changes
3
- * Drag events now send an intermediate MouseMove event
4
-
5
- === Version 0.6 / 2014-11-14
6
- * Changes
7
- * Loosened the ffi dependency to ~> 1.9.4
8
-
9
- === Version 0.5 / 2014-05-26
10
- * Bug Fixes
11
- * fixed issue #5 where finding by runtime_id was not working on Windows 8
12
- machines
13
-
14
- === Version 0.4.4 / 2014-05-23
15
- * Enhancements
16
- * modified how it uses the runtime_id to locate an element to use the
17
- first found handle section, rather than the last
18
-
19
- === Version 0.4.3 / 2014-05-23
20
- * Enhancements
21
- * improved the speed at which you can locate an element by runtime_id
22
-
23
- === Version 0.4.2 / 2014-05-21
24
- * Enhancements
25
- * Exceptions on the .NET side of things now include stack trace
26
- information
27
- * Better errors when elements that are expected to exist are no longer
28
- there
29
-
30
- * Bug Fixes
31
- * Fixes a potential memory leak if an ElementNotAvailableException
32
- occurs when grabbing elements
1
+ === Version 0.8 / 2021-01-19
2
+ * Changes
3
+ * Bumped gem dependencies
4
+ * Removed albacore
5
+
6
+ === Version 0.7 / 2019-01-22
7
+ * Changes
8
+ * Drag events now send an intermediate MouseMove event
9
+
10
+ === Version 0.6 / 2014-11-14
11
+ * Changes
12
+ * Loosened the ffi dependency to ~> 1.9.4
13
+
14
+ === Version 0.5 / 2014-05-26
15
+ * Bug Fixes
16
+ * fixed issue #5 where finding by runtime_id was not working on Windows 8
17
+ machines
18
+
19
+ === Version 0.4.4 / 2014-05-23
20
+ * Enhancements
21
+ * modified how it uses the runtime_id to locate an element to use the
22
+ first found handle section, rather than the last
23
+
24
+ === Version 0.4.3 / 2014-05-23
25
+ * Enhancements
26
+ * improved the speed at which you can locate an element by runtime_id
27
+
28
+ === Version 0.4.2 / 2014-05-21
29
+ * Enhancements
30
+ * Exceptions on the .NET side of things now include stack trace
31
+ information
32
+ * Better errors when elements that are expected to exist are no longer
33
+ there
34
+
35
+ * Bug Fixes
36
+ * Fixes a potential memory leak if an ElementNotAvailableException
37
+ occurs when grabbing elements
33
38
 
34
39
  === Version 0.4.1 / 2014-05-14
35
40
  * Enhancements
@@ -83,84 +88,84 @@
83
88
  * changed #click to be clickable point only
84
89
  * added #click_center to try to click in the bounding_rectangle
85
90
 
86
- === Version 0.0.9 / 2014-02-06
87
- * Enhancements
88
- * Element#focused? and Element#focus
89
- * Element#bounding_rectangle
90
- * Selection#selected_items for multi-select
91
- * #focus will try multiple times to focus an element before it gives up
92
- * #click will attempt to use the bounding_rectangle if there is no
93
- "clickable point"
91
+ === Version 0.0.9 / 2014-02-06
92
+ * Enhancements
93
+ * Element#focused? and Element#focus
94
+ * Element#bounding_rectangle
95
+ * Selection#selected_items for multi-select
96
+ * #focus will try multiple times to focus an element before it gives up
97
+ * #click will attempt to use the bounding_rectangle if there is no
98
+ "clickable point"
94
99
 
95
100
  === Version 0.0.8 / 2013-12-02
96
- * Enhancements
97
- * Uia#find_element and Element#find can locate by :title
98
- * Element#send_keys
99
- * Window#close
100
- * TextPattern support to get / set the text
101
+ * Enhancements
102
+ * Uia#find_element and Element#find can locate by :title
103
+ * Element#send_keys
104
+ * Window#close
105
+ * TextPattern support to get / set the text
101
106
 
102
- * Bug Fixes
103
- * Fix issue with selecting cells in a table
107
+ * Bug Fixes
108
+ * Fix issue with selecting cells in a table
104
109
 
105
110
  === Version 0.0.7.3 / 2013-11-02
106
- * Enhancements
107
- * Element#visible?
108
- * added support for RangeValuePattern
111
+ * Enhancements
112
+ * Element#visible?
113
+ * added support for RangeValuePattern
109
114
 
110
115
  === Version 0.0.7.2 / 2013-11-02
111
- * Enhancements
112
- * Element#find can specify the scope of the search
116
+ * Enhancements
117
+ * Element#find can specify the scope of the search
113
118
 
114
119
  === Version 0.0.7.1 / 2013-11-01
115
- * Bug Fixes
116
- * Fixes issue with ComboBox controls for Selection#selection_items
120
+ * Bug Fixes
121
+ * Fixes issue with ComboBox controls for Selection#selection_items
117
122
 
118
123
  === Version 0.0.7 / 2013-11-01
119
- * Enhancements
120
- * added a base implementation for the Window pattern
121
- * added support for WindowPattern, TablePattern and TableItemPattern
122
- * Element#as raises UnsupportedPattern if the element does not implement it
123
- * added an Element#select method to filter descendants by:
124
- - pattern
125
- - name
126
- - id
127
-
128
- * Bug Fixes
129
- * modified ffi calls that return Element arrays to be individually GC'd.
130
- This prevents FFI::ManagedStruct from being taken out from underneath you
124
+ * Enhancements
125
+ * added a base implementation for the Window pattern
126
+ * added support for WindowPattern, TablePattern and TableItemPattern
127
+ * Element#as raises UnsupportedPattern if the element does not implement it
128
+ * added an Element#select method to filter descendants by:
129
+ - pattern
130
+ - name
131
+ - id
132
+
133
+ * Bug Fixes
134
+ * modified ffi calls that return Element arrays to be individually GC'd.
135
+ This prevents FFI::ManagedStruct from being taken out from underneath you
131
136
 
132
137
  === Version 0.0.6.1 / 2013-10-30
133
138
  * Bug Fixes
134
- * Fixed issue when finding root children by RegEx initially
135
- * all Find methods consistently return Element classes
139
+ * Fixed issue when finding root children by RegEx initially
140
+ * all Find methods consistently return Element classes
136
141
 
137
142
  === Version 0.0.6 / 2013-10-22
138
- * Enhancements
139
- * Have implemented the following patterns:
140
- * ExpandCollapse
141
- * Invoke
142
- * Selection
143
- * SelectionItem
144
- * Toggle
145
- * Value
146
- * Element can find their descendants by :id or :name
147
- * Can search for top-level elements with Regex
148
- * Elements can be refreshed
149
- * Moved Uia methods to be class-level (i.e. Uia.find_element rather than
150
- including Uia)
151
-
152
- === Version 0.0.5.1 / 2013-10-16
153
- * Enhancements
154
- * reduced the size of the gem package by excluding gmock and gtest
155
-
156
- === Version 0.0.5 / 2013-10-16
157
-
158
- * Enhancements
159
- * Pushed #find_element into the Uia module
160
- * Can locate elements by :id, :handle, :runtime_pid and :pid
161
- * Element now knows about :id,:control_type, :patterns, :handle and :runtime_id
162
- * Elements know about their :children and :descendants
163
-
164
- === Version 0.0.4 / 2013-10-11
143
+ * Enhancements
144
+ * Have implemented the following patterns:
145
+ * ExpandCollapse
146
+ * Invoke
147
+ * Selection
148
+ * SelectionItem
149
+ * Toggle
150
+ * Value
151
+ * Element can find their descendants by :id or :name
152
+ * Can search for top-level elements with Regex
153
+ * Elements can be refreshed
154
+ * Moved Uia methods to be class-level (i.e. Uia.find_element rather than
155
+ including Uia)
156
+
157
+ === Version 0.0.5.1 / 2013-10-16
158
+ * Enhancements
159
+ * reduced the size of the gem package by excluding gmock and gtest
160
+
161
+ === Version 0.0.5 / 2013-10-16
162
+
163
+ * Enhancements
164
+ * Pushed #find_element into the Uia module
165
+ * Can locate elements by :id, :handle, :runtime_pid and :pid
166
+ * Element now knows about :id,:control_type, :patterns, :handle and :runtime_id
167
+ * Elements know about their :children and :descendants
168
+
169
+ === Version 0.0.4 / 2013-10-11
165
170
  Initial release with very limited support for finding an element and
166
171
  displaying various properties.
data/Rakefile CHANGED
@@ -2,18 +2,17 @@ require 'bundler/setup'
2
2
  require 'bundler/gem_tasks'
3
3
  require 'rspec/core/rake_task'
4
4
 
5
- require 'albacore'
6
- require 'albacore/tasks/versionizer'
7
-
8
5
  RSpec::Core::RakeTask.new(:spec)
9
6
 
10
7
  task :default => :spec
11
-
12
8
  task :spec => :build_release
13
9
  task :build => :spec
14
10
 
15
11
  desc 'Build the release version of UiaDll'
16
- build :build_release do |b|
17
- b.sln = 'ext/UiaDll/UiaDll.sln'
18
- b.prop :Configuration, :Release
12
+ task :build_release do
13
+ Dir.chdir('ext/UiaDll') do
14
+ if !system('msbuild UiaDll.sln -target:Rebuild -property:Configuration=Release')
15
+ fail "Failed to build UiaDll: #{$?.exitstatus}"
16
+ end
17
+ end
19
18
  end
@@ -1,3 +1,3 @@
1
1
  module Uia
2
- VERSION = '0.7'
2
+ VERSION = '0.8'
3
3
  end
@@ -25,13 +25,12 @@ Gem::Specification.new do |spec|
25
25
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
26
26
  spec.require_paths = ['lib']
27
27
 
28
- spec.add_runtime_dependency 'ffi', '~> 1.11.2'
28
+ spec.add_runtime_dependency 'ffi', '~> 1.14'
29
29
  spec.add_runtime_dependency 'require_all', '~> 3.0'
30
30
 
31
31
  spec.add_development_dependency 'bundler', '>= 1.3'
32
- spec.add_development_dependency 'rake', '~> 10.5'
32
+ spec.add_development_dependency 'rake', '~> 13.0'
33
33
  spec.add_development_dependency 'rspec', '~> 3.9'
34
34
  spec.add_development_dependency 'rspec-given', '~> 3.8'
35
- spec.add_development_dependency 'childprocess', '~> 3.0'
36
- spec.add_development_dependency 'albacore', '~> 3.0.1'
35
+ spec.add_development_dependency 'childprocess', '~> 4.0'
37
36
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uia
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.7'
4
+ version: '0.8'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Levi Wilson
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-13 00:00:00.000000000 Z
11
+ date: 2021-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.11.2
19
+ version: '1.14'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.11.2
26
+ version: '1.14'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: require_all
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '10.5'
61
+ version: '13.0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '10.5'
68
+ version: '13.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -100,28 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '3.0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: '3.0'
111
- - !ruby/object:Gem::Dependency
112
- name: albacore
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: 3.0.1
103
+ version: '4.0'
118
104
  type: :development
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
107
  requirements:
122
108
  - - "~>"
123
109
  - !ruby/object:Gem::Version
124
- version: 3.0.1
110
+ version: '4.0'
125
111
  description: A low-level wrapper around Microsoft UI Automation for ruby
126
112
  email:
127
113
  - levi@leviwilson.com
@@ -251,7 +237,7 @@ homepage: https://github.com/northwoodspd/uia
251
237
  licenses:
252
238
  - MIT
253
239
  metadata: {}
254
- post_install_message:
240
+ post_install_message:
255
241
  rdoc_options: []
256
242
  require_paths:
257
243
  - lib
@@ -266,9 +252,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
266
252
  - !ruby/object:Gem::Version
267
253
  version: '0'
268
254
  requirements: []
269
- rubyforge_project:
270
- rubygems_version: 2.5.2
271
- signing_key:
255
+ rubygems_version: 3.2.3
256
+ signing_key:
272
257
  specification_version: 4
273
258
  summary: A low-level wrapper around Microsoft UI Automation for ruby
274
259
  test_files: