aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * 2019-06-13git2019-06-131-1/+1
|
* make sync-default-gems GEM=irbTakashi Kokubun2019-06-137-50/+94
| | | | | | Upgrade IRB to https://github.com/ruby/irb/commit/41ea43a4a732e094acfa1b0fc1473fdcda9e6227 Mostly backport changes.
* Another incomplete string caseNobuyoshi Nakada2019-06-121-0/+2
|
* Ripper::Lexer: fallback parse error token to the previous oneNobuyoshi Nakada2019-06-123-3/+13
|
* Treat "begin rescue end" correctlyaycabta2019-06-121-1/+1
|
* do_mutex_lock: release mutex before checking for interrupts (fixes issue 15360)Neeraj Bhunwal2019-06-111-1/+5
|
* Fix SystemStackError when calling a method in an unused refinementJeremy Evans2019-06-112-1/+36
| | | | Fixes [Bug #15720]
* * 2019-06-12git2019-06-121-1/+1
|
* * expand tabs.git2019-06-123-22/+22
|
* Add compaction support for more types.Aaron Patterson2019-06-115-14/+103
| | | | | | | | This commit adds compaction support for: * Fibers * Continuations * Autoload Constants
* assert_cpu_usage_low with timeout scaleNobuyoshi Nakada2019-06-112-9/+18
| | | | | | * test/lib/test/unit/assertions.rb (assert_cpu_usage_low): apply the timeout scale to measuring period. this assertion is very runtime environment dependent.
* MIN_HZ and MIN_MEASURABLE constantsNobuyoshi Nakada2019-06-111-4/+6
| | | | | | * test/lib/test/unit/assertions.rb (Test::Unit::Assertions): promoted MIN_HZ and MIN_MEASURABLE as constants, which should be constant through the process.
* Generalize timeout_scaleNobuyoshi Nakada2019-06-114-16/+17
| | | | | | | | | | | * test/lib/test/unit.rb (Test::Unit::TimeoutOption): renamed SubprocessOption. * test/lib/test/unit.rb (Test::Unit::TimeoutOption#setup_options): prefer `--timeout-scale` option. * test/lib/test/unit.rb (Test::Unit::TimeoutOption#non_options): prefer `ENV["RUBY_TEST_TIMEOUT_SCALE"]`.
* Refined syntax error messagesNobuyoshi Nakada2019-06-112-4/+4
|
* &. is not allowed inside LHS of massignNobuyoshi Nakada2019-06-112-0/+11
| | | | https://hackerone.com/reports/605262
* Fail test if load ~/.irbrcKazuhiro NISHIYAMA2019-06-111-0/+1
|
* Fixed the code-style with the upstream rule.Hiroshi SHIBATA2019-06-111-4/+4
|
* test/lib/test/unit/assertions.rb (assert_cpu_usage_low): Relax the limitYusuke Endoh2019-06-111-1/+1
| | | | | | | CPU usage 1% causes occesional test failure. Try to use 5%. https://rubyci.org/logs/rubyci.s3.amazonaws.com/gentoo/ruby-master/log/20190604T153002Z.fail.html.gz https://rubyci.org/logs/rubyci.s3.amazonaws.com/gentoo/ruby-master/log/20190610T153002Z.fail.html.gz
* * expand tabs.git2019-06-111-3/+3
|
* ext/socket/ipsocket.c: Use SO_REUSEADDR for local_host/portYusuke Endoh2019-06-111-0/+5
| | | | | | | Sometimes ruby/spec fails when trying to specify local_host and local_port for TCPSocket.open. https://rubyci.org/logs/rubyci.s3.amazonaws.com/solaris11s-sunc/ruby-master/log/20190610T192504Z.fail.html.gz
* test/net/http/test_http.rb: Extend the timeoutYusuke Endoh2019-06-111-2/+2
| | | | https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable10s/ruby-master/log/20190610T071910Z.log.html.gz
* * 2019-06-11git2019-06-111-1/+1
|
* Use checktype for performanceKazuki Tsujimoto2019-06-111-4/+2
|
* Use UTC for file2lastrev timezoneTakashi Kokubun2019-06-101-2/+2
| | | | | | | | | | | | | 02155da7bad37bd1c8adadd486d2d16eac7af43b got a claim about sacrificing ability to compare arbitrary `RUBY_DESCRIPTION`s without converting timezones. Because most of the people would be familiar with timezone conversion with UTC but it'd be harder when it comes to JST, this commit just changes the timezone in f42588f754d5885ec30631e5008c383f3ef905d8 to UTC. Another bonus in using UTC is that we can use a shorter variant of ISO 8601 format like "2019-06-10T14:26:24Z" (the last Z part).
* Make file2lastrev timezone consistent with git logTakashi Kokubun2019-06-101-4/+1
| | | | | | | | | | | | | | | Using the same timezone for all commits is convenient when just looking dates in RUBY_DESCRIPTION, but usually we also check `git log` when we're interested in the order of commits. `git log` shows times in committer's timezone and forcing RUBY_RELEASE_DATE to JST makes it harder to find a corresponding commit from `git log`. Because this label is only used in development, I believe there's no strict requirement to use traditional timezone for release here. Also when building Ruby after committing from a non-JST timezone, I'd be surprised to see a strange time (in a different timezone) for my very new commit in `ruby -v`.
* Make sure to suppress .irbrc on benchmarkTakashi Kokubun2019-06-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | By the way, this is already improved by nobu: ``` $ benchmark-driver benchmark/irb_exec.yml --rbenv '2.6.3;2.7.0-preview1;before;after' -v 2.6.3: ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux] 2.7.0-preview1: ruby 2.7.0preview1 (2019-05-31 trunk c55db6aa271df4a689dc8eb0039c929bf6ed43ff) [x86_64-linux] before: ruby 2.7.0dev (2019-06-10T21:13:14+09:00 master 973fd18f11) [x86_64-linux] after: ruby 2.7.0dev (2019-06-10T21:18:56+09:00 master 976c689ad4) [x86_64-linux] Calculating ------------------------------------- 2.6.3 2.7.0-preview1 before after irb_exec 11.868 5.872 6.297 10.278 i/s - 30.000 times in 2.527776s 5.108997s 4.764167s 2.918821s Comparison: irb_exec 2.6.3: 11.9 i/s after: 10.3 i/s - 1.15x slower before: 6.3 i/s - 1.88x slower 2.7.0-preview1: 5.9 i/s - 2.02x slower ```
* irb/cmd/help.rb: return nil after the redefinitionNobuyoshi Nakada2019-06-101-0/+1
|
* irb: defer requiring rdoc to improve the start up timeNobuyoshi Nakada2019-06-102-7/+10
|
* Add a benchmark of irb boot timeTakashi Kokubun2019-06-101-0/+10
| | | | | | | | | | | | | | ``` $ benchmark-driver benchmark/irb_exec.yml --rbenv '2.6.3;2.7.0-preview1' Calculating ------------------------------------- 2.6.3 2.7.0-preview1 irb_exec 11.844 5.171 i/s - 30.000 times in 2.532887s 5.801960s Comparison: irb_exec 2.6.3: 11.8 i/s 2.7.0-preview1: 5.2 i/s - 2.29x slower ```
* * 2019-06-10git2019-06-101-1/+1
|
* Resolv specs should pass on Windows nowBenoit Daloze2019-06-104-26/+18
|
* Fix Resolv specs to not depend on a system /etc/hosts fileBenoit Daloze2019-06-105-15/+16
| | | | | * https://rubyci.org/logs/rubyci.s3.amazonaws.com/archlinux/ruby-master/log/20190609T153804Z.fail.html.gz * Thanks @naruse for the tip.
* Added missing dependency for rake examples.Hiroshi SHIBATA2019-06-091-1/+1
|
* Fixed wrong BUNDLE_BIN_PATH for ruby core.Hiroshi SHIBATA2019-06-091-1/+1
|
* Added the condition for ruby_core repository.Hiroshi SHIBATA2019-06-092-2/+15
|
* Revert to change for filelist of bundler gemspec.Hiroshi SHIBATA2019-06-091-3/+3
|
* Merge bundler master from upstream.Hiroshi SHIBATA2019-06-09155-1594/+1312
| | | | Pick from 8dd59e3ba97eb80a599f8149f31bf40773b69dc0
* Make Resolv::DNS#each_name accept Resolv::IPv{4,6} argumentsJeremy Evans2019-06-082-0/+26
| | | | | | | | | These arguments were previously documented as supported, but not actually supported. Patch from Toru Iwase Fixes [Bug #15900]
* * 2019-06-09git2019-06-091-1/+1
|
* Split test_strip_bom for each encodingNobuyoshi Nakada2019-06-091-12/+34
|
* Add tests of the encoding with BOMNobuyoshi Nakada2019-06-091-4/+4
|
* Make RUBY_RELEASE_DATE full on developmentNobuyoshi Nakada2019-06-081-0/+11
| | | | I cannot tell the order just by commit hashes.
* Suppress warnings by gcc 9.1Nobuyoshi Nakada2019-06-083-7/+8
|
* file.c: fix compile error with MacPorts gccNobuyoshi Nakada2019-06-081-0/+8
| | | | | | | | | | With the SDK of Xcode 10.2.1, `API_AVAILABLE` and so on macros are not defined in <os/availability.h> when using a compiler other than clang (which has `__has_feature` and `__has_attribute`), but `__API_AVAILABLE` macro and so on are defined, which are also defined in <Availability.h>. I suspect this is a bug of the SDK.
* Fix broken `gem unpack`Nobuyoshi Nakada2019-06-081-0/+1
| | | | | * lib/rubygems/commands/unpack_command.rb: 'rubygems/package' is required here, to fix broken `gem unpack` command.
* io.c: fold very very long linesNobuyoshi Nakada2019-06-081-5/+20
|
* Revert "require rubygems/package where used"Hiroshi SHIBATA2019-06-083-5/+0
| | | | | | This reverts commit b76630f73e8362d3072bfa7178471ddc5d21c235. It fails with `make test-bundler BUNDLER_SPECS=runtime/setup_spec.rb:1204`
* * 2019-06-08git2019-06-081-1/+1
|
* Remove unnecessary variablesaycabta2019-06-081-1/+0
|
* Report a sudden death of workersNobuyoshi Nakada2019-06-071-0/+2
|