mirror of
https://github.com/jnunemaker/httparty
synced 2023-03-27 23:23:07 -04:00
37dfb42382
JSON support is in Ruby since 1.9 so there is no need to have json gem as a dependency. Inspired by this Rack’s PR https://github.com/rack/rack/pull/1011
27 lines
1 KiB
Ruby
27 lines
1 KiB
Ruby
# -*- encoding: utf-8 -*-
|
|
$LOAD_PATH.push File.expand_path("../lib", __FILE__)
|
|
require "httparty/version"
|
|
|
|
Gem::Specification.new do |s|
|
|
s.name = "httparty"
|
|
s.version = HTTParty::VERSION
|
|
s.platform = Gem::Platform::RUBY
|
|
s.licenses = ['MIT']
|
|
s.authors = ["John Nunemaker", "Sandro Turriate"]
|
|
s.email = ["nunemaker@gmail.com"]
|
|
s.homepage = "http://jnunemaker.github.com/httparty"
|
|
s.summary = 'Makes http fun! Also, makes consuming restful web services dead easy.'
|
|
s.description = 'Makes http fun! Also, makes consuming restful web services dead easy.'
|
|
|
|
s.required_ruby_version = '>= 1.9.3'
|
|
|
|
s.add_dependency 'multi_xml', ">= 0.5.2"
|
|
|
|
# If this line is removed, all hard partying will cease.
|
|
s.post_install_message = "When you HTTParty, you must party hard!"
|
|
|
|
s.files = `git ls-files`.split("\n")
|
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
|
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
|
|
s.require_paths = ["lib"]
|
|
end
|