mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-06-01 00:00:30 -04:00
Our fairly old requirements for rest-client (and therefore mime-types) are starting to cause some dependency hell problems for some customers. Try relaxing these constraints and locking 1.9 specifically into compatible versions.
23 lines
757 B
Ruby
23 lines
757 B
Ruby
$:.unshift(File.join(File.dirname(__FILE__), 'lib'))
|
|
|
|
require 'stripe/version'
|
|
|
|
spec = Gem::Specification.new do |s|
|
|
s.name = 'stripe'
|
|
s.version = Stripe::VERSION
|
|
s.required_ruby_version = '>= 1.9.3'
|
|
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('rest-client', '>= 1.4', '< 4.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
|