caboose-cms 0.8.8 → 0.8.9

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: 6852076238e8424ef56def872219eb15fb1f889a
4
- data.tar.gz: 71a34edc4ce2e85f6eb6511c0cb1fe574e5f7e82
3
+ metadata.gz: 28c0750a57c12214286a268e2b837657b70e0995
4
+ data.tar.gz: 05f95bfca9e99254b0ef9441b1db56adacb84051
5
5
  SHA512:
6
- metadata.gz: 63e29cac0c1bd3a3672909254abeb743f643fc6126f8bccfa8d8721a18909f57fb556decaa80459cb91c57cefcd5bfec094cb04d1f2641548c1546a492fa75d7
7
- data.tar.gz: 18413b27fe4d5f457fada8fe61cb0350a0ddf3ba14be9d48ae91af9c3c6022c078e1e1a7ab9524a18bd57faf9eee46bc1a8dddddbe0351dfd06907ae7685b367
6
+ metadata.gz: dd29a6f11f1958c9775c51a0460930c146ae3a7cb56874b8bfbab2937ced64b8883c8777fdff9649a0bfe310c22cfffe71f80b3d75a4a93bc00212d54c5404fd
7
+ data.tar.gz: 68b0968b3bbce3626c27cf9403f655fdeb0afb6475d8865d28358e14339cc64d2562d0244c5369816c17872688b97bf6a801aa83c046876fd32d3e7f17dc66e4
@@ -133,9 +133,10 @@ StripePaymentMethodController.prototype = {
133
133
  data: { token: resp.id, card: resp.card },
134
134
  success: function(resp2) {
135
135
  if (resp2.success)
136
- {
137
- that.customer_id = resp.customer_id;
138
- that.print();
136
+ {
137
+ that.customer_id = resp2.customer_id;
138
+ that.print();
139
+ that.cc.print_ready_message();
139
140
  }
140
141
  if (resp2.error) $('#payment_message').html("<p class='note error'>" + resp2.error + "</p>");
141
142
  }
@@ -146,7 +147,7 @@ StripePaymentMethodController.prototype = {
146
147
 
147
148
  ready: function()
148
149
  {
149
- var that = this;
150
+ var that = this;
150
151
  if (!that.customer_id ) return false;
151
152
  if (!that.card_brand ) return false;
152
153
  if (!that.card_last4 ) return false;
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.8.8'
2
+ VERSION = '0.8.9'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.8
4
+ version: 0.8.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-20 00:00:00.000000000 Z
11
+ date: 2016-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg