Age | Commit message (Collapse) | Author |
|
`:VERBOSE` flag needs to be set prior to `IRB::Irb.new`.
https://github.com/ruby/irb/commit/0dbe292979
|
|
https://github.com/ruby/irb/commit/bc1b1d8bc3
|
|
https://github.com/ruby/irb/commit/e93c9cb54d
|
|
https://github.com/ruby/irb/commit/279155fcee
|
|
https://github.com/ruby/irb/commit/108cb04352
|
|
https://github.com/ruby/irb/commit/9b84018311
|
|
https://github.com/ruby/irb/commit/5832cfe75b
|
|
`:VERBOSE` flag needs to be set prior to `IRB::Irb.new`.
https://github.com/ruby/irb/commit/78604682d9
|
|
When passes input method as nil to Context.new through Irb.new,
ReidlineInputMethod.new is executed and the global internal state of Reline is
rewritten, therefore other tests are failed in the Ruby repository. This
commit changes to use TestInputMethod.
https://github.com/ruby/irb/commit/010dce9210
|
|
https://github.com/ruby/irb/commit/612ebcb311
|
|
|
|
https://github.com/ruby/irb/commit/1c61178b4c
|
|
https://github.com/ruby/irb/commit/d9f8abc17e
|
|
Get rid of warnings in the parallel test.
```
unknown command: "Switch to inspect mode."
```
|
|
e.g. http://rubyci.s3.amazonaws.com/centos8/ruby-master/log/20210321T063003Z.fail.html.gz
https://github.com/ruby/irb/commit/ddb3472ba2
|
|
https://github.com/ruby/irb/commit/bc822e4aac
|
|
https://github.com/ruby/irb/commit/19b6c20604
|
|
https://github.com/ruby/irb/commit/89bcf107be
|
|
https://github.com/ruby/actions/runs/2137935523?check_suite_focus=true#step:9:562
```
1) Error:
TestIRB::TestHistory#test_history_concurrent_use:
Errno::EACCES: Permission denied @ dir_s_mkdir - /home/runner/.config/irb
/home/runner/work/actions/actions/ruby/lib/fileutils.rb:253:in `mkdir'
/home/runner/work/actions/actions/ruby/lib/fileutils.rb:253:in `fu_mkdir'
/home/runner/work/actions/actions/ruby/lib/fileutils.rb:231:in `block (2 levels) in mkdir_p'
/home/runner/work/actions/actions/ruby/lib/fileutils.rb:229:in `reverse_each'
/home/runner/work/actions/actions/ruby/lib/fileutils.rb:229:in `block in mkdir_p'
/home/runner/work/actions/actions/ruby/lib/fileutils.rb:211:in `each'
/home/runner/work/actions/actions/ruby/lib/fileutils.rb:211:in `mkdir_p'
/home/runner/work/actions/actions/ruby/lib/irb/init.rb:355:in `rc_file_generators'
/home/runner/work/actions/actions/ruby/lib/irb/init.rb:330:in `rc_file'
/home/runner/work/actions/actions/ruby/test/irb/test_history.rb:170:in `block in assert_history'
/home/runner/work/actions/actions/ruby/lib/tmpdir.rb:96:in `mktmpdir'
/home/runner/work/actions/actions/ruby/test/irb/test_history.rb:168:in `assert_history'
/home/runner/work/actions/actions/ruby/test/irb/test_history.rb:133:in `test_history_concurrent_use'
```
|
|
`$HOME/.config` is not writable on CI
because I think tests should not corrupt user's data.
And GitHub Actions CI sets `XDG_CONFIG_HOME`
since `Version: 20210309.1`.
https://github.com/ruby/actions/runs/2130811016?check_suite_focus=true#step:16:301
```
Errno::EACCES: Permission denied @ dir_s_mkdir - /home/runner/.config/irb
```
|
|
This makes the save-history extension check for modifications to
the history file before saving it. If the history file was modified
after the history was loaded and before it was saved, append only
the new history lines to the history file.
This can result in more lines in the history file than SAVE_HISTORY
allows. However, that will be fixed the next time irb is run and
the history is saved.
Fixes [Bug #13654]
https://github.com/ruby/irb/commit/041ef53845
|
|
https://github.com/ruby/irb/commit/1020ac9c65
|
|
https://github.com/ruby/irb/commit/39d1cd874f
|
|
https://github.com/ruby/irb/commit/5be9354cf9
|
|
https://github.com/ruby/irb/commit/b444573aa2
|
|
https://github.com/ruby/irb/commit/20f1ca23e9
|
|
https://github.com/ruby/irb/commit/7aed8fe3b1
|
|
|
|
https://github.com/ruby/irb/commit/502c590925
|
|
* using the appropriciate exception instead of `break` so that the session
can be continue after the `irb_source` and `irb_load` commands
* suppress extra new line due to one more `#prompt` call
https://github.com/ruby/irb/commit/bdefaa7cfd
|
|
https://github.com/ruby/irb/commit/e7c68e74a0
|
|
https://github.com/ruby/irb/commit/47c83ea724
|
|
because it was for TestColorPrinter
https://github.com/ruby/irb/commit/7569206fd4
|
|
https://github.com/ruby/irb/commit/eea9c16804
|
|
https://github.com/ruby/irb/commit/d95e8daab3
|
|
http://ci.rvm.jp/logfiles/brlog.trunk-random1.20210119-074232
https://github.com/ruby/irb/commit/ea87592d4a
|
|
https://github.com/ruby/irb/commit/8e9e6c4037
|
|
https://github.com/ruby/irb/commit/6663057083
|
|
* due to the difference of backtrace pointed out by @aycabta
https://github.com/ruby/irb/commit/5e00a0ae61
|
|
https://github.com/ruby/irb/commit/fcf6b34bc5
|
|
https://github.com/ruby/irb/commit/a6a33d908f
|
|
|
|
|
|
The incompatible interface is not helpful, again if you want to use it
as a standalone library, falling it back to PP.
Original PP.pp also ends with `out << "\n"`.
https://github.com/ruby/irb/commit/4c74c7d84c
|
|
Random ordering test can introduce antoher candidate so it should be
`assert_include`.
|
|
https://github.com/ruby/irb/commit/30dc5d43fe
|
|
[Bug #17466]
https://github.com/ruby/irb/commit/1c76845cca
|
|
* moved rescue clause to `#inspect_value` to catch all failures in inspectors
* test with all (currently five kind of) inspect modes
- tweaked the input due to only `Marshal` can inspect(dump) a `BasicObject`
https://github.com/ruby/irb/commit/9d112fab8e
|
|
* Fixes #88
https://github.com/ruby/irb/commit/d431a30af4
|
|
For example, the broken code "%www" will result in only one error token.
https://github.com/ruby/irb/commit/9fa39a7cf3
|