jashmenn-method_cache 0.8.2.0 → 0.8.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +3 -0
- data/VERSION.yml +1 -2
- data/lib/method_cache.rb +1 -0
- data/test/method_cache_remote_test.rb +1 -1
- data/test/method_cache_test.rb +3 -3
- metadata +10 -5
data/.gitignore
ADDED
data/VERSION.yml
CHANGED
data/lib/method_cache.rb
CHANGED
data/test/method_cache_test.rb
CHANGED
@@ -2,7 +2,7 @@ require 'test_helper'
|
|
2
2
|
require 'memcache'
|
3
3
|
|
4
4
|
class Foo
|
5
|
-
extend MethodCache
|
5
|
+
extend Eigenjoy::MethodCache
|
6
6
|
|
7
7
|
def foo(i)
|
8
8
|
@i ||= 0
|
@@ -43,7 +43,7 @@ class Foo
|
|
43
43
|
end
|
44
44
|
|
45
45
|
module Bar
|
46
|
-
extend MethodCache
|
46
|
+
extend Eigenjoy::MethodCache
|
47
47
|
|
48
48
|
cache_method :foo
|
49
49
|
def foo(i)
|
@@ -88,7 +88,7 @@ class TestMethodCache < Test::Unit::TestCase
|
|
88
88
|
a.foo(1)
|
89
89
|
end
|
90
90
|
|
91
|
-
f3 = MethodCache.disable do
|
91
|
+
f3 = Eigenjoy::MethodCache.disable do
|
92
92
|
a.foo(1)
|
93
93
|
end
|
94
94
|
|
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.1
|
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-04-18 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,6 +19,7 @@ extra_rdoc_files:
|
|
19
19
|
- LICENSE
|
20
20
|
- README.rdoc
|
21
21
|
files:
|
22
|
+
- .gitignore
|
22
23
|
- LICENSE
|
23
24
|
- README.rdoc
|
24
25
|
- Rakefile
|
@@ -31,7 +32,8 @@ files:
|
|
31
32
|
homepage: http://github.com/ninjudd/method_cache
|
32
33
|
licenses: []
|
33
34
|
post_install_message:
|
34
|
-
rdoc_options:
|
35
|
+
rdoc_options:
|
36
|
+
- --charset=UTF-8
|
35
37
|
require_paths:
|
36
38
|
- lib
|
37
39
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -48,8 +50,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
48
50
|
version: '0'
|
49
51
|
requirements: []
|
50
52
|
rubyforge_project:
|
51
|
-
rubygems_version: 1.8.
|
53
|
+
rubygems_version: 1.8.11
|
52
54
|
signing_key:
|
53
55
|
specification_version: 3
|
54
56
|
summary: Simple memcache-based memoization library for Ruby
|
55
|
-
test_files:
|
57
|
+
test_files:
|
58
|
+
- test/method_cache_remote_test.rb
|
59
|
+
- test/method_cache_test.rb
|
60
|
+
- test/test_helper.rb
|