ack_rails_admin_settings 1.2.1.2 → 1.2.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/rails_admin_settings/namespaced.rb +13 -11
- data/lib/rails_admin_settings/version.rb +1 -1
- 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: 44e65f11e42fe108a21c419dc2b291796b18be89
|
4
|
+
data.tar.gz: f711ebbdd3551c06ec781ef36e67db2d3f55b51b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4660599fd64007b1878537a91cff2067fde22979f1ae34aa3544f78999afc5ce9fe63d3250a67f8e555d44d285817e4686a22b415e87d5558e013d280aa473a7
|
7
|
+
data.tar.gz: 3b25d6f68beabe7d83db4d564c18bf1238cce8204918cbc2f9d0d7f7af9333e3fa2ea73396d52cad0e85a6ca91f0e059709dab2cc09462e27ad473f56acdfa0e
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ack_rails_admin_settings (1.2.1.
|
4
|
+
ack_rails_admin_settings (1.2.1.3)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
@@ -183,7 +183,7 @@ GEM
|
|
183
183
|
thread_safe (~> 0.1)
|
184
184
|
validates_email_format_of (1.6.3)
|
185
185
|
i18n
|
186
|
-
websocket-driver (0.6.
|
186
|
+
websocket-driver (0.6.5)
|
187
187
|
websocket-extensions (>= 0.1.0)
|
188
188
|
websocket-extensions (0.1.2)
|
189
189
|
|
@@ -86,18 +86,20 @@ module RailsAdminSettings
|
|
86
86
|
end
|
87
87
|
end
|
88
88
|
|
89
|
-
options[:
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
if
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
if _cache_keys.is_a?(Array)
|
98
|
-
options[:cache_keys_str] = _cache_keys.map { |k| k.to_s }.join(" ")
|
89
|
+
unless options[:cache_keys_str].present?
|
90
|
+
options[:cache_keys] ||= options.delete :cache_key
|
91
|
+
_cache_keys = options.delete :cache_keys
|
92
|
+
|
93
|
+
if _cache_keys.nil?
|
94
|
+
# if _cache
|
95
|
+
# options[:cache_keys_str] = name.underscore
|
96
|
+
# end
|
99
97
|
else
|
100
|
-
|
98
|
+
if _cache_keys.is_a?(::Array)
|
99
|
+
options[:cache_keys_str] = _cache_keys.map { |k| k.to_s }.join(" ")
|
100
|
+
else
|
101
|
+
options[:cache_keys_str] = _cache_keys.to_s
|
102
|
+
end
|
101
103
|
end
|
102
104
|
end
|
103
105
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ack_rails_admin_settings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.1.
|
4
|
+
version: 1.2.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Kiseliev
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-01-
|
12
|
+
date: 2017-01-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mongoid
|