mcmire-cache 0.3.6 → 0.3.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,11 @@
1
+ require 'cache/active_support_cache_store'
2
+
3
+ module Cache::ActiveSupportCacheMemCacheStore
4
+ def self.extended(base)
5
+ base.extend Cache::ActiveSupportCacheStore
6
+ end
7
+
8
+ def _stats
9
+ {}
10
+ end
11
+ end
@@ -1,3 +1,3 @@
1
1
  class Cache
2
- VERSION = "0.3.6"
2
+ VERSION = "0.3.7"
3
3
  end
@@ -0,0 +1,13 @@
1
+ require 'helper'
2
+
3
+ require 'active_support/cache'
4
+ require 'memcache'
5
+
6
+ class TestActiveSupportCacheMemoryStore < TestCase
7
+ def raw_client_class
8
+ ActiveSupport::Cache::MemCacheStore
9
+ end
10
+
11
+ include SharedTests
12
+ end
13
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mcmire-cache
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-11-16 00:00:00.000000000 Z
14
+ date: 2013-02-08 00:00:00.000000000 Z
15
15
  dependencies: []
16
16
  description: Wraps memcached, redis(-namespace), memcache-client, dalli and handles
17
17
  their weirdnesses, including forking
@@ -38,6 +38,7 @@ files:
38
38
  - lib/cache.rb
39
39
  - lib/cache/active_support_cache_dalli_store.rb
40
40
  - lib/cache/active_support_cache_file_store.rb
41
+ - lib/cache/active_support_cache_mem_cache_store.rb
41
42
  - lib/cache/active_support_cache_memory_store.rb
42
43
  - lib/cache/active_support_cache_null_store.rb
43
44
  - lib/cache/active_support_cache_store.rb
@@ -56,6 +57,7 @@ files:
56
57
  - test/shared_tests.rb
57
58
  - test/test_active_support_cache_dalli_store.rb
58
59
  - test/test_active_support_cache_file_store.rb
60
+ - test/test_active_support_cache_mem_cache_store.rb
59
61
  - test/test_active_support_cache_memory_store.rb
60
62
  - test/test_active_support_cache_null_store.rb
61
63
  - test/test_dalli_client.rb
@@ -98,6 +100,7 @@ test_files:
98
100
  - test/shared_tests.rb
99
101
  - test/test_active_support_cache_dalli_store.rb
100
102
  - test/test_active_support_cache_file_store.rb
103
+ - test/test_active_support_cache_mem_cache_store.rb
101
104
  - test/test_active_support_cache_memory_store.rb
102
105
  - test/test_active_support_cache_null_store.rb
103
106
  - test/test_dalli_client.rb