yamine 0.9.1 → 0.9.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 +4 -4
- data/CHANGELOG.md +15 -0
- data/lib/yamine/doctor.rb +9 -0
- data/lib/yamine/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 10912afade2197809c63bc0d6382d754eaa236f5996462a242554775f9e48c1e
|
|
4
|
+
data.tar.gz: f2100f695bc378b3bf95ad2089907e614eea6deea10cc4f3029a98397439eea0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: abfaa410dd665fb70e0d280b0ba0142607a095fc94ea3c88c5ea213cf32dec415fd0fec6723770a3a346a2b5ce4042d0b23a78d7796bb50e280f11fad7dedb13
|
|
7
|
+
data.tar.gz: ffef03352feb6c30328769b6e6e5c87705458b711cb0b5cc7a7c0b0b6b9061c06ece931766cbd4c2ec9cf09e397f2fdacaf2ee6fcb87c6e707e9163026457926
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.9.2] — 2026-09-10
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- **doctor's version check was blind to its own motivating case.** A
|
|
8
|
+
serving proxy that recorded no version predates the marker (added in
|
|
9
|
+
0.9.0), which means it is definitely not the code you have installed —
|
|
10
|
+
but with `version == nil` the check stayed silent. So the exact service
|
|
11
|
+
it exists to catch, a root service left behind by an older gem, kept
|
|
12
|
+
serving old code with doctor reporting `[ok] proxy state: consistent`.
|
|
13
|
+
It now warns and points at `sudo yamine service install`. (A machine
|
|
14
|
+
with no proxy at all is still silent — no version and nothing serving
|
|
15
|
+
is not a problem.)
|
|
16
|
+
|
|
17
|
+
|
|
3
18
|
## [0.9.1] — 2026-09-10
|
|
4
19
|
|
|
5
20
|
### Fixed
|
data/lib/yamine/doctor.rb
CHANGED
|
@@ -124,6 +124,15 @@ module Yamine
|
|
|
124
124
|
if version && version != Yamine::VERSION
|
|
125
125
|
problems << "the running proxy is v#{version}, this CLI is v#{Yamine::VERSION}" \
|
|
126
126
|
" — re-register it: sudo yamine service install"
|
|
127
|
+
elsif version.nil? && serving
|
|
128
|
+
# A serving proxy that recorded no version predates the marker
|
|
129
|
+
# (added in 0.9.0), so it is definitely not the code we ship with
|
|
130
|
+
# now. Without this the version check was blind to exactly the
|
|
131
|
+
# service it exists to catch — an old root service keeps serving
|
|
132
|
+
# old code until it is re-registered.
|
|
133
|
+
problems << "the running proxy does not report a version (installed before " \
|
|
134
|
+
"v0.9.0), this CLI is v#{Yamine::VERSION}" \
|
|
135
|
+
" — re-register it: sudo yamine service install"
|
|
127
136
|
end
|
|
128
137
|
|
|
129
138
|
if problems.empty?
|
data/lib/yamine/version.rb
CHANGED