git_ownership_insights 2.0.7 → 2.0.8

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: b2f6a04d3018e987e2762a5037c474904cf6602fded2e27f08df2789f0dc99c3
4
- data.tar.gz: 8ae4f2dc116cf482b4ff0f7a10225e1d6aeefa4a1f7219a7909eca541a4a51f1
3
+ metadata.gz: dbefa0c02b3e70f9172c29f63082848b17769bb3105245d1316d2ee9981c8a42
4
+ data.tar.gz: 289af8169edfe728fcf50e106816b99648a0dc545de8daadb4c52676302a54ab
5
5
  SHA512:
6
- metadata.gz: ef5dc57fa25ac45c1732177686c947bd30f373fce422a1208993da14e52a104f15ceab0902005c48b789428c2fcd6edac2e851303457ab21aaa7664ffde0a853
7
- data.tar.gz: 0ee6b4f127938b0d4daa4e3f6b1e35491e79698af297bec7f96321313180fd4a2cf2a553727c5da3559879bbc152e2be175deac9ada09ebd210ce9d4c03a1b65
6
+ metadata.gz: 79f06802c24fd254a4962a039e2bf487be3e997606ccc1c46154542921921755fdc9d16735193629c0b61a724e2e2a82dcb483b925879e7ebf6523b0da41f206
7
+ data.tar.gz: 2982e6394672e9cf726a537895cda4b0ebccf63ddb570469651acfea1846540fcb1ac89c296d1ea85f4c879f1154dd3cd9d37aada9775889b85f6b6f4c65964d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- git_ownership_insights (2.0.7)
4
+ git_ownership_insights (2.0.8)
5
5
  date
6
6
  pry
7
7
 
@@ -85,7 +85,7 @@ class GitOwnershipInsights
85
85
  next if converted_team_map[File.basename(file_data[:name])].nil?
86
86
 
87
87
  contributors = converted_team_map[file_data[:name]]&.first&.empty? ? ['Excluded contributor'] : converted_team_map[file_data[:name]].first
88
- output += " #{File.basename(file_data[:name])} - #{file_data[:count].last} #{contributors}}"
88
+ output += " #{File.basename(file_data[:name])} - #{file_data[:count].last} #{contributors}}\n"
89
89
  end
90
90
  end
91
91
  end
@@ -264,7 +264,7 @@ class GitOwnershipInsights
264
264
  file = line.first
265
265
  contributors = line.last.first
266
266
  commits = line.last.last
267
- hotspot_output += " #{file.gsub(@directory_path, '')} Contributors: #{contributors} Commits: #{commits} Owner: #{find_owner(file:)}"
267
+ hotspot_output += " #{file.gsub(@directory_path, '')} Contributors: #{contributors} Commits: #{commits} Owner: #{find_owner(file:)}\n"
268
268
  end
269
269
 
270
270
  if FILE_OUTPUT
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class GitOwnershipInsights
4
- VERSION = '2.0.7'
4
+ VERSION = '2.0.8'
5
5
  end
@@ -66,6 +66,7 @@ RSpec.describe GitOwnershipInsights do
66
66
  Directory: spec/fixtures
67
67
  Top files:
68
68
  file1.swift - 3 ["FIOS", "FAND"]}
69
+
69
70
  FAND:
70
71
  Total Count: 3
71
72
  Directory: spec/fixtures
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git_ownership_insights
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.7
4
+ version: 2.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Serghei Moret