spymemcached.jruby 1.0.5-java → 1.0.6-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1a6edd4c7d3f8e0da507d7fe7f7a2c4a0b2414c3
4
- data.tar.gz: fbf5f5f14abae86a2a5927c1057387aacfbd293f
3
+ metadata.gz: 851aefc720e9fdaab213529acb1fd7adae37cd3d
4
+ data.tar.gz: 7632fb094f798fa09ee6fd9faeb6dc7df75731be
5
5
  SHA512:
6
- metadata.gz: 8e58ff82da3526ba9f34bf83c8cf2c355f4ddb2e7e4dc85617b66850c805b16a4576ae88a8651731eddc572723d5a296b32d9d6bbf955b34ccdfd1786231a28a
7
- data.tar.gz: 208a5a87e1887c8c35688ca8678a63f37888ef75146909f4c45b951abe4c7767dd5703b522ce366bf72bdae530c8b4454202dbaa7b1dc30c22416f240eecd666
6
+ metadata.gz: 3d6583f571dc48a54ef0da6fca9bdae3258d95d8a01cf20f5fb6cd9891805f196845595c145aa7b0402aaa295cd9a816acde0e09c6a6c29e1c5339c05a8629e3
7
+ data.tar.gz: 64b8a8edd19cd0d801471f87887c714753cc8d6f93de219c9000882562a3af1fc498c7449093283257d786805c85a449063b4934badac25b0d5e940b82c57658
@@ -34,11 +34,11 @@ class Spymemcached
34
34
  op(:delete, key) ? Response::DELETED : Response::NOT_FOUND
35
35
  end
36
36
 
37
- def incr(key, by=1)
37
+ def incr(key, by=1, *args)
38
38
  op(:incr, key, by)
39
39
  end
40
40
 
41
- def decr(key, by=1)
41
+ def decr(key, by=1, *args)
42
42
  op(:decr, key, by)
43
43
  end
44
44
 
@@ -18,8 +18,8 @@ class SpymemcachedRails23Test < Test::Unit::TestCase
18
18
  @client.set("key2", '1')
19
19
  assert_equal({"key1" => '0', 'key2' => '1'}, @client.get_multi('key1', 'key2'))
20
20
 
21
- assert_equal 1, @client.incr('key1')
22
- assert_equal 0, @client.decr('key2')
21
+ assert_equal 1, @client.incr('key1', 1, ttl=0)
22
+ assert_equal 0, @client.decr('key2', 1, ttl=0)
23
23
 
24
24
  assert @client.stats.values.first
25
25
  end
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.5
4
+ version: 1.0.6
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-10-29 00:00:00.000000000 Z
11
+ date: 2014-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake