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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 98811a45f8402f5bf321cd854cf39856d9bce478e946033c968c126c5abd7814
4
- data.tar.gz: f9b84d051d6c332eee50b463cdbe481e67cd0af34363aa8f50b53c6974cea2c0
3
+ metadata.gz: 907c9a2c5dfd546c185cd953fc821f2c9d72b37aa9fdd4cab3367401feb8b503
4
+ data.tar.gz: 75a9956ec53030f9aa650a4c12bd2a8f49ba8fe19edcf3d1df935bc2b3a339f4
5
5
  SHA512:
6
- metadata.gz: 7fa421237fd34448a03c1a9eef6f4c5e55bae773b2879242b753d4a8c3ec7c28ef0c362ce0196706bdc78a2c66f179ad928bbe56e55f61e6adb457b07e13ddb5
7
- data.tar.gz: a1f5be53e00f43efdeb7f0a49a33e10e673d64f8a12b07886b2ea88a066779f134c1b0432d4750138e9bd1c22c8a178ebf163d9f038a729c0e091130073aedcb
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(&block)
135
+ def with_redis(&)
136
136
  if @redis.respond_to?(:with)
137
137
  # ConnectionPool
138
- @redis.with(&block)
138
+ @redis.with(&)
139
139
  else
140
140
  # Direct Redis client
141
141
  yield @redis
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Toggly
4
4
  module Cache
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.1"
6
6
  end
7
7
  end
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:, **options)
45
- RedisSnapshotProvider.new(redis: redis, **options)
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.0
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-03-03 00:00:00.000000000 Z
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.0.0
72
+ version: 3.2.0
73
73
  required_rubygems_version: !ruby/object:Gem::Requirement
74
74
  requirements:
75
75
  - - ">="