cdd-metric_fu 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. data/.document +7 -0
  2. data/.gitignore +24 -0
  3. data/HISTORY +182 -0
  4. data/MIT-LICENSE +22 -0
  5. data/Manifest.txt +25 -0
  6. data/README.rdoc +20 -0
  7. data/Rakefile +59 -0
  8. data/TODO +9 -0
  9. data/VERSION +1 -0
  10. data/cdd-metric_fu.gemspec +200 -0
  11. data/home_page/back_all.jpg +0 -0
  12. data/home_page/churn.gif +0 -0
  13. data/home_page/flay.gif +0 -0
  14. data/home_page/flog.gif +0 -0
  15. data/home_page/footer.gif +0 -0
  16. data/home_page/header.jpg +0 -0
  17. data/home_page/img09.gif +0 -0
  18. data/home_page/index.html +277 -0
  19. data/home_page/rcov.gif +0 -0
  20. data/home_page/reek.gif +0 -0
  21. data/home_page/roodi.gif +0 -0
  22. data/home_page/saikuro.gif +0 -0
  23. data/home_page/stats.gif +0 -0
  24. data/home_page/styles.css +245 -0
  25. data/home_page/title.gif +0 -0
  26. data/home_page/title_back.gif +0 -0
  27. data/lib/base/base_template.rb +145 -0
  28. data/lib/base/configuration.rb +188 -0
  29. data/lib/base/generator.rb +167 -0
  30. data/lib/base/graph.rb +47 -0
  31. data/lib/base/md5_tracker.rb +52 -0
  32. data/lib/base/report.rb +100 -0
  33. data/lib/generators/churn.rb +34 -0
  34. data/lib/generators/flay.rb +35 -0
  35. data/lib/generators/flog.rb +172 -0
  36. data/lib/generators/rcov.rb +82 -0
  37. data/lib/generators/reek.rb +64 -0
  38. data/lib/generators/roodi.rb +33 -0
  39. data/lib/generators/saikuro.rb +221 -0
  40. data/lib/generators/stats.rb +59 -0
  41. data/lib/graphs/engines/bluff.rb +101 -0
  42. data/lib/graphs/engines/gchart.rb +120 -0
  43. data/lib/graphs/flay_grapher.rb +19 -0
  44. data/lib/graphs/flog_grapher.rb +39 -0
  45. data/lib/graphs/grapher.rb +18 -0
  46. data/lib/graphs/rails_best_practices_grapher.rb +24 -0
  47. data/lib/graphs/rcov_grapher.rb +19 -0
  48. data/lib/graphs/reek_grapher.rb +31 -0
  49. data/lib/graphs/roodi_grapher.rb +19 -0
  50. data/lib/graphs/stats_grapher.rb +22 -0
  51. data/lib/metric_fu.rb +32 -0
  52. data/lib/metric_fu/railtie.rb +10 -0
  53. data/lib/tasks/metric_fu.rake +22 -0
  54. data/lib/templates/awesome/awesome_template.rb +37 -0
  55. data/lib/templates/awesome/churn.html.erb +58 -0
  56. data/lib/templates/awesome/css/buttons.css +82 -0
  57. data/lib/templates/awesome/css/default.css +91 -0
  58. data/lib/templates/awesome/css/integrity.css +335 -0
  59. data/lib/templates/awesome/css/reset.css +7 -0
  60. data/lib/templates/awesome/flay.html.erb +34 -0
  61. data/lib/templates/awesome/flog.html.erb +53 -0
  62. data/lib/templates/awesome/index.html.erb +31 -0
  63. data/lib/templates/awesome/layout.html.erb +30 -0
  64. data/lib/templates/awesome/rcov.html.erb +42 -0
  65. data/lib/templates/awesome/reek.html.erb +40 -0
  66. data/lib/templates/awesome/roodi.html.erb +27 -0
  67. data/lib/templates/awesome/saikuro.html.erb +71 -0
  68. data/lib/templates/awesome/stats.html.erb +51 -0
  69. data/lib/templates/javascripts/bluff-min.js +1 -0
  70. data/lib/templates/javascripts/excanvas.js +35 -0
  71. data/lib/templates/javascripts/js-class.js +1 -0
  72. data/lib/templates/standard/churn.html.erb +31 -0
  73. data/lib/templates/standard/default.css +64 -0
  74. data/lib/templates/standard/flay.html.erb +34 -0
  75. data/lib/templates/standard/flog.html.erb +53 -0
  76. data/lib/templates/standard/index.html.erb +38 -0
  77. data/lib/templates/standard/rcov.html.erb +43 -0
  78. data/lib/templates/standard/reek.html.erb +42 -0
  79. data/lib/templates/standard/roodi.html.erb +29 -0
  80. data/lib/templates/standard/saikuro.html.erb +84 -0
  81. data/lib/templates/standard/standard_template.rb +26 -0
  82. data/lib/templates/standard/stats.html.erb +55 -0
  83. data/spec/base/base_template_spec.rb +161 -0
  84. data/spec/base/configuration_spec.rb +274 -0
  85. data/spec/base/generator_spec.rb +244 -0
  86. data/spec/base/graph_spec.rb +32 -0
  87. data/spec/base/md5_tracker_spec.rb +57 -0
  88. data/spec/base/report_spec.rb +139 -0
  89. data/spec/generators/churn_spec.rb +43 -0
  90. data/spec/generators/flay_spec.rb +110 -0
  91. data/spec/generators/flog_spec.rb +262 -0
  92. data/spec/generators/rcov_spec.rb +159 -0
  93. data/spec/generators/reek_spec.rb +125 -0
  94. data/spec/generators/saikuro_spec.rb +58 -0
  95. data/spec/generators/stats_spec.rb +74 -0
  96. data/spec/graphs/engines/bluff_spec.rb +17 -0
  97. data/spec/graphs/engines/gchart_spec.rb +109 -0
  98. data/spec/graphs/flay_grapher_spec.rb +37 -0
  99. data/spec/graphs/flog_grapher_spec.rb +45 -0
  100. data/spec/graphs/grapher_spec.rb +29 -0
  101. data/spec/graphs/rcov_grapher_spec.rb +37 -0
  102. data/spec/graphs/reek_grapher_spec.rb +47 -0
  103. data/spec/graphs/roodi_grapher_spec.rb +37 -0
  104. data/spec/graphs/stats_grapher_spec.rb +44 -0
  105. data/spec/resources/saikuro/app/controllers/sessions_controller.rb_cyclo.html +10 -0
  106. data/spec/resources/saikuro/app/controllers/users_controller.rb_cyclo.html +16 -0
  107. data/spec/resources/saikuro/index_cyclo.html +155 -0
  108. data/spec/resources/saikuro_sfiles/thing.rb_cyclo.html +11 -0
  109. data/spec/resources/yml/20090630.yml +7913 -0
  110. data/spec/spec.opts +6 -0
  111. data/spec/spec_helper.rb +7 -0
  112. metadata +285 -0
@@ -0,0 +1,7 @@
1
+ README.rdoc
2
+ lib/**/*.rb
3
+ bin/*
4
+ features/**/*.feature
5
+ MIT-LICENSE
6
+ HISTORY
7
+ TODO
@@ -0,0 +1,24 @@
1
+ ## MAC OS
2
+ .DS_Store
3
+
4
+ ## TEXTMATE
5
+ *.tmproj
6
+ tmtags
7
+
8
+ ## EMACS
9
+ *~
10
+ \#*
11
+ .\#*
12
+
13
+ ## VIM
14
+ *.swp
15
+
16
+ ## PROJECT::GENERAL
17
+ coverage
18
+ rdoc
19
+ pkg
20
+
21
+ ## PROJECT::SPECIFIC
22
+ yabawock-metric_fu-*.gem
23
+ previous_failures.txt
24
+ tmp
data/HISTORY ADDED
@@ -0,0 +1,182 @@
1
+ === MetricFu 1.3.0 / 2010-01-26
2
+
3
+ * Flay can be configured to ignore scores below a threshold (by default it ignores scores less than 100)
4
+ * When running Rcov you can configure the RAILS_ENV (defaults to 'test') so running metric_fu doesn't interfere with other environments
5
+ * Changed devver-construct (a gem hosted by GitHub) development dependency to test-construct dependency (on Gemcutter) - Dan Mayer
6
+ * Upgrade Bluff to 0.3.6 and added tooltips to graphs - Édouard Brière
7
+ * Removed Saikuro from vendor and added it as a gem dependency - Édouard Brière
8
+ * Churn has moved outside metric_fu and is now a gem and a dependency - Dan Mayer
9
+ * Fix 'activesupport' deprecation (it should be 'active_support') - Bryan Helmkamp
10
+ * Declared development dependencies
11
+ * Cleaned and sped up specs
12
+
13
+ === MetricFu 1.2.0 / 2010-01-09
14
+
15
+ * ftools isn't supported by 1.9 so moved to fileutils.
16
+ * Overhauled the graphing to use Gruff or Google Charts so we no longer depend on ImageMagick/rmagick -- thanks to Carl Youngblood.
17
+ * Stopped relying on Github gems as they will be going away.
18
+
19
+ === MetricFu 1.1.6 / 2009-12-14
20
+
21
+ * Now compatible with Reek 1.2x thanks to Kevin Rutherford
22
+ * Fixed problem with deleted files still showing up in Flog reports thanks to Dan Mayer
23
+
24
+ === MetricFu 1.1.5 / 2009-8-13
25
+
26
+ * Previous Ruby 1.9 fix was not quite fix-y enough
27
+
28
+ === MetricFu 1.1.4 / 2009-7-13
29
+
30
+ * Fixed another Ruby 1.9x bug
31
+
32
+ === MetricFu 1.1.3 / 2009-7-10
33
+
34
+ * MetricFu is now Ruby 1.9x compatible
35
+ * Removed the check for deprecated ways of configuring metric_fu as the tests were causing Ruby 1.9x problems and it's been forever since they were supported.
36
+ * Removed total flog score from graph (which will always go up and so doesn't mean much) and replacing it with top_five_percent_average which is an average of the worst 5 percent of your methods.
37
+ * Sort Flog by highest score in the class which I feel is more important than the total flog flog score.
38
+
39
+ === MetricFu 1.1.2 / 2009-7-09
40
+
41
+ * Removed dependency on gruff and rmagick (unless the user wants graphs, of course).
42
+ * New look for styling -- Edouard Brière
43
+ * Extra param in rcov call was causing problems -- Stewart Welbourne
44
+ * Preventing rake task from being run multiple times when other rake tasks switch the environment -- Matthew Van Horn
45
+ * Typo in Rcov dependency verification and fixing parsing Saikuro nested information -- Mark Wilden
46
+
47
+ === MetricFu 1.1.1 / 2009-6-29
48
+
49
+ * Fix for empty flog files
50
+
51
+ === MetricFu 1.1.0 / 2009-6-22
52
+
53
+ * Flog, flay, reek, roodi, and rcov reports now graph progress over time. Well done Nick Quaranto and Edouard Brière.
54
+ * 'Awesome' template has been brought in so that reports look 90% less 'ghetto.' Also done by Nick Quaranto and Edouard Brière.
55
+ * Added links to TextMate (which keep getting removed. Probably by me. Sorry.) -- David Chelimsky
56
+ * Fixed a bug for scratch files which have a size of 0 -- Kevin Hall
57
+ * Changed gem dependencies from install-time in gemspec to runtime when each of the generators is loaded. This allows use of github gems (i.e. relevance-rcov instead of rcov) and also allows you to install only the gems for the metrics you plan on using. -- Alex Rothenberg
58
+ * Empty Flog file fix -- Adam Bair
59
+ * Added a simple fix for cases where Saikuro results with nested information -- Randy Souza
60
+ * Fixed rcov configuration so it ignores library files on Linux -- Diego Carrion
61
+ * Changing churn so that it still works deeper than the git root directory -- Andrew Timberlake
62
+ * Andrew Timberlake also made some nice changes to the base template which kinda of got overshadowed by the 'awesome' template. Sorry about that Andrew.
63
+
64
+ === MetricFu 1.0.2 / 2009-5-11
65
+
66
+ * Fixing problems with Reek new line character (thanks to all who pointed this out)
67
+ * Flog now recognizes namespaces in method names thanks to Daniel Guettler
68
+ * Saikuro now looks at multiple directories, again.
69
+
70
+ === MetricFu 1.0.1 / 2009-5-3
71
+
72
+ * metrics:all task no longer requires a MetricFu::Configuration.run {} if you want to accept the defaults
73
+ * rcov task now reports total coverage percent
74
+
75
+ === MetricFu 1.0.0 / 2009-4-30
76
+
77
+ * Merged in Grant McInnes' work on creating yaml output for all metrics to aid harvesting by other tools
78
+ * Supporting Flog 2.1.0
79
+ * Supporting Reek 1.0.0
80
+ * Removed dependency on Rails Env for 3.months.ago (for churn report), now using chronic gem ("3 months ago").
81
+ * Almost all code is out of Rakefiles now and so is more easily testable
82
+ * Metrics inherit from a refactored Generator now. New metrics generators just have to implement "emit", "analyze", "to_h" and inherit from Generator. They also must have a template. See the flay generator and template for a simple implementation.
83
+ * You now define the metrics you wish to run in the configuration and then run "metrics:all". No other metrics task is exposed by default.
84
+
85
+ === MetricFu 0.9.0 / 2009-1-25
86
+
87
+ * Adding line numbers to the views so that people viewing it on cc.rb can figure out where the problems are
88
+ * Merging in changes from Jay Zeschin having to do with the railroad task -- I still have no idea how to use it (lemme know if you figure it out)
89
+ * Added totals to Flog results
90
+ * Moved rcov options to configuration
91
+
92
+ === MetricFu 0.8.9 / 2009-1-20
93
+
94
+ * Thanks to Andre Arko and Petrik de Heus for adding the following features:
95
+ * The source control type is auto-detected for Churn
96
+ * Moved all presentation to templates
97
+ * Wrote specs for all classes
98
+ * Added flay, Reek and Roodi metrics
99
+ * There's now a configuration class (see README for details)
100
+ * Unification of metrics reports
101
+ * Metrics can be generated using one command
102
+ * Adding new metrics reports has been standardized
103
+
104
+ === MetricFu 0.8.0 / 2008-10-06
105
+
106
+ * Source Control Churn now supports git (thanks to Erik St Martin)
107
+ * Flog Results are sorted by Highest Flog Score
108
+ * Fix for a bunch of 'already initialized constant' warnings that metric_fu caused
109
+ * Fixing bug so the flog reporter can handle methods with digits in the name (thanks to Andy Gregorowicz)
110
+ * Internal Rake task now allows metric_fu to flog/churn itself
111
+
112
+ === MetricFu 0.7.6 / 2008-09-15
113
+
114
+ * CHURN_OPTIONS has become MetricFu::CHURN_OPTIONS
115
+ * SAIKURO_OPTIONS has become MetricFu::SAIKURO_OPTIONS
116
+ * Rcov now looks at test and specs
117
+ * Exclude gems and Library ruby code from rcov
118
+ * Fixed bug with churn start_date functionality (bad path)
119
+
120
+ === MetricFu 0.7.5 / 2008-09-12
121
+
122
+ * Flog can now flog any set of directories you like (see README).
123
+ * Saikuro can now look at any set of directories you like (see README).
124
+
125
+ === MetricFu 0.7.1 / 2008-09-12
126
+
127
+ * Fixed filename bugs pointed out by Bastien
128
+
129
+ === MetricFu 0.7.0 / 2008-09-11
130
+
131
+ * Merged in Sean Soper's changes to metric_fu.
132
+ * Metric_fu is now a gem.
133
+ * Flogging now uses a MD5 hash to figure out if it should re-flog a file (if it's changed)
134
+ * Flogging also has a cool new output screen(s)
135
+ * Thanks Sean!
136
+
137
+ === Metricks 0.4.2 / 2008-07-01
138
+
139
+ * Changed rcov output directory so that it is no longer 'coverage/unit' but just 'coverage' for better integration with CC.rb
140
+
141
+ === Metricks 0.4.1 / 2008-06-13
142
+
143
+ * Rcov tests now extend beyond one level depth directory by using RcovTask instead of the shell
144
+
145
+ === Metricks 0.4.0 / 2008-06-13
146
+
147
+ * Implementing functionality for use as a gem
148
+ * Added Rakefile to facilitate testing
149
+
150
+ === Metricks 0.3.0 / 2008-06-11
151
+
152
+ * Generated reports now open on darwin automatically
153
+ * Generated reports reside under tmp/metricks unless otherwise specified by ENV['CC_BUILD_ARTIFACTS']
154
+ * MD5Tracker works with Flog reports for speed optimization
155
+
156
+ === Metricks 0.2.0 / 2008-06-11
157
+
158
+ * Integrated use of base directory constant
159
+ * Have all reports automatically open in a browser if platform is darwin
160
+ * Namespaced under Metricks
161
+ * Dropped use of shell md5 command in favor of Ruby's Digest::MD5 libraries
162
+
163
+ === Metricks 0.1.0 / 2008-06-10
164
+
165
+ * Initial integration of metric_fu and my enhancements to flog
166
+ * Metrics are generated but are all over the place
167
+
168
+ === MetricFu 0.6.0 / 2008-05-11
169
+
170
+ * Add source control churn report
171
+
172
+ === MetricFu 0.5.1 / 2008-04-25
173
+
174
+ * Fixed bug with Saikuro report generation
175
+
176
+ === MetricFu 0.5.0 / 2008-04-25
177
+
178
+ * create MetricFu as a Rails Plugin
179
+ * Add Flog Report
180
+ * Add Coverage Report
181
+ * Add Saikuro Report
182
+ * Add Stats Report
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2008,2009 Jake Scruggs
2
+
3
+ Permission is hereby granted, free of charge, to any person
4
+ obtaining a copy of this software and associated documentation
5
+ files (the "Software"), to deal in the Software without
6
+ restriction, including without limitation the rights to use,
7
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the
9
+ Software is furnished to do so, subject to the following
10
+ conditions:
11
+
12
+ The above copyright notice and this permission notice shall be
13
+ included in all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
+ OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,25 @@
1
+ History.txt
2
+ Manifest.txt
3
+ metric_fu-0.7.gem
4
+ metric_fu.gemspec
5
+ MIT-LICENSE
6
+ Rakefile
7
+ README
8
+ TODO.txt
9
+ lib/metric_fu.rb
10
+ lib/metric_fu/base.rb
11
+ lib/metric_fu/churn.rb
12
+ lib/metric_fu/flay_reporter.rb
13
+ lib/metric_fu/flog_reporter.rb
14
+ lib/metric_fu/md5_tracker.rb
15
+ lib/metric_fu/saikuro/saikuro.rb
16
+ lib/metric_fu/saikuro/SAIKURO_README
17
+ lib/tasks/churn.rake
18
+ lib/tasks/coverage.rake
19
+ lib/tasks/flog.rake
20
+ lib/tasks/metric_fu.rake
21
+ lib/tasks/metric_fu.rb
22
+ lib/tasks/saikuro.rake
23
+ lib/tasks/stats.rake
24
+ test/test_helper.rb
25
+ test/test_md5_tracker.rb
@@ -0,0 +1,20 @@
1
+ = yabawock-metric_fu
2
+
3
+ Metric_fu is a set of rake tasks that make it easy to generate metrics reports. It uses Saikuro, Flog, Flay, Rcov, Reek, Roodi, Churn, Subversion, Git, 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.
4
+
5
+ See http://metric-fu.rubyforge.org/ for documentation, or the HISTORY file for a change log.
6
+
7
+ == Note on Patches/Pull Requests
8
+
9
+ * Fork the project.
10
+ * Make your feature addition or bug fix.
11
+ * Add tests for it. This is important so I don't break it in a
12
+ future version unintentionally.
13
+ * Commit, do not mess with rakefile, version, or history.
14
+ (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
15
+ * Send me a pull request. Bonus points for topic branches.
16
+
17
+ == Copyright
18
+
19
+ Copyright (c) 2010 Morton Jonuschat
20
+ Copyright (c) 2008-2010 Jake Scruggs
@@ -0,0 +1,59 @@
1
+ # coding: utf-8
2
+ require 'rubygems'
3
+ require 'rake'
4
+ require 'lib/metric_fu'
5
+
6
+ begin
7
+ require 'jeweler'
8
+ Jeweler::Tasks.new do |gem|
9
+ gem.name = "cdd-metric_fu"
10
+ gem.summary = %Q{A fistful of code metrics, with awesome templates and graphs}
11
+ gem.description = %Q{Code metrics from Flog, Flay, RCov, Saikuro, Churn, Reek, Roodi and Rails' stats task}
12
+ gem.email = "github@collaborativedrug.com"
13
+ gem.homepage = "http://metric-fu.rubyforge.org/"
14
+ gem.authors = ["Morton Jonuschat", "Jake Scruggs", "Sean Soper", "Andre Arko", "Petrik de Heus", "Grant McInnes", "Nick Quaranto", "Édouard Brière", "Carl Youngblood"]
15
+ gem.add_dependency("flay", [">= 1.2.1"])
16
+ gem.add_dependency("flog", ["= 2.2.0"])
17
+ gem.add_dependency("rcov", [">= 0.8.3.3"])
18
+ gem.add_dependency("chronic", [">= 0.2.3"])
19
+ gem.add_dependency("churn", [">= 0.0.7"])
20
+ gem.add_dependency("yabawock-Saikuro", [">= 1.2.0"])
21
+ gem.add_dependency("activesupport", [">= 2.2.3"])
22
+ gem.add_development_dependency("rspec", [">= 1.2.9"])
23
+ gem.add_development_dependency("test-construct", [">= 1.2.0"])
24
+ # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
25
+ end
26
+ Jeweler::GemcutterTasks.new
27
+ rescue LoadError
28
+ puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
29
+ end
30
+
31
+ require 'spec/rake/spectask'
32
+ Spec::Rake::SpecTask.new(:spec) do |spec|
33
+ spec.libs << 'lib' << 'spec'
34
+ spec.spec_files = FileList['spec/**/*_spec.rb']
35
+ end
36
+
37
+ Spec::Rake::SpecTask.new(:rcov) do |spec|
38
+ spec.libs << 'lib' << 'spec'
39
+ spec.pattern = 'spec/**/*_spec.rb'
40
+ spec.rcov = true
41
+ end
42
+
43
+ task :spec => :check_dependencies
44
+
45
+ task :default => :spec
46
+
47
+ require 'rake/rdoctask'
48
+ Rake::RDocTask.new do |rdoc|
49
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
50
+
51
+ rdoc.rdoc_dir = 'rdoc'
52
+ rdoc.title = "yabawock-metric_fu #{version}"
53
+ rdoc.rdoc_files.include('README*')
54
+ rdoc.rdoc_files.include('lib/**/*.rb')
55
+ end
56
+
57
+ MetricFu::Configuration.run do |config|
58
+ config.template_class = AwesomeTemplate
59
+ end
data/TODO ADDED
@@ -0,0 +1,9 @@
1
+ == TODO list
2
+
3
+ * Color code flog results with scale from: http://jakescruggs.blogspot.com/2008/08/whats-good-flog-score.html
4
+ * Integrate Flog, Saikuro, and Coverage into one report so you can see methods that have high complexity and low coverage (this is a big one)
5
+ * Update flog specs so that they actually run flog
6
+ * Add flay specs that run flay
7
+ * Convert readme to markdown and rename to README.mkdn so github will render it
8
+ * Saikuro.rb falls over if tries to parse an empty file. Fair enough. We shouldn't feed it empty files
9
+ * Make running metric_fu on metric_fu less embarrassing
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.3.1
@@ -0,0 +1,200 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{cdd-metric_fu}
8
+ s.version = "1.3.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Morton Jonuschat", "Jake Scruggs", "Sean Soper", "Andre Arko", "Petrik de Heus", "Grant McInnes", "Nick Quaranto", "\303\211douard Bri\303\250re", "Carl Youngblood"]
12
+ s.date = %q{2010-05-03}
13
+ s.description = %q{Code metrics from Flog, Flay, RCov, Saikuro, Churn, Reek, Roodi and Rails' stats task}
14
+ s.email = %q{github@collaborativedrug.com}
15
+ s.extra_rdoc_files = [
16
+ "README.rdoc",
17
+ "TODO"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".gitignore",
22
+ "HISTORY",
23
+ "MIT-LICENSE",
24
+ "Manifest.txt",
25
+ "README.rdoc",
26
+ "Rakefile",
27
+ "TODO",
28
+ "VERSION",
29
+ "cdd-metric_fu.gemspec",
30
+ "home_page/back_all.jpg",
31
+ "home_page/churn.gif",
32
+ "home_page/flay.gif",
33
+ "home_page/flog.gif",
34
+ "home_page/footer.gif",
35
+ "home_page/header.jpg",
36
+ "home_page/img09.gif",
37
+ "home_page/index.html",
38
+ "home_page/rcov.gif",
39
+ "home_page/reek.gif",
40
+ "home_page/roodi.gif",
41
+ "home_page/saikuro.gif",
42
+ "home_page/stats.gif",
43
+ "home_page/styles.css",
44
+ "home_page/title.gif",
45
+ "home_page/title_back.gif",
46
+ "lib/base/base_template.rb",
47
+ "lib/base/configuration.rb",
48
+ "lib/base/generator.rb",
49
+ "lib/base/graph.rb",
50
+ "lib/base/md5_tracker.rb",
51
+ "lib/base/report.rb",
52
+ "lib/generators/churn.rb",
53
+ "lib/generators/flay.rb",
54
+ "lib/generators/flog.rb",
55
+ "lib/generators/rcov.rb",
56
+ "lib/generators/reek.rb",
57
+ "lib/generators/roodi.rb",
58
+ "lib/generators/saikuro.rb",
59
+ "lib/generators/stats.rb",
60
+ "lib/graphs/engines/bluff.rb",
61
+ "lib/graphs/engines/gchart.rb",
62
+ "lib/graphs/flay_grapher.rb",
63
+ "lib/graphs/flog_grapher.rb",
64
+ "lib/graphs/grapher.rb",
65
+ "lib/graphs/rails_best_practices_grapher.rb",
66
+ "lib/graphs/rcov_grapher.rb",
67
+ "lib/graphs/reek_grapher.rb",
68
+ "lib/graphs/roodi_grapher.rb",
69
+ "lib/graphs/stats_grapher.rb",
70
+ "lib/metric_fu.rb",
71
+ "lib/metric_fu/railtie.rb",
72
+ "lib/tasks/metric_fu.rake",
73
+ "lib/templates/awesome/awesome_template.rb",
74
+ "lib/templates/awesome/churn.html.erb",
75
+ "lib/templates/awesome/css/buttons.css",
76
+ "lib/templates/awesome/css/default.css",
77
+ "lib/templates/awesome/css/integrity.css",
78
+ "lib/templates/awesome/css/reset.css",
79
+ "lib/templates/awesome/flay.html.erb",
80
+ "lib/templates/awesome/flog.html.erb",
81
+ "lib/templates/awesome/index.html.erb",
82
+ "lib/templates/awesome/layout.html.erb",
83
+ "lib/templates/awesome/rcov.html.erb",
84
+ "lib/templates/awesome/reek.html.erb",
85
+ "lib/templates/awesome/roodi.html.erb",
86
+ "lib/templates/awesome/saikuro.html.erb",
87
+ "lib/templates/awesome/stats.html.erb",
88
+ "lib/templates/javascripts/bluff-min.js",
89
+ "lib/templates/javascripts/excanvas.js",
90
+ "lib/templates/javascripts/js-class.js",
91
+ "lib/templates/standard/churn.html.erb",
92
+ "lib/templates/standard/default.css",
93
+ "lib/templates/standard/flay.html.erb",
94
+ "lib/templates/standard/flog.html.erb",
95
+ "lib/templates/standard/index.html.erb",
96
+ "lib/templates/standard/rcov.html.erb",
97
+ "lib/templates/standard/reek.html.erb",
98
+ "lib/templates/standard/roodi.html.erb",
99
+ "lib/templates/standard/saikuro.html.erb",
100
+ "lib/templates/standard/standard_template.rb",
101
+ "lib/templates/standard/stats.html.erb",
102
+ "spec/base/base_template_spec.rb",
103
+ "spec/base/configuration_spec.rb",
104
+ "spec/base/generator_spec.rb",
105
+ "spec/base/graph_spec.rb",
106
+ "spec/base/md5_tracker_spec.rb",
107
+ "spec/base/report_spec.rb",
108
+ "spec/generators/churn_spec.rb",
109
+ "spec/generators/flay_spec.rb",
110
+ "spec/generators/flog_spec.rb",
111
+ "spec/generators/rcov_spec.rb",
112
+ "spec/generators/reek_spec.rb",
113
+ "spec/generators/saikuro_spec.rb",
114
+ "spec/generators/stats_spec.rb",
115
+ "spec/graphs/engines/bluff_spec.rb",
116
+ "spec/graphs/engines/gchart_spec.rb",
117
+ "spec/graphs/flay_grapher_spec.rb",
118
+ "spec/graphs/flog_grapher_spec.rb",
119
+ "spec/graphs/grapher_spec.rb",
120
+ "spec/graphs/rcov_grapher_spec.rb",
121
+ "spec/graphs/reek_grapher_spec.rb",
122
+ "spec/graphs/roodi_grapher_spec.rb",
123
+ "spec/graphs/stats_grapher_spec.rb",
124
+ "spec/resources/saikuro/app/controllers/sessions_controller.rb_cyclo.html",
125
+ "spec/resources/saikuro/app/controllers/users_controller.rb_cyclo.html",
126
+ "spec/resources/saikuro/index_cyclo.html",
127
+ "spec/resources/saikuro_sfiles/thing.rb_cyclo.html",
128
+ "spec/resources/yml/20090630.yml",
129
+ "spec/spec.opts",
130
+ "spec/spec_helper.rb"
131
+ ]
132
+ s.homepage = %q{http://metric-fu.rubyforge.org/}
133
+ s.rdoc_options = ["--charset=UTF-8"]
134
+ s.require_paths = ["lib"]
135
+ s.rubygems_version = %q{1.3.5}
136
+ s.summary = %q{A fistful of code metrics, with awesome templates and graphs}
137
+ s.test_files = [
138
+ "spec/base/base_template_spec.rb",
139
+ "spec/base/configuration_spec.rb",
140
+ "spec/base/generator_spec.rb",
141
+ "spec/base/graph_spec.rb",
142
+ "spec/base/md5_tracker_spec.rb",
143
+ "spec/base/report_spec.rb",
144
+ "spec/generators/churn_spec.rb",
145
+ "spec/generators/flay_spec.rb",
146
+ "spec/generators/flog_spec.rb",
147
+ "spec/generators/rcov_spec.rb",
148
+ "spec/generators/reek_spec.rb",
149
+ "spec/generators/saikuro_spec.rb",
150
+ "spec/generators/stats_spec.rb",
151
+ "spec/graphs/engines/bluff_spec.rb",
152
+ "spec/graphs/engines/gchart_spec.rb",
153
+ "spec/graphs/flay_grapher_spec.rb",
154
+ "spec/graphs/flog_grapher_spec.rb",
155
+ "spec/graphs/grapher_spec.rb",
156
+ "spec/graphs/rcov_grapher_spec.rb",
157
+ "spec/graphs/reek_grapher_spec.rb",
158
+ "spec/graphs/roodi_grapher_spec.rb",
159
+ "spec/graphs/stats_grapher_spec.rb",
160
+ "spec/spec_helper.rb"
161
+ ]
162
+
163
+ if s.respond_to? :specification_version then
164
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
165
+ s.specification_version = 3
166
+
167
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
168
+ s.add_runtime_dependency(%q<flay>, [">= 1.2.1"])
169
+ s.add_runtime_dependency(%q<flog>, ["= 2.2.0"])
170
+ s.add_runtime_dependency(%q<rcov>, [">= 0.8.3.3"])
171
+ s.add_runtime_dependency(%q<chronic>, [">= 0.2.3"])
172
+ s.add_runtime_dependency(%q<churn>, [">= 0.0.7"])
173
+ s.add_runtime_dependency(%q<yabawock-Saikuro>, [">= 1.2.0"])
174
+ s.add_runtime_dependency(%q<activesupport>, [">= 2.2.3"])
175
+ s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
176
+ s.add_development_dependency(%q<test-construct>, [">= 1.2.0"])
177
+ else
178
+ s.add_dependency(%q<flay>, [">= 1.2.1"])
179
+ s.add_dependency(%q<flog>, ["= 2.2.0"])
180
+ s.add_dependency(%q<rcov>, [">= 0.8.3.3"])
181
+ s.add_dependency(%q<chronic>, [">= 0.2.3"])
182
+ s.add_dependency(%q<churn>, [">= 0.0.7"])
183
+ s.add_dependency(%q<yabawock-Saikuro>, [">= 1.2.0"])
184
+ s.add_dependency(%q<activesupport>, [">= 2.2.3"])
185
+ s.add_dependency(%q<rspec>, [">= 1.2.9"])
186
+ s.add_dependency(%q<test-construct>, [">= 1.2.0"])
187
+ end
188
+ else
189
+ s.add_dependency(%q<flay>, [">= 1.2.1"])
190
+ s.add_dependency(%q<flog>, ["= 2.2.0"])
191
+ s.add_dependency(%q<rcov>, [">= 0.8.3.3"])
192
+ s.add_dependency(%q<chronic>, [">= 0.2.3"])
193
+ s.add_dependency(%q<churn>, [">= 0.0.7"])
194
+ s.add_dependency(%q<yabawock-Saikuro>, [">= 1.2.0"])
195
+ s.add_dependency(%q<activesupport>, [">= 2.2.3"])
196
+ s.add_dependency(%q<rspec>, [">= 1.2.9"])
197
+ s.add_dependency(%q<test-construct>, [">= 1.2.0"])
198
+ end
199
+ end
200
+