libusb 0.3.3-x86-mingw32 → 0.3.4-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/History.md +4 -0
- data/lib/libusb/context.rb +4 -1
- data/lib/libusb/version_gem.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5eb7b9496ecfb580df1770a1cbf7b5e3ba71998b
|
4
|
+
data.tar.gz: 7498ba012bb5c0ed90633ae9d47a9527032cdce6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 501b4f798c2ee75724f5c9e3fa5eb534ededae87a868241dca7cbd1edb052b5c1926c6de5c1ffcd5464f0b8b8d6a71c8b84d993e52c305bcfea1e0272fb9f19e
|
7
|
+
data.tar.gz: b1cd8bd6a03bc8d53550b976429b7a25acabeae45dcb71f0a5067c15f8f3b6455ff7e7737476560e23af00ab2ca1968c4fa81aee9527acacffe668d49aba9f90
|
data/.travis.yml
CHANGED
data/History.md
CHANGED
data/lib/libusb/context.rb
CHANGED
@@ -31,7 +31,10 @@ module LIBUSB
|
|
31
31
|
|
32
32
|
# @return [IO] IO object bound to the file descriptor.
|
33
33
|
def io
|
34
|
-
IO.new @fd
|
34
|
+
rio = IO.new @fd
|
35
|
+
# autoclose is available in Ruby-1.9+ only
|
36
|
+
rio.autoclose = false if rio.respond_to?( :autoclose= )
|
37
|
+
rio
|
35
38
|
end
|
36
39
|
|
37
40
|
# @return [Integer] Numeric file descriptor
|
data/lib/libusb/version_gem.rb
CHANGED