Nobuyoshi Nakada
d57c5a7b61
transcode-tblgen.rb: make silent a little when just -v
2020-12-29 17:45:19 +09:00
Takashi Kokubun
6d07785127
[ruby/irb] Remove unnecessary ignore_error in dispatch_seq
...
Just forgotten in a5804c3560
https://github.com/ruby/irb/commit/e42e548793
2020-12-28 23:29:29 -08:00
Takashi Kokubun
f30a3a0629
[ruby/irb] Do not colorize partially-correct inspect
...
This is to prevent a yellow-mixed output for ActiveSupport::TimeWithZone.
Follows up https://github.com/ruby/irb/pull/159 and https://github.com/ruby/ruby/pull/3967 .
a5804c3560
2020-12-28 23:29:08 -08:00
Nobuhiro IMAI
9b7ceb6765
irb: add more syntax errors colorizing support ( #3967 )
2020-12-28 23:07:20 -08:00
Takashi Kokubun
f9e80af28a
[ruby/irb] Add color_printer.rb to gemspec
...
https://github.com/ruby/irb/commit/b4df0fd8b2
2020-12-28 23:01:01 -08:00
Takashi Kokubun
c715fb46c2
[ruby/irb] Enhance colored inspect output
...
https://github.com/ruby/irb/commit/dffcdb5269
2020-12-28 23:01:00 -08:00
Hiroshi SHIBATA
a0d1152d2e
[ruby/drb] Removed needless files from Gem::Specification#files
...
https://github.com/ruby/drb/commit/61c49af71b
2020-12-28 18:41:02 +09:00
Hiroshi SHIBATA
e6fee2b64f
[ruby/pp] Removed needless files from Gem::Specification#files
...
https://github.com/ruby/pp/commit/272d4befeb
2020-12-28 16:20:37 +09:00
Hiroshi SHIBATA
8b387bcfba
[ruby/pp] Drop to support < Ruby 2.7
...
https://github.com/ruby/pp/commit/e92228964b
2020-12-28 16:19:42 +09:00
Kenta Murata
441cd156e0
[ruby/csv] Fix typo [ci skip]
...
https://github.com/ruby/csv/commit/117bcf311e
2020-12-27 15:27:46 +09:00
Sutou Kouhei
cd2c726bc0
[ruby/csv] Bump version
...
https://github.com/ruby/csv/commit/5855c017ef
2020-12-27 15:26:24 +09:00
Hiroshi SHIBATA
bb04856bca
[ruby/racc] Bump version to 1.5.2
...
https://github.com/ruby/racc/commit/ce0d7b9cde
2020-12-26 15:10:49 +09:00
Hiroshi SHIBATA
533bf6f19d
[ruby/racc] Use Racc::VERSION for gemspec
...
https://github.com/ruby/racc/commit/30f5760d85
2020-12-26 15:10:28 +09:00
aycabta
523b520b44
[ruby/reline] 0.2.0
...
https://github.com/ruby/reline/commit/064664c8f9
2020-12-25 01:29:18 +09:00
aycabta
32616229e3
[ruby/irb] Version 1.3.0
...
https://github.com/ruby/irb/commit/ec83280e66
2020-12-25 01:29:18 +09:00
aycabta
9a7647d9eb
[ruby/reline] Doesn't contain terminate spaces by cw
...
This closes ruby/reline#233 .
https://github.com/ruby/reline/commit/4c3f2e2eae
2020-12-24 23:26:22 +09:00
aycabta
78421319d0
[ruby/reline] Use #bytesize for vi_replace_char
...
This closes ruby/reline#228 .
https://github.com/ruby/reline/commit/8205fa0b00
2020-12-24 23:26:22 +09:00
aycabta
0db9842b2c
[ruby/reline] Delete the last char of a line by dw
...
This closes ruby/reline#229 .
https://github.com/ruby/reline/commit/3f0ae689c4
2020-12-24 23:26:22 +09:00
aycabta
8d5d139afa
[ruby/reline] Suppress crashing when boken prompt_list is given
...
https://github.com/ruby/reline/commit/922d087e7a
2020-12-24 23:26:22 +09:00
aycabta
634b231f33
[ruby/reline] Discard prompt cache by changing mode icon
...
https://github.com/ruby/reline/commit/bfeda8a79b
2020-12-24 23:26:22 +09:00
aycabta
167dc37632
[ruby/irb] Try not to register the exact same measuring method twice
...
https://github.com/ruby/irb/commit/cc66b5573e
2020-12-24 23:26:22 +09:00
aycabta
28e9344fa4
[ruby/irb] Change StdioInputMethod#eof? to non-blocking
...
This fixes --inf-ruby-mode.
https://github.com/ruby/irb/commit/0e4a818955
2020-12-23 22:08:30 +09:00
aycabta
31bd172185
[ruby/irb] Suppress "shadowing outer" warning
...
https://github.com/ruby/irb/commit/8b83fbef69
2020-12-23 21:26:25 +09:00
Kazuhiro NISHIYAMA
082114da05
[DOC] Add doc to sharing_detection= [ci skip]
...
Before:
```
$ ri sharing_detection=
= .sharing_detection=
(from ruby core)
=== Implementation from PP
------------------------------------------------------------------------
sharing_detection=(b)
------------------------------------------------------------------------
Returns the sharing detection flag as a boolean value. It is false by
default.
```
After:
```
$ ri sharing_detection=
= .sharing_detection=
(from ruby core)
=== Implementation from PP
------------------------------------------------------------------------
sharing_detection=(b)
------------------------------------------------------------------------
Sets the sharing detection flag to b.
```
2020-12-23 11:13:50 +09:00
Hiroshi SHIBATA
339227363c
Merge RubyGems 3.2.3 and Bundler 2.2.3
2020-12-23 10:17:41 +09:00
aycabta
841d22ea47
[ruby/reline] [ruby/irb] Handle multiple newlines in a token correctly
...
Co-authored-by: manga_osyo <manga.osyo@gmail.com>
Co-authored-by: ima1zumi <mariimaizumi5@gmail.com>
https://github.com/ruby/irb/commit/c59a9be82f
https://github.com/ruby/reline/commit/a7922da16b
2020-12-23 06:06:07 +09:00
Takeru Naito
be5faa2519
[ruby/irb] Make it possible to use measure even if it is installed as gem
...
Include the file that implements this command in the irb gem.
Co-Authored-By: scivola <scivola@users.noreply.github.com>
https://github.com/ruby/irb/commit/d8dfea5b57
2020-12-23 06:06:07 +09:00
ima1zumi
53510d1e8a
[ruby/reline] [ruby/reline] Remove unused `attr_writer`
...
https://github.com/ruby/reline/commit/ecdc1b7116
https://github.com/ruby/reline/commit/a7922da16b
2020-12-22 23:45:43 +09:00
ima1zumi
299f5708a2
[ruby/reline] Fixed an exception occurred when ambiguous width character was passed to `#calculate_width` [Bug #17405 ]
...
https://github.com/ruby/reline/commit/f79b4c857f
2020-12-22 23:45:43 +09:00
aycabta
b52bc4a9c2
[ruby/reline] Support isearch-terminators
...
https://github.com/ruby/reline/commit/a7922da16b
2020-12-22 23:45:43 +09:00
aycabta
294552ca6c
[ruby/reline] Render refreshed prompt just after i-search finished
...
https://github.com/ruby/reline/commit/0d3188fe34
2020-12-22 23:45:43 +09:00
aycabta
0b14abe8e7
[ruby/irb] Suppress "shadowing outer" warning
...
https://github.com/ruby/irb/commit/27b149c599
2020-12-22 23:45:43 +09:00
aycabta
fbcdcbff0d
[ruby/irb] Version 1.2.9
...
https://github.com/ruby/irb/commit/9668e5fe6b
2020-12-22 23:45:43 +09:00
aycabta
4131cd05be
[ruby/irb] Support arg for measure command
...
https://github.com/ruby/irb/commit/b43f35d8f3
2020-12-22 23:45:43 +09:00
aycabta
47b26795d0
[ruby/irb] Change variables handling for compatibility
...
https://github.com/ruby/irb/commit/26fd1a75cf
2020-12-22 23:45:43 +09:00
Koichi Sasada
cae8bbfe62
pp is ractor-ready.
...
`@sharing_detection` is only one obstruction to support pp on
non-main ractors, so make it ractor-local.
2020-12-22 23:32:18 +09:00
Hiroshi SHIBATA
9b9cbbbc17
Update library versions of the default gems.
...
They are followed up with
8fb02b7a97
2020-12-22 21:45:28 +09:00
Akinori MUSHA
96b8816793
Import set 1.0.1
...
- Eliminate warnings
- Convert rdoc to markdown
2020-12-22 21:41:44 +09:00
Yuki Nishijima
95acd3c030
Sync did_you_mean
2020-12-22 14:42:32 +09:00
Akinori MUSHA
3fa4bd8292
Import set 1.0.0
...
- SortedSet has been removed for dependency and performance reasons.
- Set#join is added as a shorthand for `.to_a.join`.
- Set#<=> is added.
https://github.com/ruby/set/blob/v1.0.0/CHANGELOG.md
2020-12-22 12:20:21 +09:00
Hiroshi SHIBATA
95ce5c0ee9
[ruby/rdoc] Bump version to 6.3.0
...
https://github.com/ruby/rdoc/commit/3d3616cb94
2020-12-21 16:22:08 +09:00
Kazuhiro NISHIYAMA
63849a1cd9
Fix misspellings [ci skip]
2020-12-21 10:54:24 +09:00
Nobuyoshi Nakada
4b6e3f7b82
irb: Define extension command on the given object
2020-12-20 19:35:59 +09:00
Nobuyoshi Nakada
feea436feb
irb: Define extension command only on the given object
...
Not to interfer in class variables.
2020-12-20 18:26:38 +09:00
aycabta
24fcbc92b4
[ruby/irb] Version 1.2.8
...
https://github.com/ruby/irb/commit/bcd96834c7
2020-12-20 16:23:59 +09:00
aycabta
a7cacd33cc
[ruby/reline] Version 0.1.10
...
https://github.com/ruby/reline/commit/723c6e191a
2020-12-20 16:23:59 +09:00
aycabta
9f08e3c703
[ruby/irb] Add measure command
...
You can use "measure" command to check performance in IRB like below:
irb(main):001:0> 3
=> 3
irb(main):002:0> measure
TIME is added.
=> nil
irb(main):003:0> 3
processing time: 0.000058s
=> 3
irb(main):004:0> measure :off
=> nil
irb(main):005:0> 3
=> 3
You can set "measure :on" by "IRB.conf[:MEASURE] = true" in .irbrc, and, also,
set custom performance check method:
IRB.conf[:MEASURE_PROC][:CUSTOM] = proc { |context, code, line_no, &block|
time = Time.now
result = block.()
now = Time.now
puts 'custom processing time: %fs' % (Time.now - time) if IRB.conf[:MEASURE]
result
}
https://github.com/ruby/irb/commit/3899eaf2e2
2020-12-20 16:23:59 +09:00
aycabta
8b6aaeaddf
[ruby/irb] Handle rest of tokens correctly if no newline at last
...
https://github.com/ruby/irb/commit/f3c8edad2a
2020-12-20 16:23:58 +09:00
Kazuki Tsujimoto
67ee1cbdd5
Remove unnecessary files from .document
...
* ruby:ext/rbconfig/exts.mk
* ruby:ext/rbconfig/sizeof/Makefile
* ruby:ext/rbconfig/sizeof/depend
* ruby:ext/rbconfig/sizeof/mkmf.log
* ruby:ext/win32/depend
* ruby:ext/win32/exts.mk
* ruby:ext/win32/resolv/depend
* ruby:lib/racc/pre-setup
2020-12-20 16:00:13 +09:00
Hiroshi SHIBATA
349e79bae0
Try to test with rake-13.0.2 again.
...
[ruby/fileutils] Make verbose output go to stdout instead of stderr
This reverts commit 510df47f5f
.
2020-12-19 16:53:18 +09:00