Browse files

Updating gemspec and docs for 1.2.0 release

  • Loading branch information...
1 parent 017a68b commit aba540b44bce74e39e819e265e23a0ee64f111ba @jscruggs jscruggs committed Jan 10, 2010
Showing with 23 additions and 8 deletions.
  1. +6 −0 HISTORY
  2. +13 −4 home_page/index.html
  3. +4 −4 metric_fu.gemspec
@@ -1,3 +1,9 @@
+=== MetricFu 1.2.0 / 2010-01-09
+* ftools isn't supported by 1.9 so moved to fileutils.
+* Added support for Google Charts thanks to Carl Youngblood.
+* Stopped relying on Github gems as they will be going away.
=== MetricFu 1.1.6 / 2009-12-14
* Now compatible with Reek 1.2x thanks to Kevin Rutherford
@@ -46,7 +46,7 @@
<!-- end #sidebar -->
<div id="left">
- <h1>About metric_fu 1.1.6</h1>
+ <h1>About metric_fu 1.2.0</h1>
Metric_fu is a set of rake tasks that make it easy to generate metrics reports. It uses
@@ -65,6 +65,10 @@
+ New in metric_fu 1.2.0 is the ability to use Google Charts (which doesn't need ImageMagick) to make your graphs. Carl Youngblood submitted this feature so thank him if you like it. See the Graphing section below for how to configure.
New in metric_fu 1.1.0 is integration of the 'Awesome' template and graphs -- which graph your metric performance over time! Big thanks go to <a href="">Nick Quaranto</a> and <a href="">Edouard Brière</a> for their work on this feature. If you're used to the non-awesome reports then this will be quite a treat. Graphing requires the gems 'gruff' and 'rmagick' (and rmagick requires ImageMagick). If that's too much installation to bear, then see configuration section below for how to turn off graphing of the metrics.
@@ -82,13 +86,13 @@
If you like to vendor gems, you can unpack metric_fu into vendor/gems and require it like so:
-<pre>require(File.join(RAILS_ROOT, 'vendor', 'gems', 'metric_fu-1.1.6', 'lib', 'metric_fu'))</pre>
+<pre>require(File.join(RAILS_ROOT, 'vendor', 'gems', 'metric_fu-1.2.0', 'lib', 'metric_fu'))</pre>
<p>Then you don't have to install it on every box you run it on.</p>
<p>Later versions of Rails like to manage your gems for you, so you can put this in your test.rb file:</p>
-<pre>config.gem 'metric_fu', :version => '1.1.6', :lib => 'metric_fu'</pre>
+<pre>config.gem 'metric_fu', :version => '1.2.0', :lib => 'metric_fu'</pre>
<p>And then issue this command:</p>
@@ -99,7 +103,7 @@
<p>That way Rails won't yell at you every time you run a Rake task:</p>
- config.gem: Unpacked gem metric_fu-1.1.6 in vendor/gems has no specification file. Run 'rake gems:refresh_specs' to fix this.
+ config.gem: Unpacked gem metric_fu-1.2.0 in vendor/gems has no specification file. Run 'rake gems:refresh_specs' to fix this.
@@ -174,6 +178,11 @@
+ <h2>Graphing</h2>
+ MetricFu uses Gruff for graphing by default. If you hate ImageMagick (which gruff needs) or just like Google Charts you can set 'config.graph_engine = :gchart' in the config. You'll have to install the googlecharts gem, of course.
<h2>Notes on metrics:coverage</h2>
When creating a coverage report, metric_fu runs all the tests in the test folder and specs in spec folder using Rcov.
@@ -1,8 +1,8 @@ do |s| = "metric_fu"
- s.version = "1.1.6"
+ s.version = "1.2.0"
s.summary = "A fistful of code metrics, with awesome templates and graphs"
- = ""
+ = ""
s.homepage = ""
s.description = "Code metrics from Flog, Flay, RCov, Saikuro, Churn, Reek, Roodi and Rails' stats task"
s.authors = ["Jake Scruggs", "Sean Soper", "Andre Arko", "Petrik de Heus", "Grant McInnes", "Nick Quaranto", "Édouard Brière", "Carl Youngblood"]
@@ -26,6 +26,6 @@ do |s|
s.add_dependency("flay", [">= 1.2.1"])
s.add_dependency("flog", ["= 2.2.0"])
- s.add_dependency("relevance-rcov", [">="])
- s.add_dependency("mojombo-chronic", [">= 0.3.0"])
+ s.add_dependency("rcov", [">="])
+ s.add_dependency("chronic", [">= 0.2.3"])

0 comments on commit aba540b

Please sign in to comment.