codefumes_harvester 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/bin/harvest_repo_metrics +0 -0
- data/lib/codefumes_harvester/source_control.rb +5 -4
- data/lib/codefumes_harvester.rb +1 -1
- metadata +2 -2
data/History.txt
CHANGED
data/bin/harvest_repo_metrics
CHANGED
File without changes
|
@@ -110,6 +110,7 @@ module CodeFumesHarvester
|
|
110
110
|
end
|
111
111
|
|
112
112
|
commit_list.map do |commit|
|
113
|
+
commit_stats = commit.stats
|
113
114
|
{
|
114
115
|
:identifier => commit.sha,
|
115
116
|
:author_name => commit.author.name,
|
@@ -121,10 +122,10 @@ module CodeFumesHarvester
|
|
121
122
|
:message => commit.message,
|
122
123
|
:short_message => commit.short_message,
|
123
124
|
:parent_identifiers => commit.parents.map(&:sha).join(','),
|
124
|
-
:line_additions =>
|
125
|
-
:line_deletions =>
|
126
|
-
:line_total =>
|
127
|
-
:affected_file_count =>
|
125
|
+
:line_additions => commit_stats.additions,
|
126
|
+
:line_deletions => commit_stats.deletions,
|
127
|
+
:line_total => commit_stats.deletions,
|
128
|
+
:affected_file_count => commit_stats.files.count
|
128
129
|
}
|
129
130
|
end.reverse
|
130
131
|
end
|
data/lib/codefumes_harvester.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: codefumes_harvester
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Kersten
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2009-09-
|
13
|
+
date: 2009-09-12 00:00:00 -05:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|