libusb 0.3.0-x86-mingw32 → 0.3.1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
data/History.md CHANGED
@@ -1,3 +1,7 @@
1
+ 0.3.1 / 2013-01-22
2
+ ------------------
3
+ * Fix loading of compiled libusb library on OSX
4
+
1
5
  0.3.0 / 2013-01-21
2
6
  ------------------
3
7
  * Build bundled libusbx sources in case libusb-1.0.so can not be loaded from the system
data/ext/extconf.rb CHANGED
@@ -6,7 +6,7 @@ require 'ffi'
6
6
  begin
7
7
  module LibTest
8
8
  extend FFI::Library
9
- ext = FFI::Platform.windows? ? 'dll' : 'so'
9
+ ext = FFI::Platform::LIBSUFFIX
10
10
  bundled_dll = File.expand_path("../../lib/libusb-1.0.#{ext}", __FILE__)
11
11
  ffi_lib(['libusb-1.0', bundled_dll])
12
12
  end
data/lib/libusb/call.rb CHANGED
@@ -23,7 +23,7 @@ module LIBUSB
23
23
  module Call
24
24
  extend FFI::Library
25
25
 
26
- ext = FFI::Platform.windows? ? 'dll' : 'so'
26
+ ext = FFI::Platform::LIBSUFFIX
27
27
  bundled_dll = File.expand_path("../../libusb-1.0.#{ext}", __FILE__)
28
28
  ffi_lib(['libusb-1.0', bundled_dll])
29
29
 
@@ -15,5 +15,5 @@
15
15
 
16
16
  module LIBUSB
17
17
  # Library version of libusb for Ruby
18
- VERSION = "0.3.0"
18
+ VERSION = "0.3.1"
19
19
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libusb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: x86-mingw32
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-21 00:00:00.000000000 Z
12
+ date: 2013-01-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ffi