Sha256: be3535d0ddfdae00c7e11ad50caa070e6e72dc469049b0b5b20cea7c030d088a

Contents?: true

Size: 1.22 KB

Versions: 20

Compression:

Stored size: 1.22 KB

Contents

ProjectName = 'httparty'
WebsitePath = "jnunemaker@rubyforge.org:/var/www/gforge-projects/#{ProjectName}"

require 'rubygems'
require 'rake'
require 'echoe'
require 'spec/rake/spectask'
require "lib/#{ProjectName}/version"

Echoe.new(ProjectName, HTTParty::Version) do |p|
  p.description     = "Makes http fun! Also, makes consuming restful web services dead easy."
  p.install_message = "When you HTTParty, you must party hard!"
  p.url             = "http://#{ProjectName}.rubyforge.org"
  p.author          = "John Nunemaker"
  p.email           = "nunemaker@gmail.com"
  p.extra_deps      = [['json', '~> 1.1']]
  p.need_tar_gz     = false
  p.docs_host       = WebsitePath
end

desc 'Upload website files to rubyforge'
task :website do
  sh %{rsync -av website/ #{WebsitePath}}
  Rake::Task['website_docs'].invoke
end

task :website_docs do
  Rake::Task['redocs'].invoke
  sh %{rsync -av doc/ #{WebsitePath}/docs}
end

desc 'Preps the gem for a new release'
task :prepare do
  %w[manifest build_gemspec].each do |task|
    Rake::Task[task].invoke
  end
end

Rake::Task[:default].prerequisites.clear
task :default => :spec
Spec::Rake::SpecTask.new do |t|
  t.spec_files = FileList["spec/**/*_spec.rb"]
end

Version data entries

20 entries across 20 versions & 4 rubygems

Version Path
alexvollmer-httparty-0.2.6 Rakefile
jnunemaker-httparty-0.2.0 Rakefile
jnunemaker-httparty-0.2.1 Rakefile
jnunemaker-httparty-0.2.2 Rakefile
jnunemaker-httparty-0.2.3 Rakefile
jnunemaker-httparty-0.2.4 Rakefile
jnunemaker-httparty-0.2.5 Rakefile
jnunemaker-httparty-0.2.6 Rakefile
jnunemaker-httparty-0.2.7 Rakefile
jnunemaker-httparty-0.2.8 Rakefile
juliocesar-httparty-0.2.6 Rakefile
httparty-0.2.0 Rakefile
httparty-0.2.1 Rakefile
httparty-0.2.5 Rakefile
httparty-0.2.7 Rakefile
httparty-0.2.8 Rakefile
httparty-0.2.4 Rakefile
httparty-0.2.6 Rakefile
httparty-0.2.3 Rakefile
httparty-0.2.2 Rakefile