paid_up 0.13.7 → 0.13.8
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 +1 -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: e465a6b281400e5cd16ead5db08af2f8d558215cc889c6ae35c243e5cbd111e6
|
4
|
+
data.tar.gz: 7f554701c8d228352296dce3071cf2ecfae9d50ab5bffa398d84b2b56c4bce8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f17ab64d37994abc08658bda2b918b526c31472c0ab48d57437a870900e671a0896a2bccb4b5ddc44dee6ad700109d86afbc0d8a4b1369f4e6470d402b3c023
|
7
|
+
data.tar.gz: 6c44b0d053eea13d685c8f62cf10ad80af9f7637d4aa1930f6b7efd6c5bc0ca8212494c3feeea7c381d65ba0d799f6a29c71b9a7ba3986e8fd1dbf6a6042d402
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.13.
|
1
|
+
0.13.8
|
@@ -129,7 +129,7 @@ module PaidUp
|
|
129
129
|
return unless stripe_id ==
|
130
130
|
PaidUp.configuration.anonymous_customer_stripe_id
|
131
131
|
|
132
|
-
existing_customer = Stripe::Customer.list(email: email, limit: 1)&.first
|
132
|
+
existing_customer = Stripe::Customer.list(email: email, limit: 1)&.first if %w(test development).include?(Rails.env)
|
133
133
|
self.stripe_id = existing_customer&.id
|
134
134
|
end
|
135
135
|
end
|
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.8 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.8"
|
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
|