git-heatmap 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/git/heatmap/command/generate.rb +8 -2
- data/lib/git/heatmap/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec1bebdd67c705ebed753d4b2955f83cdba601bc48c24ba739609a5067c368e9
|
4
|
+
data.tar.gz: 686c4113b707209770c903946ad356721d632a4b12b6f0af036bab0337fc9078
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
78
|
+
Console.logger.info "Loading commits from #{path}..."
|
79
79
|
|
80
|
-
|
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)
|
data/lib/git/heatmap/version.rb
CHANGED
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.
|
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-
|
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.
|
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.
|