AXElements 1.0.0.alpha10 → 1.0.0.alpha11

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.
data/History.markdown CHANGED
@@ -1,14 +1,15 @@
1
1
  # 1.0.0
2
2
 
3
- * Added History.markdown to track notable changes
3
+ * Added `Accessibility::SystemInfo` for getting information about the running system
4
+ * Added `DSL#record` to run a screen recording of the given block (actual video!)
4
5
  * Added `Application.frontmost_application`
5
6
  * Added `Application.menu_bar_owner`
6
- * Added `SystemWide.status_items`
7
- * Added `SystemWide.desktop`
8
7
  * Added `Application.finder`
9
8
  * Added `Application.dock`
10
- * Added `DSL#record` to run a screen recording of the given block
11
- * Added `Accessibility::SystemInfo` for getting information about the running system
9
+ * Added `SystemWide.focused_application` as override of built in attribute
10
+ * Added `SystemWide.status_items`
11
+ * Added `SystemWide.desktop`
12
+ * Added History.markdown to track notable changes
12
13
 
13
14
  * Ported `mouse.rb` to C and moved code to [MRMouse](https://github.com/ferrous26/MRMouse)
14
15
 
@@ -4,7 +4,7 @@
4
4
  # The main AXElements namespace.
5
5
  module Accessibility
6
6
  # @return [String]
7
- VERSION = '1.0.0.alpha10'
7
+ VERSION = '1.0.0.alpha11'
8
8
 
9
9
  # @return [String]
10
10
  CODE_NAME = 'ルナトーン'
data/lib/ax/systemwide.rb CHANGED
@@ -123,4 +123,9 @@ class AX::SystemWide < AX::Element
123
123
  @ref.set_timeout_to seconds
124
124
  end
125
125
 
126
+ # (see AX::Application.frontmost_application)
127
+ def focused_application
128
+ AX::Application.frontmost_app
129
+ end
130
+
126
131
  end
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.alpha10
5
+ version: 1.0.0.alpha11
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-11 00:00:00 Z
12
+ date: 2012-12-12 00:00:00 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mouse
@@ -19,14 +19,14 @@ dependencies:
19
19
  requirements:
20
20
  - - ~>
21
21
  - !ruby/object:Gem::Version
22
- version: 1.0.2
22
+ version: 1.0.3
23
23
  type: :runtime
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: 1.0.2
29
+ version: 1.0.3
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: screen_recorder
32
32
  prerelease: false
@@ -35,14 +35,14 @@ dependencies:
35
35
  requirements:
36
36
  - - ~>
37
37
  - !ruby/object:Gem::Version
38
- version: 0.1.3
38
+ version: 0.1.4
39
39
  type: :runtime
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
43
  - - ~>
44
44
  - !ruby/object:Gem::Version
45
- version: 0.1.3
45
+ version: 0.1.4
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: minitest
48
48
  prerelease: false