github_repo_statistics 2.2.16 → 2.2.17
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8169d892f1d72c50d184868f6857ca0025b01cd15331e686f7df54b6f202aee
|
4
|
+
data.tar.gz: 9e459684119ab981629054fe8f4c3896f9f4d3dad3901af315ba2bcb4582191c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1564877229312ef1fee2c1fac355fe4e1c6df216523e368665c626f768e5215acf02a934a3785dce7971862d803f5835dc3d0fdc58e670d004eea109d27e9c30
|
7
|
+
data.tar.gz: 40949fa763572d6c16a12af50019a7c4eb29d4a273808c114bbf451abf5d4c61b2e64df488202bb191069cb18ce941665d3d697fcae60e83070e3f075433298c
|
@@ -326,6 +326,8 @@ class GithubRepoStatistics
|
|
326
326
|
hotspot_output << [file.gsub(@directory_path, ''), contributors, lines_of_code, commits, owner]
|
327
327
|
end
|
328
328
|
|
329
|
+
hotspot_output.sort_by! { |row| row[2] }
|
330
|
+
|
329
331
|
if FILE_OUTPUT
|
330
332
|
CSV.open('hotspot.csv', 'w') do |csv|
|
331
333
|
csv << ['File', 'Contributors', 'Lines', 'Commits', 'Owner']
|