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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4a39928c852dc7324af7486277203647a7b325bd
4
- data.tar.gz: 002dc0d372dd40be1fbca78c0d50e8fd22cee335
3
+ metadata.gz: 74658f0058bdd7f5c96c897aa50a4bf73fef6187
4
+ data.tar.gz: 843c92f5f05be95d6fc35448341aea6e0accdc1c
5
5
  SHA512:
6
- metadata.gz: 3e7a7d055e200c97d604a4bfdf8576dfc8504bcee559a1c1fc471d4b69f859d7756b9ae3b0531111aa2d233be65a0ba901a166445235626613555713934775e7
7
- data.tar.gz: fc9bf7d4d30a2060f8b22a800682834901c4cedd2551332ed07c12a0af70dca3ab9a3af4b2105572f43397bf94c9c26f94565852692f0c451160528f00ba1f1c
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.base_class.to_s}-#{scope_object.id}:" if scope_object
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.5
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-23 00:00:00.000000000 Z
14
+ date: 2015-09-29 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rails