This repository has been archived by the owner on Apr 14, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #339 from solidusio/elia/dev-support-update
Update to the latest dev-support defaults
- Loading branch information
Showing
3 changed files
with
38 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
# frozen_string_literal: true | ||
|
||
$:.push File.expand_path('lib', __dir__) | ||
require 'solidus_paypal_braintree/version' | ||
require_relative 'lib/solidus_paypal_braintree/version' | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = 'solidus_paypal_braintree' | ||
spec.version = SolidusPaypalBraintree::VERSION | ||
spec.summary = 'Officially supported Paypal/Braintree extension' | ||
spec.name = 'solidus_paypal_braintree' | ||
spec.version = SolidusPaypalBraintree::VERSION | ||
spec.authors = ['Stembolt'] | ||
spec.email = '[email protected]' | ||
|
||
spec.summary = 'Officially supported Paypal/Braintree extension' | ||
spec.description = 'Uses the javascript API for seamless braintree payments' | ||
spec.license = 'BSD-3-Clause' | ||
spec.homepage = 'https://github.com/solidusio/solidus_paypal_braintree' | ||
spec.license = 'BSD-3-Clause' | ||
|
||
spec.metadata['homepage_uri'] = spec.homepage | ||
spec.metadata['source_code_uri'] = 'https://github.com/solidusio/solidus_paypal_braintree' | ||
spec.metadata['changelog_uri'] = 'https://github.com/solidusio/solidus_paypal_braintree/blob/master/CHANGELOG.md' | ||
|
||
spec.author = 'Stembolt' | ||
spec.email = '[email protected]' | ||
spec.homepage = 'https://github.com/solidusio/solidus_paypal_braintree' | ||
spec.required_ruby_version = Gem::Requirement.new('>= 2.5', '< 4') | ||
|
||
spec.required_ruby_version = '>= 2.5' | ||
# 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 = Dir.chdir(File.expand_path(__dir__)) do | ||
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } | ||
end | ||
spec.files = files.grep_v(%r{^(test|spec|features)/}) | ||
spec.test_files = files.grep(%r{^(test|spec|features)/}) | ||
spec.bindir = "exe" | ||
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } | ||
spec.executables = files.grep(%r{^exe/}) { |f| File.basename(f) } | ||
spec.require_paths = ["lib"] | ||
|
||
if spec.respond_to?(:metadata) | ||
spec.metadata["homepage_uri"] = spec.homepage if spec.homepage | ||
spec.metadata["source_code_uri"] = spec.homepage if spec.homepage | ||
spec.metadata["rubygems_mfa_required"] = 'true' | ||
end | ||
|
||
spec.add_dependency 'activemerchant', '~> 1.48' | ||
spec.add_dependency 'braintree', '~> 3.4' | ||
spec.add_dependency 'solidus_api', ['>= 2.4.0', '< 4'] | ||
|