jashmenn-method_cache 0.8.2.0 → 0.8.2.1

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.
@@ -0,0 +1,3 @@
1
+ pkg
2
+ *~
3
+ *.swp
@@ -1,5 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
- :minor: 8
3
+ :minor: 8
4
4
  :patch: 2
5
- :build: 0
@@ -14,6 +14,7 @@ module MethodCache
14
14
 
15
15
  if cached_instance_methods.empty?
16
16
  include(InvalidationMethods)
17
+ extend(InvalidationMethods)
17
18
  extend(MethodAdded)
18
19
  end
19
20
 
@@ -5,7 +5,7 @@ PORT = 19112
5
5
  $client = Dalli::Client.new("localhost:#{PORT}")
6
6
 
7
7
  class FooBar
8
- extend MethodCache
8
+ extend Eigenjoy::MethodCache
9
9
 
10
10
  cache_method :foo, :cache => $client
11
11
  def foo
@@ -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.0
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-02-24 00:00:00.000000000Z
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.6
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