Sha256: e83551446a6c36856281b7b268a8d00d7a74057471128eb1c56e84efd1ea7951

Contents?: true

Size: 1.3 KB

Versions: 23

Compression:

Stored size: 1.3 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"
require 'cucumber/rake/task'

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.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

Cucumber::Rake::Task.new(:features) do |t|
  t.cucumber_opts = "--format pretty" 
end

Version data entries

23 entries across 23 versions & 8 rubygems

Version Path
alexvollmer-httparty-0.3.1 Rakefile
jnunemaker-httparty-0.3.0 Rakefile
jnunemaker-httparty-0.3.1 Rakefile
kerryb-httparty-0.3.2 Rakefile
kerryb-httparty-0.3.3 Rakefile
leh-httparty-0.3.1.1 Rakefile
timriley-httparty-0.3.1 Rakefile
timriley-httparty-0.3.2 Rakefile
voxdolo-httparty-0.3.1 Rakefile
spreedly-1.3.5 vendor/httparty/Rakefile
spreedly-1.3.4 vendor/httparty/Rakefile
spreedly-1.3.3 vendor/httparty/Rakefile
spreedly-1.3.2 vendor/httparty/Rakefile
spreedly-1.3.1 vendor/httparty/Rakefile
httparty-0.3.0 Rakefile
httparty-0.3.1 Rakefile
spreedly-1.0.1 vendor/httparty/Rakefile
spreedly-1.0.0 vendor/httparty/Rakefile
spreedly-1.3.0 vendor/httparty/Rakefile
spreedly-1.1.0 vendor/httparty/Rakefile