1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Make activesupport.gemspec the authoritative source instead of generating it from the Rakefile

This commit is contained in:
Joshua Peek 2009-09-25 00:24:34 -05:00
parent bb6ca25d03
commit 897b9ac43b
2 changed files with 12 additions and 44 deletions

View file

@ -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'

File diff suppressed because one or more lines are too long