x_do 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.project +17 -0
- data/.rspec +1 -0
- data/Gemfile +12 -0
- data/Gemfile.lock +31 -0
- data/LICENSE.txt +20 -0
- data/README.rdoc +27 -0
- data/Rakefile +57 -0
- data/VERSION +1 -0
- data/lib/x_do.rb +13 -0
- data/lib/x_do/context.rb +101 -0
- data/lib/x_do/ffi_autogen.rb +37 -0
- data/lib/x_do/ffi_functions.rb +63 -0
- data/lib/x_do/ffi_lib.rb +45 -0
- data/lib/x_do/ffi_lib_ext.rb +62 -0
- data/lib/x_do/keyboard.rb +51 -0
- data/lib/x_do/mouse.rb +85 -0
- data/lib/x_do/window.rb +182 -0
- data/spec/spec_helper.rb +12 -0
- data/spec/support/stdlib.rb +2 -0
- data/spec/x_do/context_spec.rb +127 -0
- data/spec/x_do/ffi_lib_ext_spec.rb +126 -0
- data/spec/x_do/keyboard_spec.rb +32 -0
- data/spec/x_do/mouse_spec.rb +53 -0
- data/spec/x_do/window_spec.rb +141 -0
- data/tasks/ffi_codegen.rb +108 -0
- metadata +252 -0
metadata
ADDED
@@ -0,0 +1,252 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: x_do
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 27
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
- 0
|
10
|
+
version: 0.1.0
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Victor Costan
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2011-04-22 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
22
|
+
none: false
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
hash: 23
|
27
|
+
segments:
|
28
|
+
- 1
|
29
|
+
- 0
|
30
|
+
- 0
|
31
|
+
version: 1.0.0
|
32
|
+
version_requirements: *id001
|
33
|
+
name: ffi
|
34
|
+
prerelease: false
|
35
|
+
type: :runtime
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
38
|
+
none: false
|
39
|
+
requirements:
|
40
|
+
- - ~>
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
hash: 27
|
43
|
+
segments:
|
44
|
+
- 2
|
45
|
+
- 5
|
46
|
+
- 0
|
47
|
+
version: 2.5.0
|
48
|
+
version_requirements: *id002
|
49
|
+
name: rspec
|
50
|
+
prerelease: false
|
51
|
+
type: :development
|
52
|
+
- !ruby/object:Gem::Dependency
|
53
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
54
|
+
none: false
|
55
|
+
requirements:
|
56
|
+
- - ~>
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
hash: 23
|
59
|
+
segments:
|
60
|
+
- 1
|
61
|
+
- 0
|
62
|
+
- 0
|
63
|
+
version: 1.0.0
|
64
|
+
version_requirements: *id003
|
65
|
+
name: bundler
|
66
|
+
prerelease: false
|
67
|
+
type: :development
|
68
|
+
- !ruby/object:Gem::Dependency
|
69
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
70
|
+
none: false
|
71
|
+
requirements:
|
72
|
+
- - ~>
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
hash: 7
|
75
|
+
segments:
|
76
|
+
- 1
|
77
|
+
- 5
|
78
|
+
- 2
|
79
|
+
version: 1.5.2
|
80
|
+
version_requirements: *id004
|
81
|
+
name: jeweler
|
82
|
+
prerelease: false
|
83
|
+
type: :development
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
86
|
+
none: false
|
87
|
+
requirements:
|
88
|
+
- - ">="
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
hash: 3
|
91
|
+
segments:
|
92
|
+
- 0
|
93
|
+
version: "0"
|
94
|
+
version_requirements: *id005
|
95
|
+
name: rcov
|
96
|
+
prerelease: false
|
97
|
+
type: :development
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
100
|
+
none: false
|
101
|
+
requirements:
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
hash: 23
|
105
|
+
segments:
|
106
|
+
- 1
|
107
|
+
- 0
|
108
|
+
- 0
|
109
|
+
version: 1.0.0
|
110
|
+
version_requirements: *id006
|
111
|
+
name: ffi
|
112
|
+
prerelease: false
|
113
|
+
type: :runtime
|
114
|
+
- !ruby/object:Gem::Dependency
|
115
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
116
|
+
none: false
|
117
|
+
requirements:
|
118
|
+
- - ~>
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
hash: 27
|
121
|
+
segments:
|
122
|
+
- 2
|
123
|
+
- 5
|
124
|
+
- 0
|
125
|
+
version: 2.5.0
|
126
|
+
version_requirements: *id007
|
127
|
+
name: rspec
|
128
|
+
prerelease: false
|
129
|
+
type: :development
|
130
|
+
- !ruby/object:Gem::Dependency
|
131
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
132
|
+
none: false
|
133
|
+
requirements:
|
134
|
+
- - ~>
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
hash: 23
|
137
|
+
segments:
|
138
|
+
- 1
|
139
|
+
- 0
|
140
|
+
- 0
|
141
|
+
version: 1.0.0
|
142
|
+
version_requirements: *id008
|
143
|
+
name: bundler
|
144
|
+
prerelease: false
|
145
|
+
type: :development
|
146
|
+
- !ruby/object:Gem::Dependency
|
147
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
148
|
+
none: false
|
149
|
+
requirements:
|
150
|
+
- - ~>
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
hash: 7
|
153
|
+
segments:
|
154
|
+
- 1
|
155
|
+
- 5
|
156
|
+
- 2
|
157
|
+
version: 1.5.2
|
158
|
+
version_requirements: *id009
|
159
|
+
name: jeweler
|
160
|
+
prerelease: false
|
161
|
+
type: :development
|
162
|
+
- !ruby/object:Gem::Dependency
|
163
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
164
|
+
none: false
|
165
|
+
requirements:
|
166
|
+
- - ">="
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
hash: 3
|
169
|
+
segments:
|
170
|
+
- 0
|
171
|
+
version: "0"
|
172
|
+
version_requirements: *id010
|
173
|
+
name: rcov
|
174
|
+
prerelease: false
|
175
|
+
type: :development
|
176
|
+
description: Wraps libxdo using ffi, for high performance
|
177
|
+
email: victor@costan.us
|
178
|
+
executables: []
|
179
|
+
|
180
|
+
extensions: []
|
181
|
+
|
182
|
+
extra_rdoc_files:
|
183
|
+
- LICENSE.txt
|
184
|
+
- README.rdoc
|
185
|
+
files:
|
186
|
+
- .document
|
187
|
+
- .project
|
188
|
+
- .rspec
|
189
|
+
- Gemfile
|
190
|
+
- Gemfile.lock
|
191
|
+
- LICENSE.txt
|
192
|
+
- README.rdoc
|
193
|
+
- Rakefile
|
194
|
+
- VERSION
|
195
|
+
- lib/x_do.rb
|
196
|
+
- lib/x_do/context.rb
|
197
|
+
- lib/x_do/ffi_autogen.rb
|
198
|
+
- lib/x_do/ffi_functions.rb
|
199
|
+
- lib/x_do/ffi_lib.rb
|
200
|
+
- lib/x_do/ffi_lib_ext.rb
|
201
|
+
- lib/x_do/keyboard.rb
|
202
|
+
- lib/x_do/mouse.rb
|
203
|
+
- lib/x_do/window.rb
|
204
|
+
- spec/spec_helper.rb
|
205
|
+
- spec/support/stdlib.rb
|
206
|
+
- spec/x_do/context_spec.rb
|
207
|
+
- spec/x_do/ffi_lib_ext_spec.rb
|
208
|
+
- spec/x_do/keyboard_spec.rb
|
209
|
+
- spec/x_do/mouse_spec.rb
|
210
|
+
- spec/x_do/window_spec.rb
|
211
|
+
- tasks/ffi_codegen.rb
|
212
|
+
homepage: http://github.com/pwnall/x_do
|
213
|
+
licenses:
|
214
|
+
- MIT
|
215
|
+
post_install_message:
|
216
|
+
rdoc_options: []
|
217
|
+
|
218
|
+
require_paths:
|
219
|
+
- lib
|
220
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
221
|
+
none: false
|
222
|
+
requirements:
|
223
|
+
- - ">="
|
224
|
+
- !ruby/object:Gem::Version
|
225
|
+
hash: 3
|
226
|
+
segments:
|
227
|
+
- 0
|
228
|
+
version: "0"
|
229
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
230
|
+
none: false
|
231
|
+
requirements:
|
232
|
+
- - ">="
|
233
|
+
- !ruby/object:Gem::Version
|
234
|
+
hash: 3
|
235
|
+
segments:
|
236
|
+
- 0
|
237
|
+
version: "0"
|
238
|
+
requirements: []
|
239
|
+
|
240
|
+
rubyforge_project:
|
241
|
+
rubygems_version: 1.7.2
|
242
|
+
signing_key:
|
243
|
+
specification_version: 3
|
244
|
+
summary: Ruby FFI for libxdo (X mouse / keypress injector)
|
245
|
+
test_files:
|
246
|
+
- spec/spec_helper.rb
|
247
|
+
- spec/support/stdlib.rb
|
248
|
+
- spec/x_do/context_spec.rb
|
249
|
+
- spec/x_do/ffi_lib_ext_spec.rb
|
250
|
+
- spec/x_do/keyboard_spec.rb
|
251
|
+
- spec/x_do/mouse_spec.rb
|
252
|
+
- spec/x_do/window_spec.rb
|