git_ownership_insights 2.0.1 → 2.0.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: 87339076047688d1452d5b7a1ca0455c9955cc580b9e472889d7dcf54f901fc7
4
- data.tar.gz: cffcd3905dfd9dd500b92636c59301e7b7f640c594b3687f3770310d198eaa0b
3
+ metadata.gz: dd5244ef2598407471bd2b55728b3c86cd48dfce9d4e6e2956b8b0ba2b0cf7ef
4
+ data.tar.gz: 9e21ea07a0455fa4792687ee4b0180c8d3dfee0889801f4846ccec8dec04f33c
5
5
  SHA512:
6
- metadata.gz: 71c488b0aff9354657f8a0b822490b9910b5082dfcbc9cf65ab521cb39f79f55a8441809101998166621b82a8dda5a0bc67c48adda796350fd8df6b5843ed0de
7
- data.tar.gz: a41606244a1b77a1f62a08541cecadeec45f09f6eba2714d332f85359c6e670210b921e37854f64c445c0f42efd31def4d7f53a8804db989806f078f88bb5dd9
6
+ metadata.gz: e07e63cba3b86fdedb333cf5063f559ac36d545fd04482f5339e3f939b4e207d8d99cbeb59e75832132c9501d74b73f251c5de343f76258ef1cbeadc8b06a2f5
7
+ data.tar.gz: 9abb98a4c09c8ad308b8fdd2bd591bbd8a291da716090047b26836c9d801780949fde3389348b17739ecd5fe436726bb6efcaab271bf67edf014def7b0c2b992
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- git_ownership_insights (2.0.0)
4
+ git_ownership_insights (2.0.2)
5
5
  date
6
6
  pry
7
7
 
@@ -73,7 +73,7 @@ class GitOwnershipInsights
73
73
  count += 1 if lines_count > size
74
74
  end
75
75
 
76
- puts " *Current(*) total number of code files longer than #{size} lines:* #{count}"
76
+ puts " *Current(\\*) total number of code files longer than #{size} lines:* #{count}"
77
77
  end
78
78
 
79
79
  def count_hotspot_lines(files)
@@ -198,13 +198,13 @@ class GitOwnershipInsights
198
198
  puts " *Total amount of commits to #{CODE_EXTENSIONS} files:* #{total_changes}"
199
199
  puts " *Total #{CODE_EXTENSIONS} files changed:* #{uniq_code_files_with_changes.count}"
200
200
  count_big_files(@directory_path)
201
- puts " *Current(*) total of #{CODE_EXTENSIONS} files in the folder:* #{file_count}"
201
+ puts " *Current(\\*) total of #{CODE_EXTENSIONS} files in the folder:* #{file_count}"
202
202
  puts " *Contributors:* #{contributors}"
203
203
  puts "* means that it the current(instant) repository value, all the other metrics are done over #{duration_in_days} days period"
204
204
 
205
205
  if HOTSPOT
206
206
  puts "\n"
207
- puts ' Hotspot changes:'
207
+ puts ' *Hotspot changes:*'
208
208
  filtered_top_touched_files.each do |line|
209
209
  puts " #{line.first.gsub(@directory_path, '')} Contributors: #{line.last.first} Commits: #{line.last.last}"
210
210
  end
@@ -212,7 +212,7 @@ class GitOwnershipInsights
212
212
 
213
213
  if CODEOWNERS
214
214
  puts "\n"
215
- puts 'Code ownership data:'
215
+ puts '*Code ownership data:*'
216
216
  codeowners = read_codeowners_file
217
217
 
218
218
  owners_data = Hash.new do |hash, key|
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class GitOwnershipInsights
4
- VERSION = '2.0.1'
4
+ VERSION = '2.0.2'
5
5
  end
@@ -52,8 +52,8 @@ RSpec.describe GitOwnershipInsights do
52
52
  *[".swift", ".kt"] files exceeding 250 lines with multiple contributors:* 1
53
53
  *Total amount of commits to [".swift", ".kt"] files:* 7
54
54
  *Total [".swift", ".kt"] files changed:* 3
55
- *Current(\*) total number of code files longer than 250 lines:* 2
56
- *Current(\*) total of [".swift", ".kt"] files in the folder:* 4
55
+ *Current(\\*) total number of code files longer than 250 lines:* 2
56
+ *Current(\\*) total of [".swift", ".kt"] files in the folder:* 4
57
57
  *Contributors:* {"FIOS"=>5, "FAND"=>2}
58
58
  * means that it the current(instant) repository value, all the other metrics are done over 7 days period
59
59
 
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.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Serghei Moret