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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c3467a3de9f58a23327ca0624d3440f6eed9983bb4d8f834db30725d16eea52a
4
- data.tar.gz: 4cd313ba7ef8419fe9683ea7f7d4d6ce88a0270082e1b7f7d2d74092b320bb86
3
+ metadata.gz: 0a4c7549f41deea19983fb7bc68b3f8b0b97779b9cb164343608209bb64f5c61
4
+ data.tar.gz: 64db989863e81200f0985a45fa4c998bdff646bd9dad3f50031334baff34df62
5
5
  SHA512:
6
- metadata.gz: 101a0a858c1ee4e0f414dfb2964984096094c397e8e14014181875c95dea3b67ed7c3e3ddec201da831e5f0aaa973176e69be71ac6b563278eecad8b5761d88e
7
- data.tar.gz: ab7c5ec0eaa6c1887076a3b5314c5e83f5ef6eee1a411bc1de7371ef1c3b2b01d0636f483fa6a850b09ebc7c0d5e64099458747b0891a6d9b9dc3258960968a6
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
@@ -1,5 +1,5 @@
1
1
  module Ask
2
2
  module Skills
3
- VERSION = "0.4.1"
3
+ VERSION = "0.4.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ask-skills
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kaka Ruto