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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1fef73d46866215d32cbe93c671d25b89b9661d2
4
- data.tar.gz: 9012c67d747885258945133db1477507119c03bf
3
+ metadata.gz: ec2d9d2457bc1fc789dd47a3ee928ee373d3848d
4
+ data.tar.gz: fa2b69d37593a7fecd45a759869ae60f96a1ec7a
5
5
  SHA512:
6
- metadata.gz: 5b079ee7292b105ad2b60a48b15c161b724861c04debeb2097ffcc5ac06979317a57394283c92faa43485d82527ecadb9bf0e7ffe0c3a50de69f8bbce199c255
7
- data.tar.gz: 48c557725e890b1c677d25229a1b4904c576a9afdb3ec05a4635b34665c6ce5dffa39c9118b3cb7fac7f582b298832a082b53852ae18d6b75bc45ad7e1c2fd97
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.12
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-25 00:00:00.000000000 Z
11
+ date: 2014-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake