yard-lint 1.8.0 → 1.9.0

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: '04219019cfc32c314c95eea949d26bd01a92c00cecbcffd44149ed537a09d148'
4
- data.tar.gz: 563bc04039db71d71510bfcd1feba0f7f2bc01b025807f22d97f6085e5a30282
3
+ metadata.gz: ba0156cdfc89e9d83eb44c650fc7577e68256717646470736a1a5051d45c8830
4
+ data.tar.gz: f12452f074b35d19f8edaf2fe4d4e28dcda832e0b355b500980e21e97b96c71b
5
5
  SHA512:
6
- metadata.gz: 0f7856c26319046238cfd2fbf9515f0d21d0f50915df9e14e92971dc7c3555d028e4e83a267f0385b96a9453624b7f8b4fc209f2f609bb1044abda4516c0ac21
7
- data.tar.gz: 3150e72089b7268bd63db4557eafc8dfc72ba7d398adc111442bf5f9f7534bb44284584074942dd8f5a10300cf5b44f9d11ec0e70dd0968fbd3326f8312853c4
6
+ metadata.gz: 1d453260f7016fcdb0f678d22349ffd922eb941f7daec2393bde3c81798bee88669cd003134f72c8a85fc44c700953e72c10d3ca930df96b33d15efbff1cbaf9
7
+ data.tar.gz: 5b0f7a4c24095a2db9d5c584029a23e2ff49dfcdd01c534ce5ac9922d2d8c5206f0137046815d5b9bfbffb3be4dff908df9409a99842db9234dd81c1471dceb6
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 1.9.0 (2026-07-01)
2
+ - **[Breaking]** Dropped support for Ruby 3.2. The minimum required Ruby version is now 3.3.0. This change was necessary because the `parallel` gem no longer supports Ruby 3.2.
3
+
1
4
  ## 1.8.0 (2026-06-17)
2
5
  - **[Feature]** Added `Documentation/UnderfilledLines` (opt-in, disabled by default, severity `convention`) - the inverse of `Documentation/LineLength`. Where `LineLength` flags comment lines that are too long, `UnderfilledLines` flags documentation prose that wraps *too early*: text that uses only a fraction of the available width and spills onto extra lines, wasting vertical space (common in AI-generated docs). It reports one offense per wasteful paragraph, and only when greedily re-wrapping the paragraph's words at `MaxLength` would genuinely use fewer lines, the widest line wastes at least `MinTrailingSpace` columns (default 20), and the paragraph is not deliberately broken one sentence/clause per line. Only the free-text description body is checked - YARD tags, fenced/indented code, lists, tables, headings, blockquotes and non-ASCII text are skipped. Because "this line should have been longer" is a stylistic judgement, the validator is deliberately conservative (biased toward not producing false positives) and stays opt-in; projects that use semantic line breaks (one sentence/clause per line, see sembr.org) are never flagged. Configurable via `MaxLength`, `MinTrailingSpace`, `MinParagraphLines`, `SentenceEndChars`, and `SkipNonAscii`.
3
6
  - **[Change]** Centralized source-file reading into `Validators::Base#cached_lines` (shared by `Documentation/LineLength` and `Documentation/UnderfilledLines` instead of being duplicated in each), and made it scrub invalid bytes so a non-UTF-8 source file can no longer raise `Encoding::CompatibilityError` while a validator matches a regex against its lines.
@@ -3,6 +3,6 @@
3
3
  module Yard
4
4
  module Lint
5
5
  # @return [String] version of the YARD Lint gem
6
- VERSION = '1.8.0'
6
+ VERSION = '1.9.0'
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yard-lint
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maciej Mensfeld
@@ -306,7 +306,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
306
306
  requirements:
307
307
  - - ">="
308
308
  - !ruby/object:Gem::Version
309
- version: 3.2.0
309
+ version: 3.3.0
310
310
  required_rubygems_version: !ruby/object:Gem::Requirement
311
311
  requirements:
312
312
  - - ">="