faraday/faraday.gemspec
Leon Miller-Out a712938071 Fix Ruby 1.9.3 tests on Travis. Drop support for Ruby 1.8.7. (#600)
* Drop support for Ruby 1.9.2, which no-one should be using any more.

* Constraint gem versions for Ruby 1.9.3

* Drop support for Ruby 1.8.7. Many dependencies have dropped support for it.

* Remove conditionals checking for Ruby 1.8.7

* Document Ruby version dependency
2016-08-26 21:45:28 +01:00

23 lines
606 B
Ruby

lib = "faraday"
lib_file = File.expand_path("../lib/#{lib}.rb", __FILE__)
File.read(lib_file) =~ /\bVERSION\s*=\s*["'](.+?)["']/
version = $1
Gem::Specification.new do |spec|
spec.name = lib
spec.version = version
spec.summary = "HTTP/REST API client library."
spec.authors = ["Rick Olson"]
spec.email = 'technoweenie@gmail.com'
spec.homepage = 'https://github.com/lostisland/faraday'
spec.licenses = ['MIT']
spec.required_ruby_version = '>= 1.9'
spec.add_dependency 'multipart-post', '>= 1.2', '< 3'
spec.files = `git ls-files -z lib LICENSE.md README.md`.split("\0")
end