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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eb9a565c5471d459f9c34b7d2c9aedafbb77d6b9813328f993be2e4dadd59c9e
4
- data.tar.gz: 171f30da9f919f0bf1739f3f4f8081f4e819ca668fec72bc1ecfe8bf6123eaae
3
+ metadata.gz: 161ab82099754771d63f93a5bf518144963678d8eaf1be933b315de772ae7a6f
4
+ data.tar.gz: 894bfcacb72114b286339bf2ae5755ef02516b88679827f9fd480046c45317e5
5
5
  SHA512:
6
- metadata.gz: e95c844dd6bde0322d819eb4a46f38cfd5b197a7c49bc696e706a9f4aaab3bddd78367331c452bbdda819c9f20b2a1263772185374bdee8eb6b2b1bff9b2d698
7
- data.tar.gz: b16c4d1f5623280c01207080194ba2ff164957aefbdb2f081eb9903c1d8e1cc199153bf1f14dbba51e57a9d4566fd79e4e96854c4f7ae6855e7e317bc2e03c07
6
+ metadata.gz: a505e61d11413bfa3698c9b2af54db84523075cf40b22070fb05b1fe211aaaf7c7bd3441587e3821938728d4ddc8bbd624ceffc15a360a4115c0cda089761d03
7
+ data.tar.gz: ae25695bfb35c9bdb37af92e471e97274ecc7376ebc5e08694d1c2a36dba3ea6a1f67b4042131379fc140a4915aee75217668f49e6a3580c25f44b78bdbc438d
@@ -1,3 +1,3 @@
1
1
  module LinuxInput
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
@@ -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 lib/linux_input/generated/ioctl.rb`
8
- `ffi-gen input_wrap.xml lib/linux_input/generated/input.rb`
7
+ `ffi-gen ioctl_wrap.xml ioctl.rb`
8
+ `ffi-gen input_wrap.xml input.rb`
9
9
 
10
- `sed -i 's/\\([0-9]\\)U/\\1/g' lib/linux_input/generated/ioctl.rb`
11
- `sed -i 's/_IO/IO/g' lib/linux_input/generated/ioctl.rb`
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.0
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-22 00:00:00.000000000 Z
11
+ date: 2020-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi