padma-assets 0.2.9 → 0.2.10
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 +3 -3
- 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: 8f3fdd69d9150a05f5aac904cd38e322b511b176
|
4
|
+
data.tar.gz: 281f0c86bb10c0780170d3ef906766dcfd22f59a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b692dae3524f25bc985c8e9f4d4439f73ad26978afb23586638e35724d7c34b36b689376acd93636ce2b2c8575fc6c3dac67def99d0b2b61c19c23fb2eb6f872
|
7
|
+
data.tar.gz: c9e3506dc89888407387cb91bb4038505c418a8c59acaecc4c83532dbbfed2a3239e50f466c3823c5148314d54353cc8099954bb1274823a86e7f28523d2e11f
|
@@ -31,10 +31,10 @@ class GeneralAbility
|
|
31
31
|
end
|
32
32
|
|
33
33
|
def padma_account(user)
|
34
|
-
if user.current_account.
|
35
|
-
user.current_account
|
36
|
-
else
|
34
|
+
if user.current_account.respond_to?(:padma)
|
37
35
|
user.current_account.padma
|
36
|
+
else
|
37
|
+
user.current_account
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
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.10
|
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-
|
11
|
+
date: 2016-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|