jashmenn-method_cache 0.8.2.1 → 0.8.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +2 -1
- data/lib/method_cache.rb +2 -2
- metadata +5 -10
- data/.gitignore +0 -3
data/VERSION.yml
CHANGED
data/lib/method_cache.rb
CHANGED
@@ -10,7 +10,7 @@ module MethodCache
|
|
10
10
|
proxy = opts.kind_of?(Proxy) ? opts : Proxy.new(method_name, opts)
|
11
11
|
|
12
12
|
if self.class == Class
|
13
|
-
return if instance_methods.include?(proxy.method_name_without_caching)
|
13
|
+
return if instance_methods.include?(proxy.method_name_without_caching.intern)
|
14
14
|
|
15
15
|
if cached_instance_methods.empty?
|
16
16
|
include(InvalidationMethods)
|
@@ -45,7 +45,7 @@ module MethodCache
|
|
45
45
|
method_name = method_name.to_sym
|
46
46
|
proxy = opts.kind_of?(Proxy) ? opts : Proxy.new(method_name, opts)
|
47
47
|
|
48
|
-
return if methods.include?(proxy.method_name_without_caching)
|
48
|
+
return if methods.include?(proxy.method_name_without_caching.intern)
|
49
49
|
|
50
50
|
if cached_class_methods.empty?
|
51
51
|
extend(InvalidationMethods)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jashmenn-method_cache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.2.
|
4
|
+
version: 0.8.2.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-02-24 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Simple memcache-based memoization library for Ruby
|
15
15
|
email: code@justinbalthrop.com
|
@@ -19,7 +19,6 @@ extra_rdoc_files:
|
|
19
19
|
- LICENSE
|
20
20
|
- README.rdoc
|
21
21
|
files:
|
22
|
-
- .gitignore
|
23
22
|
- LICENSE
|
24
23
|
- README.rdoc
|
25
24
|
- Rakefile
|
@@ -32,8 +31,7 @@ files:
|
|
32
31
|
homepage: http://github.com/ninjudd/method_cache
|
33
32
|
licenses: []
|
34
33
|
post_install_message:
|
35
|
-
rdoc_options:
|
36
|
-
- --charset=UTF-8
|
34
|
+
rdoc_options: []
|
37
35
|
require_paths:
|
38
36
|
- lib
|
39
37
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -50,11 +48,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
50
48
|
version: '0'
|
51
49
|
requirements: []
|
52
50
|
rubyforge_project:
|
53
|
-
rubygems_version: 1.8.
|
51
|
+
rubygems_version: 1.8.24
|
54
52
|
signing_key:
|
55
53
|
specification_version: 3
|
56
54
|
summary: Simple memcache-based memoization library for Ruby
|
57
|
-
test_files:
|
58
|
-
- test/method_cache_remote_test.rb
|
59
|
-
- test/method_cache_test.rb
|
60
|
-
- test/test_helper.rb
|
55
|
+
test_files: []
|
data/.gitignore
DELETED