paid_up 0.9.12 → 0.9.13

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: 15e20f0ce0bb5455a6b62e99f40395a26fa59e78
4
- data.tar.gz: 3525e34c013d3210c55d4d351a54a1929c7e567b
3
+ metadata.gz: 6080785b9ee54b7ecbc86a067e35bae25750073c
4
+ data.tar.gz: 61919277d6f90ed481e2015f28e76e4798bbe51b
5
5
  SHA512:
6
- metadata.gz: 057dabefdc71bd283e961e4d4c874ab3758207aeeceb0c3f42464eb167d14198b06f99c96f920f4112b73dc05bbb29263457759b23a056c67cf791e9f9bac731
7
- data.tar.gz: c135ece41cb4138e29cda61d8b3ebacb3bf194dfdecfe6366a127bc1e55c838fbef1cc2f9bcf9a37ca688ef93c50d0da752332dab8f0dbfa133c197b0420e44e
6
+ metadata.gz: 205b4f1b6ff58e139d175886736b046ba14a853af4f5e8501bd74944d2386c34d08441e073c60417b0055075b9de73199c1f99e9c828e0c945a512fdad056547
7
+ data.tar.gz: 4ccbe62cfdafa7240e0ab68952c7de20e79a0ecb904ac59db916e54c6bdb99003f74e1d4365a322d72fbc7e3520a18b662172b72aa3e06acdb99fcb44514320f
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.12
1
+ 0.9.13
@@ -10,6 +10,7 @@ module PaidUp::Mixins
10
10
 
11
11
  after_initialize :set_default_attributes, :load_stripe_data
12
12
  before_save :remove_anonymous_association
13
+ before_destroy { |record| record.stripe_data.delete }
13
14
 
14
15
  self.send(:define_method, :reload) { |*args, &blk|
15
16
  super *args, &blk
data/paid_up.gemspec CHANGED
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: paid_up 0.9.12 ruby lib
5
+ # stub: paid_up 0.9.13 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "paid_up"
9
- s.version = "0.9.12"
9
+ s.version = "0.9.13"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Karen Lundgren"]
14
- s.date = "2016-02-19"
14
+ s.date = "2016-02-20"
15
15
  s.description = "Allows a model of your choosing (such as users) to subscribe to a plan, which enables features."
16
16
  s.email = "karen.e.lundgren@gmail.com"
17
17
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paid_up
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.12
4
+ version: 0.9.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karen Lundgren
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-19 00:00:00.000000000 Z
11
+ date: 2016-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails