accessibility_core 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/History.markdown CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.1.2 - Fix some bridging stuff
2
+
3
+ * Update bridge dependency to get a fix
4
+
1
5
  # 0.1.1 - Fix the silly things release
2
6
 
3
7
  * Fix documentation not being generated
data/README.markdown CHANGED
@@ -14,7 +14,7 @@ runtimes.
14
14
  app = Accessibility::Element.application_for 276 # PID for some app
15
15
  app.attributes
16
16
 
17
- window = app.main_window
17
+ window = app.attribute 'AXMainWindow'
18
18
  window.attributes
19
19
  window.attribute 'AXPosition'
20
20
  window.set 'AXPosition', CGPoint.new(100, 100)
@@ -450,9 +450,11 @@ to_ax(VALUE obj)
450
450
  VALUE type = CLASS_OF(obj);
451
451
  if (type == rb_cElement) return unwrap_ref(obj);
452
452
  else if (type == rb_cString) return unwrap_string(obj);
453
- else if (type == rb_cStruct) return unwrap_value(obj);
454
- else if (type == rb_cRange) return unwrap_value(obj);
455
453
  else if (type == rb_cFixnum) return unwrap_number(obj);
454
+ else if (type == rb_cCGPoint) return unwrap_value(obj);
455
+ else if (type == rb_cCGSize) return unwrap_value(obj);
456
+ else if (type == rb_cCGRect) return unwrap_value(obj);
457
+ else if (type == rb_cRange) return unwrap_value(obj);
456
458
  else if (type == rb_cFloat) return unwrap_number(obj);
457
459
  else if (type == rb_cTime) return unwrap_date(obj);
458
460
  else if (type == rb_cURI) return unwrap_url(obj);
@@ -1,6 +1,6 @@
1
1
  module Accessibility
2
2
  module Bridge
3
3
  # @return [String]
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
  end
6
6
  end
@@ -6,6 +6,6 @@ module Accessibility
6
6
  # Namespace for `accessibility_core` specific classes
7
7
  module Core
8
8
  # return [String]
9
- VERSION = '0.1.1'
9
+ VERSION = '0.1.2'
10
10
  end
11
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: accessibility_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: '0'
21
+ version: 0.1.1
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
- version: '0'
29
+ version: 0.1.1
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: yard
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -133,18 +133,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
133
133
  - - ! '>='
134
134
  - !ruby/object:Gem::Version
135
135
  version: '0'
136
- segments:
137
- - 0
138
- hash: 1998952382329667807
139
136
  required_rubygems_version: !ruby/object:Gem::Requirement
140
137
  none: false
141
138
  requirements:
142
139
  - - ! '>='
143
140
  - !ruby/object:Gem::Version
144
141
  version: '0'
145
- segments:
146
- - 0
147
- hash: 1998952382329667807
148
142
  requirements: []
149
143
  rubyforge_project:
150
144
  rubygems_version: 1.8.24