-
Notifications
You must be signed in to change notification settings - Fork 548
/
stripe.gemspec
44 lines (39 loc) · 1.37 KB
/
stripe.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# 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.3.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 = "[email protected]"
s.homepage = "https://stripe.com/docs/api?lang=ruby"
s.license = "MIT"
s.metadata = {
"bug_tracker_uri" => "https://github.com/stripe/stripe-ruby/issues",
"changelog_uri" =>
"https://github.com/stripe/stripe-ruby/blob/master/CHANGELOG.md",
"documentation_uri" => "https://stripe.com/docs/api?lang=ruby",
"github_repo" => "ssh://github.com/stripe/stripe-ruby",
"homepage_uri" => "https://stripe.com/docs/api?lang=ruby",
"source_code_uri" => "https://github.com/stripe/stripe-ruby",
"rubygems_mfa_required" => "false",
}
ignored = Regexp.union(
/\A\.editorconfig/,
/\A\.git/,
/\A\.rubocop/,
/\A\.travis.yml/,
/\A\.vscode/,
/\Abin/,
/\Asorbet/,
/\Atest/
)
s.files = `git ls-files`.split("\n").grep_v(ignored)
s.bindir = "exe"
s.executables = `git ls-files -- exe/*`.split("\n").map { |f| File.basename(f) }
s.require_paths = ["lib"]
end