Граф коммитов

8739 Коммитов

Автор SHA1 Сообщение Дата
aycabta cce72a2411 [ruby/irb] Newline in oneliner def doesn't reset indent
This closes ruby/irb#132.

https://github.com/ruby/irb/commit/43456dcf5e
2021-01-05 18:04:45 +09:00
aycabta 515d6b47ad [ruby/irb] Stringify when a non-object is passed to PP#text
If a nested object is passed to #pp, it may be sometimes passed to the #text
method as an object without being stringified.

This is fixed on the Ruby main repository;
433a3be86a
but it was a bug of Ripper so still needs this workaround for using irb
as a gem on Ruby 3.0.0 or earlier.

Co-authored-by: k0kubun <takashikkbn@gmail.com>

https://github.com/ruby/irb/commit/8d13df22ee
2021-01-04 20:14:31 -08:00
Hiroshi SHIBATA 69ed64949b Track Bundler master(2.3.0.dev) branch at 55634a8af18a52df86c4275d70fa1179118bcc20 2021-01-04 13:14:43 +09:00
Hiroshi SHIBATA 5537adf719 Track RubyGems master(3.3.0.dev) branch at 55634a8af18a52df86c4275d70fa1179118bcc20 2021-01-04 13:14:43 +09:00
Nobuyoshi Nakada bc4c862a76 [ruby/timeout] Removed deprecated names that had been warned for 5 years
https://github.com/ruby/timeout/commit/f9a9758a41
2021-01-03 20:19:30 +09:00
Nobuyoshi Nakada 4b6fd8329b
mkmf.rb: always try_compile as try_header
Get rid of "present but cannot be compiled" headers, on some
multi-architecture platforms.
2021-01-02 12:11:02 +09:00
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