libusb 0.4.0-x64-mingw32 → 0.4.1-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml CHANGED
@@ -3,8 +3,8 @@ rvm:
3
3
  - "1.8.7"
4
4
  - "1.9.3"
5
5
  - "2.0.0"
6
+ - "2.1"
6
7
  - jruby-18mode # JRuby in 1.8 mode
7
8
  - jruby-19mode # JRuby in 1.9 mode
8
- - rbx-18mode
9
- - rbx-19mode
9
+ - rbx-2.2.6
10
10
  script: bundle exec rake travis
data/Gemfile CHANGED
@@ -7,11 +7,3 @@ group :test do
7
7
  gem 'eventmachine'
8
8
  gem 'minitest'
9
9
  end
10
-
11
- platforms :rbx do
12
- # travis currently runs a slightly older version of rbx,
13
- # that needs this special ffi version.
14
- if ENV['TRAVIS']
15
- gem 'ffi', :git => "git://github.com/ffi/ffi.git", :ref => '5f31908'
16
- end
17
- end
data/History.md CHANGED
@@ -1,3 +1,8 @@
1
+ 0.4.1 / 2014-05-17
2
+ ------------------
3
+ * Update bundled libusb version to 1.0.18.
4
+ * Change libusbx references back to libusb, since they have merged again.
5
+
1
6
  0.4.0 / 2013-11-20
2
7
  ------------------
3
8
  * Add support for device hotplug notifications.
data/README.md CHANGED
@@ -7,8 +7,8 @@ Access USB devices from Ruby
7
7
 
8
8
  LIBUSB is a Ruby binding that gives Ruby programmers access to arbitrary USB devices.
9
9
 
10
- * [libusb](http://libusbx.org) is a library that gives full access to devices connected via the USB bus. No special kernel driver is thus necessary for accessing USB devices.
11
- * This Ruby binding supports the API version 1.0 of [libusb](http://libusbx.org). Note that the old "legacy" version 0.1.x of libusb uses a completely different API that is covered by the ruby extension [ruby-usb](http://www.a-k-r.org/ruby-usb/) .
10
+ * [libusb](http://libusb.info) is a library that gives full access to devices connected via the USB bus. No special kernel driver is thus necessary for accessing USB devices.
11
+ * This Ruby binding supports the API version 1.0 of [libusb](http://libusb.info). Note that the old "legacy" version 0.1.x of libusb uses a completely different API that is covered by the ruby extension [ruby-usb](http://www.a-k-r.org/ruby-usb/) .
12
12
 
13
13
 
14
14
  LIBUSB for Ruby is covered by the GNU Lesser General Public License version 3.
@@ -59,16 +59,16 @@ Prerequisites
59
59
  -------------
60
60
 
61
61
  * Linux, MacOSX or Windows system with Ruby MRI 1.8.7/1.9/2.0, JRuby or recent version of Rubinius
62
- * Optionally: [libusb](http://libusb.org) or [libusbx](http://libusbx.org) library version 1.0.8+ :
62
+ * Optionally: [libusb](http://libusb.info) or [libusbx](http://libusbx.org) library version 1.0.8+ :
63
63
  * Debian or Ubuntu:
64
64
 
65
65
  ```
66
66
  $ sudo apt-get install libusb-1.0-0-dev
67
67
  ```
68
- * OS-X: install with homebrew (note the `x`):
68
+ * OS-X: install with homebrew:
69
69
 
70
70
  ```
71
- $ brew install libusbx
71
+ $ brew install libusb
72
72
  ```
73
73
  or macports:
74
74
 
@@ -83,7 +83,7 @@ Install
83
83
  $ gem install libusb
84
84
 
85
85
  While ```gem install``` the system is checked for a usable libusb(x) library installation.
86
- If none could be found, a bundled libusbx version is built and used, instead.
86
+ If none could be found, a bundled libusb version is built and used, instead.
87
87
 
88
88
  Latest code can be used in this way:
89
89
 
data/Rakefile CHANGED
@@ -25,9 +25,9 @@ COMPILE_HOME = Pathname( "./tmp" ).expand_path
25
25
  STATIC_SOURCESDIR = COMPILE_HOME + 'sources'
26
26
 
27
27
  # Fetch tarball from sourceforge
28
- # LIBUSB_VERSION = ENV['LIBUSB_VERSION'] || '1.0.9'
29
- # LIBUSB_SOURCE_URI = URI( "http://downloads.sourceforge.net/project/libusb/libusb-1.0/libusb-#{LIBUSB_VERSION}/libusb-#{LIBUSB_VERSION}.tar.bz2" )
30
- # LIBUSB_TARBALL = STATIC_SOURCESDIR + File.basename( LIBUSB_SOURCE_URI.path )
28
+ LIBUSB_VERSION = ENV['LIBUSB_VERSION'] || '1.0.18'
29
+ LIBUSB_SOURCE_URI = URI( "http://downloads.sourceforge.net/project/libusb/libusb-1.0/libusb-#{LIBUSB_VERSION}/libusb-#{LIBUSB_VERSION}.tar.bz2" )
30
+ LIBUSB_TARBALL = STATIC_SOURCESDIR + File.basename( LIBUSB_SOURCE_URI.path )
31
31
 
32
32
  # Fetch tarball from git repo
33
33
  # LIBUSB_VERSION = ENV['LIBUSB_VERSION'] || '295c9d1'
@@ -35,9 +35,9 @@ STATIC_SOURCESDIR = COMPILE_HOME + 'sources'
35
35
  # LIBUSB_TARBALL = STATIC_SOURCESDIR + "libusb-#{LIBUSB_VERSION}.tar.bz2"
36
36
 
37
37
  # Fetch tarball from libusbx
38
- LIBUSB_VERSION = ENV['LIBUSB_VERSION'] || '1.0.17'
39
- LIBUSB_SOURCE_URI = URI( "http://downloads.sourceforge.net/project/libusbx/releases/#{LIBUSB_VERSION[/^\d+\.\d+\.\d+/]}/source/libusbx-#{LIBUSB_VERSION}.tar.bz2" )
40
- LIBUSB_TARBALL = STATIC_SOURCESDIR + File.basename( LIBUSB_SOURCE_URI.path )
38
+ # LIBUSB_VERSION = ENV['LIBUSB_VERSION'] || '1.0.17'
39
+ # LIBUSB_SOURCE_URI = URI( "http://downloads.sourceforge.net/project/libusbx/releases/#{LIBUSB_VERSION[/^\d+\.\d+\.\d+/]}/source/libusbx-#{LIBUSB_VERSION}.tar.bz2" )
40
+ # LIBUSB_TARBALL = STATIC_SOURCESDIR + File.basename( LIBUSB_SOURCE_URI.path )
41
41
 
42
42
  # Fetch tarball from Pete Batard's git repo
43
43
  # LIBUSB_VERSION = ENV['LIBUSB_VERSION'] || '4cc72d0'
@@ -172,10 +172,10 @@ CrossLibraries = [
172
172
  CrossLibrary.new ruby_platform, host_platform
173
173
  end
174
174
 
175
- desc "Download and update bundled libusb(x)"
175
+ desc "Download and update bundled libusb"
176
176
  task :update_libusb => LIBUSB_TARBALL do
177
- sh 'rm', '-r', (EXT_BUILDDIR + "libusbx-*").to_s do end
178
- sh 'git', 'rm', '-rfq', (EXT_BUILDDIR + "libusbx-*").to_s do end
177
+ sh 'rm', '-r', (EXT_BUILDDIR + "libusb-*").to_s do end
178
+ sh 'git', 'rm', '-rfq', (EXT_BUILDDIR + "libusb-*").to_s do end
179
179
  sh 'tar', '-xjf', LIBUSB_TARBALL.to_s, '-C', EXT_LIBUSB_BUILDDIR.parent.to_s
180
180
  drops = %w[msvc].map{|f| (EXT_LIBUSB_BUILDDIR+f).to_s }
181
181
  sh 'rm', '-r', '-f', *drops
@@ -15,5 +15,5 @@
15
15
 
16
16
  module LIBUSB
17
17
  # Library version of libusb for Ruby
18
- VERSION = "0.4.0"
18
+ VERSION = "0.4.1"
19
19
  end
data/libusb.gemspec CHANGED
@@ -20,12 +20,7 @@ Gem::Specification.new do |s|
20
20
  s.require_paths = ["lib"]
21
21
  s.extensions = ['ext/extconf.rb']
22
22
 
23
- # travis currently runs a slightly older version of rbx,
24
- # that needs a special ffi version.
25
- unless ENV['TRAVIS'] && defined?(RUBY_ENGINE) && RUBY_ENGINE=='rbx'
26
- s.add_runtime_dependency 'ffi', '>= 1.0'
27
- end
28
-
23
+ s.add_runtime_dependency 'ffi', '>= 1.0'
29
24
  s.add_development_dependency 'rake-compiler', '>= 0.6'
30
25
  s.add_development_dependency 'bundler'
31
26
  end
metadata CHANGED
@@ -1,76 +1,62 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libusb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
+ prerelease:
5
6
  platform: x64-mingw32
6
7
  authors:
7
8
  - Lars Kanis
8
9
  autorequire:
9
10
  bindir: bin
10
- cert_chain:
11
- - |
12
- -----BEGIN CERTIFICATE-----
13
- MIIDPDCCAiSgAwIBAgIBADANBgkqhkiG9w0BAQUFADBEMQ0wCwYDVQQDDARsYXJz
14
- MR8wHQYKCZImiZPyLGQBGRYPZ3JlaXotcmVpbnNkb3JmMRIwEAYKCZImiZPyLGQB
15
- GRYCZGUwHhcNMTMwMzExMjAyMjIyWhcNMTQwMzExMjAyMjIyWjBEMQ0wCwYDVQQD
16
- DARsYXJzMR8wHQYKCZImiZPyLGQBGRYPZ3JlaXotcmVpbnNkb3JmMRIwEAYKCZIm
17
- iZPyLGQBGRYCZGUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZb4Uv
18
- RFJfRu/VEWiy3psh2jinETjiuBrL0NeRFGf8H7iU9+gx/DI/FFhfHGLrDeIskrJx
19
- YIWDMmEjVO10UUdj7wu4ZhmU++0Cd7Kq9/TyP/shIP3IjqHjVLCnJ3P6f1cl5rxZ
20
- gqo+d3BAoDrmPk0rtaf6QopwUw9RBiF8V4HqvpiY+ruJotP5UQDP4/lVOKvA8PI9
21
- P0GmVbFBrbc7Zt5h78N3UyOK0u+nvOC23BvyHXzCtcFsXCoEkt+Wwh0RFqVZdnjM
22
- LMO2vULHKKHDdX54K/sbVCj9pN9h1aotNzrEyo55zxn0G9PHg/G3P8nMvAXPkUTe
23
- brhXrfCwWRvOXA4TAgMBAAGjOTA3MAsGA1UdDwQEAwIEsDAJBgNVHRMEAjAAMB0G
24
- A1UdDgQWBBRAHK81igrXodaDj8a8/BIKsaZrETANBgkqhkiG9w0BAQUFAAOCAQEA
25
- Iswhcol3ytXthaUH3k5LopZ09viZrZHzAw0QleI3Opl/9QEGJ2BPV9+93iC0OrNL
26
- hmnxig6vKK1EeJ5PHXJ8hOI3nTZBrOmQcEXNBqyToP1FHMWZqwZ8wiBPXtiCqDBR
27
- ePQ25J9xFNzQ1ItgzNSpx5cs67QNKrx5woocoBHD6kStFbshZPJx4axl3GbUFQd5
28
- H//3YdPQOH3jaVeUXhS+pz/gfbx8fhFAtsQ+855A3HO7g2ZRIg/atAp/0MFyn5s5
29
- 0rq+VHOIPyvxF5khT0mYAcNmZTC8z1yPsqdgwfYNDjsSWwiIRSPUSmJRvfjM8hsW
30
- mMFp4kPUHbWOqCp2mz9gCA==
31
- -----END CERTIFICATE-----
32
- date: 2013-11-20 00:00:00.000000000 Z
11
+ cert_chain: []
12
+ date: 2014-05-17 00:00:00.000000000 Z
33
13
  dependencies:
34
14
  - !ruby/object:Gem::Dependency
35
15
  name: ffi
36
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
37
18
  requirements:
38
- - - '>='
19
+ - - ! '>='
39
20
  - !ruby/object:Gem::Version
40
21
  version: '1.0'
41
22
  type: :runtime
42
23
  prerelease: false
43
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
44
26
  requirements:
45
- - - '>='
27
+ - - ! '>='
46
28
  - !ruby/object:Gem::Version
47
29
  version: '1.0'
48
30
  - !ruby/object:Gem::Dependency
49
31
  name: rake-compiler
50
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
51
34
  requirements:
52
- - - '>='
35
+ - - ! '>='
53
36
  - !ruby/object:Gem::Version
54
37
  version: '0.6'
55
38
  type: :development
56
39
  prerelease: false
57
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
58
42
  requirements:
59
- - - '>='
43
+ - - ! '>='
60
44
  - !ruby/object:Gem::Version
61
45
  version: '0.6'
62
46
  - !ruby/object:Gem::Dependency
63
47
  name: bundler
64
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
65
50
  requirements:
66
- - - '>='
51
+ - - ! '>='
67
52
  - !ruby/object:Gem::Version
68
53
  version: '0'
69
54
  type: :development
70
55
  prerelease: false
71
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
72
58
  requirements:
73
- - - '>='
59
+ - - ! '>='
74
60
  - !ruby/object:Gem::Version
75
61
  version: '0'
76
62
  description: LIBUSB is a Ruby binding that gives Ruby programmers access to arbitrary
@@ -121,7 +107,6 @@ files:
121
107
  - lib/libusb-1.0.dll
122
108
  homepage: http://github.com/larskanis/libusb
123
109
  licenses: []
124
- metadata: {}
125
110
  post_install_message:
126
111
  rdoc_options:
127
112
  - --main
@@ -130,19 +115,21 @@ rdoc_options:
130
115
  require_paths:
131
116
  - lib
132
117
  required_ruby_version: !ruby/object:Gem::Requirement
118
+ none: false
133
119
  requirements:
134
- - - '>='
120
+ - - ! '>='
135
121
  - !ruby/object:Gem::Version
136
122
  version: '0'
137
123
  required_rubygems_version: !ruby/object:Gem::Requirement
124
+ none: false
138
125
  requirements:
139
- - - '>='
126
+ - - ! '>='
140
127
  - !ruby/object:Gem::Version
141
128
  version: '0'
142
129
  requirements: []
143
130
  rubyforge_project: libusb
144
- rubygems_version: 2.0.3
131
+ rubygems_version: 1.8.24
145
132
  signing_key:
146
- specification_version: 4
133
+ specification_version: 3
147
134
  summary: Access USB devices from Ruby via libusb-1.0
148
135
  test_files: []
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 08ebef43ef23b38d7853e498df47564e821a4106
4
- data.tar.gz: 72aa8693ac0df18afbf7b6e287c7e695e1e581db
5
- SHA512:
6
- metadata.gz: c743324f0ce2a2894f77f8079c77d615f32bde11595fab3b09b61bdcf53ab5ab3041d3b29903af8bff6acfce08e9690359ab424b25767e5feaac9baf58c6ea51
7
- data.tar.gz: 88153b441df6901712c0094e3b72b1cef99d18a8e928394a321b18206769a10a09d1bbdb8efaa3ebb45473d619b1b2078112ce346ec814655934ce0b04b9e17b
checksums.yaml.gz.sig DELETED
@@ -1,2 +0,0 @@
1
- �g&�v��J��6C��ˢ���h�#�î��<�B��(0�D��gV�ܠ�/R�}�p=��I>�"��˙���)Q�6��
2
- ����5���i?���P����/�����r����<D���t����z7�iY�s�J��ēF
data.tar.gz.sig DELETED
Binary file
metadata.gz.sig DELETED
Binary file