padma-assets 0.2.10 → 0.2.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/abilities/general_ability.rb +6 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07bf7e326c68df12aae0a648ab30850e47bb7767
|
4
|
+
data.tar.gz: 7b36d6dd1b8c205a2be9a612c84f95a839bb6c53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4762e80843a048c3609e20f3e7a962139475f045fafa869e53b43c09087f08c2fbd22400af796447a62686555ff157d067cba47a199ebc4cfffa66cd6a1ef0c
|
7
|
+
data.tar.gz: 5015b5cd253d1939655927d41999fa40f0dbc14ead6c8dfaeea6524d9b79a2748f7f4e72b7d1f1c706a38a047ebfcbb2744b52d06870e0d819dee95ad7fbeb9f
|
@@ -2,11 +2,13 @@ class GeneralAbility
|
|
2
2
|
include CanCan::Ability
|
3
3
|
|
4
4
|
def initialize(user)
|
5
|
+
|
6
|
+
can :see, :mailchimp
|
7
|
+
if petal_enabled?(user,'mailchimp')
|
8
|
+
can :configure, :mailchimp
|
9
|
+
end
|
10
|
+
|
5
11
|
if alpha?(user)
|
6
|
-
can :see, :mailchimp
|
7
|
-
if petal_enabled?(user,'mailchimp')
|
8
|
-
can :configure, :mailchimp
|
9
|
-
end
|
10
12
|
can :manage, :planning
|
11
13
|
end
|
12
14
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: padma-assets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dwayne Macgowan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|