From 67f5d611f5735a6444314ae1819938e63f0d174b Mon Sep 17 00:00:00 2001 From: Yehuda Katz Date: Mon, 31 Aug 2009 17:20:44 -0700 Subject: Add rake gemspec and gemspecs to the repo --- activemodel/Rakefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'activemodel/Rakefile') 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 -- cgit v1.2.3