stripe-ruby/stripe.gemspec
Brandur 85013c9770 Use Faraday's Net::HTTP::Persistent adapter
This changes the library's default connection over to use the adapter
for `Net::HTTP::Persistent`, which is a connection pooling library for
Ruby.

In the long run, I think we should probably just drop Faraday ... the
amount of value it's getting us is extremely tenuous and its API is
difficult to work with. I hate to do it at this point though because
technically people could be writing custom middleware for it.
2018-11-15 08:55:28 -08:00

26 lines
836 B
Ruby

# frozen_string_literal: true
$LOAD_PATH.unshift(::File.join(::File.dirname(__FILE__), "lib"))
require "stripe/version"
Gem::Specification.new do |s|
s.name = "stripe"
s.version = Stripe::VERSION
s.required_ruby_version = ">= 2.1.0"
s.summary = "Ruby bindings for the Stripe API"
s.description = "Stripe is the easiest way to accept payments online. See https://stripe.com for details."
s.author = "Stripe"
s.email = "support@stripe.com"
s.homepage = "https://stripe.com/docs/api/ruby"
s.license = "MIT"
s.add_dependency("faraday", "~> 0.10")
s.add_dependency("net-http-persistent", "~> 3.0")
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- test/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| ::File.basename(f) }
s.require_paths = ["lib"]
end