git-heatmap 0.2.1 → 0.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c8764bb0188dcd5f4b9b153940a3a5e074447b418e6de705a95638a013fb8845
4
- data.tar.gz: 56679e70910bc167fa99c505b48b27247c77c4bb129d2b5d388b3f5ed0ee5250
3
+ metadata.gz: ec1bebdd67c705ebed753d4b2955f83cdba601bc48c24ba739609a5067c368e9
4
+ data.tar.gz: 686c4113b707209770c903946ad356721d632a4b12b6f0af036bab0337fc9078
5
5
  SHA512:
6
- metadata.gz: 7bfcdb43d912ee98518ed270dbea47f99ffeca4f68d7c70d403cdd0610ab5d402f594a139ddb1f0149832b8b1022bafe012530f13ad5b4d6a2b7330d210b5348
7
- data.tar.gz: 5d60ca821d0554f96ff065b9285b0f22d5cd6f048e263aec189e8225efc20ffa52d171122f4cf468d5d18d5eecaeee29d22c70154654a7bc91b93b52593d56bc
6
+ metadata.gz: aa545e6d3bba2875834a66e7e1bc5ded0ee649931b1f13633157328b4cc267858321fad75705f83819ddded212860ac381ffb40e2b32c0d63da022750fa607eb
7
+ data.tar.gz: 4a0efc495196f0a51a36711ef356baabba43eaf4bf2cb5355993b08534b495851c48ba3cfcfd5896c6c34f3aeee40a816a0168e3b1f4fa210d74c9305b70d2a3
@@ -75,9 +75,15 @@ module Git
75
75
  commits = Commits.new(filter: self.period, depth: @options[:depth])
76
76
 
77
77
  @paths.each do |path|
78
- repository = Rugged::Repository.discover(path)
78
+ Console.logger.info "Loading commits from #{path}..."
79
79
 
80
- commits.add(repository)
80
+ begin
81
+ repository = Rugged::Repository.discover(path)
82
+
83
+ commits.add(repository)
84
+ rescue
85
+ Console.logger.error($!)
86
+ end
81
87
  end
82
88
 
83
89
  File.write(output_path, template(commits).call)
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Git
22
22
  module Heatmap
23
- VERSION = "0.2.1"
23
+ VERSION = "0.2.2"
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-heatmap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-29 00:00:00.000000000 Z
11
+ date: 2019-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: console
@@ -153,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
153
  - !ruby/object:Gem::Version
154
154
  version: '0'
155
155
  requirements: []
156
- rubygems_version: 3.0.3
156
+ rubygems_version: 3.0.4
157
157
  signing_key:
158
158
  specification_version: 4
159
159
  summary: Generate heatmap style visualisations based on git history.