betabrite 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +6 -0
- data/lib/betabrite/base.rb +1 -1
- data/lib/betabrite/usb.rb +4 -0
- metadata +3 -3
data/History.txt
CHANGED
data/lib/betabrite/base.rb
CHANGED
data/lib/betabrite/usb.rb
CHANGED
@@ -44,6 +44,10 @@ module BetaBrite
|
|
44
44
|
|
45
45
|
retries = 0
|
46
46
|
begin
|
47
|
+
if PLATFORM =~ /mswin/
|
48
|
+
# http://osdir.com/ml/lib.libusb.devel.windows/2004-06/msg00001.html
|
49
|
+
handle.set_configuration(0x01)
|
50
|
+
end
|
47
51
|
error_code = handle.usb_claim_interface(INTERFACE)
|
48
52
|
raise unless error_code.nil?
|
49
53
|
rescue
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: betabrite
|
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
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-03-28 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
requirements:
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 1.5.
|
22
|
+
version: 1.5.1
|
23
23
|
version:
|
24
24
|
description: Provides a Ruby interface to BetaBrite LED signs.
|
25
25
|
email: aaronp@rubyforge.org
|