libusb 0.6.2-x86-mingw32 → 0.6.3-x86-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: d4fbc49a4c695771cdee097b6648303648191767
4
- data.tar.gz: 414accc39cfbb18d0814580c08d72ecb95bcc27b
3
+ metadata.gz: 213dab6800258d8766cb12bacebdb2884bbd8bfa
4
+ data.tar.gz: c946592b2fc288eb6914a3df405882133dae21b6
5
5
  SHA512:
6
- metadata.gz: baee04b563f97c1a7321e8df1487ce14b0e6ae6fa76d5f90c647e61746e46470d6fa0625ff6eaed0db7f93343b9dae303dec77f29994fb32a5aafeb3a1d7c26e
7
- data.tar.gz: 5d24beb15a2c3badf6294ef02f09a25a700f4bd1e25b324290e8f3fbd1cc62cc285f6c881a0b4cb4020b48bacdd463c95b1b2a0ff63b82e9ac8ebcdcc10b27ee
6
+ metadata.gz: e53df7339ae39f9d550fefd9e7804cacdd2e86b5fd6c27d7d8e333caa8df2204fb4daaab4655c2cc9a11990cdcc373c36fedea8ffc35de4989cd62bba2cdacb7
7
+ data.tar.gz: 7c7f647c02dcede30233ee2f4688a067b7c8b536eb2415a19c34a5f0761e1ea069faebe8a67fc6a96a6d72127fab3ebd15c6468d8936429b7ec05bf677a69b9c
@@ -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: x86-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