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

68380 Коммитов

Автор SHA1 Сообщение Дата
aycabta 340fabca2c [ruby/irb] Set default return_format
https://github.com/ruby/irb/commit/7ee15bc668
2021-10-11 15:39:48 +09:00
Takashi Kokubun 69cedee2a6
chmod +x tool/sync_default_gems.rb
I'm too lazy to start the command with `ruby`.
2021-10-10 23:38:51 -07:00
Takashi Kokubun 82b87a8dc4 [ruby/irb] Clean up a duplicated definition
I simply forgot deleting it.

https://github.com/ruby/irb/commit/65399d5e9f
2021-10-11 15:25:05 +09:00
Takashi Kokubun 2e183c6273 [ruby/irb] trufflruby fails on the show_source test
https://github.com/ruby/irb/commit/460bd12b87
2021-10-10 23:23:48 -07:00
Takashi Kokubun b33caa5bbc [ruby/irb] Add a test of find_end for show_source command
https://github.com/ruby/irb/commit/68e6ca95a0
2021-10-10 23:23:47 -07:00
Takashi Kokubun cf74755921 [ruby/irb] Revert "Optimize show_source command further"
This reverts commit 27dd2867cda5c789efaa5078214ad2fd82adcebf.

This is to fix the test I added.

(I separated commits to test a new behavior of ruby-commit-hook)

https://github.com/ruby/irb/commit/fe055d521a
2021-10-10 23:23:18 -07:00
aycabta 3112e876a1 [ruby/reline] Add tests for dialog with fullwidth chars and corner cases
https://github.com/ruby/reline/commit/35ab5d47a8
2021-10-11 14:10:35 +09:00
Jeremy Evans 391d6ab4f7
[ruby/ipaddr] Fix include? and ipv4_mapped to allow drb tests to pass
include? should return false if comparing an IPv4 address to an IPv6
address.

ipv4_mapped needs to set the correct netmask on the mapped
addresses.

https://github.com/ruby/ipaddr/commit/da22ef8e6c
2021-10-11 13:50:54 +09:00
Jeremy Evans 9a321dd9b2
[ruby/ipaddr] Make IPAddr#include? consider range of argument
It would be nice to use Range#cover? here, but it doesn't work
correctly before Ruby 2.6. Switch to manual checks of the beginning
of end of the ranges.

Fixes Ruby Bug 14119

https://github.com/ruby/ipaddr/commit/f45630da31
2021-10-11 13:50:54 +09:00
Nobuyoshi Nakada b9f7286fe9
[ruby/io-console] Skip Interrupt test on Solaris too
https://github.com/ruby/io-console/commit/48db3616da
2021-10-11 11:33:15 +09:00
David Rodriguez e0c20485db [ruby/rubygems] Prefer `require_relative` for internal requires
https://github.com/rubygems/rubygems/commit/51796f257a
2021-10-11 01:12:50 +09:00
git 10c650628a * 2021-10-11 [ci skip] 2021-10-11 00:24:09 +09:00
David Rodriguez 9072228a26 [ruby/rubygems] Get specs green on arm64-darwin-20
https://github.com/rubygems/rubygems/commit/7a0bd9801d
2021-10-11 00:23:54 +09:00
Nobuyoshi Nakada a4876a563d Pass the VM pointer as an argument 2021-10-10 23:34:16 +09:00
David Rodríguez 6c39a272af [ruby/rubygems] We no longer need to check realpaths
Since symlinks and absolute paths are already checked.

https://github.com/rubygems/rubygems/commit/de19bc4c7e
2021-10-10 23:12:57 +09:00
David Rodríguez bbcf8f87ac [ruby/rubygems] Check safety of packaged symlinks
If we explicitly disallow the creation of symlinks that point to files
outside of the destination directory, we can avoid any other safety
checks while creating directories, because we can be sure they will
always fall under the destination directory as well.

https://github.com/rubygems/rubygems/commit/555692b8de
2021-10-10 23:12:47 +09:00
David Rodríguez a5289bfa71 [ruby/rubygems] Install location safety should consider casing
https://github.com/rubygems/rubygems/commit/0a0ad34af3
2021-10-10 23:12:38 +09:00
David Rodríguez 6c878731c1 [ruby/rubygems] Remove redundant `File.expand_path`
`File.realpath` already expands paths.

https://github.com/rubygems/rubygems/commit/25524ebbeb
2021-10-10 23:12:28 +09:00
David Rodríguez 05e3d7b967 [ruby/rubygems] Explicit check file not created outside of destination
https://github.com/rubygems/rubygems/commit/1e363dbbcb
2021-10-10 23:12:21 +09:00
David Rodríguez 48e4dea4cd [ruby/rubygems] Refactor symlink attack specs
https://github.com/rubygems/rubygems/commit/9180b390aa
2021-10-10 23:12:15 +09:00
David Rodríguez 59c24f054e [ruby/rubygems] Simplify `File.expand_path` usage
https://github.com/rubygems/rubygems/commit/02e3cf44bf
2021-10-10 23:12:10 +09:00
David Rodríguez 11720818f6 [ruby/rubygems] Don't make duplicated checks on directory safety
This seems to speed up `gem install` on Windows by more than 50%.

https://github.com/rubygems/rubygems/commit/1970b1296d
2021-10-10 23:12:03 +09:00
Nobuyoshi Nakada ef352c5865
Shorten register names on arm64-darwin not to be truncated 2021-10-10 21:58:56 +09:00
Nobuyoshi Nakada b16d876ac2
Needs time.rb for `Time#iso8601`
`Gem::Request.verify_certificate_message` used this method without
"time" which defines it.
2021-10-10 21:11:55 +09:00
Kazuhiro NISHIYAMA b56bb0cf9b
Update bundled_gems 2021-10-10 20:14:37 +09:00
Nobuyoshi Nakada cec61d16d2
Run JIT tests first when random order instead of no-sort 2021-10-10 19:23:52 +09:00
Nobuyoshi Nakada fb9ea391cf
Default the test order to random 2021-10-10 18:30:33 +09:00
Nobuyoshi Nakada e2017f8c7c
Unify iteration arguments 2021-10-10 11:45:50 +09:00
Nobuyoshi Nakada 2293547d9b
Update iteration step in step_i_iter 2021-10-10 11:41:26 +09:00
S.H afb95d1004
Refactor sym_step_i function 2021-10-10 11:40:04 +09:00
Nobuyoshi Nakada f6048e592c
Run the failing readline test on arm32-linux separately 2021-10-10 11:16:14 +09:00
Nobuyoshi Nakada 3817d1823c
Remove `RUN_SEPARATED_TESTS` which seems unnecessary 2021-10-10 11:16:14 +09:00
Nobuyoshi Nakada 72797acf6e
Set `TEST_ALL` options first to show in the summary page 2021-10-10 11:16:13 +09:00
S-H-GAMELINKS 9cd9eca379 Refactor rb_proc_call function 2021-10-10 09:31:25 +09:00
S-H-GAMELINKS d25af1f44e Add flo_ndigits function 2021-10-10 09:29:53 +09:00
git 6678bb6679 * 2021-10-10 [ci skip] 2021-10-10 01:24:32 +09:00
Nobuyoshi Nakada 7f3786c3e8
Use an isolated class
The number of all instances of `Class` may be affected by GC-able
anonymous classes created by other tests.
2021-10-10 01:20:40 +09:00
aycabta 5805b1472a [ruby/irb] Version 1.3.8.pre.11
https://github.com/ruby/irb/commit/49b9f644c2
2021-10-09 23:29:29 +09:00
aycabta 98d9a7e435 [ruby/irb] Update dependency, reline >= 0.2.8.pre.11
https://github.com/ruby/irb/commit/4f686afbca
2021-10-09 23:29:24 +09:00
aycabta 56140bc7af [ruby/reline] Version 0.2.8.pre.11
https://github.com/ruby/reline/commit/de858ee1ac
2021-10-09 23:27:40 +09:00
aycabta d0f2c4d053 [ruby/reline] Fix tests to show dialog to the right edge
https://github.com/ruby/reline/commit/6a0d0ada94
2021-10-09 23:23:14 +09:00
aycabta bf1f6a696f [ruby/reline] Add a test for full-width scrollbar
https://github.com/ruby/reline/commit/cff83e68f8
2021-10-09 23:23:07 +09:00
aycabta 9cb7ba2f21 [ruby/reline] Add RELINE_ALT_SCROLLBAR env to use alternative text for scrollbar
The setting to use '::' instead of block elements.

https://github.com/ruby/reline/commit/4afbc98e2c
2021-10-09 23:23:02 +09:00
aycabta e6ba2953e9 [ruby/reline] Fix calculating dialog width with full-width scrollbar
https://github.com/ruby/reline/commit/93bc9b5277
2021-10-09 23:22:57 +09:00
Nobuyoshi Nakada c423cc932e
Refactor `Test::Unit::CoreAssertions#assert_nothing_raised`
* Separate exception classes to be rescued or reraised
* Use the filtered backtrace in the failure message
* Raise a new `AssertionFailedError` with the original backtrace
2021-10-09 18:14:21 +09:00
Nobuyoshi Nakada fc913ad21d
Exclude also core_assertions.rb from backtraces 2021-10-09 16:17:37 +09:00
Nobuyoshi Nakada 3932227d96
Unify `Test::Unit::Assertions#message`
Merge `Test::Unit::CoreAssertions#message`.
2021-10-09 16:17:01 +09:00
Nobuyoshi Nakada 489c22b17f
Let `Test::Unit::CoreAssertions::AllFailures#for` yield the key
Similar to `Test::Unit::CoreAssertions::AllFailures#foreach`.
2021-10-09 14:28:27 +09:00
OKURA Masafumi 7e506716d2
Newly generated gems require Ruby 2.6.0
In 2021, Ruby 2.5 and older are EOL.
We can set the default required Ruby version to 2.6.0 to
encourage people to use newer Ruby.
If the command is executed with old Ruby, it falls back to 2.3.0.
It's still possible to create a gem for older Ruby just by changing
two lines of code (one in gemspec and another is in rubocop.yml).
2021-10-09 09:07:47 +09:00
David Rodríguez 91f794b516 [rubygems/rubygems] I see no harm in this, allow it
https://github.com/rubygems/rubygems/commit/01feb40283
2021-10-09 08:05:46 +09:00