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 +4 -4
- data/VERSION +1 -1
- data/lib/paid_up/mixins/subscriber.rb +4 -1
- data/paid_up.gemspec +2 -2
- data/spec/dummy/db/test.sqlite3 +0 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ecaa5077d3e9342197f9c98c9db552b86b34fceb018dc834a8a67856f5ef232
|
4
|
+
data.tar.gz: f686bc456563cad91230d7d18bd05ce0816b609c6b0ebced647c78ae491d9b04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5886165f4ccf691e714c86449dd7b43efbe33701a35cfac86cc9251318d487b66cbc3d5aeb49c5e4249a19f0170dfa4c884b8d864c72419071fc6ed8f5e0ad5
|
7
|
+
data.tar.gz: f2119f60e9df9fd2f6f3967796f6ffe56e4cc1e20cb63dd0e01bb60ad9905a15d66253e02178d8cc5becf6ab7c0c3714e26dcdbb7bf6b31fc6153e6f50484fd1
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.13.
|
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
|
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
|
|
data/paid_up.gemspec
CHANGED
@@ -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.
|
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.
|
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]
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|