vcs2json 2.2.5 → 2.2.6

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
  SHA1:
3
- metadata.gz: 1628d43fb23f825bd38e025c470b378796d9f11c
4
- data.tar.gz: a5e7a884bcdfda60a5c94816a0fadc603c3106fc
3
+ metadata.gz: 08174428a277ad239a11023de140d4328662907a
4
+ data.tar.gz: 679d3c2db878a846b4dea46a33281238728c43b9
5
5
  SHA512:
6
- metadata.gz: a68392b573648d1db85febda70a0ee76443d0e678d0d9193997f750172412ee1db3e7023bef4b9a2ffa45c2911be0e1d01c6d67915944975b5f87597f6fef321
7
- data.tar.gz: 4539de79de6ce53973205dcd05c42065b21607fe74b2d0b3162790519a4520214a5c8c2686970c1454221e4689ab1787523d3e8451672fff59413bdf447fb1e0
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? | status.nil? | status.empty? | file_name.nil? | file_name.empty?)
163
- # ignoring commit
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
@@ -1,3 +1,3 @@
1
1
  module Vcs2Json
2
- VERSION = "2.2.5"
2
+ VERSION = "2.2.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vcs2json
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.5
4
+ version: 2.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Rolfsnes