diary 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/diary.gemspec +1 -1
  3. data/lib/diary/item.rb +1 -5
  4. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{diary}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Robin Clart"]
@@ -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)
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 1
9
- version: 0.1.1
8
+ - 2
9
+ version: 0.1.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Robin Clart