sample-template-generator-gem 0.3.0 → 0.3.1

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: 05b42b08cef87e50c513da12758095a3ffb3564e
4
- data.tar.gz: abce650d0b355255bb1e05ccf49db6397b8af496
3
+ metadata.gz: 242a266147d41e23ef7f8506cf98c5e4f3597564
4
+ data.tar.gz: dee98a88d72bc77f5137147485ca52bf4918c140
5
5
  SHA512:
6
- metadata.gz: acea7c5a63023df8b4a54e2c627439a4ef180be26bff27721f48ca224c43c970f18e93ec03d77a4c44d089d155ec65afa92849caeccda9cff0cc24ef7af4ab14
7
- data.tar.gz: 447ceac0581578d423a71f36864587078c1f74091081791fdd208caec4eb3ad0ef5ec1f778135531de259801c10d8d706a4ca1340d984c9b7671f29ddc684c2e
6
+ metadata.gz: 22fd7eca6f3a4bb9ea7670ef7340c869abad93c8831339338aa6b11d50336a249eef1db8ef56aabb80f25049fd569833a704e0efa7638865ed816ede785aeb0f
7
+ data.tar.gz: cdbb1a50b71ab3b58636084208f7045d26d72503cf4d2218dc601cc4c6d2a2a1f793edf019269cb5de57b0079b982c62433b59374ebf6608f533481a6572255b
@@ -1,4 +1,5 @@
1
1
  require 'cocaine'
2
+ require 'shellwords'
2
3
 
3
4
  module Seek
4
5
  module SampleTemplates
@@ -28,8 +29,8 @@ module Seek
28
29
 
29
30
  def command
30
31
  command = "java -Xmx#{@memory_allocation} -jar #{JAR_PATH}"
31
- command += " -f '#{path}'"
32
- command += " -j '#{json}'"
32
+ command += " -f #{Shellwords.escape(path)}"
33
+ command += " -j #{Shellwords.escape(json)}"
33
34
  command
34
35
  end
35
36
 
@@ -1,5 +1,5 @@
1
1
  module Seek
2
2
  module SampleTemplates
3
- VERSION = '0.3.0'.freeze
3
+ VERSION = '0.3.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sample-template-generator-gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stuart Owen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-20 00:00:00.000000000 Z
11
+ date: 2016-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdoc