spymemcached.jruby 1.0.14-java → 1.0.15-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spymemcached_adapter.jar +0 -0
- data/test/spymemcached_rails23_test.rb +10 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b53a0b1cc4416982054ff8ca2281a1897316b95
|
4
|
+
data.tar.gz: 6fddda3879702cbba0346e5d92b997a579e945c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f05899141e2eda759430aa4708a0097c0d3c3a3cdf47655802ce19a2ab1831eb01faa28d3d55621d965cafff4b1833b9e5e1a13ee66ecd8794e106e33558fcb2
|
7
|
+
data.tar.gz: 01ed100c21a9312a42119af75d8fbd2a5726c33ace0da1c745d61d64ffcb40ae7ae75f8bcce1385e329320d2dd692f2c049a4da6b2f99b40bc082a6e1426210c
|
Binary file
|
@@ -1,4 +1,9 @@
|
|
1
1
|
require 'test_helper'
|
2
|
+
unless defined?(MemCache::MemCacheError)
|
3
|
+
class MemCache
|
4
|
+
class MemCacheError < StandardError; end
|
5
|
+
end
|
6
|
+
end
|
2
7
|
|
3
8
|
class SpymemcachedRails23Test < Test::Unit::TestCase
|
4
9
|
def setup
|
@@ -30,8 +35,12 @@ class SpymemcachedRails23Test < Test::Unit::TestCase
|
|
30
35
|
assert_equal({"key1" => '0', 'key2' => '1'}, @client.get_multi(['key1', 'key2'], :raw => true))
|
31
36
|
end
|
32
37
|
|
33
|
-
def
|
38
|
+
def test_should_raise_memcache_error_after_shutdown
|
39
|
+
@client.set('hello', 'world')
|
34
40
|
@client.shutdown
|
41
|
+
assert_raise MemCache::MemCacheError do
|
42
|
+
@client.get('hello')
|
43
|
+
end
|
35
44
|
end
|
36
45
|
|
37
46
|
def response
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spymemcached.jruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.15
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Xiao Li
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|