AXElements 1.0.0.alpha2 → 1.0.0.alpha3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/accessibility/core.rb +1 -5
- data/lib/accessibility/version.rb +1 -1
- data/lib/accessibility.rb +2 -2
- metadata +4 -4
data/lib/accessibility/core.rb
CHANGED
@@ -917,11 +917,7 @@ class NSArray
|
|
917
917
|
#
|
918
918
|
# @return [Array]
|
919
919
|
def to_ruby
|
920
|
-
|
921
|
-
Dispatch::Queue.concurrent.apply(self.size) do |index|
|
922
|
-
@out[index] = self[index].to_ruby
|
923
|
-
end
|
924
|
-
@out
|
920
|
+
map do |obj| obj.to_ruby end
|
925
921
|
end
|
926
922
|
end
|
927
923
|
|
data/lib/accessibility.rb
CHANGED
@@ -46,7 +46,7 @@ class << Accessibility
|
|
46
46
|
# @param bundle [String] a bundle identifier
|
47
47
|
# @return [AX::Application,nil]
|
48
48
|
def application_with_bundle_identifier bundle
|
49
|
-
$stderr.puts
|
49
|
+
$stderr.puts "#{__method__} is DEPRECATED: Use AX::Application.new instead"
|
50
50
|
if app_running?(bundle) || launch_application(bundle)
|
51
51
|
10.times do
|
52
52
|
if app_running?(bundle) && (app = try_wrapping(bundle))
|
@@ -75,7 +75,7 @@ class << Accessibility
|
|
75
75
|
# @param [String] name name of the application to launch
|
76
76
|
# @return [AX::Application,nil]
|
77
77
|
def application_with_name name
|
78
|
-
$stderr.puts
|
78
|
+
$stderr.puts "#{__method__} is DEPRECATED: Use AX::Application.new instead"
|
79
79
|
AX::Application.new name
|
80
80
|
end
|
81
81
|
|
metadata
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
name: AXElements
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease: 6
|
5
|
-
version: 1.0.0.
|
5
|
+
version: 1.0.0.alpha3
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Mark Rada
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-11-15 00:00:00 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: minitest
|
@@ -19,14 +19,14 @@ dependencies:
|
|
19
19
|
requirements:
|
20
20
|
- - ~>
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: "4.
|
22
|
+
version: "4.2"
|
23
23
|
type: :development
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
none: false
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: "4.
|
29
|
+
version: "4.2"
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: yard
|
32
32
|
prerelease: false
|