stripe_invoice 1.1.1 → 1.1.2

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: ffc19b8dad445d1409da490d7236a4a952235d0f
4
- data.tar.gz: 665d2326261d6d83a0cf70b87f1ee62b3f173522
3
+ metadata.gz: f452ed8feae4a4675887cdee229dbb76d45d332e
4
+ data.tar.gz: 8b09ef6e35a8de238f4fe1b5ab6385c4d201617c
5
5
  SHA512:
6
- metadata.gz: f8f6fce8a8aa19d1d43aba835e7c524c45ca78fab0eed9f674d4320605ddf93a3f0a706b059d12b0c3f9958109afddb6c27a36b19d11f50500e94bd1e0d969b6
7
- data.tar.gz: d1c9fe7a714a921a4ae54f85187dd8cb47b1cd5b94d40cfa9e797042c0144ebff7d3dc2668ee7c83891a67c738e935970b052faf9987e3bb0ab1da0a279f5391
6
+ metadata.gz: e3c5985e3709e544f3cbbc49298d2597f7fcb419699d127eb23dc607109f56d17557f1f0c20e8d2add78610fae451d5bfd048e00ceb0f5069a23b3ac6dd430c5
7
+ data.tar.gz: 0c0bf0241fe39f4d87b2557dbb35f3388606e9e69aa18c74709d5d2be44124d809cec375e2123efb6b0ab61029c0a140aec60341a1d18dfa6b27fd58a2aebb3b
@@ -102,7 +102,7 @@ module StripeInvoice
102
102
  # instead we also try to match the email address/owner_id that was send to stripe
103
103
  # when the account was created
104
104
  stripe_customer = Stripe::Customer.retrieve stripe_charge.customer
105
- return nil if stripe_customer.deleted? # yes, that can happen :-(
105
+ return nil if stripe_customer[:deleted] # yes, that can happen :-(
106
106
  owner_id = stripe_customer.description.to_i
107
107
  Koudoku.owner_class.find(owner_id)
108
108
 
@@ -1,3 +1,3 @@
1
1
  module StripeInvoice
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stripe_invoice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christoph Engelhardt