Age | Commit message (Collapse) | Author |
|
This reverts commit 3af3431c2c145134996e66f3d8d9ade8ad81bde0.
|
|
A closed brace in auto-indent shouldn't affect the next brace in the same line,
but it behaves like below:
p() {
}
It's a bug.
https://github.com/ruby/irb/commit/fbe59e344f
|
|
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
|
|
This behavior was deprecated in 2.7 and scheduled to be removed
in 3.0.
Calling yield in a class definition outside a method is now a
SyntaxError instead of a LocalJumpError, as well.
Notes:
Merged: https://github.com/ruby/ruby/pull/2901
|
|
If the timer thread is left stopped, memory crash or segfault can
happen.
|
|
As `command_rhs` is always a "value expression", `command_asgn`
does not need the same check.
Notes:
Merged: https://github.com/ruby/ruby/pull/2897
|
|
On Arch, sending a signal in a loop seems hardly to yield the execution.
```
1) Error:
TestThreadQueue#test_queue_with_trap:
Timeout::Error: execution of assert_in_out_err expired timeout (10 sec)
```
https://rubyci.org/logs/rubyci.s3.amazonaws.com/arch/ruby-master/log/20200209T120002Z.fail.html.gz
This change allows the test to pass.
|
|
https://github.com/ruby/readline-ext/commit/1df99d1481
|
|
https://github.com/ruby/readline-ext/commit/c0a6303168
|
|
|
|
|
|
test/did_you_mean/spell_checking/test_class_name_check.rb
Notes:
Merged: https://github.com/ruby/ruby/pull/2880
|
|
Notes:
Merged-By: nurse <naruse@airemix.jp>
|
|
test/psych/visitors/test_to_ruby.rb (#2881)
Notes:
Merged-By: nurse <naruse@airemix.jp>
|
|
|
|
Against changes of the `assert_separately` prologue code.
|
|
|
|
This reverts commit d767da428c28b7b9fec56b383bb32f6f76c6ad26.
It fails with spec/ruby/core/kernel/require_spec.rb:5
|
|
The original commit was https://github.com/rubygems/rubygems/pull/3119
|
|
If `require "a"` is run when two folders have been specified in the -I
option including a "a.rb" file and a "a.so" file respectively, the ruby
spec says that the ".rb" file should always be preferred. However, the
logic we added in https://github.com/rubygems/rubygems/commit/6b81076d9
to make the -I option always beat default gems does not respect this
spec, creating a difference from the original ruby-core's require.
[the ruby spec says]: https://github.com/ruby/spec/blob/d80a6e2b221d4f17a8cadcac75ef950c59cba901/core/kernel/shared/require.rb#L234-L246
https://github.com/rubygems/rubygems/commit/b3944384f4
|
|
https://github.com/rubygems/rubygems/commit/912d141a35
|
|
Retrying after rescued `require` should try to load the same
library again. [Bug #16607]
Notes:
Merged: https://github.com/ruby/ruby/pull/2879
|
|
|
|
These tests assume
Encoding.find('locale') == Encoding.find('external')
and fail if they are distinct.
|
|
In 2.6, SimpleDelegator would always use the target `respond_to?`
In 2.7.0 it doesn't if the target does not inherit from Object.
This breaks compatibility for delegated objects that inherit
from BasicObject and redefine `respond_to?`.
Notes:
Merged: https://github.com/ruby/ruby/pull/2875
|
|
Co-authored-by: Yusuke Endoh <mame@ruby-lang.org>
Notes:
Merged: https://github.com/ruby/ruby/pull/2874
|
|
https://rubyci.org/logs/rubyci.s3.amazonaws.com/ubuntu1604/ruby-master/log/20200203T003005Z.log.html.gz
```
/home/hsbt/chkbuild/tmp/build/20200203T003005Z/ruby/test/rubygems/test_gem_remote_fetcher.rb:485: warning: method redefined; discarding old test_fetch_path_socket_error
/home/hsbt/chkbuild/tmp/build/20200203T003005Z/ruby/test/rubygems/test_gem_remote_fetcher.rb:167: warning: previous definition of test_fetch_path_socket_error was here
```
|
|
Just started to develop RubyGems 3.2.0.
|
|
`Delegator.delegating_block` should delegate keyword arguments
separately. [ruby-core:96949]
Notes:
Merged: https://github.com/ruby/ruby/pull/2852
|
|
https://rubyci.org/logs/rubyci.s3.amazonaws.com/solaris11s-sunc/ruby-master/log/20200129T022510Z.fail.html.gz
|
|
This environment variable can show additional message on BUG.
|
|
should not mutate test data.
|
|
should remove pathname.
|
|
This reverts commit 4d132fa130e16eeb4af4177cfaccc00e05e2f864.
There are discussions about using srand() in tests.
I'll write a ticket about it and continue to discuss.
|
|
This reverts commit 65768c80beb64a14c3e918f8ed5e41e9349025d0.
|
|
Dir.tmpdir can return same directory because of rand() value,
so we shouldn't rely on different name.
|
|
|
|
[Bug #15177]
|
|
|
|
test_rand.rb calls srand() several times, however it change global
rand-sequence (and --seeds doesn't have meaning). This patch makes
such tests run in other processes.
Notes:
Merged: https://github.com/ruby/ruby/pull/2865
|
|
|
|
ruby/test_time_tz.rb (not sure only this file affects) changes TZ
and it seems to change internal state. This internal state change
fails test_2038 and test_timegm on 2nd time execution.
At this time I have no idea how to fix this issue, so I skips these
tests on 2nd trial.
You can try this failure with the following command without this patch.
$ make test-all TESTS='--repeat-count=2 ruby/require ruby/time ruby/time_tz'
|
|
Another test defines Object::A, but it will fail 2nd test.
|
|
Remove Structs to avoid redefinition warnings.
|
|
need to remove Constants.
|
|
need to redefine some classes.
|
|
Give up to support multi-run:
* test_method_should_use_refinements
* test_instance_method_should_use_refinements
I hope someone can revisit it.
|
|
Mysterious error:
`remove_method(:foo) if method_defined?(:foo)` raise an exception
`method `foo' not defined in #<Class:#<TestProc:0x000055d12ff154e0>>`
This patch rename the method name foo to foo_arity to solve it.
|
|
add cleanup code in some tests.
|