summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-11-03Fix typos [ci skip]Nobuyoshi Nakada
2021-11-03[rubygems/rubygems] Fix `gem install` vs `gem fetch` inconsistencyDavid Rodríguez
https://github.com/rubygems/rubygems/commit/b3e985799e
2021-11-03configure.ac: don't use shutdown on emscriptenYusuke Endoh
... to absorb a change on Ubuntu 21.10
2021-11-03string.c: Follow up to ae2359f602bb467ca755eef02d73d361d35eaed7Yusuke Endoh
* Mention `\0` * Make the example of hash replacement meaningful
2021-11-03* 2021-11-03 [ci skip]git
2021-11-02Enhanced RDoc for String (#5060)Burdette Lamar
Treated: #slice! #sub #sub! #gsub #gsub! Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2021-11-02ext/socket/extconf.rb: Fix the chech if if_indextoname is availableYusuke Endoh
The check had not work because "headers" were not passed.
2021-11-02Fix typos in ChangeLog files [ci skip]Nobuyoshi Nakada
2021-11-02Fix typosNobuyoshi Nakada
2021-11-02[rubygems/rubygems] Use OpenSSL constants for error codes.Vít Ondruch
This fixes the following test error testing against OpenSSL 3.x: ~~~ 2) Failure: TestGemRequest#test_verify_certificate_extra_message [/builddir/build/BUILD/ruby-3.0.2/test/rubygems/test_gem_request.rb:358]: <"ERROR: SSL verification error at depth 0: invalid CA certificate (24)\n" + "ERROR: Certificate is an invalid CA certificate\n"> expected but was <"ERROR: SSL verification error at depth 0: invalid CA certificate (79)\n" + "ERROR: Certificate is an invalid CA certificate\n">. ~~~ Where the root cause is this OpenSSL commit: https://github.com/openssl/openssl/commit/1e41dadfa7b9f792ed0f4714a3d3d36f070cf30e It seems that OpenSSL upstream considers the constant value just an implementation detail and therefore this changes the test case to follow the suite. https://github.com/rubygems/rubygems/commit/8acf8e95dc
2021-11-02remove the repeat 'the'180909
Notes: Merged: https://github.com/ruby/ruby/pull/5069
2021-11-02test/readline/test_readline.rb: Use TERM=vt100 to run the testsYusuke Endoh
Readline seems to emit an escape sequence `"\e[?1034h` at an unpredictable timing when `TERM=xterm` or something. This leads to a noisy random test failure. http://rubyci.s3.amazonaws.com/amazon2/ruby-master/log/20211102T063005Z.fail.html.gz ``` 1) Failure: TestReadline#test_modify_text_in_pre_input_hook [/home/chkbuild/chkbuild/tmp/build/20211102T063005Z/ruby/test/readline/test_readline.rb:404]: <"> hello world\n"> expected but was <"\e[?1034h> hello world\n">. ``` This test is for Ruby's readline extension, not for readline library itself. So here this change force to use "TERM=vt100" to run the tests.
2021-11-02Update licenses= documentationCarlos Palhares
2021-11-02Allow custom LicenseRefCarlos Palhares
2021-11-02Remove SimpleCov at all.Josef Šimánek
2021-11-02Removed the related code of `gem server`Hiroshi SHIBATA
2021-11-02* 2021-11-02 [ci skip]git
2021-11-02[rubygems/rubygems] Leave ":" after MANPATH when not setDavid Rodríguez
So that system man pages still work after a gem with man pages overrides it. https://github.com/rubygems/rubygems/commit/1031879b87
2021-11-01YJIT: Support kwargs sends with all defaults (#5067)John Hawthorn
* YJIT: Support kwargs sends with all defaults Previously keyword argument methods were only compiled by YJIT when all keywords were specified in the caller. This adds support for calling methods with keyword arguments when no keyword arguments are specified and all are filled with the defaults. * Remove unused send_iseq_kwargs_none_passed Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
2021-11-01[ruby/openssl] x509name: improve docs for X509::NameKazuki Yamaguchi
Add docs for X509::Name.parse_openssl and X509::Name.parse_rfc2253, which are currently undocumented despite being widely used. Small changes are also made to #to_s and the class description to recommend using RFC 2253-based methods. Fixes: https://github.com/ruby/openssl/issues/470 https://github.com/ruby/openssl/commit/74041a35d4
2021-11-01[ruby/openssl] ssl: disallow reading/writing to unstarted SSL socketKazuki Yamaguchi
OpenSSL::SSL::SSLSocket allowed #read and #write to be called before an SSL/TLS handshake is completed. They passed unencrypted data to the underlying socket. This behavior is very odd to have in this library. A verbose mode warning "SSL session is not started yet" was emitted whenever this happened. It also didn't behave well with OpenSSL::Buffering. Let's just get rid of it. Fixes: https://github.com/ruby/openssl/issues/9 https://github.com/ruby/openssl/commit/bf780748b3
2021-11-01Update bundled_gems at 2021-11-01git
2021-11-01bundled_gems: Pull before new commit [ci skip]Nobuyoshi Nakada
2021-11-01* 2021-11-01 [ci skip]git
2021-11-01[rubygems/rubygems] Memoize materialized specs when requiring `bundler/setup`David Rodríguez
Calling `Bundler.definition.specs` will memoize materialized specs. However, requiring `bundler/setup` will end up materializing the same set of specs, but not memoize them. This change makes things consistent. https://github.com/rubygems/rubygems/commit/e4c2b52824
2021-10-31Argument forwarding definition without parentheses [Bug #18267]Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5065
2021-10-31* 2021-10-31 [ci skip]git
2021-10-31Rename `in_kwarg` as `in_argdef` as unrelated to keywordsNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5064
2021-10-31Reduce parser stack usage at pattern matchingNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5064
2021-10-30Add `rb_mod_exc_raise` function and replace duplicate codeS.H
Notes: Merged: https://github.com/ruby/ruby/pull/5063 Merged-By: nobu <nobu@ruby-lang.org>
2021-10-30Apply the timeout scale to also separated workersNobuyoshi Nakada
2021-10-30[DOC] Fix `TracePoint.trace` format [ci skip]Ulysse Buonomo
Signed-off-by: Ulysse Buonomo <buonomo.ulysse@gmail.com> Notes: Merged: https://github.com/ruby/ruby/pull/4894
2021-10-30Allow the thread-model to be switched by configure optionYuta Saito
This change adds --with-thread=IMPL option to the configure. If not supplied, default implementation for each platform will be used. Notes: Merged: https://github.com/ruby/ruby/pull/5043
2021-10-30Select including thread impl file at config timeYuta Saito
Notes: Merged: https://github.com/ruby/ruby/pull/5043
2021-10-30Split thread-model config into another ac fileYuta Saito
This is a first step to allow the thread-model implementation to be switched by configure's option Notes: Merged: https://github.com/ruby/ruby/pull/5043
2021-10-30add missing http response code in doc180909
Notes: Merged: https://github.com/ruby/ruby/pull/4970
2021-10-30Use rdoc-ref to fix a few links in the READMEJeremy Evans
This may break linking on GitHub, but it's more important for the links to work in the documentation generated by rdoc. Fixes [Bug #14743] Notes: Merged: https://github.com/ruby/ruby/pull/4958
2021-10-30Clarify docs about magic comments placementPeter Leitzen
Magic comments like `frozen_string_literal` may appear everywhere within the first comment section while `encoding` have to be the first line, or second line after shebang. Notes: Merged: https://github.com/ruby/ruby/pull/4985
2021-10-30[rubygems/rubygems] Better error when installing a git lockfile and git not ↵David Rodríguez
present https://github.com/rubygems/rubygems/commit/28f4842196
2021-10-29Cleanup GC.auto_compact specBenoit Daloze
* Make the supported check more obvious.
2021-10-29Skip GC.auto_compact= spec for platforms not supporting itBenoit Daloze
* See https://github.com/ruby/spec/pull/891
2021-10-29Add comments about send method types (#5059)Maxime Chevalier-Boisvert
Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
2021-10-30Get rid of exponential backtracks found by CodeQLNobuyoshi Nakada
Since these regexps are used at build/installation, they are not vulnerabilities. Notes: Merged: https://github.com/ruby/ruby/pull/5056
2021-10-30* 2021-10-30 [ci skip]git
2021-10-29make obj_free return true when it frees an objectMatt Valentine-House
Previously obj_free returned true when it could not free a slot because of a finalizer, and false when it successfully frees a slot. Notes: Merged: https://github.com/ruby/ruby/pull/5055
2021-10-29Prefer size pool heap macros over direct accessMatt Valentine-House
Notes: Merged: https://github.com/ruby/ruby/pull/5054
2021-10-29Preserve the encoding of message from outer local variableNobuyoshi Nakada
In the case of read-only but refering an unshareable object.
2021-10-29Preserve the encoding of message from outer local variablesNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5053
2021-10-29Remove redundant callsNobuyoshi Nakada
The ArgumentError should raise in `isolate`. Notes: Merged: https://github.com/ruby/ruby/pull/5053
2021-10-29[rubygems/rubygems] Enforce bundler platform (and default gem) to keep ↵Josef Šimánek
invalid gemspec test compatible with ruby-trunk. https://github.com/rubygems/rubygems/commit/a77061d4e9