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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 63ad3c5a57bc3f5b508efc2598c35ba8447216659ed0a1dfc81560210720d0b1
4
- data.tar.gz: e4cba786f7fc1373ce47660a6435e12d0bd3296403e3622b29dc64cc3a4d0768
3
+ metadata.gz: e465a6b281400e5cd16ead5db08af2f8d558215cc889c6ae35c243e5cbd111e6
4
+ data.tar.gz: 7f554701c8d228352296dce3071cf2ecfae9d50ab5bffa398d84b2b56c4bce8c
5
5
  SHA512:
6
- metadata.gz: 02edb6edf5ec11513a1fe4cd83459032c3f6c8f7d741e22e7720cbb91a131ffcca47bd8ffd750a170377b4b141c712cc5fae51af46406d682549864aaf5411c3
7
- data.tar.gz: be3120210915e6206b0831f8f52da36e26d96dbcbf88e1afb2c70c8b6753b66b144fd01fd4ad464dcf3fe12f4b297ff9eee6fd5fc439ae7310cdce7f45d63531
6
+ metadata.gz: 6f17ab64d37994abc08658bda2b918b526c31472c0ab48d57437a870900e671a0896a2bccb4b5ddc44dee6ad700109d86afbc0d8a4b1369f4e6470d402b3c023
7
+ data.tar.gz: 6c44b0d053eea13d685c8f62cf10ad80af9f7637d4aa1930f6b7efd6c5bc0ca8212494c3feeea7c381d65ba0d799f6a29c71b9a7ba3986e8fd1dbf6a6042d402
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.13.7
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.7 ruby lib
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.7"
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]
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.7
4
+ version: 0.13.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karen Lundgren