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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8dec687c5fd56572521f9a67215cafe750ddd734
4
- data.tar.gz: 37fa7c477662ceb7a209c28c322d48f16a6324c3
3
+ metadata.gz: 20c99ec5e89961e57071abcc33186fc70325837c
4
+ data.tar.gz: 5d5a3c72b1a872fe3a1ba0cd08348945a7f28bbc
5
5
  SHA512:
6
- metadata.gz: 1c7c9dfebbd6c024fd3ed9bf510a0fd3fbd694c64bd5df1bb547a09668983cb6d1903fd552b7343a374297b9b9cbe4aedd8c45927a6d37b4605fa2e9fc353703
7
- data.tar.gz: 6a3fa4db6c39514f9bd2982b819cc45a0b85a87fe598e1b03c0f7e94801e42d18cb279995009e3f44853b6c986ba90ded10bb6e057c9eb437dadf2da6b890cd2
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.2.9.alpha
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-01-27 00:00:00.000000000 Z
12
+ date: 2014-03-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: braintree