libusb 0.6.1 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d10e2e32a39c91c08f9616235af0a6e20553caa5
4
- data.tar.gz: 5c2984d326011377c7c4524a9bc67efdd5d6a92c
3
+ metadata.gz: 0fe3e0e898620bbada8bd47b47fc173af085aacb
4
+ data.tar.gz: b9773635adbb81e07948a7209580c221665c9e57
5
5
  SHA512:
6
- metadata.gz: 14d47a300ad5cd0300e613d06a935d235a4e11313f5eedc5e8949c06d10a45696a2ac10585e1a4a64b35bc27465d3e8866ab610c0a10ebdd0fca4ced96b73772
7
- data.tar.gz: b9c5c9c227b3564cc4afbba4c6334532e923070ed3ce139f051c82ec4c0ead653b140b728aad702f58412fbbdf155fa6a1158bfbeacb9ed8edb864cab9d5c66f
6
+ metadata.gz: 2ec482fc3b215c1d811e024c58e0f58110ceac086da2063749c529a70fce8cb5f5c45e38b7a4e4c7a6d41acc9c66cbd6e10d6b279f27e4639e3f22c996981fca
7
+ data.tar.gz: db0a939807f3dd223a51046da1574dd6413ade8a110a94b2ac38e8ae322512c2a30cf29dc603c3638d36f7ce60df3a3613c2e8aaa2b4961d833a49fd6cdae8e6
data/Gemfile CHANGED
@@ -8,4 +8,4 @@ group :test do
8
8
  gem 'minitest'
9
9
  end
10
10
 
11
- gem 'rake-compiler-dock', git: 'http://github.com/rake-compiler/rake-compiler-dock'
11
+ gem 'rake-compiler-dock', '~> 0.6.0'
data/History.md CHANGED
@@ -1,3 +1,7 @@
1
+ 0.6.2 / 2017-01-13
2
+ ------------------
3
+ * Fix windows DLL loading bugs #22 and #23.
4
+
1
5
  0.6.1 / 2016-12-18
2
6
  ------------------
3
7
  * Fix installation of bundled libusb library in source gem.
@@ -92,7 +92,7 @@ EOT
92
92
 
93
93
  if libusb_path
94
94
  mf.puts <<-EOT
95
- cp -r #{File.join(libusb_path, "lib").dump}/* $(RUBYARCHDIR)
95
+ cp -r #{libusb_path.dump}/*/* $(RUBYARCHDIR)
96
96
  EOT
97
97
  end
98
98
  end
@@ -89,6 +89,7 @@ module LIBUSB
89
89
  self.recipe = LIBUSB::LibusbRecipe.new
90
90
  recipe.host = host_platform
91
91
  recipe.configure_options << "--host=#{recipe.host}"
92
+ recipe.configure_options << "CC=#{recipe.host}-gcc -static-libgcc" if recipe.host =~ /mingw/
92
93
  self.libusb_dll = Pathname.new(recipe.path) + libusb_dllname
93
94
 
94
95
  file libusb_dll do
@@ -15,5 +15,5 @@
15
15
 
16
16
  module LIBUSB
17
17
  # Library version of libusb for Ruby
18
- VERSION = "0.6.1"
18
+ VERSION = "0.6.2"
19
19
  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.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lars Kanis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-18 00:00:00.000000000 Z
11
+ date: 2017-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -161,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
161
161
  version: '0'
162
162
  requirements: []
163
163
  rubyforge_project:
164
- rubygems_version: 2.5.2
164
+ rubygems_version: 2.6.8
165
165
  signing_key:
166
166
  specification_version: 4
167
167
  summary: Access USB devices from Ruby via libusb-1.0