AXElements 7.0.0.pre4 → 7.0.0.pre5

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
  SHA1:
3
- metadata.gz: c58978353602020db77950da18c9e239fe200bf4
4
- data.tar.gz: 0a0c08e814471c9b8875b1a0f54c6ea3df8cd091
3
+ metadata.gz: c7f5ab5f1fae554a17b4df77fab7596773f091b5
4
+ data.tar.gz: bc1b04ac869b3e50dd574157d45176902add557c
5
5
  SHA512:
6
- metadata.gz: b7e576feeda11756c6118412c22ab14abf9dacf87df94149f07ffdc0e0b0874638a27e19535f7e6fb4e1bed8312a0db871239dd16c97c8858167a8347c655a63
7
- data.tar.gz: 8ca050a4964285c45311454f1ef87faf8d8ab8f6507620d892f39d130e13d2d9faf679e87dadbc14a424a67cea2b7e01eccee091a45402206df1268fb783325d
6
+ metadata.gz: 474346807b5396a4b265935cb9c3e49bd3bb8d3a2435ce8d61f371382979fdbc4eb3de5eac4307136ebb2512411d575f5bd09cf8e60df9558ea2b9f0780506c7
7
+ data.tar.gz: 44febd6f2fae49f1fe67d1594535ecc943407847cd8d5dbbb74ceb5775cef52bd985a2cfb7d63e98b34e7a99b75d36a0764f79f0a14e45927c96decac2a4df8f
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -4,7 +4,7 @@
4
4
  # The main AXElements namespace.
5
5
  module Accessibility
6
6
  # @return [String]
7
- VERSION = '7.0.0.pre4'
7
+ VERSION = '7.0.0.pre5'
8
8
 
9
9
  # @return [String]
10
10
  CODE_NAME = 'ニンフィア'
@@ -326,10 +326,10 @@ class AX::Application < AX::Element
326
326
  def hold_modifier key
327
327
  code = EventGenerator::CUSTOM[key]
328
328
  raise ArgumentError, "Invalid modifier `#{key}' given" unless code
329
- KeyCoder.post_event([[code, true]])
329
+ KeyCoder.post_event([code, true])
330
330
  yield
331
331
  ensure
332
- KeyCoder.post_event([[code, false]]) if code
332
+ KeyCoder.post_event([code, false]) if code
333
333
  code
334
334
  end
335
335
 
@@ -73,10 +73,10 @@ class AX::SystemWide < AX::Element
73
73
  def hold_modifier key
74
74
  code = EventGenerator::CUSTOM[key]
75
75
  raise ArgumentError, "Invalid modifier `#{key}' given" unless code
76
- KeyCoder.post_event([[code, true]])
76
+ KeyCoder.post_event([code, true])
77
77
  yield
78
78
  ensure # if block raises the button might stuck, so ensure it is released
79
- KeyCoder.post_event([[code, false]]) if code
79
+ KeyCoder.post_event([code, false]) if code
80
80
  code
81
81
  end
82
82
 
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.0.pre4
4
+ version: 7.0.0.pre5
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-02-09 00:00:00.000000000 Z
33
+ date: 2015-03-25 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: mouse
@@ -80,28 +80,28 @@ dependencies:
80
80
  requirements:
81
81
  - - "~>"
82
82
  - !ruby/object:Gem::Version
83
- version: 1.0.0
83
+ version: '1.0'
84
84
  type: :runtime
85
85
  prerelease: false
86
86
  version_requirements: !ruby/object:Gem::Requirement
87
87
  requirements:
88
88
  - - "~>"
89
89
  - !ruby/object:Gem::Version
90
- version: 1.0.0
90
+ version: '1.0'
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: activesupport
93
93
  requirement: !ruby/object:Gem::Requirement
94
94
  requirements:
95
95
  - - "~>"
96
96
  - !ruby/object:Gem::Version
97
- version: 4.2.0
97
+ version: '4.2'
98
98
  type: :runtime
99
99
  prerelease: false
100
100
  version_requirements: !ruby/object:Gem::Requirement
101
101
  requirements:
102
102
  - - "~>"
103
103
  - !ruby/object:Gem::Version
104
- version: 4.2.0
104
+ version: '4.2'
105
105
  description: |
106
106
  AXElements is a UI automation library built on top of various OS X
107
107
  frameworks. You can use AXElements to write functional tests for
metadata.gz.sig CHANGED
Binary file