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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f5f7aeeeb04bf1e07d5be2c27f11b47a99197bc18d764c8aeabf63240325985f
4
- data.tar.gz: 01b1214021f34a12f006ff11b473e00f44b2c31a083852ff45335ca32c67b10d
3
+ metadata.gz: 0d88113ce818745df203e8ec608fb60a1b984d3f1f1bcdcc3439b79213246046
4
+ data.tar.gz: 1cd3447f63c25022736e16747ea88a61edf28c9d818ed4847ea51093fabf8dcb
5
5
  SHA512:
6
- metadata.gz: a4e33ff55d1a5ccc5283850695e9c589322d87cfb96e4467731c34e113343a69cf7f12489d5ed0ec2a5d40545cbd6ebecb85fbe03d74222929ef66184085f226
7
- data.tar.gz: a9e0fad23a3d7e4643bc9eff393eb8a3487d7c88c4c48ff85c9c1908c5ebfb22ea96e5070f1d12f89c596f0e2b45d73cf910dc4cadc458664912d37f382dbf80
6
+ metadata.gz: e5c03866aa71759e0178e14227ee7d9f7c560bdce614ad0a51c0281131f44855db36e8a3fe130e3a3586c9dc63c7e4f30add4ca717ae9f5441bbfff6dc73e034
7
+ data.tar.gz: eb359ee36a702f52870a5a47794bdbebc1c4a1fbbb457197deec7f4d2edd393796d77d63744f6338121986b6203a7aea39405312ee319d68208be075eeffcb30
@@ -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 [`[head]`](https://github.com/DevelopersToolbox/caretaker/commit/) [`[TGWolf]`](https://github.com/TGWolf)
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
 
@@ -1 +1 @@
1
- 0.8.4
1
+ 0.8.5
@@ -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|%P|%d|%s|%cd'")
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, parent, refs, subject, date = line.split('|')
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
- if parent != old_parent
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
- if tag != '0'
401
- @tags << { tag => format_date(date) } unless @tags.any? { |h| h[tag] }
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
@@ -1,3 +1,3 @@
1
1
  class Caretaker
2
- VERSION = '0.8.4'.freeze
2
+ VERSION = '0.8.5'.freeze
3
3
  end
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
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-08 00:00:00.000000000 Z
11
+ date: 2021-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler