Permalink
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
View
@@ -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
View
@@ -46,7 +46,7 @@
<!-- end #sidebar -->
</div>
<div id="left">
- <h1>About metric_fu 1.1.6</h1>
+ <h1>About metric_fu 1.2.0</h1>
<div>
<p><br/>
Metric_fu is a set of rake tasks that make it easy to generate metrics reports. It uses
@@ -65,6 +65,10 @@
</p>
<br/>
<p>
+ 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.
+</p>
+<br/>
+<p>
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="http://litanyagainstfear.com/">Nick Quaranto</a> and <a href="http://www.nanalegumene.net/">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.
</p>
<br/>
@@ -82,13 +86,13 @@
If you like to vendor gems, you can unpack metric_fu into vendor/gems and require it like so:
</p>
<br/>
-<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>
<br/>
<p>Then you don't have to install it on every box you run it on.</p>
<br/>
<p>Later versions of Rails like to manage your gems for you, so you can put this in your test.rb file:</p>
<br/>
-<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>
<br/>
<p>And then issue this command:</p>
<br/>
@@ -99,7 +103,7 @@
<p>That way Rails won't yell at you every time you run a Rake task:</p>
<br/>
<pre>
- 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.
</pre>
<br/>
<p>
@@ -174,6 +178,11 @@
</p>
<p><br/>
+ <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.
+</p>
+
+<p><br/>
<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.
</p>
View
@@ -1,8 +1,8 @@
Gem::Specification.new do |s|
s.name = "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.email = "carl@youngbloods.org"
+ s.email = "jake.scruggs@gmail.com"
s.homepage = "http://metric-fu.rubyforge.org/"
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 @@ Gem::Specification.new do |s|
s.add_dependency("flay", [">= 1.2.1"])
s.add_dependency("flog", ["= 2.2.0"])
- s.add_dependency("relevance-rcov", [">= 0.8.3.3"])
- s.add_dependency("mojombo-chronic", [">= 0.3.0"])
+ s.add_dependency("rcov", [">= 0.8.3.3"])
+ s.add_dependency("chronic", [">= 0.2.3"])
end

0 comments on commit aba540b

Please sign in to comment.