Skip to content
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.

Commit

Permalink
reapply my fix for success responses that have empty bodies and bump …
Browse files Browse the repository at this point in the history
…the version number so I can get a new gem built.
  • Loading branch information
timriley committed Feb 12, 2009
1 parent 0cb4930 commit bbf0481
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion httparty.gemspec
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |s|
s.name = %q{httparty}
s.version = "0.3.1"
s.version = "0.3.2"

s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
s.authors = ["John Nunemaker"]
Expand Down
2 changes: 1 addition & 1 deletion lib/httparty/parsers/xml.rb
Expand Up @@ -202,7 +202,7 @@ def self.parse(xml)
stack.last.add_node(event[1]) unless event[1].strip.length == 0 || stack.empty?
end
end
stack.pop.to_hash
stack.length > 0 ? stack.pop.to_hash : {}
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/httparty/version.rb
@@ -1,3 +1,3 @@
module HTTParty #:nodoc:
Version = '0.3.1'
Version = '0.3.2'
end

0 comments on commit bbf0481

Please sign in to comment.