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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8f3fdd69d9150a05f5aac904cd38e322b511b176
4
- data.tar.gz: 281f0c86bb10c0780170d3ef906766dcfd22f59a
3
+ metadata.gz: 07bf7e326c68df12aae0a648ab30850e47bb7767
4
+ data.tar.gz: 7b36d6dd1b8c205a2be9a612c84f95a839bb6c53
5
5
  SHA512:
6
- metadata.gz: b692dae3524f25bc985c8e9f4d4439f73ad26978afb23586638e35724d7c34b36b689376acd93636ce2b2c8575fc6c3dac67def99d0b2b61c19c23fb2eb6f872
7
- data.tar.gz: c9e3506dc89888407387cb91bb4038505c418a8c59acaecc4c83532dbbfed2a3239e50f466c3823c5148314d54353cc8099954bb1274823a86e7f28523d2e11f
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.10
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-04-09 00:00:00.000000000 Z
11
+ date: 2016-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties