toggly-cache 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/toggly/cache/redis_snapshot_provider.rb +2 -2
- data/lib/toggly/cache/version.rb +1 -1
- data/lib/toggly-cache.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 907c9a2c5dfd546c185cd953fc821f2c9d72b37aa9fdd4cab3367401feb8b503
|
|
4
|
+
data.tar.gz: 75a9956ec53030f9aa650a4c12bd2a8f49ba8fe19edcf3d1df935bc2b3a339f4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bca9e0262f9d0c012e4a76c38fe8f4e77977b89f5d37c88163d70c36b586a47cd110436e37c69e57732b362af4dfc704f0239febc39e388fabb75bc3c0e3073a
|
|
7
|
+
data.tar.gz: cc369fce9aa18193f892a851382f488dffd71a16b5d83dd10f94d818339f077ae133f034ae2068aadf3ee3b1a190fe2d6b0622b617177a65f2058ee9ffd9529e
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.1.1] - 2026-09-03
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- Raise required Ruby version to 3.2+ (matches Gemfile.lock Bundler and CI).
|
|
13
|
+
- Use anonymous argument forwarding in cache helpers (RuboCop for Ruby 3.2+).
|
|
14
|
+
|
|
8
15
|
## [0.1.0] - 2024-XX-XX
|
|
9
16
|
|
|
10
17
|
### Added
|
|
@@ -132,10 +132,10 @@ module Toggly
|
|
|
132
132
|
"#{@key_prefix}:snapshot"
|
|
133
133
|
end
|
|
134
134
|
|
|
135
|
-
def with_redis(&
|
|
135
|
+
def with_redis(&)
|
|
136
136
|
if @redis.respond_to?(:with)
|
|
137
137
|
# ConnectionPool
|
|
138
|
-
@redis.with(&
|
|
138
|
+
@redis.with(&)
|
|
139
139
|
else
|
|
140
140
|
# Direct Redis client
|
|
141
141
|
yield @redis
|
data/lib/toggly/cache/version.rb
CHANGED
data/lib/toggly-cache.rb
CHANGED
|
@@ -41,8 +41,8 @@ module Toggly
|
|
|
41
41
|
# @param redis [Redis, ConnectionPool] Redis client or connection pool
|
|
42
42
|
# @param options [Hash] Additional options
|
|
43
43
|
# @return [RedisSnapshotProvider]
|
|
44
|
-
def redis_provider(redis:, **
|
|
45
|
-
RedisSnapshotProvider.new(redis: redis, **
|
|
44
|
+
def redis_provider(redis:, **)
|
|
45
|
+
RedisSnapshotProvider.new(redis: redis, **)
|
|
46
46
|
end
|
|
47
47
|
end
|
|
48
48
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: toggly-cache
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ops.ai
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-09-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: redis
|
|
@@ -69,7 +69,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
69
69
|
requirements:
|
|
70
70
|
- - ">="
|
|
71
71
|
- !ruby/object:Gem::Version
|
|
72
|
-
version: 3.
|
|
72
|
+
version: 3.2.0
|
|
73
73
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
74
74
|
requirements:
|
|
75
75
|
- - ">="
|