rails-settings-cached 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rails-settings/cached_settings.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: 74658f0058bdd7f5c96c897aa50a4bf73fef6187
|
4
|
+
data.tar.gz: 843c92f5f05be95d6fc35448341aea6e0accdc1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 605187ee81edded5b280197db001e17d6cc8a7b267aba5af28cd22aad8aa5ab541f4dc7e4ac68d9a8f5adde4dd946c26cec1261a10b6aded2bece4fadc2d0cc4
|
7
|
+
data.tar.gz: 0dbe54e18c5ed5e7d0f6d0ec6bacd56e774a6a4e3d7b4dba9329a11c6cb649cf6b9f89e60fbee9df9f098abd36801ca3b32efaaaa1ce0ba721fc97c548b00299
|
@@ -15,7 +15,7 @@ module RailsSettings
|
|
15
15
|
class << self
|
16
16
|
def cache_key(var_name, scope_object)
|
17
17
|
scope = "rails_settings_cached:"
|
18
|
-
scope << "#{scope_object.class.
|
18
|
+
scope << "#{scope_object.class.name}-#{scope_object.id}:" if scope_object
|
19
19
|
scope << "#{var_name}"
|
20
20
|
end
|
21
21
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-settings-cached
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Squeegy
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2015-09-
|
14
|
+
date: 2015-09-29 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|