ask-skills 0.4.1 → 0.4.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 +8 -0
- data/lib/ask/skills/sources/gems.rb +10 -0
- data/lib/ask/skills/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: 0a4c7549f41deea19983fb7bc68b3f8b0b97779b9cb164343608209bb64f5c61
|
|
4
|
+
data.tar.gz: 64db989863e81200f0985a45fa4c998bdff646bd9dad3f50031334baff34df62
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 244ee5c7ac9a6b69885cc659da57409a09f314bbb2d7fc045bc15fda179f6735e6d4462ebab47500d3507271cfcdb9baa9559e5ccbad233685b70528d799db64
|
|
7
|
+
data.tar.gz: d96732c2d1e7c966f85f8aae43caafa9ac5f8cafbdcd962c0c4dc94fdfa9d5dcf832701f70f07473f0e0e49427cc8783112a86c162438780f37c0707b6f5c1a4
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [0.4.2] - 2026-07-31
|
|
2
|
+
|
|
3
|
+
### Fixed
|
|
4
|
+
|
|
5
|
+
- **Skip built-in skills in gem sources discovery** — the Filesystem source
|
|
6
|
+
loads built-in skills shipped with the ask-skills gem separately, so the
|
|
7
|
+
Gems source now skips them to avoid collision warnings.
|
|
8
|
+
|
|
1
9
|
## [0.4.0] - 2026-07-21
|
|
2
10
|
|
|
3
11
|
### Added
|
|
@@ -8,9 +8,19 @@ module Ask
|
|
|
8
8
|
"Gems"
|
|
9
9
|
end
|
|
10
10
|
|
|
11
|
+
# Directory within the ask-skills gem that contains built-in skills.
|
|
12
|
+
# The built-in Filesystem source loads these separately, so we skip
|
|
13
|
+
# them here to avoid collision warnings.
|
|
14
|
+
BUILTIN_DIR = File.realpath(File.join(__dir__, ".."))
|
|
15
|
+
private_constant :BUILTIN_DIR
|
|
16
|
+
|
|
11
17
|
def load
|
|
12
18
|
skills = []
|
|
13
19
|
Gem.find_files(GLOB).each do |path|
|
|
20
|
+
# Skip skills shipped with the ask-skills gem — they are loaded
|
|
21
|
+
# separately by the built-in Filesystem source.
|
|
22
|
+
next if File.realpath(path).start_with?(BUILTIN_DIR)
|
|
23
|
+
|
|
14
24
|
if (skill = parse_skill(path))
|
|
15
25
|
skills << skill
|
|
16
26
|
end
|
data/lib/ask/skills/version.rb
CHANGED