summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2024-05-08[ruby/reline] Implement bracketed paste inserttomoya ishida
(https://github.com/ruby/reline/pull/655) https://github.com/ruby/reline/commit/e92dcbf514
2024-05-08[PRISM] Enable more passing testsKevin Newton
2024-05-08[PRISM] Use correct warning encodingKevin Newton
2024-05-08[Bug #20474] Keep spaces in leading blank lineNobuyoshi Nakada
2024-05-08[ruby/openssl] Add to_text for PKCS7 and Timestamp::ResponseSamuel Giddins
https://github.com/ruby/openssl/commit/71cd1e3f5c
2024-05-07[PRISM] Enable test_methoddef_endless_commandKevin Newton
2024-05-07[PRISM] Enable more passing testsKevin Newton
2024-05-07[ruby/prism] Extend error message for unterminated HEREDOCKevin Newton
https://github.com/ruby/prism/commit/c1b07ec11b
2024-05-07[ruby/prism] shareable_constant_value line warningsKevin Newton
https://github.com/ruby/prism/commit/8c984b6922
2024-05-07[rubygems/rubygems] Accept WASI as an OS name in Gem::PlatformYuta Saito
https://github.com/rubygems/rubygems/commit/1209d3c6b0
2024-05-06[PRISM] Support for compiling ractor constant path writesKevin Newton
2024-05-06[rubygems/rubygems] Remove more unnecessary compatibility codeDavid Rodriguez
https://github.com/rubygems/rubygems/commit/00d91f141b
2024-05-06[PRISM] Enable test_unexpected_fractionKevin Newton
2024-05-06[PRISM] Enable passing forwarding parameter testsKevin Newton
2024-05-06[PRISM] Enable passing test_brace_after_literal_argument testKevin Newton
2024-05-05[ruby/irb] Clarify that the context is IRB contextStan Lo
(https://github.com/ruby/irb/pull/950) https://github.com/ruby/irb/commit/8cde57f55a
2024-05-05[ruby/openssl] read: don't clear buffer when nothing can be readJean Boussier
To be consistent with regular Ruby IOs: ```ruby r, _ = IO.pipe buf = "garbage".b r.read_nonblock(10, buf, exception: false) # => :wait_readable p buf # => "garbage" ``` Ref: https://github.com/redis-rb/redis-client/commit/98b8944460a11f8508217bda71cfc10cb2190d4d https://github.com/ruby/openssl/commit/08452993d6
2024-05-05[ruby/reline] Add name defined in readline to completion keytomoya ishida
bindings C-i C-p C-n (https://github.com/ruby/reline/pull/698) https://github.com/ruby/reline/commit/1314787bbb
2024-05-04[ruby/irb] Improve help message for no meta commandsStan Lo
(https://github.com/ruby/irb/pull/948) * Remove unnecessary code from command tests * Improve help message for no meta commands 1. Add placeholder values for both command category and description 2. Update help command's output to give different types of categories more explicit ordering https://github.com/ruby/irb/commit/b1ef58aeff
2024-05-04[ruby/irb] Use flag instead of caller for `debug`'s binding.irbStan Lo
check (https://github.com/ruby/irb/pull/947) https://github.com/ruby/irb/commit/4a4d7a4279
2024-05-03[ruby/irb] Avoid raising errors while running help for customKenichi Kamiya
commands (https://github.com/ruby/irb/pull/944) * Avoid raising errors while running help for custom commands Raising an error from the help command is not a pleasure for the end user, even if the command does not define any attributes * Update test/irb/command/test_custom_command.rb --------- https://github.com/ruby/irb/commit/c8bba9f8dc Co-authored-by: Stan Lo <stan001212@gmail.com>
2024-05-03[ruby/irb] Fix typos in test/irb/command/test_custom_command.rbKenichi Kamiya
(https://github.com/ruby/irb/pull/945) https://github.com/ruby/irb/commit/f2b5fc192f
2024-05-03[ruby/prism] Prism::Location#adjoinKevin Newton
https://github.com/ruby/prism/commit/a298db68e3
2024-05-03[ruby/prism] Prism::Node#tunnelKevin Newton
https://github.com/ruby/prism/commit/0bf5d651da
2024-05-03[PRISM] Disallow &. in MLHSKevin Newton
2024-05-03[PRISM] Enable passing test for **nilKevin Newton
2024-05-03[PRISM] Enable RubyVM tests for prismKevin Newton
2024-05-03[PRISM] Enable passing tests for index expressionsKevin Newton
2024-05-03[ruby/prism] Disallow keywords and blocks in index expressionsKevin Newton
https://github.com/ruby/prism/commit/e950dc1e83
2024-05-04Adjust indent [ci skip]Nobuyoshi Nakada
2024-05-03[rubygems/rubygems] Remove `Gem::Specification#mark_version`David Rodriguez
This gets in the middle if we ever start allowing to build as if using a different RubyGems version than the one being run. This could be useful to make `gem rebuild` a little more usable, and it's already done by Bundler specs which already make this method a noop when they need this. I'm not sure forcefully setting this, even if user explicitly specified something else is helpful. Since this could potentially prevent gems explicitly setting a constant RubyGems version from building, I changed the error of incorrect RubyGems version from a hard error to a warning, since it will start happening in those cases if we stop overwriting the version. https://github.com/rubygems/rubygems/commit/45676af80d
2024-05-03[ruby/prism] Change ConstantPathNode#child to ConstantPathNode#{name,name_loc}Kevin Newton
This has been requested for a long time, and I'm finally doing it now. Unfortunately this is a breaking change for all of the APIs. I've added in a Ruby method for `#child` that is deprecated so that existing usage doesn't break, but for everyone else this is going to be a bit of a pain. https://github.com/ruby/prism/commit/9cbe74464e
2024-05-03[rubygems/rubygems] Rename credential email to identifier in WebAuthn pollerJenny Shen
https://github.com/rubygems/rubygems/commit/5e3e55f8bc
2024-05-03Test for win32/registry.rbNobuyoshi Nakada
2024-05-02Mark the first string element of a regexp as binary if US-ASCIIKevin Newton
2024-05-02[PRISM] Disallow redundant returns from being line eventsKevin Newton
2024-05-02Sync IRB 241e061Stan Lo
2024-05-02[PRISM] Enable newline testKevin Newton
2024-05-02[ruby/reline] Fix default and additional key bindings vanish bugtomoya ishida
(https://github.com/ruby/reline/pull/697) https://github.com/ruby/reline/commit/fc9b4d2274
2024-05-02[PRISM] Enable test_ast.rbKevin Newton
2024-05-02[ruby/openssl] pkcs7: raise PKCS7Error for PKCS7 without content in ↵Jeremy Evans
PKCS7.read_smime [pkuzco: expanded the fix for other content types] [ky: adjusted formatting and the exception type] https://github.com/ruby/openssl/commit/07eceb7f63 Co-authored-by: pkuzco <b.naamneh@gmail.com> Co-authored-by: Kazuki Yamaguchi <k@rhe.jp>
2024-05-02[ruby/openssl] pkcs7: raise ArgumentError for PKCS7 with no content in PKCS7.newJeremy Evans
Fixes [Bug #19974] [pkuzco: expanded the fix for other content types] [ky: adjusted formatting and the exception type] https://github.com/ruby/openssl/commit/27e11f2d1d Co-authored-by: pkuzco <b.naamneh@gmail.com> Co-authored-by: Kazuki Yamaguchi <k@rhe.jp>
2024-05-02[ruby/openssl] cipher: fix buffer overflow in Cipher#updateKazuki Yamaguchi
OpenSSL::Cipher#update currently allocates the output buffer with size (input data length)+(the block size of the cipher). This is insufficient for the id-aes{128,192,256}-wrap-pad (AES keywrap with padding) ciphers. They have a block size of 8 bytes, but the output may be up to 15 bytes larger than the input. Use (input data length)+EVP_MAX_BLOCK_LENGTH (== 32) as the output buffer size, instead. OpenSSL doesn't provide a generic way to tell the maximum required buffer size for ciphers, but this is large enough for all algorithms implemented in current versions of OpenSSL. Fixes: https://bugs.ruby-lang.org/issues/20236 https://github.com/ruby/openssl/commit/3035559f54
2024-05-02[ruby/reline] Fix prompt width calculation bug. Test with coloredtomoya ishida
prompt (https://github.com/ruby/reline/pull/695) https://github.com/ruby/reline/commit/24aab01cbc
2024-05-01[PRISM] Fix up error message expectationsKevin Newton
2024-05-01[PRISM] Respect frozen_string_literal option in ↵Kevin Newton
RubyVM::InstructionSequence.compile
2024-05-01[PRISM] Enable passing tests in test_syntax.rbKevin Newton
2024-05-01[PRISM] Error message for unterminated heredoc identifierKevin Newton
2024-05-01[PRISM] Fix unterminated regular expression error messageKevin Newton
2024-05-01[PRISM] Better error messages for unwriteable targetsKevin Newton