libusb 0.3.3-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,40 @@
1
+ # This file is part of Libusb for Ruby.
2
+ #
3
+ # Libusb for Ruby is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU Lesser General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+ #
8
+ # Libusb for Ruby is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU Lesser General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU Lesser General Public License
14
+ # along with Libusb for Ruby. If not, see <http://www.gnu.org/licenses/>.
15
+
16
+ require "test/unit"
17
+ require "libusb"
18
+
19
+ class TestLibusbVersion < Test::Unit::TestCase
20
+ def setup
21
+ @v = LIBUSB.version
22
+ end
23
+
24
+ def test_version_parts
25
+ assert_operator @v.major, :>=, 0
26
+ assert_operator @v.minor, :>=, 0
27
+ assert_operator @v.micro, :>=, 0
28
+ assert_operator @v.nano, :>=, 0
29
+ assert_kind_of String, @v.rc
30
+ end
31
+
32
+ def test_version_string
33
+ assert_match(/^\d+\.\d+\.\d+/, @v.to_s)
34
+ assert_match(/^#<LIBUSB::Version \d+\.\d+\.\d+/, @v.inspect)
35
+ end
36
+
37
+ def test_gem_version_string
38
+ assert_match(/^\d+\.\d+\.\d+/, LIBUSB::VERSION)
39
+ end
40
+ end
metadata ADDED
@@ -0,0 +1,126 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: libusb
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.3
5
+ platform: x64-mingw32
6
+ authors:
7
+ - Lars Kanis
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-04-05 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: ffi
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '1.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake-compiler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0.6'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0.6'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ description: LIBUSB is a Ruby binding that gives Ruby programmers access to arbitrary
56
+ USB devices
57
+ email:
58
+ - lars@greiz-reinsdorf.de
59
+ executables: []
60
+ extensions: []
61
+ extra_rdoc_files: []
62
+ files:
63
+ - .gitignore
64
+ - .travis.yml
65
+ - .yardopts
66
+ - COPYING
67
+ - Gemfile
68
+ - History.md
69
+ - README.md
70
+ - Rakefile
71
+ - lib/libusb.rb
72
+ - lib/libusb/call.rb
73
+ - lib/libusb/compat.rb
74
+ - lib/libusb/configuration.rb
75
+ - lib/libusb/constants.rb
76
+ - lib/libusb/context.rb
77
+ - lib/libusb/dev_handle.rb
78
+ - lib/libusb/device.rb
79
+ - lib/libusb/endpoint.rb
80
+ - lib/libusb/eventmachine.rb
81
+ - lib/libusb/interface.rb
82
+ - lib/libusb/setting.rb
83
+ - lib/libusb/transfer.rb
84
+ - lib/libusb/version_gem.rb
85
+ - lib/libusb/version_struct.rb
86
+ - libusb.gemspec
87
+ - test/test_libusb_capability.rb
88
+ - test/test_libusb_compat.rb
89
+ - test/test_libusb_compat_mass_storage.rb
90
+ - test/test_libusb_descriptors.rb
91
+ - test/test_libusb_event_machine.rb
92
+ - test/test_libusb_gc.rb
93
+ - test/test_libusb_iso_transfer.rb
94
+ - test/test_libusb_mass_storage.rb
95
+ - test/test_libusb_mass_storage2.rb
96
+ - test/test_libusb_structs.rb
97
+ - test/test_libusb_threads.rb
98
+ - test/test_libusb_version.rb
99
+ - lib/libusb-1.0.dll
100
+ homepage: http://github.com/larskanis/libusb
101
+ licenses: []
102
+ metadata: {}
103
+ post_install_message:
104
+ rdoc_options:
105
+ - --main
106
+ - README.md
107
+ - --charset=UTF-8
108
+ require_paths:
109
+ - lib
110
+ required_ruby_version: !ruby/object:Gem::Requirement
111
+ requirements:
112
+ - - '>='
113
+ - !ruby/object:Gem::Version
114
+ version: '0'
115
+ required_rubygems_version: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - '>='
118
+ - !ruby/object:Gem::Version
119
+ version: '0'
120
+ requirements: []
121
+ rubyforge_project: libusb
122
+ rubygems_version: 2.0.0.rc.2
123
+ signing_key:
124
+ specification_version: 4
125
+ summary: Access USB devices from Ruby via libusb-1.0
126
+ test_files: []