aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/Rakefile
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-09-25 00:24:34 -0500
committerJoshua Peek <josh@joshpeek.com>2009-09-25 00:24:34 -0500
commit897b9ac43b22ae8873258493ea22eab1c07acd39 (patch)
treec2874588447916c17aedf3c6bf996d64395f32a1 /activesupport/Rakefile
parentbb6ca25d0346f69577d78b15cfeb1238911d2938 (diff)
downloadrails-897b9ac43b22ae8873258493ea22eab1c07acd39.tar.gz
rails-897b9ac43b22ae8873258493ea22eab1c07acd39.tar.bz2
rails-897b9ac43b22ae8873258493ea22eab1c07acd39.zip
Make activesupport.gemspec the authoritative source instead of generating it from the Rakefile
Diffstat (limited to 'activesupport/Rakefile')
-rw-r--r--activesupport/Rakefile23
1 files changed, 1 insertions, 22 deletions
diff --git a/activesupport/Rakefile b/activesupport/Rakefile
index 91c874d729..8d2d207225 100644
--- a/activesupport/Rakefile
+++ b/activesupport/Rakefile
@@ -45,22 +45,7 @@ Rake::RDocTask.new { |rdoc|
rdoc.rdoc_files.exclude('lib/active_support/vendor/*')
}
-spec = Gem::Specification.new do |s|
- s.platform = Gem::Platform::RUBY
- s.name = PKG_NAME
- s.version = PKG_VERSION
- s.summary = "Support and utility classes used by the Rails framework."
- s.description = %q{Utility library which carries commonly used classes and goodies from the Rails framework}
-
- s.files = [ "CHANGELOG", "README" ] + Dir.glob( "lib/**/*" ).delete_if { |item| item.include?( "\.svn" ) }
- s.require_path = 'lib'
- s.has_rdoc = true
-
- s.author = "David Heinemeier Hansson"
- s.email = "david@loudthinking.com"
- s.homepage = "http://www.rubyonrails.org"
- s.rubyforge_project = "activesupport"
-end
+spec = eval(File.read('activesupport.gemspec'))
Rake::GemPackageTask.new(spec) do |p|
p.gem_spec = spec
@@ -68,12 +53,6 @@ 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
-
desc "Publish the beta gem"
task :pgem => [:package] do
require 'rake/contrib/sshpublisher'