paid_up 0.13.17 → 0.13.21

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
  SHA256:
3
- metadata.gz: 58c684bc92d555da755843533fd356ab485f237a82c85ef01afc8fcb20f84de7
4
- data.tar.gz: 5a915b89598562fc7c8d5f641845162ad172ca38a6a25f18799e43c5d0dafe38
3
+ metadata.gz: 7ecaa5077d3e9342197f9c98c9db552b86b34fceb018dc834a8a67856f5ef232
4
+ data.tar.gz: f686bc456563cad91230d7d18bd05ce0816b609c6b0ebced647c78ae491d9b04
5
5
  SHA512:
6
- metadata.gz: fdb247135329eccdbd99e056090d28782de2dfed056762518e264cf5378514a93f65f9d5a4a63737363eb33555dffc04fc39973efaee63f85fc7c8a410e61cc5
7
- data.tar.gz: a1b98604dac2f214c0610ee5317d3cb0b156b074486280df3b5b79888d3b986f7b584d2279f5c480eed0c4595d5e2254a77b451283517c4d307c7807340d8f65
6
+ metadata.gz: d5886165f4ccf691e714c86449dd7b43efbe33701a35cfac86cc9251318d487b66cbc3d5aeb49c5e4249a19f0170dfa4c884b8d864c72419071fc6ed8f5e0ad5
7
+ data.tar.gz: f2119f60e9df9fd2f6f3967796f6ffe56e4cc1e20cb63dd0e01bb60ad9905a15d66253e02178d8cc5becf6ab7c0c3714e26dcdbb7bf6b31fc6153e6f50484fd1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.13.17
1
+ 0.13.21
@@ -16,7 +16,10 @@ module PaidUp
16
16
  after_initialize :set_default_attributes, :load_stripe_data
17
17
  after_save :load_stripe_data
18
18
  before_save :remove_anonymous_association
19
- before_destroy { |record| record.stripe_data.delete }
19
+ before_destroy do |record|
20
+ next if record.stripe_data.respond_to? :deleted
21
+ record.stripe_data.delete
22
+ end
20
23
  include InstanceMethods
21
24
  end
22
25
 
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: paid_up 0.13.17 ruby lib
5
+ # stub: paid_up 0.13.21 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "paid_up".freeze
9
- s.version = "0.13.17"
9
+ s.version = "0.13.21"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paid_up
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.17
4
+ version: 0.13.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karen Lundgren