thecore_settings 1.1.12 → 1.1.13

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
- SHA1:
3
- metadata.gz: 741c8dadb804539cf8d854a8b13bf1356e6f04f4
4
- data.tar.gz: 6ea4cde6f1937df357898b8bcab3ae6c1e2bdc59
2
+ SHA256:
3
+ metadata.gz: deeda899683f92951e8021b57ee8929fc72d4183f681e151be7fa400b68b1c7c
4
+ data.tar.gz: c896ce302adb79a993b193c2a4e55f320396afc82c8de7be9a5d8bff030c59b8
5
5
  SHA512:
6
- metadata.gz: 210de2757309e1b8857e2a95e3eeb7e61329623bbed293d12f084b8a43188faa88d11bd0e01539eae007a08b81f8b6d1b406aea9c2a03d2fc6bab5d3153c8f02
7
- data.tar.gz: 261672ac14d4ef7ddcb32130aa8d54ceec9d211b9c1b35bbd084205b8d62b1561e499a8fc9a1c555088e27343d761ea9bc40497f50c9ad8ca5274d60ad232621
6
+ metadata.gz: fb11ae1d18efe43cc7901efe1a2ebce077be2960ecc6f3cf72fca0a809908a2f5b0d30e62c67cdaf1566f768cae03d93be66ba9c16374caa7210c6e6f7a6f427
7
+ data.tar.gz: ced1abef99c43b5c0a656926e6c2130a6c45539b4bc637a8c433e50fd0b90e78118e06d6e1d3599931e8ffafca60f3272a70ce6d805bd05dccc930baccca134b
@@ -1,3 +1,3 @@
1
1
  module ThecoreSettings
2
- VERSION = '1.1.12'.freeze
2
+ VERSION = '1.1.13'.freeze
3
3
  end
@@ -7,6 +7,7 @@ module TheCoreSettingsAbilitiesConcern
7
7
  included do
8
8
  def thecore_settings_abilities user
9
9
  cannot :manage, [RailsAdminSettings::Setting]
10
+ cannot :dashboard, [RailsAdminSettings::Setting]
10
11
  # Pay attention to this errorTypeError (can't convert Class to Array (Class#to_ary gives String)):
11
12
  if user && user.admin?
12
13
  can [:index, :update], [RailsAdminSettings::Setting]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_settings
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.12
4
+ version: 1.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-06 00:00:00.000000000 Z
11
+ date: 2019-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thecore
@@ -178,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
178
178
  version: '0'
179
179
  requirements: []
180
180
  rubyforge_project:
181
- rubygems_version: 2.6.14
181
+ rubygems_version: 2.7.7
182
182
  signing_key:
183
183
  specification_version: 4
184
184
  summary: Adds settings section.