pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/ruby-yard



Module Name:    pkgsrc
Committed By:   taca
Date:           Mon Nov 30 16:16:00 UTC 2026

Modified Files:
        pkgsrc/textproc/ruby-yard: Makefile PLIST distinfo

Log Message:
textproc/ruby-yard: udpate to 0.9.46

0.9.46 (2026-11-27)

* Fix gem archive path traversal in yard diff.  Reported by Shopify
  (@oss-security-shopify).  GHSA-r86q-p7r5-qcmh

* Use the browser's current URL to poll for documentation while a library
  builds.  Reported by zx (@manus-pi).

* Fix the search result count in the file and class lists, and the first
  click on a search result being lost when the search field loses focus
  (#1736)

* Fix type parser rejecting namespaced RBS interface names such as
  Asana::Client::_Projects (#1735)

* Fix stack overflow when a module's mixins form a cycle

* Register RBS method aliases

* Register RBS class and module aliases (class Foo = Bar) as constants

* Support RBS visibility modifiers, private sections and self? methods

* Support RBS method signatures that span several lines

* Fix RBS include, extend and prepend keeping type arguments in the mixin
  name

* Fix RBS parser not closing a namespace at an end followed by an inline
  comment, which nested every later declaration one level too deep (#1723)

* Fix stack overflow when many files reference namespaces defined in later
  files (#1375).  A handler that calls Handlers::Base#ensure_loaded! on an
  unresolved object is now deferred and run again from the start once all
  files are parsed, instead of parsing the remaining files recursively. The
  max_retries argument to ensure_loaded! and
  Handlers::C::Base#ensure_variable_defined! is deprecated and ignored.

* Add support for intersection (Foo & Bar) types: a value must satisfy every
  type listed, rather than any one of them, reading as "both a Foo and a
  Bar" (or "all of a Foo, a Bar, and a Baz" for 3+) to avoid reading like
  two separate values (closes #1644)

* Add | as a union operator (Foo | Bar means an object that's either a Foo
  or a Bar).  Type lists that already mean a union - the top level, a hash's
  key/value lists, Array<...>/Set<...> - read , and | the same way;
  elsewhere, where a comma-separated list means distinct type parameters or
  tuple slots (Array(...), or <...> for a name other than Array/Set), |
  groups a union within a single one of them (closes #1699)

* Add [...], used the same way parentheses are in algebra: to override the
  default order of operations, e.g. to use a union as one conjunct of an
  intersection (closes #1699)

* Document the existing anonymous <A>, (A), and {A=>B} shorthand forms

* Stop assuming Foo<A, B> always means "A or B": only Array/Set (known
  homogeneous collections) keep that implicit-union reading; any other name
  with 2+ type parameters now reads neutrally as "with type parameters (A,
  B)", since <...> is also conventionally used for a class's distinct type
  parameters (e.g.  Result<Success, Failure>).  Hash<KeyType, ValueType>
  gets its own dedicated positional rendering, matching
  Hash{KeyType=>ValueType}

* Fix spurious "Cannot resolve link" warnings for braces inside fenced code
  blocks nested in HTML blocks (e.g. <details>) in Markdown files (#1706)

* Fix RBS method tags for signatures with type parameters or an optional
  block

* Fix TypesExplainer parsing of nested collection types in Hash key position

* Fix duplicate "View source" links after client-side navigation in default
  HTML template

* Fix duplicated character class range warning in HybridMarkdown

* Fix quadratic parsing slowdown on source files containing very large
  literals

* Send XHR requests from processing template

Contributors

* @manus-pi
* @oss-security-shopify


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/textproc/ruby-yard/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/textproc/ruby-yard/PLIST
cvs rdiff -u -r1.24 -r1.25 pkgsrc/textproc/ruby-yard/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/ruby-yard/Makefile
diff -u pkgsrc/textproc/ruby-yard/Makefile:1.25 pkgsrc/textproc/ruby-yard/Makefile:1.26
--- pkgsrc/textproc/ruby-yard/Makefile:1.25     Mon Jul 20 05:45:54 2026
+++ pkgsrc/textproc/ruby-yard/Makefile  Mon Nov 30 16:16:00 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.25 2026/07/20 05:45:54 taca Exp $
+# $NetBSD: Makefile,v 1.26 2026/11/30 16:16:00 taca Exp $
 
-DISTNAME=      yard-0.9.45
+DISTNAME=      yard-0.9.46
 CATEGORIES=    textproc
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost

Index: pkgsrc/textproc/ruby-yard/PLIST
diff -u pkgsrc/textproc/ruby-yard/PLIST:1.17 pkgsrc/textproc/ruby-yard/PLIST:1.18
--- pkgsrc/textproc/ruby-yard/PLIST:1.17        Sun May 31 14:11:39 2026
+++ pkgsrc/textproc/ruby-yard/PLIST     Mon Nov 30 16:16:00 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.17 2026/05/31 14:11:39 taca Exp $
+@comment $NetBSD: PLIST,v 1.18 2026/11/30 16:16:00 taca Exp $
 bin/yard${RUBY_SUFFIX}
 bin/yardoc${RUBY_SUFFIX}
 bin/yri${RUBY_SUFFIX}
@@ -95,12 +95,14 @@ ${GEM_LIBDIR}/lib/yard/handlers/c/struct
 ${GEM_LIBDIR}/lib/yard/handlers/c/symbol_handler.rb
 ${GEM_LIBDIR}/lib/yard/handlers/common/method_handler.rb
 ${GEM_LIBDIR}/lib/yard/handlers/processor.rb
+${GEM_LIBDIR}/lib/yard/handlers/rbs/alias_handler.rb
 ${GEM_LIBDIR}/lib/yard/handlers/rbs/attribute_handler.rb
 ${GEM_LIBDIR}/lib/yard/handlers/rbs/base.rb
 ${GEM_LIBDIR}/lib/yard/handlers/rbs/constant_handler.rb
 ${GEM_LIBDIR}/lib/yard/handlers/rbs/method_handler.rb
 ${GEM_LIBDIR}/lib/yard/handlers/rbs/mixin_handler.rb
 ${GEM_LIBDIR}/lib/yard/handlers/rbs/namespace_handler.rb
+${GEM_LIBDIR}/lib/yard/handlers/rbs/visibility_handler.rb
 ${GEM_LIBDIR}/lib/yard/handlers/ruby/alias_handler.rb
 ${GEM_LIBDIR}/lib/yard/handlers/ruby/attribute_handler.rb
 ${GEM_LIBDIR}/lib/yard/handlers/ruby/base.rb

Index: pkgsrc/textproc/ruby-yard/distinfo
diff -u pkgsrc/textproc/ruby-yard/distinfo:1.24 pkgsrc/textproc/ruby-yard/distinfo:1.25
--- pkgsrc/textproc/ruby-yard/distinfo:1.24     Mon Jul 20 05:45:54 2026
+++ pkgsrc/textproc/ruby-yard/distinfo  Mon Nov 30 16:16:00 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.24 2026/07/20 05:45:54 taca Exp $
+$NetBSD: distinfo,v 1.25 2026/11/30 16:16:00 taca Exp $
 
-BLAKE2s (yard-0.9.45.gem) = e1f3196301d04137189eddcaa98512ca666d2837f7864f89489a160249b2c520
-SHA512 (yard-0.9.45.gem) = a4400a5eedbf53ece9b12d62d8f2329d1447af45078c81e989fd320c5e86431f96382802c1c201f4994517bad5faeab5e9bae80b2acdf81982c64693ef80fe02
-Size (yard-0.9.45.gem) = 792576 bytes
+BLAKE2s (yard-0.9.46.gem) = 7e4a9820889af8cd555461dfdac1da3a315c57b53a1f2b2f935a4cc10b9b1663
+SHA512 (yard-0.9.46.gem) = 61745810dd84873f90bb6515125e846fd971cc67234a830f6ce4a8a0c1aaa34d720be1c53535a69491ccd04e67f07cfa99882e4f552f07405f671fc9fb5553ac
+Size (yard-0.9.46.gem) = 801792 bytes



Home | Main Index | Thread Index | Old Index