mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-04 00:00:47 -04:00
I wanted to see what fixing Rubocop TODOs was like, so I tried to eliminate all the easy ones. Most of these were pretty easy, and the changes required are relatively minimal. Some of the stuff left is harder. Pretty much everything under `Metrics/*` is going to be a pretty big yak shave. A few of the others are just going to need a little more work (e.g. `Style/ClassVars` and `Style/GuardClause`). Going to stop here for now.
23 lines
746 B
Ruby
23 lines
746 B
Ruby
$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.0.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.9")
|
|
|
|
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
|