aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Try giving up `brew update` in Azure as wellTakashi Kokubun2019-07-301-1/+1
| | | | | homebrew-cask fetch fails too often. https://dev.azure.com/rubylang/ruby/_build/results?buildId=1917
* Hint for the dependency update [Bug #16000]Nobuyoshi Nakada2019-07-301-0/+1
|
* Separate VCS::GIT#upstreamNobuyoshi Nakada2019-07-301-4/+9
|
* `/o` should not use with instance variableKazuhiro NISHIYAMA2019-07-301-1/+1
| | | | | | | | | for example: ``` class C;def initialize(pat);@pat=pat;end;def re;/#{@pat}/o;end;end C.new('1').re #=> /1/ C.new('2').re #=> /1/ ```
* Separate test_set_lineno_getsNobuyoshi Nakada2019-07-301-14/+16
|
* Use lowercase letters for IPv6 addresses.Tanaka Akira2019-07-302-1/+17
| | | | | | Reported by chucke (Tiago Cardoso). Patch by jeremyevans0 (Jeremy Evans). [Bug #14612]
* Revert "Do not always taint the result of File#path"Jeremy Evans2019-07-293-22/+1
| | | | | | This reverts commit 1a759bfe5d554c22571d2e6e4e5998cf06a7b98f. This fails on some operating systems.
* Document that Timezone argument for Time uses dst? if available [ci skip]Jeremy Evans2019-07-291-1/+4
|
* * 2019-07-30git2019-07-301-1/+1
|
* Do not always taint the result of File#pathJeremy Evans2019-07-293-1/+22
| | | | | | | | | | | | | | | | | | The result should only be tainted if the path given to the method was tainted. The code to always taint the result was added in a4934a42cbb84b6679912226581c71b435671f55 (svn revision 4892) in 2003 by matz. However, the change wasn't mentioned in the commit message, and it may have been committed by accident. Skip part of a readline test that uses Reline. Reline in general would pass the test, but Reline's test mode doesn't raise a SecurityError if passing a tainted prompt and $SAFE >= 1. This was hidden earlier because File#path was always returning a tainted string. Fixes [Bug #14485]
* Warn if using return at top-level with an argumentJeremy Evans2019-07-293-6/+26
| | | | Fixes [Bug #14062]
* Erase only on ttyNobuyoshi Nakada2019-07-291-2/+2
|
* Should match the beginning/end of stringNobuyoshi Nakada2019-07-291-4/+4
|
* Match suffix for content type more preciselyNobuyoshi Nakada2019-07-291-3/+3
| | | | Suffix needs a dot and should match the end of string.
* Chomp html suffix literallyNobuyoshi Nakada2019-07-291-1/+1
| | | | Unescaped dot does not mean a suffix.
* Fix unused variableKazuhiro NISHIYAMA2019-07-291-3/+3
|
* Actually remove travis_waitTakashi Kokubun2019-07-291-1/+1
| | | | | I forgot to amend again... Details are explained in f6a6b21f09b24955a44622e1767bf5b6630525be
* `travis_wait` silences any outputTakashi Kokubun2019-07-291-3/+1
| | | | | | | | | and thus it does not work with `-v` for investigating hangs well. This seems to be by design: https://github.com/travis-ci/travis-ci/issues/4190 Also I simplified a comment about `homebrew.update`. I had this in-flight change while editing e05f397f08e98fb170e3aca885d6028b344e833c but forgot to ammend this.
* Give up `brew update` on TravisTakashi Kokubun2019-07-291-1/+4
| | | | | | | | No `brew update` causes "Error: Your Homebrew is outdated" like https://travis-ci.org/ruby/ruby/jobs/547485832, but doing `brew update` is also problematic like https://travis-ci.org/ruby/ruby/jobs/564916879. Hoping that the former case is more rare, let's try no `brew update` again.
* Resurrect -v to debug osx problemsTakashi Kokubun2019-07-291-1/+2
| | | | | Formerly we did f432fd6ea595ef854e15d6dd65ef0ccb24a70456, but it did not eliminate our problems: https://travis-ci.org/ruby/ruby/jobs/564804923
* Stop isolating test_gc_compact on CITakashi Kokubun2019-07-292-10/+5
| | | | I think it's been stable these days.
* Removed unused variables and methodsNobuyoshi Nakada2019-07-291-5/+1
|
* [ruby/rdoc] Removed unused variableNobuyoshi Nakada2019-07-291-1/+1
|
* * 2019-07-29git2019-07-291-1/+1
|
* Moved osx_imageNobuyoshi Nakada2019-07-291-2/+1
| | | | | | Set osx_image under each configuration, as it decides the OS (and kernel) version not only Xcode version, and the configuration name contains the kernel version.
* [reline] Do not compile regexp for each lineNobuyoshi Nakada2019-07-281-5/+4
|
* [reline] Do not escape and compile regexp for each byteNobuyoshi Nakada2019-07-281-3/+7
|
* * 2019-07-28git2019-07-281-1/+1
|
* Reuse match dataNobuyoshi Nakada2019-07-283-2/+12
| | | | * string.c (rb_str_split_m): reuse occupied match data. [Bug #16024]
* Extend travis_wait to 50min for osxTakashi Kokubun2019-07-271-2/+2
| | | | | | | but shorten --timeout-scale for now to avoid finishing with timeout if possible. timeout: https://travis-ci.org/ruby/ruby/jobs/564370175
* Occupy match dataNobuyoshi Nakada2019-07-272-1/+6
| | | | | * string.c (rb_str_split_m): occupy match data not to be modified during yielding the block. [Bug #16024]
* Include travis osx timeoutTakashi Kokubun2019-07-271-1/+1
| | | | for failures like https://travis-ci.org/ruby/ruby/jobs/564351066
* tool/merger.rb: execute 'svn update' after 'svn ci' to update revision info ↵nagachika2019-07-271-0/+1
| | | | on working copy.
* Update to ruby/spec@0526d8fBenoit Daloze2019-07-271-2/+2
|
* Update to ruby/spec@875a09eBenoit Daloze2019-07-271247-5031/+5319
|
* Ignore history file without saving if permissions cannot be changedJeremy Evans2019-07-271-0/+2
| | | | Fixes [Ruby Bug 13907]
* Use JRuby equivalent of RubyVM.compile.Charles Oliver Nutter2019-07-271-1/+6
| | | | | RubyVM is specific to CRuby and not supported on JRuby. This is the equivalent operation.
* Skip the some of commits when sync default gems from upstream.Hiroshi SHIBATA2019-07-271-3/+21
| | | | | * Skip failed to sync commits because it needs to pick manually. * Skip empty commit.
* Added ignore files to sync_default_gems_with_commits and make constant them.Hiroshi SHIBATA2019-07-271-1/+3
|
* Initialize DST flagNobuyoshi Nakada2019-07-273-17/+78
| | | | | * time.c (zone_timelocal): initialize DST flag by asking the timezone object. [Bug #15988]
* Add more documentation on #eql?/#hash relationship [ci skip]Jeremy Evans2019-07-261-1/+5
| | | | Fixes [Bug #14263]
* Restore documentation for Object#hash [ci skip]Jeremy Evans2019-07-261-0/+19
| | | | | Object#hash documentation was removed (probably by accident) in 7b19e6f3fdf8b0238752cb1561dfe42a283f5308.
* Document behavior when mixing named captures with parentheses [ci skip]Jeremy Evans2019-07-261-1/+9
| | | | Fixes [Bug #13716]
* Test SecureRandom.uuid formatJeremy Evans2019-07-261-0/+5
| | | | | | | | | SecureRandom uses v4 UUIDs, which are completely random except for 6 bits, 4 in the version field and 2 in the clk_seq_hi_res field. Add a test that those bit patterns are set correctly for v4 UUIDs, per RFC 4122 section 4.4. Fixes [Bug #13603]
* * 2019-07-27git2019-07-271-1/+1
|
* Document acceptance of negative pid in Process.kill [ci skip]Jeremy Evans2019-07-261-2/+3
| | | | Fixes [Bug #13501]
* Document and add spec for delegating to constants in ForwardableJeremy Evans2019-07-262-2/+19
| | | | Fixes [Bug #13142]
* [ruby/rdoc] Fix image links in rdoc.cssMaxime Lapointe2019-07-261-5/+5
| | | | | | | | | Every image in the rdoc.css that use url has the wrong one. They end up pointing to `css/images/zoom.png` instead of `images/zoom.png`. Just open this page https://ruby.github.io/rdoc/RDoc/CodeObject.html on chrome and you can see in the console the spam of the failed GET queries. This fixes it. https://github.com/ruby/rdoc/commit/daf36f9894
* [ruby/rdoc] Update jQuery to 3.3.1aycabta2019-07-261-4/+2
| | | | https://github.com/ruby/rdoc/commit/17df871ee
* [ruby/rdoc] Support nesting text page URLaycabta2019-07-262-1/+16
| | | | | | | | | | RDoc::Servlet#documentation_page replaces "/" in URL with "::" for class or module but it's also used for the replaced name on text pages. This causes a bug when text pages are in nesting directory. This commit fixes #615. https://github.com/ruby/rdoc/commit/d73b915b1e