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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e49987a84d92c00bdc0140eb182b55a7a928f1ed
4
- data.tar.gz: 1a9788d127ef7dbf156c261316f39a1fe90c778c
3
+ metadata.gz: a12b1ea6af9f6de3759f7b0047c6157f29eb135b
4
+ data.tar.gz: 047a0ffb9b09c07dcfac879c42334256701d563f
5
5
  SHA512:
6
- metadata.gz: 7d1d23e7dbbce68a02bba13ab9a920b834044c2bff3b83497bb723f4b3d0c7a8d31074a47e8b5eb4440b61bb361670795fe30de76ba825320089b968a8c3ec7c
7
- data.tar.gz: b46f2c4de9bd74ff25abd6cdd6ccd986b8df4e99cdc3d9f5294b7ea4d2281c7d6c165bb3fc8629505df4adb9addc1d38f8c9e33c4e9df834ee5275037cac76ff
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
- key = "#{key[0, 213]}:md5:#{Digest::MD5.hexdigest(key)}" if key.size > 250
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
 
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module MemcachedStore
3
- VERSION = "1.2.0"
3
+ VERSION = "1.2.1"
4
4
  end
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.0
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: 2017-12-05 00:00:00.000000000 Z
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.5.2.1
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)