gem-dependencies 0.2.1 → 0.2.2

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: 16610dc7094678110138e0ca874dee521e68e3e0
4
- data.tar.gz: 6a44e7bb2280a9c70e4d9a721ca77c0492602fa4
3
+ metadata.gz: fcb17dbde2c98a6329dfc7b4174b9c82af178006
4
+ data.tar.gz: 04baf4258956c311ce287d00a7f52c6fa4883f6e
5
5
  SHA512:
6
- metadata.gz: 72635e5f09cd736b3ed9d1e2180501188a3e9cefb1e37f62604c37c0f6cf3afadaea83404d3cafac0b4a540ef88ace51a71ac45aa426bc9d5a0f261749091b9a
7
- data.tar.gz: 58fcf2ac5618d8ff29abe917a70a93c340e9a0b44e6c295fe4c7dfac5f7a465453ee5b3a4d6878baaf973e2493d42e55b2c12ba3f582f7523722715b872e8e90
6
+ metadata.gz: d377401c2040fe8d6444594741677f9eba233e34abaf428c86344d786764d21ff2c8643e873f089bcc61d75900349ad5cd2306a93c62c607d9226ecf8ad4e222
7
+ data.tar.gz: 78b3c793ec0321a71c8d34089779a88907d34c0d35a477e73b724d4d11d999d6f9162ce286ba3bf96ce1a2c382fef37ab664e795851eaca017f4689073948a0e
checksums.yaml.gz.sig CHANGED
Binary file
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "gem-dependencies"
5
- s.version = "0.2.1"
5
+ s.version = "0.2.2"
6
6
  s.summary = "RubyGems plugin to simplify installing binary gems on runtime systems."
7
7
  s.description = "This gem makes it easy to install binary gems on systems without a compiler."
8
8
  s.homepage = "https://github.com/shreeve/gem-dependencies"
@@ -82,9 +82,8 @@ module Gem
82
82
  args.each do |item|
83
83
  say "* Installing '#{item}'"
84
84
  end
85
- cmds = @@deps["*"]["command"].strip.split(/\s+/).flat_map {|item| item == '${packages}' ? args : item}
86
- Gem::Util.silent_system(*cmds)
87
- true # success/error?
85
+ exec = @@deps["*"]["command"].sub('${packages}', args * ' ')
86
+ system(exec) or return warn("Unable to execute: #{exec}")
88
87
  end
89
88
 
90
89
  def copy_gem_extensions(*args)
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gem-dependencies
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Shreeve
metadata.gz.sig CHANGED
Binary file