1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

8441 commits

Author SHA1 Message Date
Nobuyoshi Nakada
0eec4ae851
Get rid of using Socket.gethostbyname 2020-08-31 17:45:27 +09:00
Benoit Daloze
d7492a0be8 Revert changes to rdoc & rubygems regarding Tempfile.open(&block)
* They likely want to support older Ruby/tempfile versions
* Reverts part of e8c3872555
2020-08-29 12:49:20 +02:00
Benoit Daloze
3beecafc2c Fix usages of Tempfile.open(&block) that expected the file to still be there after the block 2020-08-29 12:30:24 +02:00
Benoit Daloze
e8c3872555 Simplify Tempfile.open calls with a block as they now unlink the file automatically 2020-08-29 12:23:23 +02:00
Benoit Daloze
fa21985a7a Sync with ruby/tempfile@aa9ea12d94 2020-08-29 12:05:48 +02:00
aycabta
1f09c43628 [ruby/reline] Move width calculator methods to Reline::Unicode
https://github.com/ruby/reline/commit/f348ecd9f5
2020-08-28 11:05:18 +09:00
tompng
cdd7d41046 [ruby/reline] fix cursor_pos regexp match
https://github.com/ruby/reline/commit/1dd80ef188
2020-08-28 11:05:18 +09:00
aycabta
8882927036 [ruby/irb] Discard newlines at end of file
https://github.com/ruby/irb/commit/0b2773d91d
2020-08-28 11:05:18 +09:00
Kenta Murata
72cb9bc55f
[webrick][DOC] Describe the stance of WEBrick about its security and utilization ()
WEBrick is not recommended for the production use.  We need to explicitly
describe this fact in the document to avoid troubles due to misunderstanding.
2020-08-26 14:28:05 +09:00
Hiroshi SHIBATA
e6ac1fb612
Specify the executable of erb 2020-08-25 08:44:14 +09:00
Hiroshi SHIBATA
8c97883b73
Promote erb to default gems 2020-08-21 20:18:44 +09:00
Hiroshi SHIBATA
bc374e5cea
Promote rinda to default gems 2020-08-21 18:10:03 +09:00
Hiroshi SHIBATA
dfda2f739b
Promote find to default gems 2020-08-20 21:00:53 +09:00
Hiroshi SHIBATA
8a40e9b5a2
Promote set to default gems 2020-08-20 12:39:11 +09:00
Hiroshi SHIBATA
5b04e2362c
[ruby/racc] Fixed the licenses field of gemspec
https://github.com/ruby/racc/commit/a1aeecff03
2020-08-19 19:35:04 +09:00
Hiroshi SHIBATA
d3b2c1a175
Fixed the invalid SPDX identifier on gemspec 2020-08-18 20:26:40 +09:00
Hiroshi SHIBATA
8fb02b7a97
Update the license for the default gems to dual licenses 2020-08-18 20:26:39 +09:00
Hiroshi SHIBATA
0bb8bd7623
Added the missing licenses field to some default gems 2020-08-18 20:26:39 +09:00
Nobuyoshi Nakada
4f697bcf73
Strip trailing spaces [ci skip] 2020-08-18 20:10:34 +09:00
aycabta
172d44e809 [ruby/reline] Add require 'rbconfig' to use RbConfig
https://github.com/ruby/reline/commit/4a0d32a3d0
2020-08-18 19:10:09 +09:00
Nobuyoshi Nakada
f2435c1508 [ruby/reline] Get rid of loading pathname unnecessarily
https://github.com/ruby/reline/commit/9bd54b7f1c
2020-08-18 19:09:58 +09:00
Maciej Mensfeld
d1b06229fa [ruby/reline] Use the standard SPDX ID for license in gemspec
It is better to use SPDX ID for license field:

https://guides.rubygems.org/specification-reference/#license=

ref: https://spdx.org/licenses/Ruby.html
https://github.com/ruby/reline/commit/8468a727e5
2020-08-18 19:09:43 +09:00
aycabta
ad24eaabfd [ruby/reline] Remove duplicated line of code
Co-authored-by: Quentin Sabah <quentin.sabah@gmail.com>

https://github.com/ruby/reline/commit/5526e9f7ee
2020-08-18 19:08:50 +09:00
aycabta
80a7358cfc [ruby/reline] Keep original characters in inputrc
https://github.com/ruby/reline/commit/96583c6336
2020-08-18 19:08:40 +09:00
Mark Delk
44b24ab4c1 [ruby/reline] Support mode icon
Co-authored-by: aycabta <aycabta@gmail.com>

https://github.com/ruby/reline/commit/067b618123
2020-08-18 19:08:32 +09:00
aycabta
568615d395 [ruby/reline] Use single quotes for non-expanded string literals
https://github.com/ruby/reline/commit/3bf7c7d722
2020-08-18 19:08:11 +09:00
aycabta
215fe54777 [ruby/reline] Check Errno::EIO
Catch Errno::EIO what will be occurred if the console terminates I/O before
Reline finishes rendering.

https://github.com/ruby/reline/commit/e51eaa6d43
2020-08-18 19:04:31 +09:00
Tomás Pollak
f0d3d4fedb [ruby/reline] Add home/end mapping for urxvt and relatives
https://github.com/ruby/reline/commit/c30b293f1c
2020-08-18 19:03:27 +09:00
aycabta
a30dea5852 [ruby/irb] Support shortening lambda notetion for nesting level of prompt
https://github.com/ruby/irb/commit/f1a775af47
2020-08-18 14:38:02 +09:00
aycabta
43c648c832 [ruby/irb] Support shortening lambda notation
https://github.com/ruby/irb/commit/8e3f81d428
2020-08-18 14:38:02 +09:00
aycabta
b3f84b4a5b [ruby/irb] Expand path to run separated test correctly
https://github.com/ruby/irb/commit/be2937abd5
2020-08-18 14:38:01 +09:00
Nobuyoshi Nakada
7fa86de15b [ruby/irb] Workaround a bug of ruby-mode.el
https://github.com/ruby/irb/commit/6dfd59400d
2020-08-18 14:38:01 +09:00
Nobuyoshi Nakada
82d4da7816 [ruby/irb] Yet another unnecessary readline
https://github.com/ruby/irb/commit/933841af11
2020-08-18 14:38:01 +09:00
Nobuyoshi Nakada
0fcbd07247 [ruby/irb] Directly check if the method is available instead of version
https://github.com/ruby/irb/commit/3ea9fd9ed0
2020-08-18 14:38:01 +09:00
Nobuyoshi Nakada
6aa786b8a3 [ruby/irb] Get rid of loading readline unnecessarily
https://github.com/ruby/irb/commit/420e7d2270
2020-08-18 14:38:01 +09:00
Nobuyoshi Nakada
d32229e338 [ruby/irb] Prefer require_relative to load the files in this library
https://github.com/ruby/irb/commit/0ac3bc7296
2020-08-18 14:38:01 +09:00
aycabta
126e1fc296 [ruby/irb] Make history infinite if set SAVE_HISTORY to negative
https://github.com/ruby/irb/commit/824473e880
2020-08-18 14:38:01 +09:00
aycabta
ef498a016b [ruby/irb] Suppress crash when bignum is set to SAVE_HISTORY
https://github.com/ruby/irb/commit/5044eb2730
2020-08-18 14:38:01 +09:00
aycabta
6f0ef83de7 [ruby/irb] Symbol.all_symbols was adopted by Ruby 1.8.0 or later
https://github.com/ruby/irb/commit/71ba754e8e
2020-08-18 14:38:01 +09:00
aycabta
5474007d61 [ruby/irb] Support oneline method definition
https://github.com/ruby/irb/commit/826ae909c9
2020-08-18 14:38:01 +09:00
Jeremy Evans
a73b5cc556 Remove the deprecated override of Kernel#open in open-uri
This was deprecated in 2.7 to resolve [Misc ].
2020-08-16 07:41:40 -07:00
Burdette Lamar
c84ccf1a07
Fix links to Dig Methods document ()
* Fix links to Dig Methods document

* Fix links to Dig Methods document
2020-08-14 18:55:04 -05:00
Burdette Lamar
22fd617aa5
Adding doc/dig_methods.rdoc and links to it ()
Adds a full discussion of #dig, along with links from Array, Hash, Struct, and OpenStruct.

CSV::Table and CSV::Row are over in ruby/csv. I'll get to them soon.

The art to the thing is to figure out how much (or how little) to say at each #dig.
2020-08-13 13:16:27 -05:00
Nguyễn Quang Minh
1819652578
[Feature ] TracePoint#inspect returns "... file:line" ()
* Fix debug documents to match Thread#to_s change (Feature  ticket)

* TracePoint#inspect returns "... file:line" (Feature )

* Guard older version of Ruby in Tracepoint inspection tests

* Focus on current thread only when running TracePoint inspection test
2020-08-06 11:56:24 +09:00
Hiroshi SHIBATA
8f71bb0e4f
Fixed the inconsistency gemspec location with net-* gems. 2020-08-05 20:01:03 +09:00
Hiroshi SHIBATA
1d637b1f5e [ruby/weakref] Use Gemfile instead of Gem::Specification#add_development_dependency.
https://github.com/ruby/weakref/commit/10d547ba12
2020-08-03 19:46:39 +09:00
Hiroshi SHIBATA
9e93596d7b [ruby/ostruct] Drop to Ruby 2.4
https://github.com/ruby/ostruct/commit/00e8fe3df2
2020-08-03 19:42:06 +09:00
Hiroshi SHIBATA
e732d376af [ruby/cgi] Drop to Ruby 2.4
https://github.com/ruby/cgi/commit/8a86536e94
2020-08-03 18:30:19 +09:00
Hiroshi SHIBATA
3ec860ae88
net-ftp is under lib/net instead of lib/net/ftp 2020-08-03 17:52:01 +09:00
Hiroshi SHIBATA
2346e2f0db
Followed up b2d96abb42 for net-ftp. 2020-08-03 17:40:05 +09:00