sample-template-generator 0.3.0 → 0.3.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: c39abfbf9dcfd2fef15473ddd25d989918c1f7f3
4
- data.tar.gz: b4fe52ccf5ba84fff6f0e5af834ffc9fd9ff23a9
3
+ metadata.gz: 51a48ec84440107a2d745a71c9ce6750245cf851
4
+ data.tar.gz: 4ab0510eec5e2575843afde280f0f6071c61ca4c
5
5
  SHA512:
6
- metadata.gz: b8d5ce348811e40411fa455b17b70e1ad3124083c86bf3722371d5a0965d2335543fae0929e7f78d99845b2df2f78153e197d89f8057ec0b2327bcee2cb148d3
7
- data.tar.gz: a4f1a410c476b8b2bfb5b8e32423a6f5c81edd180d9a6341e597a676bd78ff24fa12362abe7414610e39a72e719687696725b34449ab015bf70ffbc2121b0a8e
6
+ metadata.gz: a853ca5032a401331e05a65e1c98092fc3af1a351c176195f03ff765aa7584692ef9da2632b06864a20e4900d9d7b4d603178ade88ad39dc0add16c1410d9abf
7
+ data.tar.gz: 5fccb978faaaa6738c428426368bc341bf1cb8f027f931095e221a109426ae72142c602dc01f4082deec755a804fd222a8f2cad1f5961fcc42d74f7e7a57039a
@@ -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.3'.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
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.3
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