Commits on May 17, 2018
  1. range.c: === by cover?

    nobu committed May 17, 2018
    * range.c (range_eqq): switch `Range#===` to use `cover?` instead
      of `include?`.  [Feature #14575]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Apr 29, 2018
  1. * spec/ruby/command_line/dash_upper_i_spec.rb: skip symlink on Window…

    unak committed Apr 29, 2018
    …s like
    
      other specs.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Apr 28, 2018
  1. Generalize the check to MRI in the -I spec

    eregon committed Apr 28, 2018
    * The current check seems to fail with AppVeyor.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. Ignore the extension of miniruby on Windows in the -I spec

    eregon committed Apr 28, 2018
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. Update to ruby/spec@6f38a82

    eregon committed Apr 28, 2018
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. Update to ruby/mspec@b5b13de

    eregon committed Apr 28, 2018
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. rexml: disable XPath 1.0 compatible "#{ELEMENT_NAME}" processing by d…

    kou committed Apr 28, 2018
    …efault
    
    It breaks backward compatibility than I thought. So it's disabled by
    default. It means that REXML's XPath processor isn't compatible with
    XPath 1.0. But it will be acceptable for users.
    
    We can enable it by specifying "strict: true" to
    REXML::XPathParser.new explicitly.
    
    * lib/rexml/xpath.rb,
      lib/rexml/xpath_parser.rb: Accept "strict: true" option.
    
    * test/rexml/test_contrib.rb,
      test/rexml/xpath/test_base.rb: Use not XPath 1.0 compatible behavior.
    
    * test/rexml/test_jaxen.rb: Use XPath 1.0 compatible behavior.
    
    * test/rss/test_1.0.rb,
      test/rss/test_dublincore.rb,
      spec/ruby/library/rexml/element/namespace_spec.rb,
      spec/ruby/library/rexml/element/namespaces_spec.rb,
      spec/ruby/library/rexml/element/prefixes_spec.rb: Enable again.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Apr 25, 2018
  1. Avoid "should_not raise_error" in Thread#raise spec

    eregon committed Apr 25, 2018
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. Fix style in Thread#raise spec

    eregon committed Apr 25, 2018
    * Add space after { and before }.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. Use Thread.pass in loop{} to check interrupts more often

    eregon committed Apr 25, 2018
    * The spec now runs in ~5ms vs ~100ms before.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Apr 22, 2018
  1. Same as the last commit (comment out tests for CI).

    ko1 committed Apr 22, 2018
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. Skip some tests to make CI healthy.

    ko1 committed Apr 22, 2018
    r63236 (or r63237) introduces test failures and CI shows errors.
    This commit makes skipping these tests.  Please revert this commit
    after tests (and rubyspec) work fine.
    
    Failure log example:
    https://gist.github.com/ko1/8456cf25fe35a696bd33ac86135092e4
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Apr 19, 2018
  1. dir.c: warning for NUL

    nobu committed Apr 19, 2018
    * dir.c (rb_push_glob): warn NUL-separated glob patterns.
      [Feature #14643]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Apr 16, 2018
  1. string.c: fix dumped suffix

    nobu committed Apr 16, 2018
    * string.c (rb_str_dump): get rid of an error on evaling with
      frozen-string-literal enabled.  [ruby-core:86539] [Bug #14687]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 31, 2018
  1. use requrie_relative

    nobu committed Mar 31, 2018
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. use require_relative

    nobu committed Mar 31, 2018
    * spec/ruby/core/file/ftype_spec.rb: use require_relative which
      resolves symbolic links consistently to git rid of constant
      re-definition warnings.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. file_types.rb: use the current terminal device

    nobu committed Mar 31, 2018
    * spec/ruby/core/file/fixtures/file_types.rb (configure_types):
      try the current standard input terminal device first to get rid
      of a race condition.  other terminal devices may be used by
      other processes and disposed during the test.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 26, 2018
  1. Update to ruby/spec@a585ec3

    eregon committed Mar 26, 2018
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. Update to ruby/mspec@8b54bf3

    eregon committed Mar 26, 2018
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 23, 2018
  1. parse.y: else without rescue

    nobu committed Mar 23, 2018
    * parse.y (bodystmt): [EXPERIMENTAL] make `else` without `rescue`
      a syntax error.  [DevelopersMeeting20180315Japan]
    
      https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20180315Japan
      https://docs.google.com/document/d/1RT0ijSo8uJ4Awn3CEvuYkjH0TVeXSYgeAFNmVGYC3ak/edit#
      > * do-else-end
      >   https://twitter.com/joker1007/status/974173396006129664
      >   https://twitter.com/joker1007/status/974173641347756032
      >   https://twitter.com/joker1007/status/974176512554369027
      >   Will be SyntaxError in 2.6-preview2
      >   All of begin/do/def (experimental)
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 13, 2018
  1. Bug Fix Enumerator::Lazy#uniq state for multiple call

    nobu committed Mar 13, 2018
    * enumerator.c (lazy_uniq_i): create new hash for each calls.
      [Fix GH-1820]
    
    Currently
    
    	2.5.0-preview1 :001 > arr = (0..100).lazy.uniq{|i| i % 10}
    	 => #<Enumerator::Lazy: #<Enumerator::Lazy: 0..100>:uniq>
    	2.5.0-preview1 :002 > arr.to_a
    	 => [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
    	2.5.0-preview1 :003 > arr.to_a
    	 => []
    
    Expected
    
    arr.to_a to always return same output
    
    From: Anmol Chopra <anmolchopra@rocketbox.in>
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 12, 2018
  1. Fix setting method visibility on method wrapped with prepend

    nobu committed Mar 12, 2018
    Ignore prepended modules when looking for already defined methods on a
    class to set the visibility on.
    [Fix GH-1834]
    
    From: Dylan Thacker-Smith <Dylan.Smith@shopify.com>
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 5, 2018
  1. required paths are real paths

    nobu committed Mar 5, 2018
    Fix `test-spec` failures when the build directory is a symbolic
    link.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 4, 2018
  1. Update to ruby/spec@c1b568b

    eregon committed Mar 4, 2018
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Feb 27, 2018
  1. Update to ruby/spec@51f301d

    eregon committed Feb 27, 2018
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. Update to ruby/spec@cbe855c

    eregon committed Feb 27, 2018
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. Update to ruby/mspec@d287466

    eregon committed Feb 27, 2018
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Feb 26, 2018
  1. r62071 is backported into Ruby 2.5 [Bug #14407]

    nurse committed Feb 26, 2018
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. Check the result of to_int in Kernel#Integer

    mrkn committed Feb 26, 2018
    [ruby-core:85813] [Bug #14552]
    
    * object.c (rb_convert_to_integer):
      Check the result of to_int in Kernel#Integer
    
    * test/ruby/test_integer.rb: add tests.
    
    * spec/ruby/core/kernel/Integer_spec.rb: fix examples.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Feb 25, 2018
  1. Add a new #filter alias for #select

    eregon committed Feb 25, 2018
    * In Enumerable, Enumerator::Lazy, Array, Hash and Set
      [Feature #13784] [ruby-core:82285]
    * Share specs for the various #select#select! methods and
      reuse them for #filter/#filter!.
    * Add corresponding filter tests for select tests.
    * Update NEWS.
    
    [Fix GH-1824]
    
    From: Alexander Patrick <adp90@case.edu>
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Feb 23, 2018
  1. groups_spec.rb: get rid of limit on macOS

    nobu committed Feb 23, 2018
    * spec/ruby/core/process/groups_spec.rb: on macOS, getgroups(2)
      has a variant which has no limit but not setgroups(2).  so the
      default groups may exceed the limit.  as the call of setgroups
      is expected to fail here, the content does not matter.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. Use Process::Tms

    nobu committed Feb 23, 2018
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Feb 22, 2018
  1. erb.rb: deprecate safe_level of ERB.new

    k0kubun committed Feb 22, 2018
    Also, as it's in the middle of the list of 4 arguments, 3rd and 4th arguments
    (trim_mode, eoutvar) are changed to keyword arguments.
    Old ways to specify arguments are deprecated and warned now.
    
    bin/erb: deprecate -S option.
    
    We'll remove all of deprecated ones at Ruby 2.7+.
    
    enc/make_encmake.rb: stopped using deprecated interface
    ext/etc/mkconstants.rb: ditto
    ext/socket/mkconstants.rb: ditto
    sample/ripper/ruby2html.rb: ditto
    spec/ruby/library/erb/defmethod/def_erb_method_spec.rb: ditto
    spec/ruby/library/erb/new_spec.rb: ditto
    test/erb/test_erb.rb: ditto
    test/erb/test_erb_command.rb: ditto
    tool/generic_erb.rb: ditto
    tool/ruby_vm/helpers/dumper.rb: ditto
    tool/transcode-tblgen.rb: ditto
    lib/rdoc/erbio.rb: ditto
    lib/rdoc/generator/darkfish.rb: ditto
    
    [Feature #14256]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 30, 2018
  1. skip EINVAL on unsupported platform

    ko1 committed Jan 30, 2018
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 29, 2018
  1. Update to ruby/spec@83063a3

    eregon committed Jan 29, 2018
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e