summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2020-10-15Merge bundler-2.2.0.rc.2Hiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/3659
2020-10-15Merge rubygems-3.2.0.rc.2Hiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/3660
2020-10-14Promote drb to the default gemsHiroshi SHIBATA
2020-10-08Promote prettyprint to default gemsHiroshi SHIBATA
2020-10-08Promote pp to default gemsHiroshi SHIBATA
2020-10-06Make `marshal_load` publicAaron Patterson
Ruby specs expected this method to be public
2020-10-06[lib/ostruct] Fix Marshal loadingMarc-Andre Lafortune
2020-10-06Add missing fileutils requireDavid Rodríguez
On my system, the error was being hidden by the presence of a YARD rubygems plugin that was providing the require and making things work.
2020-10-05[ruby/tempfile] Improve the documentation for Tempfile.create and recommend ↵Benoit Daloze
Tempfile.open instead https://github.com/ruby/tempfile/commit/8bac025065
2020-09-30[ruby/ostruct] Tweak docMarc-Andre Lafortune
Notes: Merged: https://github.com/ruby/ruby/pull/3593
2020-09-30[ruby/ostruct] Remove unused conditionMarc-Andre Lafortune
Notes: Merged: https://github.com/ruby/ruby/pull/3593
2020-09-30[ruby/ostruct] Improved YAML serialization.Marc-Andre Lafortune
Patch adapted from Pietro Monteiro [Fixes bug#8382] Notes: Merged: https://github.com/ruby/ruby/pull/3593
2020-09-30[ruby/ostruct] Add test that frozen OpenStructs are Ractor-shareableMarc-Andre Lafortune
Notes: Merged: https://github.com/ruby/ruby/pull/3593
2020-09-30[ruby/ostruct] Protect subclass' methods and our bang methods.Marc-Andre Lafortune
Internally, use only bang methods Notes: Merged: https://github.com/ruby/ruby/pull/3593
2020-09-30[ruby/ostruct] Avoid calling initializeMarc-Andre Lafortune
Notes: Merged: https://github.com/ruby/ruby/pull/3593
2020-09-29Reference process PID using the Process#pidMaciej Mensfeld
This change will allow formatter to run from Ractors other than main. Notes: Merged: https://github.com/ruby/ruby/pull/3600
2020-09-29[ruby/webrick] Make it more strict to interpret some headersYusuke Endoh
Some regexps were too tolerant. https://github.com/ruby/webrick/commit/8946bb38b4
2020-09-28[ruby/racc] Turn debugging offMarc-Andre Lafortune
https://github.com/ruby/racc/commit/872f75cfa7
2020-09-28[Fixes #137] Improve reportingMarc-Andre Lafortune
2020-09-28[rubygems/rubygems] Move comment below shebang in bin/console templateSteven Peckins
In an executable script, the shebang line should be the first line (the file needs to start with the bytes 0x23 0x21). Putting a comment above it will break the script. (Regression test included per @deivid-rodriguez) https://github.com/rubygems/rubygems/commit/962e669feb Notes: Merged: https://github.com/ruby/ruby/pull/3599
2020-09-28[rubygems/rubygems] Fix ls-files matching regexpNobuyoshi Nakada
As splitting by NUL means to allow the file names to contain newlines, path names should match at beginning-of-string instead of beginning-of-line. https://github.com/rubygems/rubygems/commit/8a81183236 Notes: Merged: https://github.com/ruby/ruby/pull/3599
2020-09-28[rubygems/rubygems] Add writable check for cache dirxndcn
Sometimes "install_dir/cache" directory is not writable although "install_dir" is writable. https://github.com/rubygems/rubygems/commit/665221cb69 Notes: Merged: https://github.com/ruby/ruby/pull/3599
2020-09-28[rubygems/rubygems] Avoid duplicated generation of APISpecification objectsYusuke Endoh
As far as I could see, `Gem::Resolver::APISpecification` objects are supposed to be immutable. If my guessing is correct, then we can cache and reuse its instances for performance. At least, `rake` passes on my machine. Before this change: ``` $ time ruby -I lib bin/gem install --no-doc aws-sdk Successfully installed aws-sdk-3.0.1 1 gem installed real 0m37.104s user 0m36.952s sys 0m0.333s ``` After this change: ``` $ time ruby -I lib bin/gem install --no-doc aws-sdk Successfully installed aws-sdk-3.0.1 1 gem installed real 0m23.905s user 0m23.740s sys 0m0.365s ``` https://github.com/rubygems/rubygems/commit/7e8fbba85c Notes: Merged: https://github.com/ruby/ruby/pull/3599
2020-09-28[rubygems/rubygems] Eval defaults with frozen_string_literal: trueJean Boussier
https://github.com/rubygems/rubygems/commit/d498ae3d62 Notes: Merged: https://github.com/ruby/ruby/pull/3599
2020-09-28[rubygems/rubygems] Remove last remaining line of output from `gem update ↵Ellen Marie Dash
--system --silent` https://github.com/rubygems/rubygems/commit/038203aaf8 Notes: Merged: https://github.com/ruby/ruby/pull/3599
2020-09-28[rubygems/rubygems] Add test for "gem update --system --silent"Ellen Marie Dash
https://github.com/rubygems/rubygems/commit/c3fb0db930 Notes: Merged: https://github.com/ruby/ruby/pull/3599
2020-09-28[rubygems/rubygems] Have "gem update --system" pass through the --silent flag.Ellen Marie Dash
https://github.com/rubygems/rubygems/commit/5a1e56e892 Notes: Merged: https://github.com/ruby/ruby/pull/3599
2020-09-28[rubygems/rubygems] Added Ruby version for oldest supported version of rubygemsHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/dd87d70f51 Notes: Merged: https://github.com/ruby/ruby/pull/3599
2020-09-28Disallow downgrades to too old versionsDavid Rodríguez
Consider the version original included with each ruby as the minimum supported version. Notes: Merged: https://github.com/ruby/ruby/pull/3599
2020-09-28[rubygems/rubygems] Add --dryrun to the deprecated options when showing the ↵bronzdoc
help message https://github.com/rubygems/rubygems/commit/38230a77c1 Notes: Merged: https://github.com/ruby/ruby/pull/3599
2020-09-28[rubygems/rubygems] We don't need shortucts for a deprecated flagbronzdoc
https://github.com/rubygems/rubygems/commit/087a1f9720 Notes: Merged: https://github.com/ruby/ruby/pull/3599
2020-09-28[rubygems/rubygems] Deprecate --dryrunbronzdoc
https://github.com/rubygems/rubygems/commit/1715610648 Notes: Merged: https://github.com/ruby/ruby/pull/3599
2020-09-28[rubygems/rubygems] Make --dry-run flag consistent across rubygems commandsbronzdoc
https://github.com/rubygems/rubygems/commit/addc644cad Notes: Merged: https://github.com/ruby/ruby/pull/3599
2020-09-28Added `--platform` option to `build` commandNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/3599
2020-09-24Revert "[ruby/webrick] Allow empty POST and PUT requests without content length"Hiroshi SHIBATA
This reverts commit ed12019ce6abe87aac87ec77ac081d37b25180a2. https://github.com/ruby/ruby/runs/1160423667?check_suite_focus=true#step:14:752
2020-09-24[ruby/webrick] Allow shutdown_pipe to be passed in via @configJohn W Higgins
https://github.com/ruby/webrick/commit/30152b4bf9
2020-09-24[ruby/webrick] Allow empty POST and PUT requests without content lengthJeremy Evans
RFC 7230 section 3.3.3 allows for this. Fixes #30 https://github.com/ruby/webrick/commit/069e9b1908
2020-09-24[ruby/webrick] Ensure server port numbers are numeric and ensure they are ↵John W Higgins
stored as integers https://github.com/ruby/webrick/commit/86ed621e11
2020-09-24[ruby/webrick] Make readpartial limit chunk to appropriate sizeJohn W Higgins
https://github.com/ruby/webrick/commit/e693f501bd
2020-09-23Revert "Manually merged from https://github.com/rubygems/rubygems/pull/2636"Hiroshi SHIBATA
31a6eaabc165d8a222e176f2c809d90622d88ec2 is obsoleted with https://github.com/rubygems/rubygems/pull/3820
2020-09-23bump Bundler's version to 2.2.0.rc.1Hiroshi SHIBATA
2020-09-23Manually merged from https://github.com/rubygems/rubygems/pull/2636Hiroshi SHIBATA
Enable Style/EmptyLinesAroundClassBody rubocop cop.
2020-09-19[ruby/irb] Version 1.2.7aycabta
https://github.com/ruby/irb/commit/0eaa06838b
2020-09-19[ruby/irb] Drop OMIT_ON_ASSIGNMENT and add :truncate option for ↵aycabta
ECHO_ON_ASSIGNMENT https://github.com/ruby/irb/commit/4c89b0775b
2020-09-18[ruby/rdoc] Add man/ri.1 for distribution filesaycabta
https://github.com/ruby/rdoc/commit/7cb5c3611f
2020-09-18[ruby/rdoc] Fix spelling error in parser commentDorian Marié
https://github.com/ruby/rdoc/commit/f237c9e223
2020-09-18[ruby/rdoc] update all files if any file is newerNobuyoshi Nakada
Cross references need parse all files which define the subject names. This commit makes `--force-update` option enforce to parse all files if any file is newer than the previous parse, not only updated files. https://github.com/ruby/rdoc/commit/13e9a44896
2020-09-18[ruby/rdoc] Support full filename to make a link for a text fileaycabta
https://github.com/ruby/rdoc/commit/41db49c485
2020-09-17Fix typos [ci skip]Kazuhiro NISHIYAMA
s/overriden/overridden/
2020-09-15[ruby/uri] Remove deprecated URI.escape/URI.unescapeJeremy Evans
https://github.com/ruby/uri/commit/61c6a47ebf