aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* [ruby/reline] Windows cmd: Don't type anything when pressing ALT keys aloneLars Kanis2021-07-301-3/+0
| | | | | | Fixes #298 https://github.com/ruby/reline/commit/72acfcd27a
* [ruby/reline] Add TODO comment to implement tigetflag() and tigetnum()aycabta2021-07-301-0/+1
| | | | https://github.com/ruby/reline/commit/a0d946a398
* [ruby/reline] Add require 'reline/terminfo' to use Reline::Terminfo.enabled?aycabta2021-07-301-0/+1
| | | | https://github.com/ruby/reline/commit/7ef9805b35
* Update the latest version of readline.gemspecHiroshi SHIBATA2021-07-291-2/+0
|
* [ruby/net-http] Enforce write timeout when body_stream is usedMiguel Teixeira2021-07-291-3/+1
| | | | | | | | | | | | | The existing implementation of `Net::HTTP#write_timeout` relies on `Net::BefferedIO` to trigger the `Net::WriteTimeout` error. This commit changes `send_request_with_body_stream` to remove the optimization that was making `Net::HTTP#write_timeout` not work when `body_stream` is used. Open issue: https://bugs.ruby-lang.org/issues/17933 https://github.com/ruby/net-http/commit/a0fab1ab52
* [ruby/set] Improve What's Here linksBurdetteLamar2021-07-291-2/+2
| | | | https://github.com/ruby/set/commit/76b056c3b9
* [ruby/set] Improve What's Here linksBurdetteLamar2021-07-291-3/+5
| | | | https://github.com/ruby/set/commit/dd787a3988
* [ruby/set] gemspec: This gem exposes 0 executablesOlle Jonsson2021-07-291-2/+0
| | | | | | This change removes unused configuration. https://github.com/ruby/set/commit/6c2338d699
* [ruby/set] Update documentation for intersect?/disjoint?Jeremy Evans2021-07-291-3/+7
| | | | https://github.com/ruby/set/commit/35b69e9d69
* [ruby/set] Allow the use of any enumerable in intersect?/disjoint?Jeremy Evans2021-07-291-9/+8
| | | | https://github.com/ruby/set/commit/1a73ab9047
* [ruby/set] Allow Set#intersect? and #disjoint? to accept array argumentJeremy Evans2021-07-291-1/+8
| | | | | | Implements [Feature #17838] https://github.com/ruby/set/commit/d9b389bafa
* [ruby/optparse] More on tutorial (https://github.com/ruby/optparse/pull/23)Burdette Lamar2021-07-281-2/+8
| | | | | | | | - Removed a largish block of repeated text. - Added sections "Top List and Base List" and "Methods for Defining Options" (on, define, etc.). - Linked from class OptionParser doc to the tutorial. https://github.com/ruby/optparse/commit/7f3195b9db
* [ruby/optparse] nodoc private methodsNobuyoshi Nakada2021-07-281-7/+7
| | | | https://github.com/ruby/optparse/commit/f23d750d14
* Update to latest uriBenoit Daloze2021-07-281-2/+2
| | | | | * https://github.com/ruby/uri/commit/bc47bf71df2b2e9cea09d0b2684ceac7355e42a0 * To include the fix from https://github.com/ruby/uri/pull/27
* [ruby/readline] Improve the gem's descriptionMarcus Stollsteimer2021-07-281-11/+11
| | | | | | | Improve the language in the gem's summary and description; also remove U+00A0 (no-break space) characters from post-install box. https://github.com/ruby/readline/commit/5037cf7ffc
* [ruby/resolv-replace] gemspec: Drop executables directiveOlle Jonsson2021-07-281-2/+0
| | | | | | This gem exposes no executables. https://github.com/ruby/resolv-replace/commit/fa405185f7
* [ruby/resolv] Bump version to 0.2.1Hiroshi SHIBATA2021-07-281-1/+1
| | | | https://github.com/ruby/resolv/commit/095f1c003f
* [ruby/getoptlong] RDoc: escape to avoid links to the word SetOlle Jonsson2021-07-281-5/+5
| | | | | | We would like to avoid linking to the Set class for these words. https://github.com/ruby/getoptlong/commit/33b56d6141
* [ruby/getoptlong] gemspec: Drop executables directivesOlle Jonsson2021-07-281-2/+0
| | | | | | This gem exposes 0 executables. https://github.com/ruby/getoptlong/commit/4522163cbd
* [ruby/find] Add Errno::EINVAL to list of ignored errorsJeremy Evans2021-07-271-2/+2
| | | | | | | | | This error can occur on Windows for certain filenames on certain code pages. Fixes [Bug #14591] https://github.com/ruby/find/commit/0a474d1027
* Remove probably unintented symlinksNobuyoshi Nakada2021-07-271-1/+0
|
* Deal with Unicode ranges in the file emoji-sequences.txtMartin Dürst2021-07-271-0/+1
| | | | | Detect Unicode ranges and loop over them. This fixes issue #18028.
* Fix test failure for parallel testingHiroshi SHIBATA2021-07-272-6/+4
|
* Added missing require for URI::WS classHiroshi SHIBATA2021-07-271-0/+1
|
* [ruby/uri] Add proper Ractor support to URIBenoit Daloze2021-07-2711-18/+40
| | | | | | | * Using a module to map scheme name to scheme class, which also works with Ractor. * No constant redefinition, no ObjectSpace, still fast lookup for initial schemes. https://github.com/ruby/uri/commit/883567fd81
* [ruby/uri] Revert "Fix to support Ruby 3.0 Ractor"Benoit Daloze2021-07-2711-26/+24
| | | | | | | * This reverts commit 1faa4fdc161d7aeebdb5de0c407b923beaecf898. * It has too many problems, see https://github.com/ruby/uri/pull/22 for discussion. https://github.com/ruby/uri/commit/b959da2dc9
* [ruby/uri] Fix to support Ruby 3.0 Ractorkvokka2021-07-2711-24/+26
| | | | https://github.com/ruby/uri/commit/1faa4fdc16
* [rubygems/rubygems] Remove the warning for not defining a gem server sourceDaniel Niknam2021-07-272-12/+1
| | | | | | | | Bundler has deprecated gemfiles without a global source and this feature is now obsolete. `Bundler::Definition#has_rubygems_remotes?` is removed because it's not used anymore. https://github.com/rubygems/rubygems/commit/d29dd2cb7b
* [rubygems/rubygems] Refactor Bundler::Dsl#check_rubygems_source_safety to ↵Daniel Niknam2021-07-271-5/+11
| | | | | | | | | | | | | | | | | improve readability `check_rubygems_source_safety` is responsible for: 1. if there are multiple global sources - for bundle 3.x raise an error - for bundle 2.x print a warning 2. print a warning if there is no explicit global source The second responsibility was added recently and now the logic could be extracted to improve readability. Conditions are still live in the `check_rubygems_source_safety` method since we don't want to call both functions always and that would help us achieve that. https://github.com/rubygems/rubygems/commit/f3d7e946ee
* [rubygems/rubygems] Deprecate Gemfile without an explicit global sourceDaniel Niknam2021-07-271-0/+7
| | | | | | Raise a warning when parsing a Gemfile and it doesn't have a global source. Gemfiles like this, specially now that rubygems sources are are no longer merged into a single source for security, are very confusing because they generate a different lockfile depending on the gems you have locally installed. This is because bundler always use an implicit global source that defaults to locally installed gems. https://github.com/rubygems/rubygems/commit/b7523ad21c
* [rubygems/rubygems] Implement Bundler::SourceList#implicit_global_source?Daniel Niknam2021-07-271-0/+4
| | | | | | This method is created to tell whether any global source exist in the object or not and it will be used by `Bundler:Dsl` to print a warning if no global source has been defined in the Gemfile. https://github.com/rubygems/rubygems/commit/422fec4438
* [rubygems/rubygems] Implement Bundler::Source::Rubygems#no_remotes?Daniel Niknam2021-07-271-0/+4
| | | | | | This method is created to tell whether any remote exist in the object or not and it will be used by `Bundler:SourceList` to tell if a global source has been defined implicitly or not. https://github.com/rubygems/rubygems/commit/47e3ff0e47
* [rubygems/rubygems] Lazily load shellwordsDavid Rodríguez2021-07-274-7/+8
| | | | https://github.com/rubygems/rubygems/commit/ef6388656a
* [rubygems/rubygems] Rubygems doesn't need to load the `base64` libraryDavid Rodríguez2021-07-271-1/+0
| | | | https://github.com/rubygems/rubygems/commit/fe723c0f7f
* [rubygems/rubygems] Rubygems doesn't need to load the `resolv` libraryDavid Rodríguez2021-07-271-1/+0
| | | | https://github.com/rubygems/rubygems/commit/8bf41f53cc
* [rubygems/rubygems] Lazily load `shellwords` libraryDavid Rodríguez2021-07-273-4/+3
| | | | https://github.com/rubygems/rubygems/commit/e5532ef886
* [rubygems/rubygems] The `--quiet` should still display warningsDavid Rodríguez2021-07-274-4/+4
| | | | | | | | | | | | | | | | | | The is the previous intentional behaviour until https://github.com/rubygems/bundler/commit/ca0676cb1c638e0b9747ea8c18f28adf82cc01de. In my opinion, that previous behaviour was better and should be restored, because we want our users to always see warnings and fix them. And the original issue that motivated the change is fixable by other means, namely through `BUNDLE_SILENCE_ROOT_WARNING`, or through `BUNDLE_SILENCE_DEPRECATIONS` in general. Finally, the --quiet option is still documented as "only print errors and warnings". So this PR essentially reverts https://github.com/rubygems/bundler/commit/ca0676cb1c638e0b9747ea8c18f28adf82cc01de for the above reasons. https://github.com/rubygems/rubygems/commit/35f2254dfc
* [rubygems/rubygems] Check requirements classesNobuyoshi Nakada2021-07-271-0/+2
| | | | | | | Mitigate the security risk: https://devcraft.io/2021/01/07/universal-deserialisation-gadget-for-ruby-2-x-3-x.html https://github.com/rubygems/rubygems/commit/141c2f4388
* [rubygems/rubygems] Remove all `syck` traces from `rubygems`David Rodríguez2021-07-275-117/+1
| | | | | | | | | | | | | | | | | | | After reading [this blog post](https://blog.rubygems.org/2011/08/31/shaving-the-yaml-yak.html), published almost 10 years ago already, my understanding is that this problem could come up in two ways: * Rubygems.org serving corrupted gemspecs". As far as I understand this was fixed in rubygems.org a lot time ago, since https://github.com/rubygems/rubygems.org/pull/331. * Clients having a ten years old gemspec cache with some of these bad gemspecs. In this case, there's no easy solution but I think ten years is enough and rebuilding the cache should do the trick. So, I think it's time we remove this. https://github.com/rubygems/rubygems/commit/afcb15d556
* [rubygems/rubygems] Remove `gem install` hint when installing a gem failsDavid Rodríguez2021-07-271-13/+1
| | | | | | | | | | | A fresh `gem install` might not reproduce the exact `bundle install` environment that originally caused the error. It also makes it harder for the user to troubleshoot the error since she needs to run a separate command. Instead, show the original error and backtrace directly. https://github.com/rubygems/rubygems/commit/49c2abfec6
* [rubygems/rubygems] Show a backtrace in case gem installation failsDavid Rodríguez2021-07-271-1/+1
| | | | | | For example, due to extension compilation issues. https://github.com/rubygems/rubygems/commit/adbe55bb6a
* [rubygems/rubygems] Fix bundler binstub version selectionDavid Rodríguez2021-07-271-6/+6
| | | | | | | | To mimic built-in rubygems behaviour, only thing that should be approximated is the lockfile version. Other alternatives like `BUNDLER_VERSION` should be respected exactly. https://github.com/rubygems/rubygems/commit/dbd667d4bc
* [rubygems/rubygems] Remove LoadError message in regards to requiring a ↵Daniel Niknam2021-07-271-4/+0
| | | | | | | | | | | | | | relative file Ruby 1.9.2 removed "." from LOAD_PATH for robustness and security reasons. This code was introduced by https://github.com/rubygems/rubygems/commit/56fc830e19a573a5905eba7f4714ad1f21ed1927 commit to helping users understand the issue and had a guard condition to include the message for `RUBY_VERSION >= "1.9"`. However, the guard condition was removed as part of the "Ruby version leftover" cleanup by https://github.com/rubygems/rubygems/commit/8c9cf76e419fbd8ba83144d701b24ca388813b14 Ruby 1.9 development was ended a long time ago and this message is not useful anymore. https://github.com/rubygems/rubygems/commit/a23609b15a
* [rubygems/rubygems] Fix interrupt handling in Bundler workersAndrew Haines2021-07-272-9/+17
| | | | | | | | | | | | The existing interrupt handling using `SharedHelpers.trap` fails when the previous handler for a signal is not callable (for example, when it is the string "DEFAULT"). Instead, we now handle interrupts by aborting the process when worker threads are running, and restore the previous handler after worker threads are finished. Fixes #4764. https://github.com/rubygems/rubygems/commit/b9f455d487
* [ruby/irb] Fix #256manga_osyo2021-07-231-1/+1
| | | | | | Support int that follow on symbeg in IRB https://github.com/ruby/irb/commit/90cb27b1bd
* [ruby/irb] Support non-English code page messageaycabta2021-07-201-1/+1
| | | | https://github.com/ruby/irb/commit/e7d71fea46
* [ruby/racc] Removed pre-setup from gemspecHiroshi SHIBATA2021-07-191-1/+1
| | | | https://github.com/ruby/racc/commit/2f6f02e5c1
* [ruby/racc] Removed needless files from gemspecHiroshi SHIBATA2021-07-191-7/+3
| | | | https://github.com/ruby/racc/commit/d044ae883f
* [ruby/racc] Move document from library directoryHiroshi SHIBATA2021-07-192-220/+2
| | | | https://github.com/ruby/racc/commit/2e8d7d286d
* [ruby/racc] Removed generate code from parser.rb. It's already migrated by ↵Hiroshi SHIBATA2021-07-191-13/+0
| | | | | | rake task https://github.com/ruby/racc/commit/ec7d01980a