paid_up 0.13.12 → 0.13.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/VERSION +1 -1
- data/app/models/paid_up/plan.rb +1 -1
- data/paid_up.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95eb311ae8f34debc0fe30981a047b9462039f69f124dd676ffaac37f215eb35
|
4
|
+
data.tar.gz: 5680848300557c0e0095828c0fc0ca468250744b4654ea3ee5ce0ea63cbb03bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1a2d2bcc3a330c61fc1eca8938111ffebc8525c5308356aa31abdc9a1e1753a82b298a4c756289cd7ec3e5fc44ce8426f8ffa63a5d2f71300b90a7d0d3196d0
|
7
|
+
data.tar.gz: 5c4d786778165f416c82a40f71b4404d1c959fdebe9b027a56fb1f2fa4bdcd88e24b78958024ff461764212e3b744f601759baf7bf62faa242726d2d32e45651
|
data/README.md
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
Paid Up is a start-to-finish Stripe subscription engine. You set up the plans and coupons you want on Stripe, and the gem gives you a way to tie those plans and coupons to authenticated users, granting them abilities based on the features outlined for their plan.
|
8
8
|
|
9
|
-
* Ruby 2, Rails 4
|
9
|
+
* Ruby 2, Rails 4 through Rails 6
|
10
10
|
* Authentication by Devise
|
11
11
|
* Authorization by CanCanCan
|
12
12
|
* Subscription by Stripe
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.13.
|
1
|
+
0.13.13
|
data/app/models/paid_up/plan.rb
CHANGED
@@ -17,7 +17,7 @@ module PaidUp
|
|
17
17
|
attr_accessor :stripe_data
|
18
18
|
|
19
19
|
validates_presence_of :title, :stripe_id
|
20
|
-
validates_uniqueness_of :title
|
20
|
+
validates_uniqueness_of :title, case_sensitive: true
|
21
21
|
|
22
22
|
default_scope { order('sort_order ASC') }
|
23
23
|
scope :subscribable, -> { where('sort_order >= ?', 0) }
|
data/paid_up.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
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.13 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.13"
|
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]
|
13
13
|
s.authors = ["Karen Lundgren".freeze]
|
14
|
-
s.date = "2020-01-
|
14
|
+
s.date = "2020-01-13"
|
15
15
|
s.description = "Allows a model of your choosing (such as users) to subscribe to a plan, which enables features.".freeze
|
16
16
|
s.email = "karen.e.lundgren@gmail.com".freeze
|
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.13.
|
4
|
+
version: 0.13.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: 2020-01-
|
11
|
+
date: 2020-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: haml-rails
|