aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Promote debug.rb to default gems.Hiroshi SHIBATA2020-10-301-0/+22
| | | | It have no upstream repo yet. This change is experimental for 3.0.0-preview2.
* Separate `send` into `public_send` and `__send__`Nobuyoshi Nakada2020-10-2722-42/+43
|
* Fix small typo in comment in lib/irb.cAndrew Kerr2020-10-221-1/+1
|
* Merge bundler-2.2.0.rc.2Hiroshi SHIBATA2020-10-1580-230/+358
|
* Merge rubygems-3.2.0.rc.2Hiroshi SHIBATA2020-10-154-15/+16
|
* Promote drb to the default gemsHiroshi SHIBATA2020-10-142-0/+33
|
* Promote prettyprint to default gemsHiroshi SHIBATA2020-10-081-0/+22
|
* Promote pp to default gemsHiroshi SHIBATA2020-10-081-0/+22
|
* Make `marshal_load` publicAaron Patterson2020-10-061-0/+1
| | | | Ruby specs expected this method to be public
* [lib/ostruct] Fix Marshal loadingMarc-Andre Lafortune2020-10-061-4/+1
|
* Add missing fileutils requireDavid Rodríguez2020-10-061-1/+4
| | | | | 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.
* [ruby/tempfile] Improve the documentation for Tempfile.create and recommend ↵Benoit Daloze2020-10-051-15/+34
| | | | | | Tempfile.open instead https://github.com/ruby/tempfile/commit/8bac025065
* [ruby/ostruct] Tweak docMarc-Andre Lafortune2020-09-301-9/+9
|
* [ruby/ostruct] Remove unused conditionMarc-Andre Lafortune2020-09-301-2/+0
|
* [ruby/ostruct] Improved YAML serialization.Marc-Andre Lafortune2020-09-301-0/+27
| | | | Patch adapted from Pietro Monteiro [Fixes bug#8382]
* [ruby/ostruct] Add test that frozen OpenStructs are Ractor-shareableMarc-Andre Lafortune2020-09-301-0/+2
|
* [ruby/ostruct] Protect subclass' methods and our bang methods.Marc-Andre Lafortune2020-09-301-17/+33
| | | | Internally, use only bang methods
* [ruby/ostruct] Avoid calling initializeMarc-Andre Lafortune2020-09-301-5/+11
|
* Reference process PID using the Process#pidMaciej Mensfeld2020-09-291-1/+1
| | | This change will allow formatter to run from Ractors other than main.
* [ruby/webrick] Make it more strict to interpret some headersYusuke Endoh2020-09-291-3/+3
| | | | | | Some regexps were too tolerant. https://github.com/ruby/webrick/commit/8946bb38b4
* [ruby/racc] Turn debugging offMarc-Andre Lafortune2020-09-282-2/+2
| | | | https://github.com/ruby/racc/commit/872f75cfa7
* [Fixes #137] Improve reportingMarc-Andre Lafortune2020-09-281-16/+18
|
* [rubygems/rubygems] Move comment below shebang in bin/console templateSteven Peckins2020-09-281-2/+1
| | | | | | | | | | 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
* [rubygems/rubygems] Fix ls-files matching regexpNobuyoshi Nakada2020-09-281-2/+2
| | | | | | | | 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
* [rubygems/rubygems] Add writable check for cache dirxndcn2020-09-281-2/+3
| | | | | | Sometimes "install_dir/cache" directory is not writable although "install_dir" is writable. https://github.com/rubygems/rubygems/commit/665221cb69
* [rubygems/rubygems] Avoid duplicated generation of APISpecification objectsYusuke Endoh2020-09-281-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* [rubygems/rubygems] Eval defaults with frozen_string_literal: trueJean Boussier2020-09-281-0/+2
| | | | https://github.com/rubygems/rubygems/commit/d498ae3d62
* [rubygems/rubygems] Remove last remaining line of output from `gem update ↵Ellen Marie Dash2020-09-281-1/+1
| | | | | | --system --silent` https://github.com/rubygems/rubygems/commit/038203aaf8
* [rubygems/rubygems] Add test for "gem update --system --silent"Ellen Marie Dash2020-09-281-2/+2
| | | | https://github.com/rubygems/rubygems/commit/c3fb0db930
* [rubygems/rubygems] Have "gem update --system" pass through the --silent flag.Ellen Marie Dash2020-09-281-0/+1
| | | | https://github.com/rubygems/rubygems/commit/5a1e56e892
* [rubygems/rubygems] Added Ruby version for oldest supported version of rubygemsHiroshi SHIBATA2020-09-281-0/+1
| | | | https://github.com/rubygems/rubygems/commit/dd87d70f51
* Disallow downgrades to too old versionsDavid Rodríguez2020-09-281-1/+16
| | | | | Consider the version original included with each ruby as the minimum supported version.
* [rubygems/rubygems] Add --dryrun to the deprecated options when showing the ↵bronzdoc2020-09-281-1/+1
| | | | | | help message https://github.com/rubygems/rubygems/commit/38230a77c1
* [rubygems/rubygems] We don't need shortucts for a deprecated flagbronzdoc2020-09-281-1/+1
| | | | https://github.com/rubygems/rubygems/commit/087a1f9720
* [rubygems/rubygems] Deprecate --dryrunbronzdoc2020-09-281-1/+7
| | | | https://github.com/rubygems/rubygems/commit/1715610648
* [rubygems/rubygems] Make --dry-run flag consistent across rubygems commandsbronzdoc2020-09-281-1/+1
| | | | https://github.com/rubygems/rubygems/commit/addc644cad
* Added `--platform` option to `build` commandNobuyoshi Nakada2020-09-282-0/+9
|
* Revert "[ruby/webrick] Allow empty POST and PUT requests without content length"Hiroshi SHIBATA2020-09-241-1/+1
| | | | | | This reverts commit ed12019ce6abe87aac87ec77ac081d37b25180a2. https://github.com/ruby/ruby/runs/1160423667?check_suite_focus=true#step:14:752
* [ruby/webrick] Allow shutdown_pipe to be passed in via @configJohn W Higgins2020-09-241-1/+1
| | | | https://github.com/ruby/webrick/commit/30152b4bf9
* [ruby/webrick] Allow empty POST and PUT requests without content lengthJeremy Evans2020-09-241-1/+1
| | | | | | | | RFC 7230 section 3.3.3 allows for this. Fixes #30 https://github.com/ruby/webrick/commit/069e9b1908
* [ruby/webrick] Ensure server port numbers are numeric and ensure they are ↵John W Higgins2020-09-241-0/+3
| | | | | | stored as integers https://github.com/ruby/webrick/commit/86ed621e11
* [ruby/webrick] Make readpartial limit chunk to appropriate sizeJohn W Higgins2020-09-241-3/+8
| | | | https://github.com/ruby/webrick/commit/e693f501bd
* Revert "Manually merged from https://github.com/rubygems/rubygems/pull/2636"Hiroshi SHIBATA2020-09-23139-366/+0
| | | | | 31a6eaabc165d8a222e176f2c809d90622d88ec2 is obsoleted with https://github.com/rubygems/rubygems/pull/3820
* bump Bundler's version to 2.2.0.rc.1Hiroshi SHIBATA2020-09-231-1/+1
|
* Manually merged from https://github.com/rubygems/rubygems/pull/2636Hiroshi SHIBATA2020-09-23139-0/+366
| | | | Enable Style/EmptyLinesAroundClassBody rubocop cop.
* [ruby/irb] Version 1.2.7aycabta2020-09-191-2/+2
| | | | https://github.com/ruby/irb/commit/0eaa06838b
* [ruby/irb] Drop OMIT_ON_ASSIGNMENT and add :truncate option for ↵aycabta2020-09-193-28/+16
| | | | | | ECHO_ON_ASSIGNMENT https://github.com/ruby/irb/commit/4c89b0775b
* [ruby/rdoc] Add man/ri.1 for distribution filesaycabta2020-09-181-0/+1
| | | | https://github.com/ruby/rdoc/commit/7cb5c3611f
* [ruby/rdoc] Fix spelling error in parser commentDorian Marié2020-09-181-1/+1
| | | | https://github.com/ruby/rdoc/commit/f237c9e223
* [ruby/rdoc] update all files if any file is newerNobuyoshi Nakada2020-09-182-17/+23
| | | | | | | | | 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