AXElements 1.0.0.alpha2 → 1.0.0.alpha3

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.
@@ -917,11 +917,7 @@ class NSArray
917
917
  #
918
918
  # @return [Array]
919
919
  def to_ruby
920
- @out = Array.new(self.size)
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
 
@@ -4,7 +4,7 @@
4
4
  # The main AXElements namespace.
5
5
  module Accessibility
6
6
  # @return [String]
7
- VERSION = '1.0.0.alpha2'
7
+ VERSION = '1.0.0.alpha3'
8
8
 
9
9
  # @return [String]
10
10
  CODE_NAME = 'ルナトーン'
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 'DEPRECATED: Use AX::Application.new instead'
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 'DEPRECATED: Use AX::Application.new instead'
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.alpha2
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-10-28 00:00:00 Z
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.1"
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.1"
29
+ version: "4.2"
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: yard
32
32
  prerelease: false