| Age | Commit message (Collapse) | Author |
|
conveniently
(https://github.com/ruby/irb/pull/429)
* Create a base TestIRB::TestCase class
* Save/restore encodings for tests that initializes InputMethod classes
Because `RelineInputMethod#initializes` calls `set_encoding`, which
changes stdio/out/err and Encoding's default encoding values, we need to
make sure any test that directly or indirectly (e.g. through Context)
initializes `RelineInputMethod` restores encodings.
`ReadlineInputMethod` also changes encodings but currently no tests
cover it.
* Remove unnecessary TestHelper module
Since we now have a base TestCase, without_rdoc can just live there.
https://github.com/ruby/irb/commit/c2874ec121
|
|
|
|
This proc displays rdoc document when the input matches certain symbols
perfectly, like "String". It's commonly triggered with autocompletion
but only has 1 test case. So this commit increases its test coverage.
https://github.com/ruby/irb/commit/d85d719313
|
|
https://github.com/ruby/irb/commit/ee9b33c817
|
|
https://test-unit.github.io/test-unit/en/Test/Unit/Assertions.html#assert_equal-instance_method
https://github.com/ruby/irb/commit/00f90d40ad
|
|
https://github.com/ruby/irb/commit/39f8fcb058
|
|
https://github.com/ruby/irb/commit/71631287c8
|
|
https://github.com/ruby/irb/commit/2e12fac38e
|
|
https://github.com/ruby/irb/commit/5842888255
|
|
(https://github.com/ruby/irb/pull/369)
Ensure that methods are called even when local variables are defined.
see: https://github.com/ruby/irb/issues/368
https://github.com/ruby/irb/commit/c34d54b8bb
|
|
https://github.com/ruby/irb/commit/eb1691f636
|
|
In addition to String values, $LOAD_PATH can also take objects that
respond_to the `to_path` method, like Pathname objects. So `irb` should
be able to handle those objects too.
And if $LOAD_PATH contains objects that can't be converted into String,
`irb` should simply ignore it.
https://github.com/ruby/irb/commit/b2f562176b
|
|
Rename method
https://github.com/ruby/irb/commit/619aecb412
|
|
|
|
https://github.com/ruby/irb/commit/daa65cded1
|
|
https://github.com/ruby/irb/commit/05c65858a0
|
|
https://github.com/ruby/irb/commit/5e29e3e39c
|
|
The "csv" doesn't conflict with other stdlib names in any Ruby processing
system.
https://github.com/ruby/irb/commit/49203a1c83
|
|
https://github.com/ruby/irb/commit/74d635758b
|
|
https://github.com/ruby/irb/commit/a1ddf64c69
|
|
"class.method"
https://github.com/ruby/irb/commit/cc1ddb37a9
|
|
https://github.com/ruby/irb/commit/b2324727e1
|
|
https://github.com/ruby/irb/commit/33b9bec954
|
|
https://github.com/ruby/irb/commit/f441ce35bf
|
|
https://github.com/ruby/irb/commit/612ebcb311
|
|
|
|
https://github.com/ruby/irb/commit/1c61178b4c
|
|
Random ordering test can introduce antoher candidate so it should be
`assert_include`.
|
|
* Fixes #88
https://github.com/ruby/irb/commit/d431a30af4
|
|
https://github.com/ruby/irb/commit/6184b227ad
|
|
|
|
The previous version of the test method used a symbol, ":abcdefg" to complete
but longer symbols that can be completed are defined by other test methods of
other libs.
|
|
This reverts commit 3af3431c2c145134996e66f3d8d9ade8ad81bde0.
|
|
IRB::InputCompletor::PerfectMatchedProc crashes when doc not found because a
variable name was incorrect.
https://github.com/ruby/irb/commit/889fd4928f
|
|
https://github.com/ruby/irb/commit/dbbf086c1f
|
|
|
|
IRB completion logic always needed exponential notation for complex literal
such as 3e6i but it's bug. I fixed to support complex literal without
exponential notation such as 3i.
|
|
Upgrade IRB to https://github.com/ruby/irb/commit/41ea43a4a732e094acfa1b0fc1473fdcda9e6227
Mostly backport changes.
|
|
Synced from https://github.com/ruby/irb/commit/5feb361ed80736efa5b2c2b629837ec2a5fc2cdb.
This includes a support to colorize named Class instance on IRB inspect.
|
|
from https://github.com/ruby/irb/commit/e6739d8c66dc78562930adb0b96935c9b38acf74
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
When you change this to true, you may need to add more tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* test/lib/find_executable.rb: Ditto.
* test/lib/memory_status.rb: Ditto.
* test/lib/test/unit.rb: require envutil.
* test/: Don't require envutil in test files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
(maybe readline does not exist).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
ignore non-string name modules. [ruby-core:42244][Bug #5938]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|