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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28c0750a57c12214286a268e2b837657b70e0995
|
4
|
+
data.tar.gz: 05f95bfca9e99254b0ef9441b1db56adacb84051
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 =
|
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;
|
data/lib/caboose/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2016-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pg
|