memcached_store 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_support/cache/memcached_store.rb +2 -1
- data/lib/memcached_store/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a12b1ea6af9f6de3759f7b0047c6157f29eb135b
|
4
|
+
data.tar.gz: 047a0ffb9b09c07dcfac879c42334256701d563f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e51db356befe61d28702858cb1a592761ee53831e6d7fdea1cdd79e7f8d278c170930d71286b7a12aa9e0a279a21f9b54324454271b9c68b6ac24877141a3b3
|
7
|
+
data.tar.gz: 99ca802d1588547aed4a632a7ff895c700e853001974de49e256471cb7e5420b083237f593ea2a1b20c73f5027a47c17c151ad1e26dfa14a8e52b55e68d8a31a
|
@@ -209,7 +209,8 @@ module ActiveSupport
|
|
209
209
|
key = super.dup
|
210
210
|
key = key.force_encoding(Encoding::ASCII_8BIT)
|
211
211
|
key = key.gsub(ESCAPE_KEY_CHARS) { |match| "%#{match.getbyte(0).to_s(16).upcase}" }
|
212
|
-
|
212
|
+
# When we remove support to Rails 5.1 we can change the code to use ActiveSupport::Digest
|
213
|
+
key = "#{key[0, 213]}:md5:#{::Digest::MD5.hexdigest(key)}" if key.size > 250
|
213
214
|
key
|
214
215
|
end
|
215
216
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: memcached_store
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Camilo Lopez
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2018-01-31 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: activesupport
|
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
91
|
version: '0'
|
92
92
|
requirements: []
|
93
93
|
rubyforge_project:
|
94
|
-
rubygems_version: 2.
|
94
|
+
rubygems_version: 2.6.14
|
95
95
|
signing_key:
|
96
96
|
specification_version: 4
|
97
97
|
summary: Plugin-able Memcached adapters to add features (compression, safety)
|