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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fba843acb8d6cdf6db79694fd1992dbfcddc8b34
4
- data.tar.gz: 704db572be6c5984193e58fc74ec87fad2b7595e
3
+ metadata.gz: 3cf3aa9eacfd0f8e012d25a368434cfdeeadcaba
4
+ data.tar.gz: 274d8b6630325f87041bc7f3e5d7064fabb3b5f5
5
5
  SHA512:
6
- metadata.gz: 36feb67b7e0d5c68f62daf73bde884ef60a773534e52c0c79a4cd6e23af570d24a5033ba3407b251751e86cf29a4a042d7d47b511567f350fde5cea2dac310e9
7
- data.tar.gz: fb87dde4bf3f9533d746916a683d9dbacf8d88d710d51597f9b3619cf17ee2913d750f1920257bd3fe3ae1960df5c6669b5e77de8d25bfc45cc4a782538e7b68
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.2' unless defined?(::ActiveMerchant::Billing::FlowGateway::VERSION)
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
- currency_model = FlowCommerce::Reference::Currencies.find! currency
175
- currency_model.to_cents(amount).to_f
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.2
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-26 00:00:00.000000000 Z
11
+ date: 2018-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemerchant