Package: ruby-dalli / 5.0.2-1

Metadata

Package Version Patches format
ruby-dalli 5.0.2-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 test suite run as current user.patch | (download)

test/utils/memcached_manager.rb | 4 3 + 1 - 0 !
1 file changed, 3 insertions(+), 1 deletion(-)

 run test suite as current user

Because it's run under fakeroot, memcached thinks that it's being run as
root, and refuses to do so.

0003 dalli version.patch | (download)

dalli.gemspec | 4 3 + 1 - 0 !
1 file changed, 3 insertions(+), 1 deletion(-)

 use system dalli/version if lib/ not available

For autopkgtest purposes

0004 No bundler in test helper.patch | (download)

test/helper.rb | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 no bundler in test helper

0006 Fix Dalli NameError.patch | (download)

test/helper.rb | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix dalli nameerror

Fixes:
/<<PKGBUILDDIR>>/test/utils/memcached_manager.rb:23:in `<module:MemcachedManager>': uninitialized constant Dalli (NameError)

handle_64b_time_t.patch | (download)

lib/dalli/socket.rb | 21 20 + 1 - 0 !
1 file changed, 20 insertions(+), 1 deletion(-)

 support 64b time_t on armel/armhf
include openssl.patch | (download)

lib/dalli/protocol.rb | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 fix ssl error handling in meta protocol by requiring openssl early
support connection timeout fix.patch | (download)

lib/dalli/socket.rb | 5 1 + 4 - 0 !
test/test_socket.rb | 1 1 + 0 - 0 !
2 files changed, 2 insertions(+), 4 deletions(-)

 drop memoization of connect_timeout support check
 The supports_connect_timeout? method was memoized at class level, so it only
 checked TCPSocket#initialize parameters once. When socksify or resolv-replace
 override TCPSocket#initialize without supporting **kwargs, the memoized true
 value causes Dalli to pass {connect_timeout: sec} as a positional Hash
 instead of using the fallback Timeout.timeout block, leading to TypeError: no
 implicit conversion of Hash into String during socket creation.