ack_rails_admin_settings 1.2.2 → 1.2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/rails_admin_settings/namespaced.rb +2 -1
- 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: c625464ebb0d8c0390f4b26d77c94f7e0cbb5368
|
4
|
+
data.tar.gz: bb903abfec5bab855b1ebbf4016cfeccfeb4c44b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0370fd2c5e9a1fc2db6b372ad0a113f0a4f621fb014290180494250467c65bcceed51db1d40061281a9bf676d3412b1528d8c6ba4fdf8a36d768e2d8f2132ff3
|
7
|
+
data.tar.gz: 6405d6621997576159c927e40eba5b0721d51f8d3970370b998d089cd4d913c963533114dded31b0c527f16bb7e83d85eca322d0b234e3eebd7aaf440818fb33
|
data/Gemfile.lock
CHANGED
@@ -61,6 +61,7 @@ module RailsAdminSettings
|
|
61
61
|
_cache_keys ||= options.delete(:cache_key)
|
62
62
|
|
63
63
|
if _cache_keys.nil?
|
64
|
+
options[:cache_keys_str] = ""
|
64
65
|
# if _cache
|
65
66
|
# options[:cache_keys_str] = name.underscore
|
66
67
|
# end
|
@@ -79,7 +80,7 @@ module RailsAdminSettings
|
|
79
80
|
# options[:cache_keys_str] = ("#{v.cache_keys_str} #{(options[:cache_keys_str] || "")}".strip.split(" ")).uniq
|
80
81
|
# options[:cache_keys_str] = ("#{v.cache_keys_str.join(" ")} #{(options[:cache_keys_str] || "")}".strip.split(" ")).uniq
|
81
82
|
options[:cache_keys_str] = (_old_cache_keys + v.cache_keys).uniq
|
82
|
-
options[:overwrite] = true
|
83
|
+
options[:overwrite] = true unless (options[:cache_keys_str] - _old_cache_keys).blank?
|
83
84
|
options[:cache_keys_str] = options[:cache_keys_str].map { |k| k.to_s.strip }.join(" ")
|
84
85
|
end
|
85
86
|
else
|
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.2
|
4
|
+
version: 1.2.2.1
|
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-02-
|
12
|
+
date: 2017-02-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mongoid
|