mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-04 00:00:47 -04:00
* Bump Rubocop to 0.57.2 * Style/StderrPuts: Use warn instead of .puts * Style/ExpandPathArguments: Use expand_path('../test_helper', __dir__) instead of expand_path('../../test_helper', __FILE__) * Style/Encoding: Unnecessary utf-8 encoding comment * Style/StringLiterals: Prefer double-quoted strings * Style/AccessModifierDeclarations * Style/FormatStringToken: Prefer annotated tokens * Naming/UncommunicativeMethodParamName * Metrics/LineLength: set maximum line length to 100 characters * Style/IfUnlessModifier: Favor modifier if usage when having a single-line body * Style/ClassVars * Metrics/LineLength: set maximum line length to 80 characters (default) * Style/AccessModifierDeclarations: EnforcedStyle: inline
28 lines
903 B
Ruby
28 lines
903 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.13")
|
|
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
|