dalli 2.7.9 → 2.7.10

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: 01e74b52404cfe86c17ffe33b29fb1f417fb1083a599c888f7f3ad7ec6f6b7a7
4
- data.tar.gz: 625a2dfec7051e2a3807d21c0240bf9ad0a943fd9e22a898dacb29ad08ff8146
3
+ metadata.gz: 4777faf19b3b49b1594e2c07154e7e9a604301349b3a3bcc1b7b8f790533011e
4
+ data.tar.gz: 0e19dc281dae4f0bb59d1282c8f530a891edaba56c8e09737b43490b55f14660
5
5
  SHA512:
6
- metadata.gz: 0f3a1deb5cc3fe03b898824f368a69b3a8d25e532bb81b6b7822446db4682fe863a62fa7a68c6935279a33429bd66e84c008691da23a6e02bc3ad0660c1b6660
7
- data.tar.gz: 4ff78a2317aa690c44465a39b6559ab304724448ab4932dfb5832c759a3e8a9856c0aca72c6bc9306a2c5f9fffea6a0f2711e8add47e451aca09c5ffdf12ece4
6
+ metadata.gz: 846fc9de820119477c1a5a79749367b26ae59e3212d074023df61db3d497f0f71022acc47b461294f028ab79e26d0ecb467630cfbd7f54923a7fc66a3d9c340f
7
+ data.tar.gz: 49c05acb4e93a77edf47c140ae3bc46995e42eb65238e151b81908c48653422b4364f960aa7abefa9653de0544aa05e28351e2fce883c4855a376d2f8c42cd2f
data/History.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Dalli Changelog
2
2
  =====================
3
3
 
4
+ 2.7.10
5
+ ==========
6
+ - Revert frozen string change (schneems)
7
+ - Advertise supports_cached_versioning? in DalliStore (schneems)
8
+ - Better detection of fork support, to allow specs to run under Truffle Ruby
9
+ - Update logging for over max size to log as error
10
+
4
11
  2.7.9
5
12
  ==========
6
13
  - Fix behavior for Rails 5.2+ cache_versioning (GriwMF)
@@ -9,6 +9,10 @@ module ActiveSupport
9
9
  attr_reader :silence, :options
10
10
  alias_method :silence?, :silence
11
11
 
12
+ def self.supports_cache_versioning?
13
+ true
14
+ end
15
+
12
16
  # Silence the logger.
13
17
  def silence!
14
18
  @silence = true
@@ -353,7 +357,6 @@ module ActiveSupport
353
357
  def expanded_key(key) # :nodoc:
354
358
  return key.cache_key_with_version.to_s if key.respond_to?(:cache_key_with_version)
355
359
  return key.cache_key.to_s if key.respond_to?(:cache_key)
356
- original_object_id = key.object_id
357
360
 
358
361
  case key
359
362
  when Array
@@ -368,7 +371,7 @@ module ActiveSupport
368
371
 
369
372
  key = key.to_param
370
373
  if key.respond_to? :force_encoding
371
- key = key.dup if key.object_id == original_object_id
374
+ key = key.dup
372
375
  key.force_encoding('binary')
373
376
  end
374
377
  key
@@ -477,7 +477,7 @@ module Dalli
477
477
  message = "Value for #{key} over max size: #{@options[:value_max_bytes]} <= #{value.bytesize}"
478
478
  raise Dalli::ValueOverMaxSize, message if @options[:error_when_over_max_size]
479
479
 
480
- Dalli.logger.warn message
480
+ Dalli.logger.error "#{message} - this value may be truncated by memcached"
481
481
  false
482
482
  end
483
483
  end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Dalli
3
- VERSION = '2.7.9'
3
+ VERSION = '2.7.10'
4
4
  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.9
4
+ version: 2.7.10
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-10-20 00:00:00.000000000 Z
12
+ date: 2019-03-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest
@@ -45,14 +45,14 @@ dependencies:
45
45
  requirements:
46
46
  - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: '4'
48
+ version: '5'
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: '4'
55
+ version: '5'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: rake
58
58
  requirement: !ruby/object:Gem::Requirement
@@ -168,8 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
168
168
  - !ruby/object:Gem::Version
169
169
  version: '0'
170
170
  requirements: []
171
- rubyforge_project:
172
- rubygems_version: 2.7.6
171
+ rubygems_version: 3.0.3
173
172
  signing_key:
174
173
  specification_version: 4
175
174
  summary: High performance memcached client for Ruby