spook_and_pay 0.2.9.alpha → 0.3.0.alpha
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spook_and_pay/providers/spreedly.rb +2 -2
- 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: 20c99ec5e89961e57071abcc33186fc70325837c
|
4
|
+
data.tar.gz: 5d5a3c72b1a872fe3a1ba0cd08348945a7f28bbc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9214522e77528f17cae12a2ac9b7560b13a7af5924568b1605854007c61f4d2830001959a19acc6183d20fb21d24c9dd6b70d7c82d125832a89a6534493506d8
|
7
|
+
data.tar.gz: 1d2abd423c834eff6d7c1a69a2dbed29070d540fdce39bbd070a58e9df9f11dab0e80c1b3f488d65c7f9f41db35755f1ce0af486bbe9a05ed37c54313ef5dd4c
|
@@ -148,12 +148,12 @@ module SpookAndPay
|
|
148
148
|
end
|
149
149
|
|
150
150
|
def authorize_via_credit_card(id, amount)
|
151
|
-
result = spreedly.authorize_on_gateway(gateway_token, credit_card_id(id), amount.to_f * 100)
|
151
|
+
result = spreedly.authorize_on_gateway(gateway_token, credit_card_id(id), (amount.to_f * 100).to_i)
|
152
152
|
coerce_result(result)
|
153
153
|
end
|
154
154
|
|
155
155
|
def purchase_via_credit_card(id, amount)
|
156
|
-
result = spreedly.purchase_on_gateway(gateway_token, credit_card_id(id), amount.to_f * 100)
|
156
|
+
result = spreedly.purchase_on_gateway(gateway_token, credit_card_id(id), (amount.to_f * 100).to_i)
|
157
157
|
coerce_result(result)
|
158
158
|
end
|
159
159
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spook_and_pay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0.alpha
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luke Sutton
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-03-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: braintree
|