1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
# -*- 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 = '>= 2.0.0'
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!"
all_files = Dir.glob("**/*").select {|v| v !~ /^debian/}
test_files = all_files.select {|v| v =~ /^(test|spec|features)/}
s.files = all_files - test_files
s.test_files = test_files
s.executables = all_files.select {|v| v =~ /^bin\//}.map { |f| File.basename(f) }
s.require_paths = ["lib"]
end
|