libusb 0.6.2-x86-linux → 0.6.3-x86-linux

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: f2ccf192ef5c4212ac0c90d59ae98c1ec49c2dad
4
- data.tar.gz: 75b4290a4e2c0939c632f7eadd70ab61e18c920a
3
+ metadata.gz: e1f2c472ad25b55a9f2ba96d54684c27819d8cb7
4
+ data.tar.gz: bedbd380e3a8e13a0512d31dcb93fa01676fda51
5
5
  SHA512:
6
- metadata.gz: 5ad45d8f4e97666f10538c1e11c09055cd8e8549b04a7e6283eac0ac8de3be3cefa8d7b9b9382c14e0ad34d558e011c580de8cf2727de7b24c8cd86b779acbd7
7
- data.tar.gz: c1dadb69e7b67dcf7d6ad35b8aeb94baf18dcacbc3d2cb1a49ab3489cac52fda13cbf68dc2dbbc52c5f2a7078063946e2899ee708fac242f93e743903d265dd6
6
+ metadata.gz: 15d2d2b106ea13f77d69723153497e73567784170ef8ede16863aa06814a642bfb659ed35b41c0b89ed26f24821844904b45343bfb531bbe164e127d3a42cd33
7
+ data.tar.gz: 65301733327eb1c04777254af3a766c8e31192054e3252ce89db1d538b219aa6abb754aa98e2ace191b67a0a774140cd06d5077c4e89d2d674ef654e4231acca
data/.travis.yml CHANGED
@@ -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
  ============================
data/appveyor.yml CHANGED
@@ -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"
data/lib/libusb/call.rb CHANGED
@@ -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
data/libusb.gemspec CHANGED
@@ -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-linux
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