AXElements 7.0.0 → 7.0.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.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +1 -2
- data/History.markdown +4 -0
- data/lib/accessibility/dsl.rb +22 -2
- data/lib/accessibility/version.rb +1 -1
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9b6a0e8ddb41bf435b79ca03d077e928b41ded56
|
|
4
|
+
data.tar.gz: 56d36d5e645c0e68f9fdd11122525178bc3dd513
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cb7603372618b02f6d8d92765387f7af00c6b754eb83245d384104e5372dcae8ce26128b9b73b3e1f362c5ec1c9eeb4e33ae788e73ae8a101be52b03188b0f97
|
|
7
|
+
data.tar.gz: 0d663e7d7a47dd9ac49b6f048d0b23425f420b4ad0349dac198dbe1f9e9e851ec6fe1c5a2ceaaebd16babecc8a65f8a4f8906242eb633392aa911e15d7cc6b49
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Ʌދ]Q�V��W�b�}��+H=�*�K'eT����9��.:l���ʜ+�t'����o�S��AH:�p�g*O�c����B�{GjD���i60�^��,U8v���!�9J�;ve^�����n�{S�[�O4RV�t�t�C�Bi"\_��������Y���6d����Q'�M��,0C���n|�lX�vB���w�2�h��Gv�4Yx�!V�5���yca
|
|
1
|
+
7�A��%^��ὮN>��R��4l'����b�b���Z�v.�{1Ϭ�o�_�ӝ�Z8㩇4��ՙ�iO#��
|
data/History.markdown
CHANGED
data/lib/accessibility/dsl.rb
CHANGED
|
@@ -399,7 +399,17 @@ module Accessibility::DSL
|
|
|
399
399
|
timeout = filters.delete(:timeout) || 5
|
|
400
400
|
start = Time.now
|
|
401
401
|
until Time.now - start > timeout
|
|
402
|
-
result =
|
|
402
|
+
result = nil
|
|
403
|
+
|
|
404
|
+
begin
|
|
405
|
+
result = ancestor.search(descendant, filters, &block)
|
|
406
|
+
rescue RuntimeError => e
|
|
407
|
+
# This is a temporary workaround; accessibility_core should
|
|
408
|
+
# raise a specific error class for this issue or not use
|
|
409
|
+
# exceptions for this problem at all...
|
|
410
|
+
raise e unless e.message.match(/application is busy/)
|
|
411
|
+
end
|
|
412
|
+
|
|
403
413
|
return result unless result.blank?
|
|
404
414
|
sleep 0.1
|
|
405
415
|
end
|
|
@@ -430,7 +440,17 @@ module Accessibility::DSL
|
|
|
430
440
|
start = Time.now
|
|
431
441
|
q = Accessibility::Qualifier.new(child, filters, &block)
|
|
432
442
|
until Time.now - start > timeout
|
|
433
|
-
result =
|
|
443
|
+
result = nil
|
|
444
|
+
|
|
445
|
+
begin
|
|
446
|
+
result = parent.children.find { |x| q.qualifies? x }
|
|
447
|
+
rescue RuntimeError => e
|
|
448
|
+
# This is a temporary workaround; accessibility_core should
|
|
449
|
+
# raise a specific error class for this issue or not use
|
|
450
|
+
# exceptions for this problem at all...
|
|
451
|
+
raise e unless e.message.match(/application is busy/)
|
|
452
|
+
end
|
|
453
|
+
|
|
434
454
|
return result unless result.blank?
|
|
435
455
|
sleep 0.1
|
|
436
456
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: AXElements
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 7.0.
|
|
4
|
+
version: 7.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mark Rada
|
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
|
30
30
|
0WHcut5WdsOnrIkVkbvgxDUtQclWeulaIRqGkvnajtp2FJdRsi/n8zo3nAfeR6QM
|
|
31
31
|
vkReJWGG0H8U/JJqYfQBZopYOUMnLJQxN+NA4w==
|
|
32
32
|
-----END CERTIFICATE-----
|
|
33
|
-
date: 2015-
|
|
33
|
+
date: 2015-09-01 00:00:00.000000000 Z
|
|
34
34
|
dependencies:
|
|
35
35
|
- !ruby/object:Gem::Dependency
|
|
36
36
|
name: mouse
|
metadata.gz.sig
CHANGED
|
Binary file
|