atspi_app_driver 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b1d513d1fcb35f71745340300fddf4e1c52f87a327ce900b3df3a095772f2c74
4
- data.tar.gz: f7a53cd6a4db7599695903534e34c7ac1945e79929a7327b29b7bb11d571c065
3
+ metadata.gz: 949d817c537231b15ee0ed1f48689d8ffb523ffa0c793e927b00a267c0c2dd82
4
+ data.tar.gz: 0bc614e7259f82a513feb34720f7616391cf7de6da2da5db2e99c3f20f10caca
5
5
  SHA512:
6
- metadata.gz: ecc0ca9626aa07d2985822c356050767e486ee1211d1eb0bdfdc93c93b21402147ea3d5c59b278d8368f3f9d3df55e9f7cc49ef9f5f783e8a82338bc8fc2a44e
7
- data.tar.gz: fdee123c0dd5573b5b26df291f1fe508156d6445985d30654cc0e4cb321dd6c7fdc4907ff145d2448ad42472e14dd2c7f55af808f79b1fe81ff0fb6d5f2ca81b
6
+ metadata.gz: 64ff8528522c3329bd5afb8744bc3868ddad7f27a369291fcfa3cec72ba554e11c4b336a8ce321de3dbb4a6004e72477fe993988a5fd69d748e76ddca3639461
7
+ data.tar.gz: 1ce161a644fb834a86a39941d671d3b95a148527bc0dd872c883111aac953a293f84aca0ecdd8be5a526e6f2d76d299731df90b4ca2a60ba27f1bb58de4b5a37
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.5.0 / 2018-09-27
4
+
5
+ * Depend on GirFFI 0.14.0 and GirFFI-Gtk 0.14.0
6
+
3
7
  ## 0.4.0 / 2018-09-08
4
8
 
5
9
  * Drop support for Ruby 2.1
@@ -16,6 +16,7 @@ module AtspiAccessiblePatches
16
16
 
17
17
  def find_role(role, regex = //)
18
18
  return self if role == self.role && name =~ regex
19
+
19
20
  each_child do |child|
20
21
  result = child.find_role role, regex
21
22
  return result if result
@@ -125,6 +126,7 @@ class AtspiAppDriver
125
126
  50.times do |num|
126
127
  result = yield
127
128
  break if result
129
+
128
130
  sleep 0.01 * (num + 1)
129
131
  end
130
132
  log "Waited #{Time.now - start} seconds for #{description}"
@@ -133,6 +135,7 @@ class AtspiAppDriver
133
135
 
134
136
  def exit_status
135
137
  return unless @pid
138
+
136
139
  @cleanup = true
137
140
  _, status = Process.wait2 @pid
138
141
  status
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atspi_app_driver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matijs van Zuijlen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-08 00:00:00.000000000 Z
11
+ date: 2018-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gir_ffi
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.13.0
19
+ version: 0.14.0
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: 0.13.0
26
+ version: 0.14.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.13.0
47
+ version: 0.14.0
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.13.0
54
+ version: 0.14.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: minitest
57
57
  requirement: !ruby/object:Gem::Requirement