aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/Rakefile
diff options
context:
space:
mode:
authorYehuda Katz <wycats@gmail.com>2009-08-31 17:20:44 -0700
committerYehuda Katz <wycats@gmail.com>2009-08-31 17:20:44 -0700
commit67f5d611f5735a6444314ae1819938e63f0d174b (patch)
tree72f82c9aa62b0a4305f061277478103465eb633b /activemodel/Rakefile
parent66d713fc8f62e270ac21f6c413d6527fbf30dc52 (diff)
downloadrails-67f5d611f5735a6444314ae1819938e63f0d174b.tar.gz
rails-67f5d611f5735a6444314ae1819938e63f0d174b.tar.bz2
rails-67f5d611f5735a6444314ae1819938e63f0d174b.zip
Add rake gemspec and gemspecs to the repo
Diffstat (limited to 'activemodel/Rakefile')
-rwxr-xr-xactivemodel/Rakefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/activemodel/Rakefile b/activemodel/Rakefile
index 14653a71c6..dcd1eaa444 100755
--- a/activemodel/Rakefile
+++ b/activemodel/Rakefile
@@ -67,3 +67,9 @@ Rake::GemPackageTask.new(spec) do |p|
p.need_tar = true
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 \ No newline at end of file