summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-12-25Wait for output results to test correctlyaycabta
2021-12-25* 2021-12-25 [ci skip]git
2021-12-25add a NEWS entry about cvar inline cacheKoichi Sasada
2021-12-24Revert "Revert "Replace an deprecated constant with a new one in did_you_mean""Yuki Nishijima
This reverts commit 1527f7569b0412f3bc7ac98a3461e59a4891ed96.
2021-12-24Update default gems list at f9712b029bb6c34a2cf4131f8a5432 [ci skip]git
2021-12-24Sync did_you_meanYuki Nishijima
2021-12-24Bundle RBS 2.0.0 (#5330)Soutaro Matsumoto
* Bundle RBS 2.0.0 * Update NEWS.md Notes: Merged-By: soutaro <matsumoto@soutaro.com>
2021-12-24Output log after loading class to testaycabta
2021-12-25Prefer to use RTEST when checking result of `rb_io_wait`. (#5341)Samuel Williams
* Prefer to use RTEST when checking result of `rb_io_wait`. * Consistently use false for signifying no events ready. Notes: Merged-By: ioquatix <samuel@codeotaku.com>
2021-12-24Adjust styles [ci skip]Nobuyoshi Nakada
2021-12-24Add logging about timeoutaycabta
2021-12-24Kill process before assertion failsaycabta
2021-12-24Fix warning in `Lexer::Elem#[]`manga_osyo
Changed to use `#pos` `#event` `#tok` `#state` since using Lexer::Elem#[0~4] now gives a warning. see: https://github.com/ruby/ruby/commit/8944009be7418614ce7d4077807ac2b60d4d5d85 https://github.com/ruby/reline/commit/9adbb9af32
2021-12-24Update default gems list at 67aab88a22bad23cb43058caee6fc0 [ci skip]git
2021-12-24Import digest v3.1.0 from ruby/digestAkinori MUSHA
2021-12-24configure.in: unexpand exec_prefix in includedirNobuyoshi Nakada
Replace `exec_prefix` in includedir as well as bindir, libdir, and so on. [Bug #18373] Notes: Merged: https://github.com/ruby/ruby/pull/5318
2021-12-24Improvements to `rb_io_wait` return value handling and internal ↵Samuel Williams
implementation. (#5340) Notes: Merged-By: ioquatix <samuel@codeotaku.com>
2021-12-24[ruby/reline] Revert "Change aliased methods to be parivete"aycabta
Ruby 2.5 doesn't support "private alias_method" idiom but Ruby on Rails 6.x still support 2.5. 😢 This reverts commit https://github.com/ruby/reline/commit/0f075f562b9b. https://github.com/ruby/reline/commit/4ecaa63b26
2021-12-24[ruby/reline] Change aliased methods to be pariveteaycabta
https://github.com/ruby/reline/commit/0f075f562b
2021-12-24[ruby/reline] Add doc about em-kill-line macroaycabta
https://github.com/ruby/reline/commit/2e46493aff
2021-12-24[ruby/reline] Implement em_kill_lineaycabta
https://github.com/ruby/reline/commit/9fca6ceb45
2021-12-24[ruby/reline] Rename the wrong name "em-kill-line" with the correct name ↵aycabta
"unix-line-discard" https://github.com/ruby/reline/commit/da7af35d1f
2021-12-24[ruby/reline] Add doc about ed-kill-line, kill-line, em-kill-line, and ↵aycabta
unix-line-discard https://github.com/ruby/reline/commit/586a48ffe0
2021-12-24[ruby/reline] Bind ed-kill-line to C-u on emacs modeaycabta
https://github.com/ruby/reline/commit/9ab99574f5
2021-12-24[ruby/reline] Support S-Tab to move up completion cursor in vi-mode on Unixaycabta
https://github.com/ruby/reline/commit/ff278cdc88
2021-12-24Update default gems list at 35d779c57b266953a93c2f89487e91 [ci skip]git
2021-12-24[DOC] Document Marshal#load parameter freeze: (#5332)Victor Shepelev
Notes: Merged-By: byroot <jean.boussier@gmail.com>
2021-12-24[ruby/readline] Bump version to 0.0.3Hiroshi SHIBATA
https://github.com/ruby/readline/commit/996af225ad
2021-12-24[ruby/readline-ext] Bump version to 0.1.4Hiroshi SHIBATA
https://github.com/ruby/readline-ext/commit/6f86713b19
2021-12-24Move embedded lines outside the here documentNobuyoshi Nakada
So that the actually run test code corresponds to the source file line-by-line.
2021-12-24Update default gems list at 03f16d37bfaae86efe9633843bd26c [ci skip]git
2021-12-24Set time limit for waiting for terminating process within a testaycabta
Notes: Merged: https://github.com/ruby/ruby/pull/5339
2021-12-24[ruby/rdoc] Version 6.4.0aycabta
https://github.com/ruby/rdoc/commit/4797f28df8
2021-12-24Use UTF-8 for lib/reline on AppVeyoraycabta
Notes: Merged: https://github.com/ruby/ruby/pull/5338
2021-12-24[rubygems/rubygems] Do not use IO#flock on SolarisYusuke Endoh
`io.flock(File::LOCK_EX)` fails on Solaris when the io is opened as read-only. Due to this issue, `make install` of the ruby package failed on Solaris. https://github.com/rubygems/rubygems/commit/5905d17ab2
2021-12-24[ruby/reline] Fix test input_keys to handle "hankaku" characters correctly ↵Yusuke Endoh
on Windows The method "input_keys" in test/reline/helper.rb handles a single-byte and 8-bit charater as an input with the meta key. However, "test_halfwidth_kana_width_dakuten" in test/reline/test_key_actor_emacs.rb uses a string that contains "hankaku" characters. A "hankaku" character is not with the meta key, but it is a single-byte and 8-bit character on Windows-31J encoding, which confused "input_keys" method. This caused the following error. https://ci.appveyor.com/project/ruby/ruby/builds/41997092/job/ejm77qxgvnlpdwvg ``` 1) Failure: Reline::KeyActor::Emacs::Test#test_halfwidth_kana_width_dakuten [C:/projects/ruby/test/reline/test_key_actor_emacs.rb:2311]: <"\xB6\xDE\xB7\xDE\xB9\xDE\xBA\xDE" (#<Encoding:Windows-31J>)> expected but was <"\e^\e^\e^\e:\e^" (#<Encoding:Windows-31J>)> in <Terminal #<Encoding:Windows-31J>> . <8> expected but was <10>. Finished tests in 1045.472722s, 19.3922 tests/s, 2609.4320 assertions/s. ``` This change introduces "input_raw_keys" that does not convert a single-byte and 8-bit character to "with the meta key", and use it in the test in question. https://github.com/ruby/reline/commit/f6ae0e5d19
2021-12-24Update default gems list at 1a1550ba5d6f2f7631cb69a76e78f9 [ci skip]git
2021-12-24[ruby/csv] test: reduce size for stability on GitHub ActionsSutou Kouhei
https://github.com/ruby/csv/commit/68461aead5 Notes: Merged: https://github.com/ruby/ruby/pull/5336
2021-12-24[ruby/csv] Revert "parser: fix a keep bug that some texts may be dropped ↵Sutou Kouhei
unexpectedly" This reverts commit https://github.com/ruby/csv/commit/5c6523da0a61. This introduces another pbolem. We should try again later. https://github.com/ruby/csv/commit/43a1d6fff1 Notes: Merged: https://github.com/ruby/ruby/pull/5336
2021-12-24[ruby/csv] parser: use row separator explicitlySutou Kouhei
It will improve performance a bit. (But I haven't confirmed it yet...) https://github.com/ruby/csv/commit/06a65b0302 Notes: Merged: https://github.com/ruby/ruby/pull/5336
2021-12-24[ruby/csv] parser: fix a keep bug that some texts may be dropped unexpectedlySutou Kouhei
Ruby: [Bug #18245] [ruby-core:105587] Reported by Hassan Abdul Rehman. https://github.com/ruby/csv/commit/5c6523da0a Notes: Merged: https://github.com/ruby/ruby/pull/5336
2021-12-24[ruby/csv] Fix a bug that all of ARGF contents may not be consumedSutou Kouhei
GitHub: fix GH-228 Reported by Rafael Navaza. Thanks!!! https://github.com/ruby/csv/commit/81f595b6a1 Notes: Merged: https://github.com/ruby/ruby/pull/5336
2021-12-24[ruby/csv] Bump versionSutou Kouhei
https://github.com/ruby/csv/commit/e32b666731 Notes: Merged: https://github.com/ruby/ruby/pull/5336
2021-12-24[ruby/csv] Add handling for ambiguous parsing options ↵adamroyjones
(https://github.com/ruby/csv/pull/226) GitHub: fix GH-225 With Ruby 3.0.2 and csv 3.2.1, the file ```ruby require "csv" File.open("example.tsv", "w") { |f| f.puts("foo\t\tbar") } CSV.read("example.tsv", col_sep: "\t", strip: true) ``` produces the error ``` lib/csv/parser.rb:935:in `parse_quotable_robust': TODO: Meaningful message in line 1. (CSV::MalformedCSVError) ``` However, the CSV in this example is not malformed; instead, ambiguous options were provided to the parser. It is not obvious (to me) whether the string should be parsed as - `["foo\t\tbar"]`, - `["foo", "bar"]`, - `["foo", "", "bar"]`, or - `["foo", nil, "bar"]`. This commit adds code that raises an exception when this situation is encountered. Specifically, it checks if the column separator either ends with or starts with the characters that would be stripped away. This commit also adds unit tests and updates the documentation. https://github.com/ruby/csv/commit/cc317dd42d Notes: Merged: https://github.com/ruby/ruby/pull/5336
2021-12-24[ruby/csv] Fix typos [ci skip] (https://github.com/ruby/csv/pull/224)Nobuyoshi Nakada
https://github.com/ruby/csv/commit/27c0b66c8f Notes: Merged: https://github.com/ruby/ruby/pull/5336
2021-12-24sync_default_gems.rb: Expand GH-xxxx style GitHub links [ci skip]Nobuyoshi Nakada
2021-12-24sync_default_gems.rb: GitHub links at word boundary only [ci skip]Nobuyoshi Nakada
2021-12-24[ruby/reline] Determine 1st char or 2nd char of surrogate pair correctlyaycabta
https://github.com/ruby/reline/commit/182606c847
2021-12-24@@cv is not accessible from non-main ractorsKoichi Sasada
Class variables (@@cv) is not accessible from non-main ractors. But without this patch cached @@cv can be read. fix [Bug #18128] Notes: Merged: https://github.com/ruby/ruby/pull/5335
2021-12-24Update default gems list at b0ad6cb371747a04eb12580e74c731 [ci skip]git