1
0
Fork 0
mirror of https://github.com/jnunemaker/httparty synced 2023-03-27 23:23:07 -04:00

Updated for new release. Added rake task to help with prepping for release.

This commit is contained in:
John Nunemaker 2008-08-09 15:20:32 -04:00
parent a3f744b2bb
commit 427958ade7
4 changed files with 18 additions and 4 deletions

View file

@ -1,3 +1,8 @@
== 0.1.2 2008-08-09
* 1 major enhancement:
* default_params were not being appended to query string if option[:query] was blank
== 0.1.1 2008-07-30
* 2 major enhancement:

View file

@ -1,10 +1,10 @@
Gem::Specification.new do |s|
s.name = %q{httparty}
s.version = "0.1.1"
s.version = "0.1.2"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["John Nunemaker"]
s.date = %q{2008-07-31}
s.date = %q{2008-08-09}
s.description = %q{Makes http fun! Also, makes consuming restful web services dead easy.}
s.email = ["nunemaker@gmail.com"]
s.extra_rdoc_files = ["History.txt", "License.txt", "Manifest.txt", "PostInstall.txt", "README.txt"]
@ -30,4 +30,4 @@ Gem::Specification.new do |s|
else
s.add_dependency(%q<activesupport>, [">= 2.1"])
end
end
end

View file

@ -2,7 +2,7 @@ module HTTParty
module VERSION #:nodoc:
MAJOR = 0
MINOR = 1
TINY = 1
TINY = 2
STRING = [MAJOR, MINOR, TINY].join('.')
end

View file

@ -1,3 +1,12 @@
desc 'Preps the gem for a new release'
task :prep_for_release do
require 'rio'
Rake::Task['manifest:refresh'].invoke
gemspec = %x[rake debug_gem]
lines = gemspec.split("\n")
rio('httparty.gemspec') < lines[1, lines.length-1].join("\n")
end
desc 'Release the website and new gem version'
task :deploy => [:check_version, :website, :release] do
puts "Remember to create SVN tag:"