neri 0.1.5 → 0.1.6

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: 98189ea142d2bd89b1880dd8f88b35e90ee9680e
4
- data.tar.gz: ce91b29447029294e458d9d7a0be05c4dd30d785
3
+ metadata.gz: 174c9950502ddeda2273e775f0744d3e77f06860
4
+ data.tar.gz: 7778da03d718d974c48e2926996c5ffa264b3366
5
5
  SHA512:
6
- metadata.gz: 5efc3361cd87170bba7b442fc5fb2a6c98daa9f852d79332064d64004da56982948e3d66043a2449fb730afed6e277a2f46ca6f06fe76be0a816b7278529ff2e
7
- data.tar.gz: 9aad1bfe5173c7c3dfa2612e9bdcd652e423d9f784a60f55ffb958f44716325e367f65fb7937f976695883161f5d3368363f0599ec0c23cf43c7f26839271edd
6
+ metadata.gz: a6790276ff5d836d9ac00f1ccdc09ae307456369e4b169596c32479df41c444000962e0cb178876253b47fd0a2e4ce189a2b0bcf19ab0d862366f885ff0dc7c7
7
+ data.tar.gz: ec2b20a88f243406faa83933e19edf44a0f2676857bc0ba69c2669d4549d87a32f5472ce0b38270c76fbe269bd01f0c3d8022b3f4ced12d7443ab41429a17e2d
data/lib/neri/build.rb CHANGED
@@ -602,16 +602,16 @@ endlocal
602
602
  exefile = batchfile.sub(/\.bat$/, ".exe")
603
603
  nputs "Creating exe_file '#{exefile}'."
604
604
  File.delete(exefile) if File.exist?(exefile)
605
- args = "/bat #{batchfile} /exe #{exefile}"
605
+ args = %[ /bat "#{batchfile}" /exe "#{exefile}"]
606
606
  if options[:b2ec][:x64] == nil
607
607
  options[:b2ec][:x64] = true if RbConfig::CONFIG["target"].to_s.index("64")
608
608
  end
609
609
 
610
610
  args += options[:b2ec].map{|key, value|
611
611
  case value
612
- when String; " /#{key.to_s.tr('_', '-')} \"#{value}\""
613
- when true; " /#{key.to_s.tr('_', '-')}"
614
- else; ""
612
+ when String; %[ /#{key.to_s.tr('_', '-')} "#{value}"]
613
+ when true; %[ /#{key.to_s.tr('_', '-')}]
614
+ else; %[]
615
615
  end
616
616
  }.join("")
617
617
  begin
data/lib/neri/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Neri
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neri
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - nodai2hITC