libusb 0.6.2-x64-mingw32 → 0.6.3-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5fbb3e6ecfe59548ea0981313b26125c0fd399a4
4
- data.tar.gz: 06a3c47fdcdf6aa4e1a4563117af0458f98592a3
3
+ metadata.gz: eff3ca30bce9e255965b3e5ceac4f33bfb7a2ec9
4
+ data.tar.gz: 02d747c4e17cd914040afe8f78407d02fec1391e
5
5
  SHA512:
6
- metadata.gz: 69f81e2625a21d16c67c347eb0bf12e7833845aa965048dacb08d6ed277cbafc6126b4670264eead9c826738ea7929b0083cd30870ebaa6cb14dd35258cca6bb
7
- data.tar.gz: 0fa9a1da49c577015284bf745819cf49e187620fecb764592658422f517a180bf3a096d634bd8e1211deb94059750df996b979ec40931a9f1a6a06e87553e52d
6
+ metadata.gz: 2505741343f90220438ca615483b2ba922805d4df98885884d077c19a32f399fd18c6e7b3f5c9962ae539986867142b90900b7c63029baa535c5f14ae369748e
7
+ data.tar.gz: '096e251f63fb06bb36cc9f71ea9b395c757d752e0ef4fca80fcf7bdf9dc000d9e7075746067167fef2c1700c699a5e6da27c251ff79a4ef82d6a37993e520bf6'
@@ -1,17 +1,19 @@
1
1
  language: ruby
2
2
  sudo: false
3
- rvm:
4
- - "1.9.3"
5
- - "2.0.0"
6
- - "2.1"
7
- - "2.2"
8
- - "2.3.1"
9
- - "2.3.1-clang"
10
- - jruby-1.7.26
11
- - jruby-9.1.5.0
12
- - rbx
3
+ dist: trusty
13
4
  matrix:
5
+ include:
6
+ - rvm: 2.4.1
7
+ env:
8
+ - RUBYOPT="--enable-frozen-string-literal --debug=frozen-string-literal"
9
+ - rvm: 1.9.3
10
+ - rvm: 2.0
11
+ - rvm: 2.1
12
+ - rvm: 2.2.5
13
+ - rvm: 2.3.1
14
+ - rvm: jruby-1.7
15
+ - rvm: jruby-9.1.5.0
16
+ - rvm: rbx-3
14
17
  allow_failures:
15
- - rvm: rbx
16
- - rvm: "2.3.1-clang"
18
+ - rvm: rbx-3
17
19
  script: bundle exec rake travis
data/History.md CHANGED
@@ -1,3 +1,7 @@
1
+ 0.6.3 / 2017-08-20
2
+ ------------------
3
+ * Fix compat with FreeBSD. #24
4
+
1
5
  0.6.2 / 2017-01-13
2
6
  ------------------
3
7
  * Fix windows DLL loading bugs #22 and #23.
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  <!-- -*- coding: utf-8 -*- -->
2
2
 
3
- [![Build Status](https://travis-ci.org/larskanis/libusb.svg)](https://travis-ci.org/larskanis/libusb)
4
- [![Build Status](https://ci.appveyor.com/api/projects/status/mdfnfdwu4mil42o3?svg=true)](https://ci.appveyor.com/project/larskanis/libusb)
3
+ [![Build Status](https://travis-ci.org/larskanis/libusb.svg?branch=master)](https://travis-ci.org/larskanis/libusb)
4
+ [![Build status](https://ci.appveyor.com/api/projects/status/mdfnfdwu4mil42o3/branch/master?svg=true)](https://ci.appveyor.com/project/larskanis/libusb/branch/master)
5
5
 
6
6
  Access USB devices from Ruby
7
7
  ============================
@@ -1,10 +1,15 @@
1
1
  init:
2
- - SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
3
- - SET PATH=C:\MinGW\msys\1.0\bin;%PATH%
2
+ - SET PATH=C:/Ruby%ruby_version%/bin;%PATH%
4
3
  - SET RAKEOPT=-rdevkit
5
4
  install:
6
5
  - ruby --version
7
6
  - gem --version
7
+ - ps: |
8
+ if ($env:BROKEN_SSL -eq "true") {
9
+ $(New-Object Net.WebClient).DownloadFile('https://raw.githubusercontent.com/bagder/ca-bundle/master/ca-bundle.crt', "$env:TMP/ca-bundle.crt")
10
+ $env:SSL_CERT_FILE = "$env:TMP/ca-bundle.crt"
11
+ Write-Host "Using SSL CA list $env:SSL_CERT_FILE" -foreground Green
12
+ }
8
13
  - bundle install
9
14
  build_script:
10
15
  - bundle exec rake compile
@@ -12,12 +17,21 @@ test_script:
12
17
  - bundle exec rake travis
13
18
  environment:
14
19
  matrix:
15
- - ruby_version: "193"
20
+ - ruby_version: "24-x64"
16
21
  - ruby_version: "200"
22
+ BROKEN_SSL: true
17
23
  - ruby_version: "200-x64"
24
+ BROKEN_SSL: true
18
25
  - ruby_version: "21"
26
+ BROKEN_SSL: true
19
27
  - ruby_version: "21-x64"
28
+ BROKEN_SSL: true
20
29
  - ruby_version: "22"
30
+ BROKEN_SSL: true
21
31
  - ruby_version: "22-x64"
32
+ BROKEN_SSL: true
22
33
  - ruby_version: "23"
34
+ BROKEN_SSL: true
23
35
  - ruby_version: "23-x64"
36
+ BROKEN_SSL: true
37
+ - ruby_version: "24"
@@ -28,7 +28,7 @@ module LIBUSB
28
28
  prefix = FFI::Platform::LIBPREFIX.empty? ? 'lib' : FFI::Platform::LIBPREFIX
29
29
  bundled_dll = File.join(root_path, "lib/#{prefix}usb-1.0.#{ext}")
30
30
  bundled_dll_cygwin = File.join(root_path, "bin/#{prefix}usb-1.0.#{ext}")
31
- ffi_lib([bundled_dll, bundled_dll_cygwin, "#{prefix}usb-1.0"])
31
+ ffi_lib([bundled_dll, bundled_dll_cygwin, "#{prefix}usb-1.0", "#{prefix}usb"])
32
32
 
33
33
  ClassCodes = enum :libusb_class_code, [
34
34
  :CLASS_PER_INTERFACE, 0,
@@ -15,5 +15,5 @@
15
15
 
16
16
  module LIBUSB
17
17
  # Library version of libusb for Ruby
18
- VERSION = "0.6.2"
18
+ VERSION = "0.6.3"
19
19
  end
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
24
24
  s.required_ruby_version = Gem::Requirement.new(">= 1.9.3")
25
25
  s.add_runtime_dependency 'ffi', '~> 1.0'
26
26
  s.add_runtime_dependency 'mini_portile2', LIBUSB::MINI_PORTILE_VERSION
27
- s.add_development_dependency 'rake-compiler', '~> 0.9'
27
+ s.add_development_dependency 'rake-compiler', '~> 1.0'
28
28
  s.add_development_dependency 'rake-compiler-dock', '~> 0.2'
29
29
  s.add_development_dependency 'bundler', '~> 1.0'
30
30
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libusb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: x64-mingw32
6
6
  authors:
7
7
  - Lars Kanis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-13 00:00:00.000000000 Z
11
+ date: 2017-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.9'
33
+ version: '1.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0.9'
40
+ version: '1.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake-compiler-dock
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
145
145
  version: '0'
146
146
  requirements: []
147
147
  rubyforge_project:
148
- rubygems_version: 2.6.8
148
+ rubygems_version: 2.6.12
149
149
  signing_key:
150
150
  specification_version: 4
151
151
  summary: Access USB devices from Ruby via libusb-1.0