paid_up 0.7.2 → 0.7.3

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
  SHA1:
3
- metadata.gz: ea2542d87ffc8569442a524fdc11e1f4ea3033a7
4
- data.tar.gz: d47322cf94259e4ddba47146db39da701ea3556c
3
+ metadata.gz: be0ed38a80be092b5d8f6a18f52dd0aba5070764
4
+ data.tar.gz: 3abfcf057be5e92b581fd3be27c22a2f4b1ecc6e
5
5
  SHA512:
6
- metadata.gz: 2cca600f69ab2019b2d4cfa2324f6f761f7fb65b045acdd6a12b7b81c49731641c9feb426963214430e9319a099bea3d9a96d9611159545599eb41080f3b66d8
7
- data.tar.gz: 68610794a8015b4cc851835e60133726f20cf0874d48d83f8a1a11688bce2548b33bdf34c254b9663d9dd8b7de21633085273f0ab1e2b37f10516d57cc58a07d
6
+ metadata.gz: 64f94afa815761e11d38309ce8ce68e34f337b34f7e219353ef41ec5130616ddd1e2ef3ee77de8c374e34dfb366f1c455cc7b34f6bd28392ef6536065d6e5660
7
+ data.tar.gz: 888190ce6db02f326a0fde602bec75cdcfcb75be29174edecf6a46130277be38b6856f491cca54564eb7cdbb9175a66c4bad039e7acd17c48a425f8719eee56c
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.2
1
+ 0.7.3
@@ -13,7 +13,7 @@ module PaidUp
13
13
  can :manage, feature.feature_model, :user => user
14
14
  can :own, feature.feature_model
15
15
  if user.table_rows_remaining(feature.slug) > 0
16
- can :new, feature.feature_model
16
+ can [:create, :new], feature.feature_model
17
17
  else
18
18
  cannot :create, feature.feature_model
19
19
  end
@@ -30,7 +30,7 @@ module PaidUp
30
30
  can :manage, feature.feature_model, id: Group.with_role(:owner, user).pluck(:id)
31
31
  can :own, feature.feature_model
32
32
  if user.rolify_rows_remaining(feature.slug) > 0
33
- can :new, feature.feature_model
33
+ can [:create, :new], feature.feature_model
34
34
  else
35
35
  cannot :create, feature.feature_model
36
36
  end
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.7.2 ruby lib
5
+ # stub: paid_up 0.7.3 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "paid_up"
9
- s.version = "0.7.2"
9
+ s.version = "0.7.3"
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"]
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.7.2
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karen Lundgren