aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/Rakefile
diff options
context:
space:
mode:
authorCarl Lerche <carllerche@mac.com>2009-09-01 12:19:09 -0700
committerCarl Lerche <carllerche@mac.com>2009-09-01 12:19:09 -0700
commit016b1d3596ce12367edac8bb442f5c630a453ecf (patch)
tree49435918ebb372f617c3cc95bc495f6dd5c12d24 /activerecord/Rakefile
parent22d5e3d89d619acb9179dfcdd33f1afaee9567ca (diff)
parentda636809daca9c338200811d3590e446f57c8e81 (diff)
downloadrails-016b1d3596ce12367edac8bb442f5c630a453ecf.tar.gz
rails-016b1d3596ce12367edac8bb442f5c630a453ecf.tar.bz2
rails-016b1d3596ce12367edac8bb442f5c630a453ecf.zip
Merge branch 'master' of git@github.com:rails/rails
Diffstat (limited to 'activerecord/Rakefile')
-rw-r--r--activerecord/Rakefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/Rakefile b/activerecord/Rakefile
index a9e4a92e37..e8c6c1ae67 100644
--- a/activerecord/Rakefile
+++ b/activerecord/Rakefile
@@ -232,6 +232,12 @@ Rake::GemPackageTask.new(spec) do |p|
p.need_zip = true
end
+task :gemspec do
+ File.open(File.join(File.dirname(__FILE__), "#{spec.name}.gemspec"), "w") do |file|
+ file.puts spec.to_ruby
+ end
+end
+
task :lines do
lines, codelines, total_lines, total_codelines = 0, 0, 0, 0