Nobuyoshi Nakada
3e7fb4b91d
Check the result of tigetstr
2021-08-06 13:34:25 +09:00
Nobuyoshi Nakada
9bfb8ea671
Fix caching of curses_dl
2021-08-06 13:33:47 +09:00
aycabta
7bcbee37b5
Fix the result of checking the existence of constants being reversed
2021-08-06 02:51:10 +09:00
aycabta
de93b8b069
Handle SIGINT in other thread correctly
...
Co-authored-by: Koichi Sasada <ko1@atdot.net>
2021-08-04 18:29:42 +09:00
aycabta
5bb7b57129
Use Symbol of signal for trap
2021-08-04 18:29:42 +09:00
Masataka Pocke Kuwabara
242f024bcb
[ruby/error_highlight] Keep it work if paren exists after receiver
...
https://github.com/ruby/error_highlight/commit/b79d679bbd
2021-07-31 22:15:16 +09:00
aycabta
1c9cb9da8f
[ruby/reline] Support Terminfo on Cygwin and macOS
...
https://github.com/ruby/reline/commit/b0b75fcd27
2021-07-30 02:27:02 +09:00
aycabta
f1b5cb7e5d
[ruby/reline] Don't check the existence of Terminfo on Windows
...
https://github.com/ruby/reline/commit/320f09055c
2021-07-30 02:27:02 +09:00
aycabta
b158b4666d
[ruby/reline] Check TYPE_VARIADIC
...
https://github.com/ruby/reline/commit/8e62e46e33
2021-07-30 02:27:02 +09:00
aycabta
0f496b9b29
[ruby/reline] Define StringWithTiparm instead of singular method
...
https://github.com/ruby/reline/commit/de234dc875
2021-07-30 02:27:02 +09:00
SilverPhoenix99
5b9f3ed326
[ruby/reline] Fixed Ctrl+Enter key in Windows.
...
https://github.com/ruby/reline/commit/0c38e39023
2021-07-30 02:27:02 +09:00
aycabta
46c6da9c37
[ruby/reline] Check empty .inputrc
...
https://github.com/ruby/reline/commit/b60b3b76cd
2021-07-30 02:27:02 +09:00
aycabta
51ee24e7f7
[ruby/reline] Add original C function declarations comment for each function
...
https://github.com/ruby/reline/commit/9a25ee9f12
2021-07-30 02:27:02 +09:00
Jeremy Evans
44a9337a46
[ruby/reline] Fix reline on OpenBSD
...
OpenBSD doesn't support tiparm, only tparm. I'm not sure if the
two are compatible, but this at least this allows me to run irb
on OpenBSD.
https://github.com/ruby/reline/commit/0ce2b34e2b
2021-07-30 02:27:02 +09:00
SilverPhoenix99
1bf768d2e1
[ruby/reline] Added support for Numpad divide key on Windows.
...
https://github.com/ruby/reline/commit/84577da0c4
2021-07-30 02:27:02 +09:00
aycabta
750359ce81
[ruby/reline] Support Enter key of numpad on Windows
...
The yamatanooroti gem can't emulate numpad key pressing...
https://github.com/ruby/reline/commit/8e9da1aeaf
2021-07-30 02:27:02 +09:00
Lars Kanis
03f8c27179
[ruby/reline] Windows cmd: Don't type anything when pressing ALT keys alone
...
Fixes #298
https://github.com/ruby/reline/commit/72acfcd27a
2021-07-30 02:27:02 +09:00
aycabta
b0633ee4b3
[ruby/reline] Add TODO comment to implement tigetflag() and tigetnum()
...
https://github.com/ruby/reline/commit/a0d946a398
2021-07-30 02:27:02 +09:00
aycabta
2a7e86844b
[ruby/reline] Add require 'reline/terminfo' to use Reline::Terminfo.enabled?
...
https://github.com/ruby/reline/commit/7ef9805b35
2021-07-30 02:27:02 +09:00
Hiroshi SHIBATA
672796575e
Update the latest version of readline.gemspec
2021-07-29 16:20:10 +09:00
Miguel Teixeira
60b02db516
[ruby/net-http] Enforce write timeout when body_stream is used
...
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
2021-07-29 15:53:54 +09:00
BurdetteLamar
1e04571da0
[ruby/set] Improve What's Here links
...
https://github.com/ruby/set/commit/76b056c3b9
2021-07-29 14:18:52 +09:00
BurdetteLamar
2bd68e32e7
[ruby/set] Improve What's Here links
...
https://github.com/ruby/set/commit/dd787a3988
2021-07-29 14:18:42 +09:00
Olle Jonsson
899194f3a6
[ruby/set] gemspec: This gem exposes 0 executables
...
This change removes unused configuration.
https://github.com/ruby/set/commit/6c2338d699
2021-07-29 14:18:33 +09:00
Jeremy Evans
52e602edda
[ruby/set] Update documentation for intersect?/disjoint?
...
https://github.com/ruby/set/commit/35b69e9d69
2021-07-29 14:18:25 +09:00
Jeremy Evans
cafa7d8975
[ruby/set] Allow the use of any enumerable in intersect?/disjoint?
...
https://github.com/ruby/set/commit/1a73ab9047
2021-07-29 14:18:18 +09:00
Jeremy Evans
571dafdc7f
[ruby/set] Allow Set#intersect? and #disjoint? to accept array argument
...
Implements [Feature #17838 ]
https://github.com/ruby/set/commit/d9b389bafa
2021-07-29 14:18:10 +09:00
Burdette Lamar
27679b349e
[ruby/optparse] More on tutorial ( https://github.com/ruby/optparse/pull/23 )
...
- 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
2021-07-28 20:13:39 +09:00
Nobuyoshi Nakada
bf175e7ec2
[ruby/optparse] nodoc private methods
...
https://github.com/ruby/optparse/commit/f23d750d14
2021-07-28 20:13:38 +09:00
Benoit Daloze
59a65f2d24
Update to latest uri
...
* bc47bf71df
* To include the fix from https://github.com/ruby/uri/pull/27
2021-07-28 12:26:31 +02:00
Marcus Stollsteimer
218c3b2548
[ruby/readline] Improve the gem's description
...
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
2021-07-28 13:35:36 +09:00
Olle Jonsson
5b574b40a9
[ruby/resolv-replace] gemspec: Drop executables directive
...
This gem exposes no executables.
https://github.com/ruby/resolv-replace/commit/fa405185f7
2021-07-28 13:32:33 +09:00
Hiroshi SHIBATA
51321985fb
[ruby/resolv] Bump version to 0.2.1
...
https://github.com/ruby/resolv/commit/095f1c003f
2021-07-28 13:32:33 +09:00
Olle Jonsson
0663134ad1
[ruby/getoptlong] RDoc: escape to avoid links to the word Set
...
We would like to avoid linking to the Set class for these words.
https://github.com/ruby/getoptlong/commit/33b56d6141
2021-07-28 13:32:33 +09:00
Olle Jonsson
eb3a7eda5e
[ruby/getoptlong] gemspec: Drop executables directives
...
This gem exposes 0 executables.
https://github.com/ruby/getoptlong/commit/4522163cbd
2021-07-28 13:32:32 +09:00
Jeremy Evans
230111802c
[ruby/find] Add Errno::EINVAL to list of ignored errors
...
This error can occur on Windows for certain filenames on certain
code pages.
Fixes [Bug #14591 ]
https://github.com/ruby/find/commit/0a474d1027
2021-07-27 21:20:31 +09:00
Nobuyoshi Nakada
acfec23bec
Remove probably unintented symlinks
2021-07-27 18:49:28 +09:00
Martin Dürst
26b1e6fca8
Deal with Unicode ranges in the file emoji-sequences.txt
...
Detect Unicode ranges and loop over them.
This fixes issue #18028 .
2021-07-27 18:14:20 +09:00
Hiroshi SHIBATA
6656309fe2
Fix test failure for parallel testing
2021-07-27 17:34:13 +09:00
Hiroshi SHIBATA
b875a85c53
Added missing require for URI::WS class
2021-07-27 17:33:18 +09:00
Benoit Daloze
1cf111774f
[ruby/uri] Add proper Ractor support to URI
...
* 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
2021-07-27 16:54:27 +09:00
Benoit Daloze
090d799c24
[ruby/uri] Revert "Fix to support Ruby 3.0 Ractor"
...
* 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
2021-07-27 16:54:26 +09:00
kvokka
a288c21a5d
[ruby/uri] Fix to support Ruby 3.0 Ractor
...
https://github.com/ruby/uri/commit/1faa4fdc16
2021-07-27 16:54:26 +09:00
Daniel Niknam
bd8daa8523
[rubygems/rubygems] Remove the warning for not defining a gem server source
...
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
2021-07-27 09:25:57 +09:00
Daniel Niknam
49176e8c8c
[rubygems/rubygems] Refactor Bundler::Dsl#check_rubygems_source_safety to 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
2021-07-27 09:25:57 +09:00
Daniel Niknam
1ef360230e
[rubygems/rubygems] Deprecate Gemfile without an explicit global source
...
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
2021-07-27 09:25:57 +09:00
Daniel Niknam
b500e8fab4
[rubygems/rubygems] Implement Bundler::SourceList#implicit_global_source?
...
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
2021-07-27 09:25:57 +09:00
Daniel Niknam
91a3f06e98
[rubygems/rubygems] Implement Bundler::Source::Rubygems#no_remotes?
...
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
2021-07-27 09:25:56 +09:00
David Rodríguez
095b5bbcc1
[rubygems/rubygems] Lazily load shellwords
...
https://github.com/rubygems/rubygems/commit/ef6388656a
2021-07-27 09:25:56 +09:00
David Rodríguez
350f4a0b66
[rubygems/rubygems] Rubygems doesn't need to load the `base64` library
...
https://github.com/rubygems/rubygems/commit/fe723c0f7f
2021-07-27 09:25:56 +09:00