jscruggs-metric_fu 0.7.0 → 0.7.1
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.
- data/History.txt +18 -6
- data/README +2 -2
- data/lib/tasks/flog.rake +2 -2
- data/lib/tasks/saikuro.rake +1 -1
- data/metric_fu.gemspec +2 -2
- data/test/test_helper.rb +1 -1
- metadata +2 -2
data/History.txt
CHANGED
@@ -1,30 +1,42 @@
|
|
1
|
-
=== 0.
|
1
|
+
=== MetricFu 0.7.1 / 2008-09-12
|
2
|
+
|
3
|
+
* Fixed filename bugs pointed out by Bastien
|
4
|
+
|
5
|
+
=== MetricFu 0.7.0 / 2008-09-11
|
6
|
+
|
7
|
+
* Merged in Sean Soper's changes to metric_fu.
|
8
|
+
* Metric_fu is now a gem.
|
9
|
+
* Flogging now uses a MD5 hash to figure out if it should re-flog a file (if it's changed)
|
10
|
+
* Floggin also has a cool new output screen
|
11
|
+
* Thanks Sean!
|
12
|
+
|
13
|
+
=== Metricks 0.4.2 / 2008-07-01
|
2
14
|
|
3
15
|
* Changed rcov output directory so that it is no longer 'coverage/unit' but just 'coverage' for better integration with CC.rb
|
4
16
|
|
5
|
-
=== 0.4.1 / 2008-06-13
|
17
|
+
=== Metricks 0.4.1 / 2008-06-13
|
6
18
|
|
7
19
|
* Rcov tests now extend beyond one level depth directory by using RcovTask instead of the shell
|
8
20
|
|
9
|
-
=== 0.4.0 / 2008-06-13
|
21
|
+
=== Metricks 0.4.0 / 2008-06-13
|
10
22
|
|
11
23
|
* Implementing functionality for use as a gem
|
12
24
|
* Added Rakefile to facilitate testing
|
13
25
|
|
14
|
-
=== 0.3.0 / 2008-06-11
|
26
|
+
=== Metricks 0.3.0 / 2008-06-11
|
15
27
|
|
16
28
|
* Generated reports now open on darwin automatically
|
17
29
|
* Generated reports reside under tmp/metricks unless otherwise specified by ENV['CC_BUILD_ARTIFACTS']
|
18
30
|
* MD5Tracker works with Flog reports for speed optimization
|
19
31
|
|
20
|
-
=== 0.2.0 / 2008-06-11
|
32
|
+
=== Metricks 0.2.0 / 2008-06-11
|
21
33
|
|
22
34
|
* Integrated use of base directory constant
|
23
35
|
* Have all reports automatically open in a browser if platform is darwin
|
24
36
|
* Namespaced under Metricks
|
25
37
|
* Dropped use of shell md5 command in favor of Ruby's Digest::MD5 libraries
|
26
38
|
|
27
|
-
=== 0.1.0 / 2008-06-10
|
39
|
+
=== Metricks 0.1.0 / 2008-06-10
|
28
40
|
|
29
41
|
* Initial integration of metric_fu and my enhancements to flog
|
30
42
|
* Metrics are generated but are all over the place
|
data/README
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
Version 0.7.
|
1
|
+
Version 0.7.1
|
2
2
|
http://github.com/jscruggs/metric_fu
|
3
3
|
|
4
|
-
Metric_fu began its life as a plugin for Rails that generated code metrics reports. As of version 0.7.0, metric_fu
|
4
|
+
Metric_fu began its life as a plugin for Rails that generated code metrics reports. As of version 0.7.0, metric_fu is a gem owing to the excellent work done by Sean Soper.
|
5
5
|
|
6
6
|
Metric_fu is a set of rake tasks that make it easy to generate metrics reports. It uses Saikuro, Flog, Rcov, and Rails' built-in stats task to create a series of reports. It's designed to integrate easily with CruiseControl.rb by placing files in the Custom Build Artifacts folder.
|
7
7
|
|
data/lib/tasks/flog.rake
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
require File.join(File.dirname(__FILE__), '..', '
|
2
|
-
require File.join(File.dirname(__FILE__), '..', '
|
1
|
+
require File.join(File.dirname(__FILE__), '..', 'metric_fu', 'md5_tracker')
|
2
|
+
require File.join(File.dirname(__FILE__), '..', 'metric_fu', 'flog_reporter')
|
3
3
|
|
4
4
|
begin
|
5
5
|
FLOG_DIR = File.join(MetricFu::BASE_DIRECTORY, 'flog')
|
data/lib/tasks/saikuro.rake
CHANGED
@@ -15,7 +15,7 @@ namespace :metrics do
|
|
15
15
|
options = ""
|
16
16
|
default_options.each_pair { |key, value| options << "#{key} #{value} " }
|
17
17
|
|
18
|
-
sh "ruby \"#{File.expand_path(File.join(File.dirname(__FILE__), '..', '
|
18
|
+
sh "ruby \"#{File.expand_path(File.join(File.dirname(__FILE__), '..', 'metric_fu', 'saikuro'))}/saikuro.rb\" " +
|
19
19
|
"#{options}" do |ok, response|
|
20
20
|
unless ok
|
21
21
|
puts "Saikuro failed with exit status: #{response.exitstatus}"
|
data/metric_fu.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "metric_fu"
|
3
|
-
s.version = "0.7.
|
4
|
-
s.date = "2008-09-
|
3
|
+
s.version = "0.7.1"
|
4
|
+
s.date = "2008-09-12"
|
5
5
|
s.summary = "Generates project metrics using Flog, RCov, Saikuro and more"
|
6
6
|
s.email = "jake.scruggs@gmail.com"
|
7
7
|
s.homepage = "http://metric-fu.rubyforge.org/"
|
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jscruggs-metric_fu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jake Scruggs
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2008-09-
|
13
|
+
date: 2008-09-12 00:00:00 -07:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|