koboldy 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/koboldy/run.rb +1 -0
- data/lib/koboldy/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: 3218e9c4046279b21f8e74ef2430b3ab52257a82
|
4
|
+
data.tar.gz: 37eb0f12476305956cac9bb09be6636241ba8966
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91d2b78ea55ba0a339c7232a889bc6b69ef97fe5e96e33186f1bb678a8cb86ea06da6c0ce0ce337e8194727c3342d73d284c94756452123c45d5be3d0f04361f
|
7
|
+
data.tar.gz: 6cfbc0cd905284567aab16168acd0f032e208001217e845fbb7686bb8209d301c111e153ab58d3743c5585a22ce632ef615b45bbcddeeb650c0cfccddd6656b3
|
data/lib/koboldy/run.rb
CHANGED
@@ -70,6 +70,7 @@ class Koboldy
|
|
70
70
|
# @return [String] File path which is saved results.
|
71
71
|
def check_and_save(in_file_path = %(./tmp/kobold.txt))
|
72
72
|
fail "no command: #{@cmd}" if @cmd.nil?
|
73
|
+
FileUtils.mkdir_p(File::dirname(in_file_path)) if Dir.exist?(File::dirname(in_file_path))
|
73
74
|
Koboldy::Io.capture(@cmd, in_file_path)
|
74
75
|
in_file_path
|
75
76
|
end
|
data/lib/koboldy/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: koboldy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kazuaki MATSUO
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test-unit
|