rails_admin_user_abilities 0.1.0.2 → 0.1.0.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18e960230e66afe20934cfe9a3bede447b7c2435
|
4
|
+
data.tar.gz: c90bb8b8150ef49f18df42d6d88052a17f45ae55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a11a7aee5e89e428731fabc246f2c043bdf5de1d1043f0a5c854d5fa8ccfe9d879931f57f755d96d0a31e57b1232f0d499880b18aeec94ad90bb6fa60bb03479
|
7
|
+
data.tar.gz: 9e842fbc281476b4b78f90d6880657a2aeb2035bac6f57b3efa63bc561acaac09491f42e346a07810b998deeec4f7c6647bfd5c6f624bb76f47e5a1929b258ec
|
@@ -48,6 +48,7 @@
|
|
48
48
|
button(data-toggle="collapse" data-target="#model_accesses_hash_#{u.id}")= "Чистый код".freeze
|
49
49
|
.collapse(id="model_accesses_hash_#{u.id}")
|
50
50
|
pre= JSON.pretty_generate({"#{_model.name}": (u.ability.accesses[_model.name] || {}) })
|
51
|
+
.cf{style='clear: both'}
|
51
52
|
|
52
53
|
- elsif request.post?
|
53
54
|
- uniq_id = "rails_admin_model_accesses_#{(Time.new.to_f * 1000).to_i}".freeze
|
@@ -55,6 +55,7 @@
|
|
55
55
|
button(data-toggle="collapse" data-target="#abilities_hash")= "Чистый код".freeze
|
56
56
|
#abilities_hash.collapse
|
57
57
|
pre= JSON.pretty_generate @object.ability.abilities
|
58
|
+
.cf{style='clear: both'}
|
58
59
|
|
59
60
|
- elsif request.post?
|
60
61
|
- uniq_id = "rails_admin_user_abilities_#{(Time.new.to_f * 1000).to_i}".freeze
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_admin_user_abilities
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.
|
4
|
+
version: 0.1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Kiseliev
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -105,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
105
105
|
version: '0'
|
106
106
|
requirements: []
|
107
107
|
rubyforge_project:
|
108
|
-
rubygems_version: 2.
|
108
|
+
rubygems_version: 2.4.8
|
109
109
|
signing_key:
|
110
110
|
specification_version: 4
|
111
111
|
summary: CanCanCan fields for rails_admin
|