linux_input 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/linux_input/version.rb +1 -1
- data/tasks/ffi.rake +5 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 161ab82099754771d63f93a5bf518144963678d8eaf1be933b315de772ae7a6f
|
4
|
+
data.tar.gz: 894bfcacb72114b286339bf2ae5755ef02516b88679827f9fd480046c45317e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a505e61d11413bfa3698c9b2af54db84523075cf40b22070fb05b1fe211aaaf7c7bd3441587e3821938728d4ddc8bbd624ceffc15a360a4115c0cda089761d03
|
7
|
+
data.tar.gz: ae25695bfb35c9bdb37af92e471e97274ecc7376ebc5e08694d1c2a36dba3ea6a1f67b4042131379fc140a4915aee75217668f49e6a3580c25f44b78bdbc438d
|
data/lib/linux_input/version.rb
CHANGED
data/tasks/ffi.rake
CHANGED
@@ -4,13 +4,12 @@ namespace :ffi do
|
|
4
4
|
`swig -xml -o ioctl_wrap.xml -I/usr/include swig/ioctl.i`
|
5
5
|
`swig -xml -o input_wrap.xml -I/usr/include swig/input.i`
|
6
6
|
|
7
|
-
`ffi-gen ioctl_wrap.xml
|
8
|
-
`ffi-gen input_wrap.xml
|
7
|
+
`ffi-gen ioctl_wrap.xml ioctl.rb`
|
8
|
+
`ffi-gen input_wrap.xml input.rb`
|
9
9
|
|
10
|
-
`sed -
|
11
|
-
`sed -
|
12
|
-
`sed -i 's/ff_effect_u/FfEffectU/g' lib/linux_input/generated/input.rb`
|
10
|
+
`cat ioctl.rb | sed -e 's/\\([0-9]\\)U/\\1/g' | sed -e 's/_IO/IO/g' > lib/linux_input/generated/ioctl.rb`
|
11
|
+
`cat input.rb | sed -e 's/ff_effect_u/FfEffectU/g' > lib/linux_input/generated/input.rb`
|
13
12
|
|
14
|
-
`rm -f ioctl_wrap.xml input_wrap.xml`
|
13
|
+
`rm -f ioctl_wrap.xml input_wrap.xml ioctl.rb input.rb`
|
15
14
|
end
|
16
15
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: linux_input
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christopher Aue
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|