summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-10-26Make `(#methodname)` a link with --hyperlink-all optionaycabta
2019-10-26Make `(#methodname)` a linkNobuyoshi Nakada
2019-10-26refactor assign variables卜部昌平
For readability. Requested by ko1. See: https://github.com/ruby/ruby/commit/356e203a3acd4d3d20ba12f956fd22e17b6363e9#r35661401
2019-10-26Documentation improvements for Ruby corezverok
* Top-level `return`; * Documentation for comments syntax; * `rescue` inside blocks; * Enhance `Object#to_enum` docs; * Make `chomp:` option more obvious for `String#each_line` and `#lines`; * Enhance `Proc#>>` and `#<<` docs; * Enhance `Processs` class docs. Notes: Merged: https://github.com/ruby/ruby/pull/2612
2019-10-26Raise on end-exclusive ranges [Feature #14784]Nobuyoshi Nakada
Raises an error on end-exclusive ranges unless endless, regardless the receiver. Notes: Merged: https://github.com/ruby/ruby/pull/2613
2019-10-26[ruby/forwardable] Use Gemfile instead of ↵Hiroshi SHIBATA
Gem::Specification#add_development_dependency. https://github.com/ruby/forwardable/commit/1e7123a81b
2019-10-26[ruby/forwardable] Fix NoMethodError on ruby 2.4 or earlierKazuhiro NISHIYAMA
https://github.com/ruby/forwardable/runs/242918994#step:5:12 ``` Error: test_obj_single_delegators_send_id(TestForwardable): NoMethodError: private method `attr_reader' called for #<Class:#<Object:0x00005605af501f58>> ``` https://github.com/ruby/forwardable/commit/711bbb2466
2019-10-26[ruby/forwardable] Remove string allocation in def_{instance,single}_delegatorsJeremy Evans
https://github.com/ruby/forwardable/commit/1a994c90e1
2019-10-26[ruby/forwardable] Make def_{instance,single}_delegators skip :__send__ and ↵Jeremy Evans
:__id__ Previously, __send__ and __id__ were skipped if provided as strings, but not skipped if provided as symbols. Fixes Ruby Bug 8855. https://github.com/ruby/forwardable/commit/2e61c8c66c
2019-10-26[ruby/forwardable] Update spec.filesHiroshi SHIBATA
https://github.com/ruby/forwardable/commit/1b6991e589
2019-10-26[ruby/forwardable] Extracted VERSION constant for gemspecHiroshi SHIBATA
https://github.com/ruby/forwardable/commit/387758d45a
2019-10-26[ruby/dbm] Remove taint supportJeremy Evans
Ruby 2.7 deprecates taint and it no longer has an effect. The lack of taint support should not cause a problem in previous Ruby versions. https://github.com/ruby/dbm/commit/1f0ff0bce1
2019-10-26* 2019-10-26 [ci skip]git
2019-10-26Edit vm_opts.h for VM optionsNobuyoshi Nakada
Revert 46f175ed5c8560b3c9da5ab7b4fa73287f1eb1c5 partially. Also tool/ruby_vm scripts refer the options in vm_opts.h.
2019-10-25Fixed range argument condition [Feature #14784]Nobuyoshi Nakada
Allows a beginless/endless range, and an end-exclusive range unless the receiver is smaller than its end. Notes: Merged: https://github.com/ruby/ruby/pull/2611
2019-10-25enable assertion for debug.Koichi Sasada
http://ci.rvm.jp/results/trunk-vm-asserts@silicon-docker/2340856
2019-10-25skip tests that do not work on GC.stress卜部昌平
These tests rely on GC.stat and GC.last_gc_info, which are not stable when GC.stress is true. Skip them for that case.
2019-10-25more on struct rb_call_data卜部昌平
Replacing adjacent struct rb_call_info and struct rb_call_cache into a struct rb_call_data.
2019-10-25Add `shell: cmd`Kazuhiro NISHIYAMA
Use cmd instead of new default shell for `call`. https://github.blog/changelog/2019-10-17-github-actions-default-shell-on-windows-runners-is-changing-to-powershell/ https://github.com/ruby/ruby/commit/7bcc639c720b59eb2199601963bcfa720168185b/checks#step:6:5 ``` call : The term 'call' is not recognized as the name of a cmdlet, function, script file, or operable program. ```
2019-10-25Rename old var name with new nameaycabta
2019-10-25[ruby/tracer] Use Gemfile instead of ↵Hiroshi SHIBATA
Gem::Specification#add_development_dependency. https://github.com/ruby/tracer/commit/9df7d7937b
2019-10-24Handle case where ruby2_keywords method splats to ruby2_keywords methodJeremy Evans
Previously, the keyword hash was duped (which results in a regular hash), but the dup was not marked as a keyword hash, causing the hash not to be marked as keyword hash even though it should be. Notes: Merged: https://github.com/ruby/ruby/pull/2609
2019-10-25Do not show progress at chocolateyNobuyoshi Nakada
2019-10-25retry tailcall optimization (#2529)wanabe
Sorry, f62f90367fc3bce6714e7c34cbd040e14e43fe07 is push miss.
2019-10-25respect `param.flags.ruby2_keywords` at to_binary.Koichi Sasada
`param.flags.ruby2_keywords` is not store/load correctly at to_binary so restore this flag correctly.
2019-10-24Duplicate hash when converting keyword hash to keywordsJeremy Evans
This mirrors the behavior when manually splatting a hash. This mirrors the changes made in setup_parameters_complex in 6081ddd6e6f2297862b3c7e898d28a76b8f9240b, so that splatting to a non-iseq method works the same as splatting to an iseq method. Notes: Merged: https://github.com/ruby/ruby/pull/2606
2019-10-24Update date specsJeremy Evans
Allow Date.new spec to run on 2.7. Separate Date.valid_jd? specs, since 2.7 is now stricter and requires numeric value for the first argument. Notes: Merged: https://github.com/ruby/ruby/pull/2605
2019-10-24Fix typo causing Date.new(year, month) to failJeremy Evans
Add a test for this case. Notes: Merged: https://github.com/ruby/ruby/pull/2605
2019-10-25check T_ICLASS for Method#inspect.Koichi Sasada
METHOD::klass can contain T_ICLASS so inspect should respect it.
2019-10-25Install openssl with chocolateyNobuyoshi Nakada
OpenSSL in chocolatey is 1.1.1d but outdated 1.0.2s is in vcpkg.
2019-10-25Split by `&&`Nobuyoshi Nakada
2019-10-25Expanded an environment variableNobuyoshi Nakada
PowerShell does not expand by `%varname%` syntax.
2019-10-25Get rid of control flow by cmd.exeNobuyoshi Nakada
Github workflow stopped using cmd.exe suddenly, and `||` and `&&` seem not working in PowerShell.
2019-10-25Define arguments forwarding as `ruby2_keywords` styleNobuyoshi Nakada
Get rid of these redundant and useless warnings. ``` $ ruby -e 'def bar(a) a; end; def foo(...) bar(...) end; foo({})' -e:1: warning: The last argument is used as the keyword parameter -e:1: warning: for `foo' defined here -e:1: warning: The keyword argument is passed as the last hash parameter -e:1: warning: for `bar' defined here ```
2019-10-25Assert no-kwrest caseNobuyoshi Nakada
2019-10-25Assert no-block caseNobuyoshi Nakada
2019-10-25Set method locationsNobuyoshi Nakada
2019-10-25* 2019-10-25 [ci skip]git
2019-10-25Arguments forwarding is not allowed in lambda [Feature #16253]Nobuyoshi Nakada
2019-10-24Remove unsused output_method argumentJeremy Evans
Fixes Ruby Bug 9876.
2019-10-24Refined `rp` output [ci skip]Nobuyoshi Nakada
So that the result structure can be accessed as `$number` variables, not a mere `VALUE`.
2019-10-24Revert "[ruby/fiddle] Fix a failing test (#13)"Hiroshi SHIBATA
This reverts commit 5ebb0d50f6560b35bc03deb79341a115c5f782ee. Notes: Merged: https://github.com/ruby/ruby/pull/2603
2019-10-24Revert "[ruby/fiddle] test: use env Hash"Hiroshi SHIBATA
This reverts commit 4d844cbaed518743776594fa5ae33b86fe176ad1. Notes: Merged: https://github.com/ruby/ruby/pull/2603
2019-10-24Revert "[ruby/fiddle] Use ffi_closure_free by default. (#20)"Hiroshi SHIBATA
This reverts commit ce6caade7c57a505f73086ccd7b33c14f7715f22. Notes: Merged: https://github.com/ruby/ruby/pull/2603
2019-10-24[ruby/webrick] Don't check tainting in access log escapingJeremy Evans
Only untaint result on Ruby <2.7, as taint support is deprecated in Ruby 2.7+ and no longer has an effect. https://github.com/ruby/webrick/commit/4c430f9410
2019-10-24[ruby/webrick] Support literal IPv6 addresses in X-Forwarded-HostJeremy Evans
https://github.com/ruby/webrick/commit/6b6990ec81
2019-10-24[ruby/webrick] Remove the squishing of whitespace in header valuesJeremy Evans
While the stripping of header values is required by RFC 2616 4.2 and RFC 7230 3.2.4, the squishing is not and can break things, such as when one header contains an HMAC of another header. Fixes Ruby Bug 7021. https://github.com/ruby/webrick/commit/8b96088a86
2019-10-24[ruby/webrick] bump version to 1.5.0Hiroshi SHIBATA
https://github.com/ruby/webrick/commit/00c281caa7
2019-10-24[ruby/webrick] Remove Webrick::HTTPResponse#to_sJeremy Evans
It is currently broken, and even if it worked, it can cause problems when debugging. See Ruby Bug 10715. https://github.com/ruby/webrick/commit/575dea8656
2019-10-24[ruby/webrick] after ruby-2.6.0, set Net::HTTP#write_timeoutthekuwayama
https://github.com/ruby/webrick/commit/3b51f6b4d2