vcs2json 2.2.5 → 2.2.6
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 +4 -4
- data/lib/vcs2json/git.rb +2 -2
- data/lib/vcs2json/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 08174428a277ad239a11023de140d4328662907a
|
|
4
|
+
data.tar.gz: 679d3c2db878a846b4dea46a33281238728c43b9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 48e74d000dff612601c6c4b631b8993a6aa027a3aef290eca229fa026b4242de316ce006135ef9ddfa7c1d31d40a1a8893cc5038cfbbbbc9e2fb6d4e1f7313ad
|
|
7
|
+
data.tar.gz: 1bad49b3f420cc7f833a7ce92959a8d5981864794572159fbfe5b002c9b4023d9fd69902ef5ad6d147380544c6320af7d0a4d4209a8291452a97de127abae3f7
|
data/lib/vcs2json/git.rb
CHANGED
|
@@ -159,8 +159,8 @@ module Vcs2Json
|
|
|
159
159
|
|
|
160
160
|
changed_files.each_with_index do |(status,file_name),index|
|
|
161
161
|
STDERR.print "Parsing file #{index+1} Of #{changed_files.size} in commit #{commit_counter+1} of #{self.number} \r"
|
|
162
|
-
if ([status,file_name].empty?
|
|
163
|
-
|
|
162
|
+
if ([status,file_name].empty? || status.nil? || file_name.nil? || status.empty? || file_name.empty?)
|
|
163
|
+
# ignoring commit
|
|
164
164
|
else
|
|
165
165
|
# add finer grained change info
|
|
166
166
|
if self.fine_grained
|
data/lib/vcs2json/version.rb
CHANGED