Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

removed rubyforge related tasks

  • Loading branch information...
commit 28f46a614719640254e66b48fd6a919c18901b03 1 parent a15d9ab
@youpy authored
Showing with 0 additions and 37 deletions.
  1. +0 −35 Rakefile
  2. +0 −2  www-favicon.gemspec
View
35 Rakefile
@@ -5,7 +5,6 @@ require 'spec/rake/spectask'
require 'rake/packagetask'
require 'rake/gempackagetask'
require 'rake/rdoctask'
-require 'rake/contrib/rubyforgepublisher'
require 'rake/contrib/sshpublisher'
require 'fileutils'
include FileUtils
@@ -14,8 +13,6 @@ NAME = "www-favicon"
AUTHOR = "youpy"
EMAIL = "youpy@buycheapviagraonlinenow.com"
DESCRIPTION = "find favicon url"
-RUBYFORGE_PROJECT = "wwwfavicon"
-HOMEPATH = "http://#{RUBYFORGE_PROJECT}.rubyforge.org"
BIN_FILES = %w( )
VERS = "0.0.1"
@@ -50,9 +47,7 @@ spec = Gem::Specification.new do |s|
s.description = DESCRIPTION
s.author = AUTHOR
s.email = EMAIL
- s.homepage = HOMEPATH
s.executables = BIN_FILES
- s.rubyforge_project = RUBYFORGE_PROJECT
s.bindir = "bin"
s.require_path = "lib"
s.autorequire = ""
@@ -100,36 +95,6 @@ Rake::RDocTask.new do |rdoc|
end
end
-desc "Publish to RubyForge"
-task :rubyforge => [:rdoc, :package] do
- require 'rubyforge'
- Rake::RubyForgePublisher.new(RUBYFORGE_PROJECT, 'youpy').upload
-end
-
-desc 'Package and upload the release to rubyforge.'
-task :release => [:clean, :package] do |t|
- v = ENV["VERSION"] or abort "Must supply VERSION=x.y.z"
- abort "Versions don't match #{v} vs #{VERS}" unless v == VERS
- pkg = "pkg/#{NAME}-#{VERS}"
-
- rf = RubyForge.new
- puts "Logging in"
- rf.login
-
- c = rf.userconfig
-# c["release_notes"] = description if description
-# c["release_changes"] = changes if changes
- c["preformatted"] = true
-
- files = [
- "#{pkg}.tgz",
- "#{pkg}.gem"
- ].compact
-
- puts "Releasing #{NAME} v. #{VERS}"
- rf.add_release RUBYFORGE_PROJECT, NAME, VERS, *files
-end
-
desc 'Show information about the gem.'
task :debug_gem do
puts spec.to_ruby
View
2  www-favicon.gemspec
@@ -11,10 +11,8 @@ Gem::Specification.new do |s|
s.extra_rdoc_files = ["README", "ChangeLog"]
s.files = ["README", "ChangeLog", "Rakefile", "lib/www", "lib/www/favicon.rb"]
s.has_rdoc = true
- s.homepage = %q{http://wwwfavicon.rubyforge.org}
s.rdoc_options = ["--title", "www-favicon documentation", "--charset", "utf-8", "--opname", "index.html", "--line-numbers", "--main", "README", "--inline-source", "--exclude", "^(examples|extras)/"]
s.require_paths = ["lib"]
- s.rubyforge_project = %q{wwwfavicon}
s.rubygems_version = %q{1.2.0}
s.summary = %q{find favicon url}
Please sign in to comment.
Something went wrong with that request. Please try again.