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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 624635c832be44255141d7ada5d09cc18abf8b89
4
- data.tar.gz: d0a9ed54f0ca8df937ac06fbcd51364f58a61c02
3
+ metadata.gz: c625464ebb0d8c0390f4b26d77c94f7e0cbb5368
4
+ data.tar.gz: bb903abfec5bab855b1ebbf4016cfeccfeb4c44b
5
5
  SHA512:
6
- metadata.gz: 46e9b4192e3b1b9e83129de9abb34ac8b59abe36d97a2a01cd4484309a3b61fc61948bb4812416152b25e20e2c0e2b7cabc6de4908d3f4442180bb33f65e3931
7
- data.tar.gz: 7a0dbcf80aee6d511d2b572caf2af051fdce29628b8a0b987d2e0937a9aa157218e64e4cc2ef1615f4940aae5c61dcc51464e33447c4169892a9e2492924c19b
6
+ metadata.gz: 0370fd2c5e9a1fc2db6b372ad0a113f0a4f621fb014290180494250467c65bcceed51db1d40061281a9bf676d3412b1528d8c6ba4fdf8a36d768e2d8f2132ff3
7
+ data.tar.gz: 6405d6621997576159c927e40eba5b0721d51f8d3970370b998d089cd4d913c963533114dded31b0c527f16bb7e83d85eca322d0b234e3eebd7aaf440818fb33
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ack_rails_admin_settings (1.2.2)
4
+ ack_rails_admin_settings (1.2.2.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -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 if (options[:cache_keys_str] - _old_cache_keys).blank?
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
@@ -1,3 +1,3 @@
1
1
  module RailsAdminSettings
2
- VERSION = "1.2.2".freeze
2
+ VERSION = "1.2.2.1".freeze
3
3
  end
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-10 00:00:00.000000000 Z
12
+ date: 2017-02-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mongoid