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 +4 -4
- data/VERSION +1 -1
- data/app/models/paid_up/ability.rb +2 -2
- data/paid_up.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be0ed38a80be092b5d8f6a18f52dd0aba5070764
|
4
|
+
data.tar.gz: 3abfcf057be5e92b581fd3be27c22a2f4b1ecc6e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64f94afa815761e11d38309ce8ce68e34f337b34f7e219353ef41ec5130616ddd1e2ef3ee77de8c374e34dfb366f1c455cc7b34f6bd28392ef6536065d6e5660
|
7
|
+
data.tar.gz: 888190ce6db02f326a0fde602bec75cdcfcb75be29174edecf6a46130277be38b6856f491cca54564eb7cdbb9175a66c4bad039e7acd17c48a425f8719eee56c
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
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.
|
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.
|
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"]
|