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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c8cc95fbc61978a240d7e51414c635c8f983f466a8a61b76af0a3075c3525450
4
- data.tar.gz: 566ac1217053954bc3513189bfe08830dd3ce50eeaa64197f1451e4dc674f61f
3
+ metadata.gz: 95eb311ae8f34debc0fe30981a047b9462039f69f124dd676ffaac37f215eb35
4
+ data.tar.gz: 5680848300557c0e0095828c0fc0ca468250744b4654ea3ee5ce0ea63cbb03bf
5
5
  SHA512:
6
- metadata.gz: a91b1c25cf86792d539dfa68b62dadefabbad2e6570940fb460df1f0960a6996f24ae2c21097d4970b3dd930a83950a4e9c9442ab9036d0185122f138953b160
7
- data.tar.gz: 97f15917321249ab08e269da097f510e082dfa8c8c736d3114e555a214a2200155c41c2079d552cb0b6d9181a4f42adf16d85ddfb69b6b28e0bffa634e5c551f
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 and 5
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.12
1
+ 0.13.13
@@ -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.12 ruby lib
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.12"
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-10"
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.12
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-10 00:00:00.000000000 Z
11
+ date: 2020-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: haml-rails