mirror of
https://github.com/jnunemaker/httparty
synced 2023-03-27 23:23:07 -04:00
6db6670994
an option on any individual call. It should be passed a hash, which will be converted to the proper format and added to the request headers when the call is made. No special handling is in place for semi-colons, commas, or whitespace. The RFC doesn't specify an official method for escaping them. That's your problem. Signed-off-by: John Nunemaker <nunemaker@gmail.com>
40 lines
3 KiB
Ruby
40 lines
3 KiB
Ruby
# -*- encoding: utf-8 -*-
|
|
|
|
Gem::Specification.new do |s|
|
|
s.name = %q{httparty}
|
|
s.version = "0.2.8"
|
|
|
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
|
s.authors = ["John Nunemaker"]
|
|
s.date = %q{2009-01-28}
|
|
s.default_executable = %q{httparty}
|
|
s.description = %q{Makes http fun! Also, makes consuming restful web services dead easy.}
|
|
s.email = %q{nunemaker@gmail.com}
|
|
s.executables = ["httparty"]
|
|
s.extra_rdoc_files = ["bin/httparty", "lib/core_extensions.rb", "lib/httparty/cookie_hash.rb", "lib/httparty/exceptions.rb", "lib/httparty/request.rb", "lib/httparty/response.rb", "lib/httparty/version.rb", "lib/httparty.rb", "lib/module_level_inheritable_attributes.rb", "README"]
|
|
s.files = ["bin/httparty", "cucumber.yml", "examples/aaws.rb", "examples/basic.rb", "examples/delicious.rb", "examples/google.rb", "examples/rubyurl.rb", "examples/twitter.rb", "examples/whoismyrep.rb", "features/basic_authentication.feature", "features/command_line.feature", "features/deals_with_http_error_codes.feature", "features/handles_multiple_formats.feature", "features/steps/env.rb", "features/steps/httparty_response_steps.rb", "features/steps/httparty_steps.rb", "features/steps/mongrel_helper.rb", "features/steps/remote_service_steps.rb", "features/supports_redirection.feature", "History", "httparty.gemspec", "lib/core_extensions.rb", "lib/httparty/cookie_hash.rb", "lib/httparty/exceptions.rb", "lib/httparty/request.rb", "lib/httparty/response.rb", "lib/httparty/version.rb", "lib/httparty.rb", "lib/module_level_inheritable_attributes.rb", "Manifest", "MIT-LICENSE", "Rakefile", "README", "setup.rb", "spec/as_buggery_spec.rb", "spec/fixtures/delicious.xml", "spec/fixtures/empty.xml", "spec/fixtures/google.html", "spec/fixtures/twitter.json", "spec/fixtures/twitter.xml", "spec/fixtures/undefined_method_add_node_for_nil.xml", "spec/httparty/cookie_hash_spec.rb", "spec/httparty/request_spec.rb", "spec/httparty_spec.rb", "spec/spec.opts", "spec/spec_helper.rb", "website/css/common.css", "website/index.html"]
|
|
s.has_rdoc = true
|
|
s.homepage = %q{http://httparty.rubyforge.org}
|
|
s.post_install_message = %q{When you HTTParty, you must party hard!}
|
|
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Httparty", "--main", "README"]
|
|
s.require_paths = ["lib"]
|
|
s.rubyforge_project = %q{httparty}
|
|
s.rubygems_version = %q{1.3.1}
|
|
s.summary = %q{Makes http fun! Also, makes consuming restful web services dead easy.}
|
|
|
|
if s.respond_to? :specification_version then
|
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
|
s.specification_version = 2
|
|
|
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
|
s.add_runtime_dependency(%q<json>, ["~> 1.1"])
|
|
s.add_development_dependency(%q<echoe>, [">= 0"])
|
|
else
|
|
s.add_dependency(%q<json>, ["~> 1.1"])
|
|
s.add_dependency(%q<echoe>, [">= 0"])
|
|
end
|
|
else
|
|
s.add_dependency(%q<json>, ["~> 1.1"])
|
|
s.add_dependency(%q<echoe>, [">= 0"])
|
|
end
|
|
end
|