myhidapi 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ext/myhidapi/myhidapi.c +1 -0
- data/lib/myhidapi.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bca5b56cbd6bb250c8fb775eb6096ade4e5fbefab1b8a4705da2ab953fa31662
|
4
|
+
data.tar.gz: 4e495af91a707651bb5c1d3bb7ab0456f1beaa119377e8e09498a2abae44d8f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 460cd7bf7c2947a710e40c973da6578236d8c406f5df8a064a4a0578dc19b8e161c164c7c803a8d05b3b9548532ae330e067ed1de9943a0525aaa8d4cf04c30e
|
7
|
+
data.tar.gz: '09cb9837f2ea31f82a689e1dbe546b83bdf7015b16a8baa56a3e0e8e7ff757f09459296afc9690dc07647f8062a64dfeb473035ce0b59c90b0cceb32f0ddb5b8'
|
data/ext/myhidapi/myhidapi.c
CHANGED
@@ -192,6 +192,7 @@ rb_product(VALUE self)
|
|
192
192
|
void Init_myhidapi() {
|
193
193
|
mMyHIDAPI = rb_define_module("MyHIDAPI");
|
194
194
|
cMyHIDAPIHandle = rb_define_class_under(mMyHIDAPI, "Handle", rb_cObject);
|
195
|
+
rb_undef_alloc_func(cMyHIDAPIHandle);
|
195
196
|
rb_define_singleton_method(mMyHIDAPI, "enumerate", enumerate, 2);
|
196
197
|
rb_define_singleton_method(mMyHIDAPI, "open", rb_hid_open, 2);
|
197
198
|
rb_define_singleton_method(mMyHIDAPI, "open_path", rb_hid_open_path, 1);
|
data/lib/myhidapi.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: myhidapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Patterson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '5.
|
19
|
+
version: '5.15'
|
20
20
|
type: :development
|
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: '5.
|
26
|
+
version: '5.15'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rdoc
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -50,14 +50,14 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '3.
|
53
|
+
version: '3.23'
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '3.
|
60
|
+
version: '3.23'
|
61
61
|
description: |-
|
62
62
|
This is a small wrapper around HIDAPI. I couldn't get other HIDAPI wrappers to
|
63
63
|
work, so I wrote this one. I'm using it to communicate with my keyboard, so
|
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
104
|
- !ruby/object:Gem::Version
|
105
105
|
version: '0'
|
106
106
|
requirements: []
|
107
|
-
rubygems_version: 3.
|
107
|
+
rubygems_version: 3.4.0.dev
|
108
108
|
signing_key:
|
109
109
|
specification_version: 4
|
110
110
|
summary: This is a small wrapper around HIDAPI
|