logbrarian 0.1.4 → 0.1.5

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: d314c507fc96a62da5e16276a255ebf81b1eedf0
4
- data.tar.gz: 9be4b3e626d0a3b76eaf226cc74b40ff10f2ee06
3
+ metadata.gz: bd2d4bc4110c6529d47f0d5944f4206ca5680419
4
+ data.tar.gz: 02a0bf4eaebfe078e366c2b0acbc8b30c5d7d2c5
5
5
  SHA512:
6
- metadata.gz: 89f00d62edfb7037b053be5092a0e397d4f949479a02ec682c2bc1c0c1604bb1056c94b00127d7f275a38e3ac00e9f280733888a66cc3b528ba40c2e18ad78e7
7
- data.tar.gz: 9109c3b00ed95641c1807509b69e702531da2a1f4125194cbd1f7051ac9a45edb22f0657d0baca90caaf7503db0ba56baf0747693f332587d2edab008ebd6eed
6
+ metadata.gz: 3119822dd6842157ea75e0b6bbd310fb82ec7b70c2f2fd7e8c18ea969b260b790231efee4f28bc26062b6e4eec9bbaa66c495f36403c43a90df669d7180ced14
7
+ data.tar.gz: 0f34a942c15b3e9a04c9a828225864f80341abe29b0cb7a4a4c2cd3fa77769f1c9a3773e77778d55df8e12ba75443d61f4288258845eeae23b57f5e302884d2c
data/bin/logbrarian CHANGED
@@ -55,8 +55,7 @@ rescue NotImplementedError
55
55
  store_path = File.expand_path("~/.logbrarian.yml")
56
56
  FileUtils.touch store_path
57
57
  store = YAML.load_file(store_path) || Hash.new
58
- birth_string = store[current_path] || Time.now.to_s
59
- birthtime = DateTime.parse(birth_string).to_time
58
+ birthtime = store[current_path] || Time.now
60
59
  unless store.key?(current_path)
61
60
  store[current_path] = birthtime
62
61
  File.open(store_path, 'w') {|f| YAML.dump(store,f) }
@@ -1,3 +1,3 @@
1
1
  module Logbrarian
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logbrarian
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Clink