thecore_settings 1.1.12 → 1.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/lib/thecore_settings/version.rb +1 -1
- data/lib/thecore_settings_abilities.rb +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: deeda899683f92951e8021b57ee8929fc72d4183f681e151be7fa400b68b1c7c
|
|
4
|
+
data.tar.gz: c896ce302adb79a993b193c2a4e55f320396afc82c8de7be9a5d8bff030c59b8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fb11ae1d18efe43cc7901efe1a2ebce077be2960ecc6f3cf72fca0a809908a2f5b0d30e62c67cdaf1566f768cae03d93be66ba9c16374caa7210c6e6f7a6f427
|
|
7
|
+
data.tar.gz: ced1abef99c43b5c0a656926e6c2130a6c45539b4bc637a8c433e50fd0b90e78118e06d6e1d3599931e8ffafca60f3272a70ce6d805bd05dccc930baccca134b
|
|
@@ -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.
|
|
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-
|
|
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.
|
|
181
|
+
rubygems_version: 2.7.7
|
|
182
182
|
signing_key:
|
|
183
183
|
specification_version: 4
|
|
184
184
|
summary: Adds settings section.
|