effective_orders 1.2.8 → 1.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -3
- data/app/models/effective/customer.rb +1 -1
- data/lib/effective_orders/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c71ba80f793adc23f37e25de7767711398b01ab5
|
|
4
|
+
data.tar.gz: cf193e4c089fd19bf330ae3ca3fc5fe7bdb2d762
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 398fcd93fa0a67539a2426c1b7fe2a77bf75279861c793d5eaac92ab6ac157bf1264e5d3be2d9771825c75f3116d04cdc88af9ca98334bcb86c02e6ab08aa6a2
|
|
7
|
+
data.tar.gz: cf05526fff7c2fd3a92f42f403750d547ce36fb3fc7b5eab0360f7c036f8a0b72a0d87d0cf859108ad53925c4396ddc04d62c050bae97b8aa3f8069f62c81a79
|
data/README.md
CHANGED
|
@@ -359,9 +359,7 @@ All authorization checks are handled via the config.authorization_method found i
|
|
|
359
359
|
|
|
360
360
|
It is intended for flow through to CanCan or Pundit, but neither of those gems are required.
|
|
361
361
|
|
|
362
|
-
This method is called by the controller action with the appropriate action and resource
|
|
363
|
-
|
|
364
|
-
This method is called by all controller actions with the appropriate action and resource
|
|
362
|
+
This method is called by the controller action with the appropriate action and resource.
|
|
365
363
|
|
|
366
364
|
Action will be one of [:index, :show, :new, :create, :edit, :update, :destroy]
|
|
367
365
|
|
|
@@ -45,7 +45,7 @@ module Effective
|
|
|
45
45
|
if stripe_customer.save && stripe_customer.default_card.present?
|
|
46
46
|
card = stripe_customer.cards.retrieve(stripe_customer.default_card)
|
|
47
47
|
|
|
48
|
-
self.stripe_active_card = "**** **** **** #{card.last4} #{card.
|
|
48
|
+
self.stripe_active_card = "**** **** **** #{card.last4} #{card.brand} #{card.exp_month}/#{card.exp_year}"
|
|
49
49
|
self.save!
|
|
50
50
|
else
|
|
51
51
|
raise Exception.new('unable to update stripe customer with new card')
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: effective_orders
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Code and Effect
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-02-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -142,14 +142,14 @@ dependencies:
|
|
|
142
142
|
requirements:
|
|
143
143
|
- - ">="
|
|
144
144
|
- !ruby/object:Gem::Version
|
|
145
|
-
version:
|
|
145
|
+
version: 1.18.0
|
|
146
146
|
type: :runtime
|
|
147
147
|
prerelease: false
|
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
|
149
149
|
requirements:
|
|
150
150
|
- - ">="
|
|
151
151
|
- !ruby/object:Gem::Version
|
|
152
|
-
version:
|
|
152
|
+
version: 1.18.0
|
|
153
153
|
- !ruby/object:Gem::Dependency
|
|
154
154
|
name: stripe-ruby-mock
|
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|