caretaker 0.8.4 → 0.8.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/VERSION.txt +1 -1
- data/lib/caretaker.rb +5 -10
- data/lib/caretaker/version.rb +1 -1
- 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: 0d88113ce818745df203e8ec608fb60a1b984d3f1f1bcdcc3439b79213246046
|
4
|
+
data.tar.gz: 1cd3447f63c25022736e16747ea88a61edf28c9d818ed4847ea51093fabf8dcb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5c03866aa71759e0178e14227ee7d9f7c560bdce614ad0a51c0281131f44855db36e8a3fe130e3a3586c9dc63c7e4f30add4ca717ae9f5441bbfff6dc73e034
|
7
|
+
data.tar.gz: eb359ee36a702f52870a5a47794bdbebc1c4a1fbbb457197deec7f4d2edd393796d77d63744f6338121986b6203a7aea39405312ee319d68208be075eeffcb30
|
data/CHANGELOG.md
CHANGED
@@ -5,11 +5,17 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
|
6
6
|
This changelog was automatically generated using [Caretaker](https://github.com/DevelopersToolbox/caretaker) by [Wolf Software](https://github.com/WolfSoftware)
|
7
7
|
|
8
|
+
### [v0.8.5](https://github.com/DevelopersToolbox/caretaker/compare/v0.8.4...v0.8.5)
|
9
|
+
|
10
|
+
> Released on January, 9th 2021
|
11
|
+
|
12
|
+
- Fix an issue making caretaker hang for VERY long histories [`[head]`](https://github.com/DevelopersToolbox/caretaker/commit/) [`[TGWolf]`](https://github.com/TGWolf)
|
13
|
+
|
8
14
|
### [v0.8.4](https://github.com/DevelopersToolbox/caretaker/compare/v0.8.3...v0.8.4)
|
9
15
|
|
10
16
|
> Released on January, 8th 2021
|
11
17
|
|
12
|
-
- Update git log to not use paging [`[
|
18
|
+
- Update git log to not use paging [`[9fe0fd7]`](https://github.com/DevelopersToolbox/caretaker/commit/9fe0fd772f683a63182c7173449857929af1f46c) [`[TGWolf]`](https://github.com/TGWolf)
|
13
19
|
|
14
20
|
- Fix the link to travis it is .com now not .org [`[56db0d3]`](https://github.com/DevelopersToolbox/caretaker/commit/56db0d36c9530a4b5f9bf67daa1162ea76c78922) [`[TGWolf]`](https://github.com/TGWolf)
|
15
21
|
|
data/VERSION.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.8.
|
1
|
+
0.8.5
|
data/lib/caretaker.rb
CHANGED
@@ -383,25 +383,20 @@ class Caretaker
|
|
383
383
|
def log_to_hash
|
384
384
|
docs = {}
|
385
385
|
tag = '0'
|
386
|
-
old_parent = ''
|
387
386
|
|
388
|
-
res = execute_command("git --no-pager log --oneline --pretty=format:'%h|%H|%
|
387
|
+
res = execute_command("git --no-pager log --first-parent --oneline --pretty=format:'%h|%H|%d|%s|%cd'")
|
389
388
|
unless res.nil?
|
390
389
|
res.each_line do |line|
|
391
|
-
hash, hash_full,
|
392
|
-
parent = parent.split(' ')[0]
|
390
|
+
hash, hash_full, refs, subject, date = line.split('|')
|
393
391
|
tag = extract_tag(refs, tag).to_s
|
394
392
|
|
395
393
|
@last_tag = tag if @last_tag == '0' && tag != '0'
|
396
394
|
|
397
|
-
|
398
|
-
(docs[tag.to_s] ||= []) << { :hash => hash, :hash_full => hash_full, :parent => parent, :subject => subject }
|
395
|
+
(docs[tag.to_s] ||= []) << { :hash => hash, :hash_full => hash_full, :subject => subject }
|
399
396
|
|
400
|
-
|
401
|
-
|
402
|
-
end
|
397
|
+
if tag != '0'
|
398
|
+
@tags << { tag => format_date(date) } unless @tags.any? { |h| h[tag] }
|
403
399
|
end
|
404
|
-
old_parent = parent
|
405
400
|
end
|
406
401
|
@tags = @tags.uniq
|
407
402
|
end
|
data/lib/caretaker/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: caretaker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Gurney aka Wolf
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-01-
|
11
|
+
date: 2021-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|