done_log 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/done_log.rb +2 -1
- data/lib/done_log/git_repo.rb +6 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27620eafb4727836ef49360f829764c17699b1f855fee52dcbcae678974a79c7
|
4
|
+
data.tar.gz: fbdf43c0515f6feb00e5c597ea4eb3f4f654a013546d1cf233023eca7b0a8c5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5db81a96f050e067ad75cca8427de6e3a0a9c557ff55538dbc142eae3e672076adac92713140b1a0a1a90c4c9cfdd8427aa66ebb28bec1fcdeaa1487c452e655
|
7
|
+
data.tar.gz: ab724bbe01e3a664a1120428da12f9dd6cd42a3ea05763edc731afaf1aa2d20f627691347c522ee856a7d10e2f1c9f1677b152475087abae20173e8ee39fa719
|
data/lib/done_log.rb
CHANGED
data/lib/done_log/git_repo.rb
CHANGED
@@ -31,10 +31,12 @@ module Done
|
|
31
31
|
end
|
32
32
|
|
33
33
|
def init
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
34
|
+
unless Dir.exist? File.join(log_dir, ".git")
|
35
|
+
if git_url
|
36
|
+
run "git clone -q #{git_url} #{log_dir}"
|
37
|
+
else
|
38
|
+
run "git init -q #{log_dir}"
|
39
|
+
end
|
38
40
|
end
|
39
41
|
end
|
40
42
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: done_log
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Collins
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-04-
|
11
|
+
date: 2020-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Manage very simple daily work logs in text files.
|
14
14
|
email:
|