paid_up 0.9.3 → 0.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/paid_up.gemspec +2 -4
- metadata +1 -3
- data/app/mailers/paid_up/paid_up_mailer.rb +0 -6
- data/app/mailers/paid_up/subscription_mailer.rb +0 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7d77299f53f3075824275306caa8058da6eaae06
|
|
4
|
+
data.tar.gz: 7f04b74c213bacaf6f4b19d4cc3532e14a59e68a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cdb27be5d43f484efede0bef897c0b85d4fbe3da9492823e2c22d07e6d8fe77acc86c12b25cc793d0ee004867fde1b784026f43c7b7cc678580d8069f3bf69f5
|
|
7
|
+
data.tar.gz: 03a6a7198e18bd918cc8def1405b6da7ca34e47d87f5c27d9d8b83d7c211741d5be51050ea5daffe42fbe233c9885b1e1b8095ed4b988b5ab82a7a1987c41cfb
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.9.
|
|
1
|
+
0.9.4
|
data/paid_up.gemspec
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
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.
|
|
5
|
+
# stub: paid_up 0.9.4 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "paid_up"
|
|
9
|
-
s.version = "0.9.
|
|
9
|
+
s.version = "0.9.4"
|
|
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"]
|
|
@@ -34,8 +34,6 @@ Gem::Specification.new do |s|
|
|
|
34
34
|
"app/helpers/paid_up/paid_up_helper.rb",
|
|
35
35
|
"app/helpers/paid_up/plans_helper.rb",
|
|
36
36
|
"app/helpers/paid_up/subscriptions_helper.rb",
|
|
37
|
-
"app/mailers/paid_up/paid_up_mailer.rb",
|
|
38
|
-
"app/mailers/paid_up/subscription_mailer.rb",
|
|
39
37
|
"app/models/paid_up/ability.rb",
|
|
40
38
|
"app/models/paid_up/plan.rb",
|
|
41
39
|
"app/models/paid_up/plan_feature_setting.rb",
|
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.9.
|
|
4
|
+
version: 0.9.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Karen Lundgren
|
|
@@ -342,8 +342,6 @@ files:
|
|
|
342
342
|
- app/helpers/paid_up/paid_up_helper.rb
|
|
343
343
|
- app/helpers/paid_up/plans_helper.rb
|
|
344
344
|
- app/helpers/paid_up/subscriptions_helper.rb
|
|
345
|
-
- app/mailers/paid_up/paid_up_mailer.rb
|
|
346
|
-
- app/mailers/paid_up/subscription_mailer.rb
|
|
347
345
|
- app/models/paid_up/ability.rb
|
|
348
346
|
- app/models/paid_up/plan.rb
|
|
349
347
|
- app/models/paid_up/plan_feature_setting.rb
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
module PaidUp
|
|
2
|
-
class SubscriptionMailer < PaidUpMailer
|
|
3
|
-
def payment_failed_email(invoice)
|
|
4
|
-
@invoice = invoice
|
|
5
|
-
@user = User.find_by_stripe_id(@invoice.customer)
|
|
6
|
-
mail(to: @user.email, subject: :your_site_subscription_payment_failed.l(site: PaidUp.configuration.site_name))
|
|
7
|
-
end
|
|
8
|
-
end
|
|
9
|
-
end
|