cached_names 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,8 +7,8 @@ module CachedNames
7
7
  @cached_names_cache_key_prefix = "cached_names_#{self}"
8
8
  @cached_names_loaded = false
9
9
 
10
- after_save { self.load_cached_names }
11
- after_destroy { self.load_cached_names }
10
+ after_save { self.class.load_cached_names }
11
+ after_destroy { self.class.load_cached_names }
12
12
 
13
13
  load_cached_names
14
14
  end
@@ -1,3 +1,3 @@
1
1
  module CachedNames
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: cached_names
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.1
5
+ version: 0.1.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - John 'asceth' Long
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2011-02-23 00:00:00 -05:00
14
+ date: 2011-02-24 00:00:00 -05:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency