sight 0.6.0 → 0.6.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: 461c502e3de33a457cdd4a084d414fe8b978f7761c09fe795eb3047b0bc6a7e0
4
- data.tar.gz: f116d0821923e83ec1ff9d392da0b9cb88350f3803cf314f7c863c88b1e24c91
3
+ metadata.gz: 144154ab3f119a135766e0deda10adc5ff600e404374801d6449e292d8f0b063
4
+ data.tar.gz: 97a888745c5407114b3b7ac8c06e9866ffdadb97d6d2d16518799f29328e68f6
5
5
  SHA512:
6
- metadata.gz: cd7524e81ade2d5bfaa961c45f3e2b5e701ddb1d943e68746a7be83badb2fe3f4037afac9725c45151ca151bde3a03189cf7cdac48372b620056d21af16940d4
7
- data.tar.gz: f8c76b45f49a4e7995d89283b7546a64e31c7b62a150477ffff6a1b6f503ba075e4ebfc48f66f479bdb648257b389e95f43d0f1e20fcb40a589eb204d0a56011
6
+ metadata.gz: 05c55c338942fafe117834bb8e310d675944f9406346c2250e7638a68b775f7736131f46c47f4c2f39303ac0771697ab8f4e7236021991c589878cecfdbfac3c
7
+ data.tar.gz: 6db3dfb819a2b5b4ff43f13fe6272904fa58dd25e644e32bf30aa0d4aea40943c8c94d4e1530508373e8f51c7b6d6212c53ffdc33ea52871f0c0235128f340b1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.6.1] - 2026-03-26
4
+
5
+ ### Fixed
6
+
7
+ - Resolve Claude config from `~/.claude`, `XDG_CONFIG_HOME`, and `~/.config/claude` instead of hardcoding `~/.config/claude`
8
+
3
9
  ## [0.6.0] - 2026-03-26
4
10
 
5
11
  ### Changed
@@ -10,7 +10,13 @@ module Sight
10
10
  module_function
11
11
 
12
12
  def settings_path
13
- File.join(Dir.home, ".config", "claude", "settings.json")
13
+ candidates = [
14
+ (File.join(ENV["XDG_CONFIG_HOME"], "claude", "settings.json") if ENV["XDG_CONFIG_HOME"]),
15
+ File.join(Dir.home, ".claude", "settings.json"),
16
+ File.join(Dir.home, ".config", "claude", "settings.json")
17
+ ].compact
18
+
19
+ candidates.find { File.exist?(it) } || candidates.last
14
20
  end
15
21
 
16
22
  def install(path: settings_path)
data/lib/sight/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sight
4
- VERSION = "0.6.0"
4
+ VERSION = "0.6.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sight
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ariel Rzezak