summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2022-03-17[ruby/logger] bump version to 1.5.1Hiroshi SHIBATA
https://github.com/ruby/logger/commit/c4a4155ab7
2022-03-17Make implicit function declaration error [Feature #18615]Nobuyoshi Nakada
Enable `-Werror=implicit-function-declaration` by default for building C extensions for early failures.
2022-03-17Fix broken links of rdocKazuhiro NISHIYAMA
- `www.ruby-lang.org` links to `./www.ruby-lang.org` - `cgi['field_name']` links to `./'field_name'`
2022-03-16[ruby/rdoc] Fix full name of known classNobuyoshi Nakada
Properly set the name of `File::Constants`, which is the only name with a namespace in `RDoc::KNOWN_CLASSES`, and fixes longstanding bug that `File::Constants` becomes `File::File::Constants`. When it is generated by `rb_file_const` in dir.c, `name` is set to the qualified name as same as `full_name`, and generated in the normal way in file.c later, already set `full_name` is cleared and `name` will be constructed from the enclosing namespace and the `name`. It will results in duplicated namespace, `File::File::Constants`. https://github.com/ruby/rdoc/commit/3a8d6df562
2022-03-15[rubygems/rubygems] Fix a typoKazuhiro NISHIYAMA
https://github.com/rubygems/rubygems/commit/3e06a91435
2022-03-15[rubygems/rubygems] [DOC] Enable Gem::Package exampleNobuyoshi Nakada
Other code must not be between the doc and class definition. https://github.com/rubygems/rubygems/commit/366784aae5
2022-03-15[rubygems/rubygems] Report Github Actions CI provider within user agent stringDavid Rodríguez
See https://docs.github.com/es/actions/learn-github-actions/environment-variables#default-environment-variables. So that we can show stats about it at https://ecosystem.rubytogether.org https://github.com/rubygems/rubygems/commit/48d6dc68f8
2022-03-15[rubygems/rubygems] Move `:stopdoc:` directiveNobuyoshi Nakada
If this is at the top level, it stops the documentation of the entire module, but not only the part in this file. https://github.com/rubygems/rubygems/commit/34e8c1ee06
2022-03-14[DOC] Remove outdated note from WeakRef#initializeIvo Anjo
The note > Raises an ArgumentError if the given +orig+ is immutable, such as Symbol, > Integer, or Float. has not been true since #2313 (GH-2313, Feature #16035) when @casperisfine enabled storing non-finalizable objects in the underlying `ObjectSpace::WeakMap`. On Ruby 2.7+, `WeakRef.new(1) + 1` works fine and the result is the expected 2. Notes: Merged: https://github.com/ruby/ruby/pull/5657
2022-03-14[DOC] hide `UnicodeNormalize` in module indexNobuyoshi Nakada
2022-03-14[ruby/rdoc] Start with open when only one visible class/moduleNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/6bb93001db
2022-03-14[ruby/rdoc] Fold class and module indexNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/4c7c46fcc4
2022-03-14[ruby/forwardable] Move `:stopdoc:` directiveNobuyoshi Nakada
If this is at the top level, it stops the documentation of the entire module, but not only the part in this file. https://github.com/ruby/forwardable/commit/34cd2ac4a1
2022-03-14[ruby/irb] Move `:stopdoc:` directiveNobuyoshi Nakada
If this is at the top level, it stops the documentation of the entire module, but not only the part in this file. https://github.com/ruby/irb/commit/86c41b06ad
2022-03-13[ruby/rdoc] Refine `pretty_print`Nobuyoshi Nakada
https://github.com/ruby/rdoc/commit/acb91ea74a
2022-03-13[ruby/rdoc] Clean documents for backwards compatibilityNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/23e61a208e
2022-03-13update Unicode Version to 14.0.0 and Emoji version to 14.0Martin Dürst
2022-03-11[ruby/rdoc] Scrollable sidebarMasafumi Koba
This change makes the sidebar scrollable via `position: sticky` and `overflow: auto`; See also <https://caniuse.com/?search=sticky> https://github.com/ruby/rdoc/commit/4d52e24840
2022-03-09[ruby/rdoc] Support crossref of methods with multiple argumentsPeter Zhu
For example, consider the following markup: C1#m(a, b) Before this patch, it generated this HTML: <p><a href=\"C1.html#method-i-m\"><code>C1#m</code></a>(a, b)</p> Which places the method arguments outside of the link. Now it generates this HTML: <a href=\"C1.html#method-i-m\"><code>C1#m(a, b)</code></a> https://github.com/ruby/rdoc/commit/05a2b2222b
2022-03-08[rubygems/rubygems] Add newline to validate_platforms! message when platform ↵Alex Gittemeier
is missing When I run bundle install with BUNDLE_DEPLOYMENT=true in the environment on a different platform than I usually do development, I get the following output to the console (wrapped exactly as shown): Your bundle only supports platforms ["x86_64-darwin-19"] but your local platform is x86_64-linux. Add the current platform to the lockfile with `bundle lock --add-platform x86_64-linux` and try again. Because the way the message wraps, its not as simple as copying the suggested command to the clipboard because it contains a newline: $ bundle lock Writing lockfile to [...]/Gemfile.lock $ --add-platform x86_64-linux Adding a newline right before the command forces the command in the error message to be on the same line, which facilitates copy-pasting the command in the message. https://github.com/rubygems/rubygems/commit/4cf6989b11
2022-03-07[ruby/ostruct] Drop unused directives from gemspec ↵Olle Jonsson
(https://github.com/ruby/ostruct/pull/39) This gem exposes no executables. https://github.com/ruby/ostruct/commit/a1242f7ebe
2022-03-07[ruby/ostruct] v0.5.3Marc-André Lafortune
https://github.com/ruby/ostruct/commit/322efd0e61
2022-03-07[ruby/ostruct] Fix class and method as attribute namesLadislav Gallay
https://github.com/ruby/ostruct/commit/7258535073
2022-03-07[rubygems/rubygems] Update README.md.ttBrad Gessler
Reduce the number of steps required to install a gem from two steps to one by using `bundle add` https://github.com/rubygems/rubygems/commit/2c968420cd
2022-03-06[rubygems/rubygems] Make `--strict` flag of `update` and `outdated` commands ↵David Rodríguez
consistent Previously they had slightly different behavior when combined with conservative updating flags. The correct behavior is the `--update-strict` option, so `--script` now does that, The `--update-strict` option is left there for now but I will deprecate it later. https://github.com/rubygems/rubygems/commit/ab42046229
2022-03-03[ruby/cgi] Bump up v0.3.2Hiroshi SHIBATA
https://github.com/ruby/cgi/commit/734dfdf1b4
2022-03-02[ruby/rdoc] Use `Marshal.load io` instead of `Marshal.load io.read`Kazuhiro NISHIYAMA
https://github.com/ruby/rdoc/commit/135198a31c
2022-02-28[ruby/securerandom] Bump up v0.2.0Hiroshi SHIBATA
https://github.com/ruby/securerandom/commit/62ca2828f3
2022-02-28Merge RubyGems and Bundler masterHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/5606
2022-02-22[ruby/reline] Fix support for emacs-ctlx and emacs-meta keymapsTim Pope
The existing implementation, given the below .inputrc, erroneously creates a "C-v" key binding: set keymap emacs-ctlx "\C-v": "[C-x C-v was pressed]" This fixes it to instead create a "C-x C-v" keybinding. https://github.com/ruby/reline/commit/719f52d231
2022-02-22[ruby/rdoc] Prefer `require 'cgi/util'` instead of `require 'cgi'`Yusuke Endoh
RDoc is using only CGI.escape, escapeHTML, and unescape. We don't have to load the whole source code of cgi gem. https://github.com/ruby/rdoc/commit/d096222cc2
2022-02-21Removed dependency of net-protocol. There is no plan to remove from stdlibHiroshi SHIBATA
2022-02-21Removed dependency of io-wait. There is no plan to remove from stdlibHiroshi SHIBATA
2022-02-18Make Set a builtin feature [Feature #16989]Akinori MUSHA
Notes: Merged: https://github.com/ruby/ruby/pull/5563
2022-02-16lib/securerandom.rb: Fix the check of availability of Random.urandomYusuke Endoh
Random.urandom raises a RuntimeError if it is unavailable. [Bug #13885] Notes: Merged: https://github.com/ruby/ruby/pull/5557
2022-02-12[ruby/rdoc] Dump plain objects as `RDoc::Options`Nobuyoshi Nakada
So that the generated `.rdoc_options` file is loadable. https://github.com/ruby/rdoc/commit/6cf6e1647b
2022-02-12[ruby/rdoc] Update generated filesNobuyoshi Nakada
2022-02-12[ruby/rdoc] Relative loading for easier development ↵Ulysse Buonomo
(https://github.com/ruby/rdoc/pull/821) This patch makes sure we only load relative code. Hence when coding or testing rdoc, we'll be sure to always be using the correct code. Discussion started at https://github.com/ruby/rdoc/pull/817. Signed-off-by: Ulysse Buonomo <buonomo.ulysse@gmail.com> https://github.com/ruby/rdoc/commit/aa41bd48eb Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2022-02-12[ruby/rdoc] Optimize RawLine by using a regexp instead of negative ↵Yusuke Endoh
look-ahead rule This improves the performance in some cases. `rdoc .../gems/sinatra-2.1.0/README.md` takes 10.5 sec. before this change, and 7.1 sec. after this change. `make rdoc` of ruby/ruby takes 19.3 sec. before this change, 18.1 sec. after this change. https://github.com/ruby/rdoc/commit/7cf8281e3e
2022-02-11[rubygems/rubygems] Add clarification for bundle-config "with" optionIlia Zenkevich
https://github.com/rubygems/rubygems/commit/666f3cc724
2022-02-11[rubygems/rubygems] Fix corrupted lockfile when using `gemspec` and multiple ↵David Rodríguez
sources https://github.com/rubygems/rubygems/commit/9712262d90
2022-02-10Support directory layout of ruby/ruby repositoryHiroshi SHIBATA
2022-02-10[ruby/ipaddr] Bump version to 1.2.4Hiroshi SHIBATA
https://github.com/ruby/ipaddr/commit/6edf6ee6c3
2022-02-10[ruby/ipaddr] Fix exception calling `to_range' after `freeze'Espartaco Palma
https://github.com/ruby/ipaddr/commit/77fe1fca0a
2022-02-10[ruby/ipaddr] Ipaddr#native must also coerce `@mask_addr`Jean Boussier
Before it would be left as an IPv6 mask causing `to_range` to fail. ``` >> IPAddr.new("::2").native.to_range /opt/rubies/3.0.3/lib/ruby/3.0.0/ipaddr.rb:479:in `set': invalid address (IPAddr::InvalidAddressError) ``` https://github.com/ruby/ipaddr/commit/af485192f3
2022-02-10[ruby/ipaddr] Expose IPAddr::VERSIONJean Boussier
An almost universal convention for gems is to expose Namespace::VERSION which makes it much easier when debugging etc. https://github.com/ruby/ipaddr/commit/587ae6996e
2022-02-10[rubygems/rubygems] Fix typo in multiple gemfiles warningSven Schwyn
https://github.com/rubygems/rubygems/commit/bc69d19097
2022-02-09[ruby/rdoc] Simplify attribute exclusiveness conditionsNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/45e33c4b85
2022-02-09[ruby/rdoc] Get rid of ruby-mode.el confusionsNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/63fac51198
2022-02-09[ruby/rdoc] Allow cross references to negation operator methodNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/69cafb213a