forked from activemerchant/offsite_payments
-
Notifications
You must be signed in to change notification settings - Fork 0
/
offsite_payments.gemspec
57 lines (48 loc) · 2.48 KB
/
offsite_payments.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
$:.push File.expand_path("../lib", __FILE__)
require 'offsite_payments/version'
Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.name = 'offsite_payments'
s.version = OffsitePayments::VERSION
s.summary = 'Framework and tools for dealing with offsite (hosted) payment pages.'
s.description = 'Offsite Payments is a simple abstraction library used in ' +
'and sponsored by Shopify. It is written by Tobias Luetke, ' +
'Cody Fauser, and contributors. The aim of the project is ' +
'to put as simple an abstraction as possible on top of ' +
'offsite (often called hosted) payment pages, and allow ' +
'contributors to easily help services such as Shopify ' +
'extend the number of offsite payment services they support.'
s.license = "MIT"
s.author = 'Tobias Luetke'
s.email = '[email protected]'
s.homepage = 'https://github.com/activemerchant/offsite_payments'
s.files = Dir['CHANGELOG', 'README.md', 'MIT-LICENSE', 'lib/**/*']
s.require_path = 'lib'
s.metadata['allowed_push_host'] = "https://rubygems.org"
unless defined?(Money)
s.post_install_message = %q{
In order to use `offsite_payments` gem, you need to either install or add to your Gemfile
one of the two options for Money gem:
- `gem 'money'`
- `gem 'shopify-money', require: 'money'`
Regardless of which gem you choose, please add them *before* `offsite_payments`.
For more info, go to https://github.com/activemerchant/offsite_payments#money-gem-dependency
It's also important to note that all Money object usage inside `offsite_payments` is being
deprecated. We encourage you to use your own Money object inside your app instead of relying
on `offsite_payments` doing it for you, e.g. `Money.from_amount(notification.gross)`
}
end
s.add_dependency('activesupport', '>= 5.2.3')
s.add_dependency('i18n', '>= 0.6.6')
s.add_dependency('builder', '>= 2.1.2', '< 4.0.0')
s.add_dependency('active_utils', '~> 3.3.0')
s.add_dependency('nokogiri', ">= 1.8.5")
s.add_dependency('actionpack', '>= 5.2.3')
s.add_dependency('actionview','>= 5.1.6.2')
s.add_development_dependency('rake')
s.add_development_dependency('test-unit', '~> 3.0')
s.add_development_dependency('mocha', '~> 1.0')
s.add_development_dependency('rails', '>= 3.2.14')
s.add_development_dependency('thor')
s.add_development_dependency('webmock')
end