libusb 0.3.3-x64-mingw32 → 0.3.4-x64-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: 8574ced09a4724959aa505bfdabb5954b8fcd6dc
|
4
|
+
data.tar.gz: fbc1e8fad6243fc3c6f2e6e5ee77e46d2df768c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0da496f019922da5c226c3e49921b0d301fbcafd00042bb82847f5c01a1d63007050a6ebfb74a5f61dd75145ee2ae4220313c7fc53a5b0bcffff10c6cda28079
|
7
|
+
data.tar.gz: 08f447cb62b881f9dfc1f917a98bc748d242842037320f6779ce73adaad69178286f10d0e4ce5263bd99ff7d90289da08aeb70223f7fc181232676dee4fa5c01
|
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