offsite_payments 2.6.8 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +14 -1
- data/lib/offsite_payments.rb +3 -0
- data/lib/offsite_payments/version.rb +1 -1
- metadata +11 -17
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 98b1de4e0c49d6b13bd8a08c47348d7166cc174b
|
|
4
|
+
data.tar.gz: 1fcaa7e026e27d9c489eccf0ff88162cf48ee347
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 445f9d53b8995a7880ced9cd3e476cea4fc8dcba873f8260f0028cd55825091f5540f8338e09ac94e72963f16f8ed476162860097464dc4eae85e7e7dd6ae025
|
|
7
|
+
data.tar.gz: 5065158c158ee49c9a9a926f1f7fa8d27469dc46bd66f2109f9e3b9b06ccc3fb23c8ddb683913f9104fdd42de3038bb5b9843b0d71e7160bfbcbc606a8c0d0c4
|
data/README.md
CHANGED
|
@@ -17,7 +17,7 @@ The addition of your gateway to offsite_payments does not guarantee placement wi
|
|
|
17
17
|
4. Your most recent Certificate of PCI Compliance
|
|
18
18
|
5. Reason that the [Universal API](https://github.com/activemerchant/offsite_payments/blob/master/lib/offsite_payments/integrations/universal.rb)* cannot be used for your integration.
|
|
19
19
|
|
|
20
|
-
*The Universal API defines a standard set of requests and callbacks that can be used to integrate with Shopify. A sample app and documentation are hosted [here](https://github.com/Shopify/offsite-gateway-sim). The Universal API should be used for all integrations in which placement within Shopify is the desired outcome.
|
|
20
|
+
*The Universal API defines a standard set of requests and callbacks that can be used to integrate with Shopify. A sample app and documentation are hosted [here](https://github.com/Shopify/offsite-gateway-sim). The Universal API should be used for all integrations in which placement within Shopify is the desired outcome.
|
|
21
21
|
|
|
22
22
|
## Installation
|
|
23
23
|
|
|
@@ -37,6 +37,19 @@ Or, if you're using Bundler, just add the following to your Gemfile:
|
|
|
37
37
|
|
|
38
38
|
gem 'offsite_payments'
|
|
39
39
|
|
|
40
|
+
### Money gem dependency
|
|
41
|
+
|
|
42
|
+
At the moment, `offsite_payments` gem depends on `Money` object, which was previously included by default. Since Shopify
|
|
43
|
+
released their own `shopify-money` gem. Because `offsite_payments` does not impose which one of those gems should be
|
|
44
|
+
included into your gem file, as long as one of them is included.
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
- For [ruby money gem]() add `gem 'money'` to your `Gemfile`;
|
|
48
|
+
- For [Shopify money gem]() add `gem 'shopify-money', require: 'money'` in your `Gemfile`.
|
|
49
|
+
|
|
50
|
+
It's important to note that either of those Money gems would need to be added to your `Gemfile` before the `offsite_payments`
|
|
51
|
+
one.
|
|
52
|
+
|
|
40
53
|
[API documentation](http://www.rubydoc.info/github/activemerchant/offsite_payments/master).
|
|
41
54
|
|
|
42
55
|
## Supported Integrations
|
data/lib/offsite_payments.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: offsite_payments
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tobias Luetke
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-04-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -38,20 +38,6 @@ dependencies:
|
|
|
38
38
|
- - ">="
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: 0.6.6
|
|
41
|
-
- !ruby/object:Gem::Dependency
|
|
42
|
-
name: money
|
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
|
44
|
-
requirements:
|
|
45
|
-
- - "<"
|
|
46
|
-
- !ruby/object:Gem::Version
|
|
47
|
-
version: 7.0.0
|
|
48
|
-
type: :runtime
|
|
49
|
-
prerelease: false
|
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
-
requirements:
|
|
52
|
-
- - "<"
|
|
53
|
-
- !ruby/object:Gem::Version
|
|
54
|
-
version: 7.0.0
|
|
55
41
|
- !ruby/object:Gem::Dependency
|
|
56
42
|
name: builder
|
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -268,7 +254,15 @@ homepage: https://github.com/activemerchant/offsite_payments
|
|
|
268
254
|
licenses:
|
|
269
255
|
- MIT
|
|
270
256
|
metadata: {}
|
|
271
|
-
post_install_message:
|
|
257
|
+
post_install_message: "\n In order to use `offsite_payments` gem, you need to either
|
|
258
|
+
install or add to your Gemfile\n one of the two options for Money gem:\n -
|
|
259
|
+
`gem 'money'`\n - `gem 'shopify-money', require: 'money'`\n\n Regardless
|
|
260
|
+
of which gem you choose, please add them *before* `offsite_payments`.\n For more
|
|
261
|
+
info, go to https://github.com/activemerchant/offsite_payments#money-gem-dependency\n\n
|
|
262
|
+
\ It's also important to note that all Money object usage inside `offsite_payments`
|
|
263
|
+
is being\n deprecated. We encourage you to use your own Money object inside your
|
|
264
|
+
app instead of relying\n on `offsite_payments` doing it for you, e.g. `Money.from_amount(notification.gross)`\n
|
|
265
|
+
\ "
|
|
272
266
|
rdoc_options: []
|
|
273
267
|
require_paths:
|
|
274
268
|
- lib
|