summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2019-06-25Fix IO#scanf on pipes on WindowsJeremy Evans
IO.seek on a pipe on Windows raises Errno::EINVAL instead of Errno::ESPIPE. Fixes Ruby Bug #15199
2019-06-25Require version file relativelyDavid Rodríguez
2019-06-25Bump version to 1.2.0.SHIBATA Hiroshi
2019-06-25Refactor calculation of corresponding token depthaycabta
2019-06-24Adds WebAssembly MIME typeRob
2019-06-24Remove extraneous spaces at the end of status lineNobuyoshi Nakada
Remove extraneous spaces after the status code that is non-compliant with RFC, i.e `HTTP 200 OK `, to unnecessary confusion for WEBrick users, by a risk that WEBrick instances in the wild will have server responses flagged as suspicious or malicious due to a similar bug in [Cobalt Strike misconfiguration]. Reported by Matt Tennis <mtennis@paloaltonetworks.com> [Cobalt Strike misconfiguration]: https://blog.fox-it.com/2019/02/26/identifying-cobalt-strike-team-servers-in-the-wild/
2019-06-22Treat closing token with starting token at head of 2nd line correctlyaycabta
v = if true # starting token at head of 2nd line 3 end # closing token
2019-06-22Do auto indent only when closing token at first of lineaycabta
if true 3; end # this isn't auto-indented
2019-06-21Constified unusable charsNobuyoshi Nakada
2019-06-21Support irregular auto indentaycabta
v = if true 3 end # this "end" is auto-indented correctly
2019-06-21Fix small typo on block_scanf example [ci-skip]Espartaco Palma
Closes: https://github.com/ruby/ruby/pull/2247
2019-06-20Avoid verbose warning when using Net::POP3 with SSLJeremy Evans
Patch from Jos Kamphorst. Fixes [Bug #14822]
2019-06-20Revert "Removed needless file with the upstream repository."Hiroshi SHIBATA
This reverts commit 5bbfca7b1d4be89d4728203b4610de17bccbefd7.
2019-06-20Removed needless file with the upstream repository.Hiroshi SHIBATA
2019-06-20Added gemspec of racc generated from upstream for the default gems.Hiroshi SHIBATA
1.4.16.pre.1 is the teemporary version. It may be changed 1.5.0 or others.
2019-06-20Disable auto indent when move cursor up or downaycabta
This commit suppresses a strange behavior below: if true 1[cursor] end and press down key if true 1 end
2019-06-19* remove trailing spaces, append newline at EOF.git
2019-06-19Use Test::Unit instead of Minitest and fixed test error with ruby repo.Hiroshi SHIBATA
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2019-06-19Backport racc-1.4.15 from upstream.Hiroshi SHIBATA
2019-06-19Use IRB.conf[:AUTO_INDENT] setting in multiline modeaycabta
2019-06-19Avoid auto indent in prompt when dynamic auto indentaycabta
2019-06-18Fix auto indent crash when blank inputaycabta
2019-06-18Print starting debug message with RELINE_STDERR_TTYaycabta
2019-06-18Implement auto indent for multilineaycabta
2019-06-16Implement line_no correctlyaycabta
2019-06-14irb.rb: [DOC] the default prompt includes :PROMPT_N [ci skip]Nobuyoshi Nakada
2019-06-14Remove debug printaycabta
2019-06-14Set allow_escape_code for promptaycabta
2019-06-14Use Reline.prompt_proc in IRBaycabta
2019-06-14Add Reline.prompt_procaycabta
2019-06-13make sync-default-gems GEM=irbTakashi Kokubun
Upgrade IRB to https://github.com/ruby/irb/commit/41ea43a4a732e094acfa1b0fc1473fdcda9e6227 Mostly backport changes.
2019-06-12Ripper::Lexer: fallback parse error token to the previous oneNobuyoshi Nakada
2019-06-12Treat "begin rescue end" correctlyaycabta
2019-06-10irb/cmd/help.rb: return nil after the redefinitionNobuyoshi Nakada
2019-06-10irb: defer requiring rdoc to improve the start up timeNobuyoshi Nakada
2019-06-09Revert to change for filelist of bundler gemspec.Hiroshi SHIBATA
2019-06-09Merge bundler master from upstream.Hiroshi SHIBATA
Pick from 8dd59e3ba97eb80a599f8149f31bf40773b69dc0
2019-06-08Make Resolv::DNS#each_name accept Resolv::IPv{4,6} argumentsJeremy Evans
These arguments were previously documented as supported, but not actually supported. Patch from Toru Iwase Fixes [Bug #15900]
2019-06-08Fix broken `gem unpack`Nobuyoshi Nakada
* lib/rubygems/commands/unpack_command.rb: 'rubygems/package' is required here, to fix broken `gem unpack` command.
2019-06-08Revert "require rubygems/package where used"Hiroshi SHIBATA
This reverts commit b76630f73e8362d3072bfa7178471ddc5d21c235. It fails with `make test-bundler BUNDLER_SPECS=runtime/setup_spec.rb:1204`
2019-06-07require rubygems/package where usedNobuyoshi Nakada
* lib/rubygems/commands/unpack_command.rb: 'rubygems/package' is required. fix the failure of `gem unpack` command. * lib/rubygems/source/local.rb: ditto. * lib/rubygems/source/specific_file.rb: ditto.
2019-06-07ripper_state_lex.rb: chomp CRNobuyoshi Nakada
* lib/rdoc/parser/ripper_state_lex.rb (RDoc::Parser::RipperStateLex): chomp newline, including CR, from here document terminator. Closes: ruby/rdoc#694 Closes: ruby/rdoc#697 Closes: ruby/rdoc#705
2019-06-06Revert "Stop `circular require` warning"Kazuhiro NISHIYAMA
This reverts commit c2a9c350249588677cf68b506539093504927eac. It cannot stop `circular require` warning.
2019-06-06Stop `circular require` warningKazuhiro NISHIYAMA
2019-06-06lib/rubygems.rb: Stop "Leaked file descriptor" warningYusuke Endoh
Bundler.setup changes Gem::DefaultUserInteraction.ui and does not close it. This change makes sure that it is closed.
2019-06-06Skip transpose-words if less than 2 wordaycabta
2019-06-05Move I/O access from Reline::KeyStroke to Relineaycabta
2019-06-04Add some documentation to Timeout#timeout about possible issuesJeremy Evans
Documentation requested in [Bug #15886].
2019-06-04Add aliases for commands for changing text macroaycabta
2019-06-04Implement transpose-wordsaycabta