bindeps 0.0.2 → 0.0.3

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: 2ca5b4bedc431ca44c4c713596afb2c305a6587e
4
- data.tar.gz: b8826a3c9bf83099d8d70dabb4eeb2d0209843ee
3
+ metadata.gz: 71de1b82333ef1c174d78a1403332fafebb3457f
4
+ data.tar.gz: 55f2630996e03564af371d223d861608baf23bd4
5
5
  SHA512:
6
- metadata.gz: e63e606f4763a3d782264f1f6008cbc4843ab400d3d4e28964cb6e3c776b438d3c23918d745d5bbcf945564dd1123147e5ef93d34aa86389acaaddf93817b86a
7
- data.tar.gz: 543dead302922c1b57d6c1b6b72c2f76bda6f718e63d28e8ed7290f024c5569785fa5080083ada7a2c861009cb5c39a7c5ebc1af1d3ba023e7a407c055cdc67d
6
+ metadata.gz: 2a4d0b47dc2436bd811aa4e847a9fd175eadd6e630380f7cfd29cc799d29fd5006df671f5e7344cc5e0361d42a2d33c8ff5da1d7b7b0b9ee69e86efa2fb524b7
7
+ data.tar.gz: 8ec3c3ee31219d8e4ceb91adefa8e98274b9bff677d4cd441ae189391d1362aae3bdc8e97ef5a5970a7d5ba36eb4e44bfdc23dd8fcd54e2a5ee034ab33e6f13a
data/lib/bindeps.rb CHANGED
@@ -78,8 +78,8 @@ module Bindeps
78
78
  archive = File.basename(@url)
79
79
  Unpacker.unpack(archive) do |dir|
80
80
  Dir.chdir dir do
81
- Dir['*'].each do |extracted|
82
- if @binaries.include? extracted
81
+ Dir['**/*'].each do |extracted|
82
+ if @binaries.include? File.basename(extracted)
83
83
  install extracted
84
84
  end
85
85
  end
@@ -1,3 +1,3 @@
1
1
  module Bindeps
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bindeps
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Smith-Unna