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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b13bafa47596e52734635fa0c11fad17df62f733
4
- data.tar.gz: 8b2dbfc4e5a4235cd504a79c1cf056f73b9ef93b
3
+ metadata.gz: 44e65f11e42fe108a21c419dc2b291796b18be89
4
+ data.tar.gz: f711ebbdd3551c06ec781ef36e67db2d3f55b51b
5
5
  SHA512:
6
- metadata.gz: 2f02b37b4b569bf9292cf65ea347868a6320f421a40137985027310a2e34b00282aac3fed4c35aefeeef92f1853b156dc6d574b47eff3596a10edf887cc6b0f2
7
- data.tar.gz: 79af9165cb7fd402ded4bcf9389d8d5c73abdef0086e62bea6a781338b9cabfc51f6464c779a5eea7c7c439d8e2795cfa15f659cf50a39574462d9323ec5d8a7
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.2)
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.4)
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[:cache_keys] ||= options.delete :cache_key
90
- _cache_keys = options.delete :cache_keys
91
-
92
- if _cache_keys.nil?
93
- if _cache
94
- options[:cache_keys_str] = name.underscore
95
- end
96
- else
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
- options[:cache_keys_str] = _cache_keys.to_s
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
 
@@ -1,3 +1,3 @@
1
1
  module RailsAdminSettings
2
- VERSION = "1.2.1.2".freeze
2
+ VERSION = "1.2.1.3".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.1.2
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-20 00:00:00.000000000 Z
12
+ date: 2017-01-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mongoid