effective_orders 1.2.8 → 1.2.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: 5b058a8018b04bba6d153a9b184a47785cddeac3
4
- data.tar.gz: 40fa1ec6cbfdda59ef1d8d7e85715de2e84a0e78
3
+ metadata.gz: c71ba80f793adc23f37e25de7767711398b01ab5
4
+ data.tar.gz: cf193e4c089fd19bf330ae3ca3fc5fe7bdb2d762
5
5
  SHA512:
6
- metadata.gz: d7c937a0a8222f86c9e3eeb4924e56b1ef9a0761cfa091c07c9b15e475f5b514b89bcc5001b6d68afde394ae9af17e2c519c3462c3fefd4d97ac2b6ed3aebed4
7
- data.tar.gz: 11da35e58807fb36ae04f3e0e915413148a3f73140ab03ebbfd56dc798f0dd95a920b396a4cb3a6a7189ab60254a18f3cbd5e998a1242c3f7a333b62f74ebbb2
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.type} #{card.exp_month}/#{card.exp_year}"
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')
@@ -1,3 +1,3 @@
1
1
  module EffectiveOrders
2
- VERSION = '1.2.8'.freeze
2
+ VERSION = '1.2.9'.freeze
3
3
  end
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.8
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-01-30 00:00:00.000000000 Z
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: '0'
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: '0'
152
+ version: 1.18.0
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: stripe-ruby-mock
155
155
  requirement: !ruby/object:Gem::Requirement