-
-
Notifications
You must be signed in to change notification settings - Fork 61
/
solidus_stripe.gemspec
61 lines (45 loc) · 2.3 KB
/
solidus_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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# frozen_string_literal: true
require_relative 'lib/solidus_stripe/version'
Gem::Specification.new do |spec|
spec.name = 'solidus_stripe'
spec.version = SolidusStripe::VERSION
spec.authors = ['Solidus Team']
spec.email = '[email protected]'
spec.summary = 'Stripe Payment Method for Solidus'
spec.description = 'Stripe Payment Method for Solidus'
spec.homepage = 'https://github.com/solidusio/solidus_stripe#readme'
spec.license = 'BSD-3'
spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = 'https://github.com/solidusio/solidus_stripe'
spec.metadata['changelog_uri'] = 'https://github.com/solidusio/solidus_stripe/releases'
spec.required_ruby_version = Gem::Requirement.new('>= 3.0')
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
files = Dir.chdir(__dir__) { `git ls-files -z`.split("\x0") }
spec.files = files.grep_v(%r{^(test|spec|features)/})
spec.test_files = files.grep(%r{^(test|spec|features)/})
spec.bindir = "exe"
spec.executables = files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.add_dependency 'solidus_core', ['>= 3.2', '< 5']
spec.add_dependency 'solidus_support', '~> 0.8'
spec.add_dependency 'stripe', '~> 8.0'
spec.add_development_dependency 'redcarpet' # used by yard
spec.add_development_dependency 'rubocop', '~> 1.0'
spec.add_development_dependency 'rubocop-performance', '~> 1.5'
spec.add_development_dependency 'rubocop-rails', '~> 2.3'
spec.add_development_dependency 'rubocop-rspec', '~> 2.0'
spec.add_development_dependency 'yard'
spec.post_install_message = <<~TXT
------------------------------------------------------------------------
⚠️ **WARNING: `solidus_stripe` & `solidus_frontend** ⚠️
------------------------------------------------------------------------
If you need support for `solidus_frontend` please add `< 5`
as a version requirement in your gemfile:
`gem 'solidus_stripe', '< 5'`
or if your tracking the github version please switch to
the `v4` branch:
`gem 'solidus_stripe', github: 'solidusio/solidus_stripe', branch: 'v4'`
------------------------------------------------------------------------
TXT
end