atspi_app_driver 0.0.7 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog.md +4 -0
- data/README.md +1 -1
- data/lib/atspi_app_driver.rb +23 -4
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 812bfe2274103cd20789da6b67e4ec010a10b00b
|
4
|
+
data.tar.gz: 781f70c42b81a23bf366be01fca0a499e198e776
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f282056e3514deae5c6bb776e59670f0cd53038b1369a4c7c819b9ac049443ac41d0fe9384cebf2860bcf47bd73fda0da10a67882eedc23848e13e2ca617a231
|
7
|
+
data.tar.gz: 25bfdbf41e5c964bb4afa0753a12c05116b5a79fc47c8af7be8262b74136f24996001afc6019efd5c6a408f214f0f87d5f356eb0ae7fb9afd9ac50711410507b
|
data/Changelog.md
CHANGED
data/README.md
CHANGED
data/lib/atspi_app_driver.rb
CHANGED
@@ -1,7 +1,26 @@
|
|
1
|
-
require '
|
1
|
+
require 'gobject-introspection'
|
2
|
+
|
3
|
+
module Atspi
|
4
|
+
class << self
|
5
|
+
def const_missing(name)
|
6
|
+
init
|
7
|
+
if const_defined?(name)
|
8
|
+
const_get(name)
|
9
|
+
else
|
10
|
+
super
|
11
|
+
end
|
12
|
+
end
|
2
13
|
|
3
|
-
|
4
|
-
|
14
|
+
def init
|
15
|
+
class << self
|
16
|
+
remove_method(:init)
|
17
|
+
remove_method(:const_missing)
|
18
|
+
end
|
19
|
+
loader = GObjectIntrospection::Loader.new(self)
|
20
|
+
loader.load('Atspi')
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
5
24
|
|
6
25
|
# Utility monkey-patches for the Atspi::Accessible class
|
7
26
|
module AtspiAccessiblePatches
|
@@ -92,7 +111,7 @@ class AtspiAppDriver
|
|
92
111
|
raise "Frame has unexpected role #{role.inspect}" unless role == :frame
|
93
112
|
|
94
113
|
wait_for('frame to be focused', 10) do
|
95
|
-
frame.
|
114
|
+
frame.state_set.contains(Atspi::StateType::ACTIVE)
|
96
115
|
end
|
97
116
|
|
98
117
|
frame
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: atspi_app_driver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matijs van Zuijlen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: gobject-introspection
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 3.1.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 3.1.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,28 +58,28 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '12.0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '12.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: gtk3
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 3.1.1
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 3.1.1
|
83
83
|
description:
|
84
84
|
email:
|
85
85
|
- matijs@matijs.net
|
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
112
|
version: '0'
|
113
113
|
requirements: []
|
114
114
|
rubyforge_project:
|
115
|
-
rubygems_version: 2.
|
115
|
+
rubygems_version: 2.6.8
|
116
116
|
signing_key:
|
117
117
|
specification_version: 4
|
118
118
|
summary: Test GNOME applications using Atspi
|