diary 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/diary.gemspec +1 -1
- data/lib/diary/item.rb +1 -5
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
data/diary.gemspec
CHANGED
data/lib/diary/item.rb
CHANGED
@@ -27,11 +27,7 @@ module Diary
|
|
27
27
|
@dir_path = directory.eql?("") ? nil : directory
|
28
28
|
@file_path = file_path
|
29
29
|
|
30
|
-
unless file_exists?
|
31
|
-
self.class.create(file_name, file_path, dir_path)
|
32
|
-
else
|
33
|
-
puts "#{Exist} #{file_path}"
|
34
|
-
end
|
30
|
+
self.class.create(file_name, file_path, dir_path) unless file_exists?
|
35
31
|
end
|
36
32
|
|
37
33
|
def output(force = false)
|