aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update to ruby/spec@34e6246Benoit Daloze2019-09-2935-133/+127
|
* Update to ruby/mspec@5dda9fbBenoit Daloze2019-09-297-3/+16
|
* Skip default gemspecs spec if the default_specifications_dir cannot be foundBenoit Daloze2019-09-291-4/+9
|
* Suppress keyword argument warning from #stepNobuyoshi Nakada2019-09-302-1/+9
| | | | | | * numeric.c (num_step): pass the extracted argument from keyword argument, not the last argument itself which should have been warned already.
* * 2019-09-30 [ci skip]git2019-09-301-1/+1
|
* Update to ruby/spec@e69a14cBenoit Daloze2019-09-298-8/+158
|
* Update to ruby/mspec@8cabcefBenoit Daloze2019-09-291-16/+20
|
* Update to ruby/spec@519df35Benoit Daloze2019-09-2983-308/+1416
|
* Update to ruby/mspec@8106083Benoit Daloze2019-09-2928-241/+298
|
* Pass $(XRUBY) to test-bundled-gems.rb since RbConfig.ruby is incorrect for ↵Benoit Daloze2019-09-292-2/+2
| | | | miniruby
* Move the logic to test bundled gems to Ruby codeBenoit Daloze2019-09-292-9/+27
| | | | | * Writing shell scripts in a Makefile is very error-prone. * TEST_BUNDLED_GEMS_ALLOW_FAILURES seemed to not work before.
* Exclude the test-unit bundled gem tests since they also fail since the ↵Benoit Daloze2019-09-292-4/+6
| | | | | | Time#inspect change * See https://github.com/test-unit/test-unit/issues/165
* Remove continue-on-error for test-bundled-gemsBenoit Daloze2019-09-292-4/+0
| | | | * Otherwise, it takes a very long time to notice those tests broke.
* [ruby/stringio] Bump up the versionNobuyoshi Nakada2019-09-291-1/+1
| | | | https://github.com/ruby/stringio/commit/f0e5027279
* [ruby/stringio] Use rb_funcallv_kw when delegating argumentsNobuyoshi Nakada2019-09-291-2/+7
| | | | https://github.com/ruby/stringio/commit/5892663e32
* [ruby/stringio] Replaced rb_funcall2 with rb_funcallvNobuyoshi Nakada2019-09-291-4/+4
| | | | https://github.com/ruby/stringio/commit/a37ab7c419
* [ruby/stringio] Dropped older ruby versionsNobuyoshi Nakada2019-09-291-1/+1
| | | | https://github.com/ruby/stringio/commit/e8065153b8
* [ruby/stringio] Get rid of String#undump for ruby 2.4 or earlierNobuyoshi Nakada2019-09-291-1/+1
| | | | https://github.com/ruby/stringio/commit/4dfd997e0a
* [ruby/zlib] Fix for older ruby 2.6 or earlierNobuyoshi Nakada2019-09-291-0/+9
| | | | https://github.com/ruby/zlib/commit/00ead8cb2c
* [ruby/zlib] Search zlib.c as a gemNobuyoshi Nakada2019-09-291-4/+11
| | | | https://github.com/ruby/zlib/commit/8f43b264cd
* [DOC] Fix typos in Array#{to_s,inspect} doc [ci skip]Benoit Daloze2019-09-291-1/+1
|
* [DOC] stated that Array#to_s calls #inspect [ci skip]Nobuyoshi Nakada2019-09-291-1/+2
| | | | [ruby-list:50826]
* * 2019-09-29 [ci skip]git2019-09-291-1/+1
|
* Upgrade to the latest did_you_mean 1.3.1Yuki Nishijima2019-09-291-1/+1
|
* NEWS: marked up `**nil` [ci skip]Nobuyoshi Nakada2019-09-281-3/+3
|
* NEWS: Added module name to proc and lambda [ci skip]Nobuyoshi Nakada2019-09-281-3/+3
| | | | RDoc cannot know if bare words are method name or not.
* Fix warning when doing Struct.new(:x, keyword_init: true){}Jeremy Evans2019-09-272-1/+11
| | | | | | | | | | This is due to calling rb_mod_module_eval directly instead of using rb_funcall_passing_block. The problem with calling directly is it does not create a new VM frame, so rb_mod_module_eval was called with no arguments, but with the keyword given VM frame flag set, which causes problems internally.
* Correctly issue ArgumentError when calling method that accepts no keywordsJeremy Evans2019-09-272-0/+15
| | | | | | | If a method accepts no keywords and was called with a keyword, an ArgumentError was not always issued previously. Force methods that accept no keywords to go through setup_parameters_complex so that an ArgumentError is raised if keywords are provided.
* Update NEWS section on keyword argument separation [ci skip]Jeremy Evans2019-09-271-10/+57
| | | | | This may be too verbose, if so, maybe it should be moved lower in the document, or to a separate document.
* * 2019-09-28 [ci skip]git2019-09-281-1/+1
|
* Optimize Array#flatten and flatten! for already flattened arrays (#2495)Dylan Thacker-Smith2019-09-282-10/+52
| | | | | | | * Optimize Array#flatten and flatten! for already flattened arrays * Add benchmark for Array#flatten and Array#flatten! [Bug #16119]
* Warn for URI.{,un}{escape,encode}, even if not in verbose modeJeremy Evans2019-09-271-2/+2
| | | | | | | | The verbose mode warning has been present for almost 10 years. If we ever plan to remove these methods, we should make the warning a regular deprecation warning so that people are aware. Implements [Feature #15961]
* Fix fallback in URI.encode_www_form_component to include #Jeremy Evans2019-09-272-1/+3
| | | | | | Patch from Matthew Kerwin. Fixes [Bug #14358]
* Do not escape + in Shellwords.escapeJeremy Evans2019-09-272-1/+6
| | | | | | + is not a character that requires escaping in Bourne sh. Fixes [Bug #14429]
* Ignore Errno::EPIPE when sending requests in net/httpJeremy Evans2019-09-272-1/+18
| | | | | | | | An EPIPE when sending the request should be ignored. Even if you cannot write more data, you may still be able to read the server's response. Fixes [Bug #14466]
* Updated bundled_gemsNobuyoshi Nakada2019-09-271-2/+2
|
* Drop eliminated catch-entriesNobuyoshi Nakada2019-09-272-0/+27
| | | | | Drop catch table entries used in eliminated block, as well as call_infos. [Bug #16184]
* assert_in_out_err should use FailDesc tooNobuyoshi Nakada2019-09-271-4/+2
|
* Adjusted spaces [ci skip]Nobuyoshi Nakada2019-09-273-40/+41
|
* More tests for [Feature #16150]Nobuyoshi Nakada2019-09-271-0/+21
|
* [EXPERIMENTAL] Make NilClass#to_s, TrueClass#to_s and FalseClass#to_s return ↵Jean Boussier2019-09-275-3/+51
| | | | | | | | a frozen String * Always the same frozen String for each of these values. * Avoids extra allocations whenever calling these 3 methods. * See [Feature #16150]
* [ruby/fileutils] Bump version to 1.3.0.Hiroshi SHIBATA2019-09-271-1/+1
| | | | https://github.com/ruby/fileutils/commit/ba3bd6fdfd
* [ruby/fileutils] Use Gemfile instead of ↵Hiroshi SHIBATA2019-09-271-2/+0
| | | | | | Gem::Specification#add_development_dependency. https://github.com/ruby/fileutils/commit/17a9de6d9b
* [ruby/fileutils] Reduce global variablesKazuhiro NISHIYAMA2019-09-271-8/+8
| | | | https://github.com/ruby/fileutils/commit/ba81f024cf
* [ruby/fileutils] Fix cp_r with symlink root on WindowsJeremy Evans2019-09-271-1/+5
| | | | | | | | | | Previously this would copy the symlink root as a symlink instead of creating a new root directory. This modifies the source to expand it using File.realpath before starting the copy. Fixes Ruby Bug 12123 https://github.com/ruby/fileutils/commit/7359cef359
* [ruby/fileutils] Fix test_cp_r_dev on Windows or other systems without ↵Jeremy Evans2019-09-271-4/+4
| | | | | | | | | | | | | character/block device in /dev Previously this would give an error such as: TestFileUtils#test_cp_r_dev [c:/fileutils/test/fileutils/test_fileutils.rb:455]: [RuntimeError] exception expected, not. Class: <TypeError> Message: <"no implicit conversion of nil into String"> https://github.com/ruby/fileutils/commit/0ce0fefbeb
* [ruby/fileutils] Do not break in verbose mode if using FileUtils with a ↵Jeremy Evans2019-09-272-12/+30
| | | | | | | | | | | | | frozen object If FileUtils is included into another object, and verbose mode is used, a FrozenError is currently raised unless the object has the @fileutils_output and @fileutils_label instance variables. This fixes things so that it does not attempt to set the instance variables, but it still uses them if they are present. https://github.com/ruby/fileutils/commit/689cb9c56a
* [ruby/fileutils] Skip test_cp_r_socket on JRubyJeremy Evans2019-09-271-0/+1
| | | | https://github.com/ruby/fileutils/commit/20bb9ec789
* [ruby/fileutils] Make copy methods handle FIFOs and UNIX socketsJeremy Evans2019-09-272-9/+40
| | | | | | | | | | | | | | | | | | Previously, this was broken. Trying to copy a FIFO would raise a NoMethodError if File.mkfifo was defined. Trying to copy a UNIX socket would raise a RuntimeError as File.mknod is not something Ruby defines. Handle the FIFO issue using File.mkfifo instead of mkfifo. Handle the UNIX Socket issue by creating a unix socket. Continue to not support character or block devices, raising a RuntimeError for both. Add tests for FIFO, UNIX Socket, and character/block devices. https://github.com/ruby/fileutils/commit/123903532d
* [ruby/fileutils] Update the documentation content and formattingzverok2019-09-271-74/+93
| | | | https://github.com/ruby/fileutils/commit/b701353c53