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 +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: 242a266147d41e23ef7f8506cf98c5e4f3597564
|
4
|
+
data.tar.gz: dee98a88d72bc77f5137147485ca52bf4918c140
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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-gem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
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-
|
11
|
+
date: 2016-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rdoc
|