rawhid 0.1.4 → 0.1.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6687a92269d84106c45e377dc80e608509ca0ded
4
- data.tar.gz: 2b780571990dde4bad71c010a38b682918fd70c2
3
+ metadata.gz: f6dec03892810c99911dd1cd9954d89ed02a8763
4
+ data.tar.gz: a6e7f26eeadb4a6e7535483374834c2d2f68e422
5
5
  SHA512:
6
- metadata.gz: aa031a1b89150e4d4d0522c5f52971e9a61b7dfaeba58ea9fdc0afea1493297a9d2fa2fd56716ae7f31f14016b14d47e77db40a765bf34a5b14e4c4b29807ecb
7
- data.tar.gz: df77c46ca12185600d029d3630bec5325d4139c41f877e744aff562b84b531f0c6a1e886b57d515603d010380144a5c4d03f7dbdf31e1a45a70bf5beee945019
6
+ metadata.gz: 3c92737f429d9e56605c6a878967a71df8633863cdbd63041effe40981b763ca978f841d2c16267243bce1f6f7bbaae38aff2520effbc397a33dace085d3d612
7
+ data.tar.gz: 59507749df425f84b279cfccafed95dcced4ddec3a3197d909eab55088ccdf21df91c27f648bd8eef9065f71b389c19f69b51edfa6742d53d95ee3b483dba8ce
@@ -79,7 +79,7 @@
79
79
 
80
80
 
81
81
 
82
- #define printf(...) // comment this out for lots of info
82
+ //#define printf(...) // comment this out for lots of info
83
83
 
84
84
 
85
85
  // a list of all opened HID devices, so the caller can
data/lib/rawhid.rb CHANGED
@@ -12,9 +12,11 @@ class RawHID
12
12
  private :raw_send, :raw_recv
13
13
 
14
14
  def send(data, timeout=0)
15
+ puts "sendy"
15
16
  if Array === data
16
17
  data = data.map(&:chr).join
17
18
  end
19
+ puts "sendy sendy"
18
20
  ret = raw_send(data, timeout)
19
21
  if ret > 0
20
22
  ret
@@ -1,3 +1,3 @@
1
1
  class RawHID
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rawhid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leo P.