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 +4 -4
- data/lib/seek/sample_templates/generator.rb +3 -2
- data/lib/seek/sample_templates/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51a48ec84440107a2d745a71c9ce6750245cf851
|
4
|
+
data.tar.gz: 4ab0510eec5e2575843afde280f0f6071c61ca4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
32
|
-
command += " -j
|
32
|
+
command += " -f #{Shellwords.escape(path)}"
|
33
|
+
command += " -j #{Shellwords.escape(json)}"
|
33
34
|
command
|
34
35
|
end
|
35
36
|
|
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.
|
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-
|
11
|
+
date: 2016-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rdoc
|