git_ownership_insights 2.0.1 → 2.0.3

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: 87339076047688d1452d5b7a1ca0455c9955cc580b9e472889d7dcf54f901fc7
4
- data.tar.gz: cffcd3905dfd9dd500b92636c59301e7b7f640c594b3687f3770310d198eaa0b
3
+ metadata.gz: b993d413af1897253069cfd6ef12e1ba1b91228d7b72753d08e3a104e8df172b
4
+ data.tar.gz: b9ac3f82ee048d2501541672185f36333820c14cbd0da2ae6bd733509bb307d9
5
5
  SHA512:
6
- metadata.gz: 71c488b0aff9354657f8a0b822490b9910b5082dfcbc9cf65ab521cb39f79f55a8441809101998166621b82a8dda5a0bc67c48adda796350fd8df6b5843ed0de
7
- data.tar.gz: a41606244a1b77a1f62a08541cecadeec45f09f6eba2714d332f85359c6e670210b921e37854f64c445c0f42efd31def4d7f53a8804db989806f078f88bb5dd9
6
+ metadata.gz: 82bc549f312667ca1e3771e9b7fd0427d7ad7950b0981592ae5954bd8860717dff78540d82caee64a5c82b5460ce4b39f6627a89675bb729b95276c2e1625568
7
+ data.tar.gz: 5849484323479c350f1cead67c3ea38673ff51dc386b7e6e48f716ef401c64e66ae1e56fefe7223b59c23e59dc098369d1e725dcef45ae94b42dabd3f33e6082
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.3)
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,12 @@ 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
- puts "* means that it the current(instant) repository value, all the other metrics are done over #{duration_in_days} days period"
204
203
 
205
204
  if HOTSPOT
206
205
  puts "\n"
207
- puts ' Hotspot changes:'
206
+ puts ' *Hotspot changes:*'
208
207
  filtered_top_touched_files.each do |line|
209
208
  puts " #{line.first.gsub(@directory_path, '')} Contributors: #{line.last.first} Commits: #{line.last.last}"
210
209
  end
@@ -212,7 +211,7 @@ class GitOwnershipInsights
212
211
 
213
212
  if CODEOWNERS
214
213
  puts "\n"
215
- puts 'Code ownership data:'
214
+ puts '*Code ownership data:*'
216
215
  codeowners = read_codeowners_file
217
216
 
218
217
  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.3'
5
5
  end
@@ -52,15 +52,14 @@ 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
- * means that it the current(instant) repository value, all the other metrics are done over 7 days period
59
58
 
60
- Hotspot changes:
59
+ *Hotspot changes:*
61
60
  /file1.swift Contributors: ["FIOS", "FAND"] Commits: 3
62
61
 
63
- Code ownership data:
62
+ *Code ownership data:*
64
63
  Codeownership data:
65
64
  FIOS:
66
65
  Total Count: 3
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.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Serghei Moret