flowcommerce-activemerchant 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_merchant/billing/gateways/flow.rb +3 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3cf3aa9eacfd0f8e012d25a368434cfdeeadcaba
|
4
|
+
data.tar.gz: 274d8b6630325f87041bc7f3e5d7064fabb3b5f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0c0387ad80950fce612a269ae46430f1aa11397e06c96875caac884c307e1d7b2c624979ec8813fb0fc29c866e93af5b710e4888da787b82a44d834231e21be
|
7
|
+
data.tar.gz: 0d5d2f2168cbd65124df94c6aa3378df21364b2ce2ba5a6cf5fbc020c29107684ed189016f6d5b07e45f0f00100ed4fb90e8f4faf383ea53f386a72b1121c3bc
|
@@ -6,7 +6,7 @@ require 'flowcommerce-reference'
|
|
6
6
|
module ActiveMerchant
|
7
7
|
module Billing
|
8
8
|
class FlowGateway < Gateway
|
9
|
-
VERSION = '0.1.
|
9
|
+
VERSION = '0.1.3' unless defined?(::ActiveMerchant::Billing::FlowGateway::VERSION)
|
10
10
|
|
11
11
|
self.display_name = 'Flow.io Pay'
|
12
12
|
self.homepage_url = 'https://www.flow.io/'
|
@@ -171,10 +171,9 @@ module ActiveMerchant
|
|
171
171
|
|
172
172
|
def assert_currency currency, amount
|
173
173
|
raise ArgumentError, 'currency not provided' unless currency
|
174
|
-
|
175
|
-
|
174
|
+
FlowCommerce::Reference::Currencies.find! currency
|
175
|
+
amount.to_f
|
176
176
|
end
|
177
177
|
end
|
178
178
|
end
|
179
179
|
end
|
180
|
-
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flowcommerce-activemerchant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dino Reic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07
|
11
|
+
date: 2018-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemerchant
|