koboldy 0.2.5 → 0.2.6

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: 3218e9c4046279b21f8e74ef2430b3ab52257a82
4
- data.tar.gz: 37eb0f12476305956cac9bb09be6636241ba8966
3
+ metadata.gz: 0f5ba3590a17e2d4b4fea7445761a7d0937de2bb
4
+ data.tar.gz: ef7cdb9b57654966b281ab339d705d5b2fa17978
5
5
  SHA512:
6
- metadata.gz: 91d2b78ea55ba0a339c7232a889bc6b69ef97fe5e96e33186f1bb678a8cb86ea06da6c0ce0ce337e8194727c3342d73d284c94756452123c45d5be3d0f04361f
7
- data.tar.gz: 6cfbc0cd905284567aab16168acd0f032e208001217e845fbb7686bb8209d301c111e153ab58d3743c5585a22ce632ef615b45bbcddeeb650c0cfccddd6656b3
6
+ metadata.gz: d49bc83a6b80d3a2a616c164abf3efcb37831b65fcac0848a8d26f66b3033d01d448da6a4425e6f40fc4eec0924cd1f88929efe87e59f97b486bd4b55300ed0c
7
+ data.tar.gz: 1f27d2d4702f769efc3491ccde3bb986087b8c6d2b8f72fee5c6265ded50a0ba093c13e159552d1e1255894bef1137bac014985eca700fb58ef8d024490e9a8a
data/lib/koboldy/run.rb CHANGED
@@ -70,7 +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
+ FileUtils.mkdir_p(File::dirname(in_file_path)) unless Dir.exist?(File::dirname(in_file_path))
74
74
  Koboldy::Io.capture(@cmd, in_file_path)
75
75
  in_file_path
76
76
  end
@@ -1,3 +1,3 @@
1
1
  class Koboldy
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
3
3
  end
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.5
4
+ version: 0.2.6
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-14 00:00:00.000000000 Z
11
+ date: 2015-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-unit