From 4194d052d89b93d52cc31a7c414849fdbcaf78a2 Mon Sep 17 00:00:00 2001 From: Arun Agrawal Date: Fri, 22 May 2015 14:30:30 +0200 Subject: Remove broken and unused release task - We do release with release.rb - There is no `rake/gemcutter` --- actionmailer/Rakefile | 7 ------- actionpack/Rakefile | 7 ------- actionview/Rakefile | 7 ------- activejob/Rakefile | 7 ------- activemodel/Rakefile | 7 ------- activerecord/Rakefile | 9 --------- activesupport/Rakefile | 7 ------- railties/Rakefile | 9 --------- 8 files changed, 60 deletions(-) diff --git a/actionmailer/Rakefile b/actionmailer/Rakefile index 8f4de8fafa..33ccbf8ce1 100644 --- a/actionmailer/Rakefile +++ b/actionmailer/Rakefile @@ -26,10 +26,3 @@ spec = eval(File.read('actionmailer.gemspec')) Gem::PackageTask.new(spec) do |p| p.gem_spec = spec end - -desc "Release to rubygems" -task release: :package do - require 'rake/gemcutter' - Rake::Gemcutter::Tasks.new(spec).define - Rake::Task['gem:push'].invoke -end diff --git a/actionpack/Rakefile b/actionpack/Rakefile index 3bd27f8d64..70f9763764 100644 --- a/actionpack/Rakefile +++ b/actionpack/Rakefile @@ -30,13 +30,6 @@ Gem::PackageTask.new(spec) do |p| p.gem_spec = spec end -desc "Release to rubygems" -task :release => :package do - require 'rake/gemcutter' - Rake::Gemcutter::Tasks.new(spec).define - Rake::Task['gem:push'].invoke -end - task :lines do load File.expand_path('..', File.dirname(__FILE__)) + '/tools/line_statistics' files = FileList["lib/**/*.rb"] diff --git a/actionview/Rakefile b/actionview/Rakefile index 2b752b83df..4ecc9c6c6c 100644 --- a/actionview/Rakefile +++ b/actionview/Rakefile @@ -51,13 +51,6 @@ Gem::PackageTask.new(spec) do |p| p.gem_spec = spec end -desc "Release to rubygems" -task :release => :package do - require 'rake/gemcutter' - Rake::Gemcutter::Tasks.new(spec).define - Rake::Task['gem:push'].invoke -end - task :lines do lines, codelines, total_lines, total_codelines = 0, 0, 0, 0 diff --git a/activejob/Rakefile b/activejob/Rakefile index 0e36bb81b3..ab35170e3c 100644 --- a/activejob/Rakefile +++ b/activejob/Rakefile @@ -81,10 +81,3 @@ spec = eval(File.read('activejob.gemspec')) Gem::PackageTask.new(spec) do |p| p.gem_spec = spec end - -desc 'Release to rubygems' -task release: :package do - require 'rake/gemcutter' - Rake::Gemcutter::Tasks.new(spec).define - Rake::Task['gem:push'].invoke -end diff --git a/activemodel/Rakefile b/activemodel/Rakefile index 7256285a41..4a7098a97d 100644 --- a/activemodel/Rakefile +++ b/activemodel/Rakefile @@ -27,10 +27,3 @@ spec = eval(File.read("#{dir}/activemodel.gemspec")) Gem::PackageTask.new(spec) do |p| p.gem_spec = spec end - -desc "Release to rubygems" -task :release => :package do - require 'rake/gemcutter' - Rake::Gemcutter::Tasks.new(spec).define - Rake::Task['gem:push'].invoke -end diff --git a/activerecord/Rakefile b/activerecord/Rakefile index fa53926eb2..407f92952d 100644 --- a/activerecord/Rakefile +++ b/activerecord/Rakefile @@ -157,12 +157,3 @@ spec = eval(File.read('activerecord.gemspec')) Gem::PackageTask.new(spec) do |p| p.gem_spec = spec end - -# Publishing ------------------------------------------------------ - -desc "Release to rubygems" -task :release => :package do - require 'rake/gemcutter' - Rake::Gemcutter::Tasks.new(spec).define - Rake::Task['gem:push'].invoke -end diff --git a/activesupport/Rakefile b/activesupport/Rakefile index 7c40df8dc8..22f0c90d30 100644 --- a/activesupport/Rakefile +++ b/activesupport/Rakefile @@ -23,10 +23,3 @@ spec = eval(File.read('activesupport.gemspec')) Gem::PackageTask.new(spec) do |p| p.gem_spec = spec end - -desc "Release to rubygems" -task :release => :package do - require 'rake/gemcutter' - Rake::Gemcutter::Tasks.new(spec).define - Rake::Task['gem:push'].invoke -end diff --git a/railties/Rakefile b/railties/Rakefile index 9a377ce4ee..7e2cda6102 100644 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -39,12 +39,3 @@ spec = eval(File.read('railties.gemspec')) Gem::PackageTask.new(spec) do |pkg| pkg.gem_spec = spec end - -# Publishing ------------------------------------------------------- - -desc "Release to rubygems" -task :release => :package do - require 'rake/gemcutter' - Rake::Gemcutter::Tasks.new(spec).define - Rake::Task['gem:push'].invoke -end -- cgit v1.2.3