mirror of
https://github.com/jnunemaker/httparty
synced 2023-03-27 23:23:07 -04:00
Update jeweler
This commit is contained in:
parent
a33741df46
commit
e303adc344
1 changed files with 1 additions and 13 deletions
14
Rakefile
14
Rakefile
|
@ -19,14 +19,10 @@ begin
|
|||
gem.add_development_dependency "fakeweb", "~>1.2"
|
||||
gem.add_development_dependency "mongrel", "~>1.1"
|
||||
gem.add_development_dependency "rspec", "~>1.3"
|
||||
gem.add_development_dependency "jeweler", "~>1.4"
|
||||
gem.add_development_dependency "jeweler", "~>1.5"
|
||||
gem.post_install_message = "When you HTTParty, you must party hard!"
|
||||
gem.rubyforge_project = 'httparty'
|
||||
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
||||
end
|
||||
Jeweler::RubyforgeTasks.new do |rubyforge|
|
||||
rubyforge.doc_task = "rdoc"
|
||||
end
|
||||
Jeweler::GemcutterTasks.new
|
||||
rescue LoadError
|
||||
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
|
||||
|
@ -46,13 +42,10 @@ Spec::Rake::SpecTask.new(:rcov) do |spec|
|
|||
spec.rcov = true
|
||||
end
|
||||
|
||||
task :spec => :check_dependencies
|
||||
|
||||
begin
|
||||
require 'cucumber/rake/task'
|
||||
Cucumber::Rake::Task.new(:features)
|
||||
|
||||
task :features => :check_dependencies
|
||||
rescue LoadError
|
||||
task :features do
|
||||
abort "Cucumber is not available. In order to run features, you must: sudo gem install cucumber"
|
||||
|
@ -76,11 +69,6 @@ Rake::RDocTask.new do |rdoc|
|
|||
rdoc.rdoc_files.include('lib/httparty.rb')
|
||||
end
|
||||
|
||||
desc 'Upload website files to rubyforge'
|
||||
task :website do
|
||||
sh %{rsync -av website/ jnunemaker@rubyforge.org:/var/www/gforge-projects/httparty}
|
||||
end
|
||||
|
||||
begin
|
||||
require 'yard'
|
||||
YARD::Rake::YardocTask.new do |t|
|
||||
|
|
Loading…
Reference in a new issue