spymemcached.jruby 1.0.12-java → 1.0.13-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.rb +1 -1
- data/lib/spymemcached_adapter.jar +0 -0
- 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: ec2d9d2457bc1fc789dd47a3ee928ee373d3848d
|
4
|
+
data.tar.gz: fa2b69d37593a7fecd45a759869ae60f96a1ec7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f821bb578364df010db93be906896375f975faffecaf2c8b303b6f703d680c6d093f963c5b2dbe73b40602c2fc0d4fe209496476862fd79bc70febbb9904474d
|
7
|
+
data.tar.gz: d2825df558b9d4cba0ace22ec22bd5999d5cb22014bec50b000fb42e930d8ff324de842e649ae9728060b5a487a8780c661f842e281ac7b9fd0fcdc207585940
|
data/lib/spymemcached.rb
CHANGED
@@ -143,7 +143,7 @@ class Spymemcached
|
|
143
143
|
# characters properly.
|
144
144
|
def escape_key(key)
|
145
145
|
key = key.to_s.dup
|
146
|
-
key = key.force_encoding(Encoding::ASCII_8BIT) if defined?(Encoding)
|
146
|
+
key = key.force_encoding(::Encoding::ASCII_8BIT) if defined?(::Encoding)
|
147
147
|
key = key.gsub(ESCAPE_KEY_CHARS){ |match| "%#{match.bytes.to_a[0].to_s(16).upcase}" }
|
148
148
|
key = "#{key[0, 213]}:md5:#{Digest::MD5.hexdigest(key)}" if key.size > 250
|
149
149
|
key
|
Binary file
|
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.13
|
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-
|
11
|
+
date: 2014-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|