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: 09f93a7d69fcc398bd27bc9d5f213719a83f6856
4
- data.tar.gz: cbdbf37abcaa9473a6ef8f932e72f6c3d5c55194
3
+ metadata.gz: 18e960230e66afe20934cfe9a3bede447b7c2435
4
+ data.tar.gz: c90bb8b8150ef49f18df42d6d88052a17f45ae55
5
5
  SHA512:
6
- metadata.gz: ac9dd05e563f4f875c4523d69818a277d51e545a4bba616193cd81cc0ccbdf950f24a9cd823c8240db0129f45cb7b8fa4b28cbccef7defe56452da0ff5c512a5
7
- data.tar.gz: 9b3ff46d9376958374cdd10417c9f792f93fe2d50707787bb0f6bfa9619a1ec429cdccb5c7ae797d5df87af19d6dbb930a5692a2066d46a3c5cd8c556b437350
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
@@ -1,3 +1,3 @@
1
1
  module RailsAdminUserAbilities
2
- VERSION = "0.1.0.2".freeze
2
+ VERSION = "0.1.0.3".freeze
3
3
  end
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.2
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-09-13 00:00:00.000000000 Z
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.5.1
108
+ rubygems_version: 2.4.8
109
109
  signing_key:
110
110
  specification_version: 4
111
111
  summary: CanCanCan fields for rails_admin