riffer 0.37.0 → 0.37.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: cf3c522a083d44f9aff259baf496cea4f6da7a160872b1e78a2f123693a19942
4
- data.tar.gz: b3220efe62fcb3144fdc041f71c914baff02003b5f1aad3b4af285487986c673
3
+ metadata.gz: bf9db0e6d260a9528768fd4c13e59af50504afde1a251fdbe056f2e0220e60e4
4
+ data.tar.gz: 71064f20c5214d303080a57494b3a4d3b93f23b3f446c131bbb34c015ec7a4ae
5
5
  SHA512:
6
- metadata.gz: 82ca97fe33585a833f6126837c9546ee137aa2ccc0259f732a7f634207e82f3fa0c4a4ec05f80274c73fefa9e234c27b63db87672df1198412c6b66a9884b564
7
- data.tar.gz: b91541b19e44d4a02efbf10cd6bda8b3476fbf846f61e2cdabe19822fc1648542a2279ec4170e8dcc2ff462bc1419af552237e6f8e47e2748949139a5b53b9b2
6
+ metadata.gz: c4971ac39454bc52acb06ee24542ac64764db8360f8f07252c709a4145301a590c8d336b6496a10a5a1920964cb12dcc815c05519ece50bf6b07d17dba7118e9
7
+ data.tar.gz: 653fe046ac9feb510284ef89808b2ac17a83b274fe2c4b979c33d7c46ba8362bd1a3280259957b217f0fc1855c1acdfbc4979764314ed1b5290e1f84370ab6ae
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "0.37.0"
2
+ ".": "0.37.1"
3
3
  }
data/CHANGELOG.md CHANGED
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.37.1](https://github.com/janeapp/riffer/compare/riffer/v0.37.0...riffer/v0.37.1) (2026-07-13)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * keep multi-line skill descriptions within their catalog list item ([#360](https://github.com/janeapp/riffer/issues/360)) ([335e913](https://github.com/janeapp/riffer/commit/335e9130f5fe73e7bfe9b24faa9bc6fb9f0d6794)), closes [#355](https://github.com/janeapp/riffer/issues/355)
14
+
8
15
  ## [0.37.0](https://github.com/janeapp/riffer/compare/riffer/v0.36.0...riffer/v0.37.0) (2026-07-10)
9
16
 
10
17
 
@@ -14,8 +14,19 @@ class Riffer::Skills::MarkdownAdapter < Riffer::Skills::Adapter
14
14
  lines << catalog_instructions
15
15
  lines << ""
16
16
  skills.each do |skill|
17
- lines << "- **#{skill.name}**: #{skill.description}"
17
+ lines << "- **#{skill.name}**: #{single_line(skill.description)}"
18
18
  end
19
19
  lines.join("\n")
20
20
  end
21
+
22
+ private
23
+
24
+ # Collapses whitespace so a multi-line (block scalar) description stays within
25
+ # its `-` list item instead of breaking out to column 0, where continuation
26
+ # lines would read as top-level prompt text or fabricated catalog entries.
27
+ #--
28
+ #: (String) -> String
29
+ def single_line(description)
30
+ description.gsub(/\s+/, " ").strip
31
+ end
21
32
  end
@@ -2,5 +2,5 @@
2
2
  # rbs_inline: enabled
3
3
 
4
4
  module Riffer
5
- VERSION = "0.37.0" #: String
5
+ VERSION = "0.37.1" #: String
6
6
  end
@@ -7,4 +7,13 @@ class Riffer::Skills::MarkdownAdapter < Riffer::Skills::Adapter
7
7
  # --
8
8
  # : (Array[Riffer::Skills::Frontmatter]) -> String
9
9
  def render_catalog: (Array[Riffer::Skills::Frontmatter]) -> String
10
+
11
+ private
12
+
13
+ # Collapses whitespace so a multi-line (block scalar) description stays within
14
+ # its `-` list item instead of breaking out to column 0, where continuation
15
+ # lines would read as top-level prompt text or fabricated catalog entries.
16
+ # --
17
+ # : (String) -> String
18
+ def single_line: (String) -> String
10
19
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riffer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.37.0
4
+ version: 0.37.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jake Bottrall
@@ -91,14 +91,14 @@ dependencies:
91
91
  requirements:
92
92
  - - "~>"
93
93
  - !ruby/object:Gem::Version
94
- version: 0.68.0
94
+ version: 0.69.0
95
95
  type: :development
96
96
  prerelease: false
97
97
  version_requirements: !ruby/object:Gem::Requirement
98
98
  requirements:
99
99
  - - "~>"
100
100
  - !ruby/object:Gem::Version
101
- version: 0.68.0
101
+ version: 0.69.0
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: async
104
104
  requirement: !ruby/object:Gem::Requirement