dalli 2.7.7 → 2.7.8

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of dalli might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: be20ed3535eb5ddc41d8d53e596adc7fe7e7d4241ff345e79f29fb1c6b732a01
4
- data.tar.gz: 39e7c9ea59332d26a2b8ca7276664f3028bbe0b3db3481aa24bc478b5019f3aa
3
+ metadata.gz: 2c031a1c9cb46cdd1c12b7f52d123de5edd393c8061353cb7842b3106b97d13f
4
+ data.tar.gz: 43a26b17146ebb001fb073df967c5f77c04660f3f71d791c3bf67d05b9a10425
5
5
  SHA512:
6
- metadata.gz: 9ca82a471a6ae90c123c1888117e87fbc6e348a3401b3db77f5982574d5dc46e0765681df22815773c27d204fa9023841b0012db7a37ec72569eeeddc5e53a3b
7
- data.tar.gz: 93cef3703a4b7c48e1127228b11d03565feba4523dfc1057f6689f50627b1bbb29c0fcea2d703e8500bfdb5fc70da2b975736032452610550f6acf7dace76025
6
+ metadata.gz: 22a104d5ebc991e0a28dc44315328a4526dfa7b217284c9b7bfbc2d8b1478daf1d473541799fc46b81afac1e28d1c2f7fa10cfceaea7eb330d3a6738b061e037
7
+ data.tar.gz: e03f4510b72135c59bda4c50f9737a933beb8e791b7a6baa8d1ab4909e297e3a5c73f0b2f1c879f830b92807b5b714b8a379b8e2a53921ec787ec92c458b0121
data/History.md CHANGED
@@ -1,6 +1,20 @@
1
1
  Dalli Changelog
2
2
  =====================
3
3
 
4
+ 2.7.8
5
+ ==========
6
+ - Rails 5.2 compatibility (pbougie)
7
+ - Fix Session Cache compatibility (pixeltrix)
8
+
9
+ 2.7.7
10
+ ==========
11
+ - Support large cache keys on fetch multi (sobrinho)
12
+ - Not found checks no longer trigger the result's equality method (dannyfallon)
13
+ - Use SVG build badges (olleolleolle)
14
+ - Travis updates (junaruga, tiarly, petergoldstein)
15
+ - Update default down_retry_delay (jaredhales)
16
+ - Close kgio socket after IO.select timeouts
17
+ - Documentation updates (tipair)
4
18
  - Instrument DalliStore errors with instrument_errors configuration option. (btatnall)
5
19
 
6
20
  2.7.6
@@ -341,7 +341,7 @@ module ActiveSupport
341
341
  namespace = options[:namespace] if options
342
342
  prefix = namespace.is_a?(Proc) ? namespace.call : namespace
343
343
  key = "#{prefix}:#{key}" if prefix
344
- key = "#{key[0, 213]}:md5:#{Digest::MD5.hexdigest(key)}" if key && key.size > 250
344
+ key = "#{key[0, 213]}:md5:#{::Digest::MD5.hexdigest(key)}" if key && key.size > 250
345
345
  key
346
346
  end
347
347
  alias :normalize_key :namespaced_key
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Dalli
3
- VERSION = '2.7.7'
3
+ VERSION = '2.7.8'
4
4
  end
@@ -157,18 +157,9 @@ module Rack
157
157
  [nil, mserv, mopts, popts]
158
158
  end
159
159
 
160
- # Capture generate_sid's super so we can call it from generate_sid_with
161
- alias_method :generate_sid_super, :generate_sid
162
-
163
- def generate_sid
164
- # no way to check env['rack.multithread'] here so fall back on
165
- # Dalli::Client or ConnectionPool's internal mutex cf. our own
166
- @pool.with {|dc| generate_sid_with(dc) }
167
- end
168
-
169
160
  def generate_sid_with(dc)
170
161
  while true
171
- sid = generate_sid_super
162
+ sid = generate_sid
172
163
  break sid unless dc.get(sid)
173
164
  end
174
165
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dalli
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.7
4
+ version: 2.7.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter M. Goldstein
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-03-15 00:00:00.000000000 Z
12
+ date: 2018-04-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest