legionio 1.5.1 → 1.5.2

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: 999125c333fd0888aceaf75ce138117264386b4d26c6b86d07054d82c8ce9b3b
4
- data.tar.gz: 7bba997f372b719b5dc0aa222138870ddfd3550d19b5dfd5e4ae957e21278831
3
+ metadata.gz: ab73463db65a9727d48f06fe62241a998ed59bd4f65ae37e3beea891ff7a039f
4
+ data.tar.gz: 61da69443e787e03c589605f604bf5cc03b22d05699a18bcb6bd04b5127cd00a
5
5
  SHA512:
6
- metadata.gz: d01be560c4c99dc403c009771829e1e24c086ae0f2314a1b36bf705dc07f8795f3379d330e542322007e742f0e8dfb2f86296edf3231a51f75d6fcad0a944a68
7
- data.tar.gz: 70b867cd417ee7146237cc0aacf937240b45bfc482512559ea49c313d6dd5690b81206c7d333eb915c9bc256e3efae7ed1c086e0f7c3f2ad6d8989dff3bb753b
6
+ metadata.gz: 61a381380b6120a894ea646ba6bc4a7e03d2aadb354a482d4217069de840f95f0aa42c4ef42ae8d1c333e2bfc5d8de7873c90441fc99d8a54f01a44c96f44150
7
+ data.tar.gz: 2cc61385a084947067caaf5201aaf32865b994f9d330842801c5e1f41794cb0c35bbb444739a426cf3ac0d05124a4638e664742dc3f5a2816db826b270855d65
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Legion Changelog
2
2
 
3
+ ## [1.5.2] - 2026-03-24
4
+
5
+ ### Fixed
6
+ - `check_cache_local` in CLI now reads display values from `Legion::Settings[:cache_local]` instead of static code defaults
7
+
3
8
  ## [1.5.1] - 2026-03-24
4
9
 
5
10
  ### Added
@@ -180,7 +180,7 @@ module Legion
180
180
  raise 'Legion::Cache::Local not available' unless defined?(Legion::Cache::Local) && Legion::Cache::Local.respond_to?(:setup)
181
181
 
182
182
  Legion::Cache::Local.setup
183
- cs = Legion::Cache::Settings.respond_to?(:local) ? Legion::Cache::Settings.local : {}
183
+ cs = Legion::Settings[:cache_local] || (Legion::Cache::Settings.respond_to?(:local) ? Legion::Cache::Settings.local : {})
184
184
  driver = cs[:driver] || 'dalli'
185
185
  servers = Array(cs[:servers] || cs[:server] || ['127.0.0.1'])
186
186
  "#{driver} -> #{servers.join(', ')}"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Legion
4
- VERSION = '1.5.1'
4
+ VERSION = '1.5.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: legionio
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esity