| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
| |
:__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
|
|
|
|
| |
https://github.com/ruby/forwardable/commit/1b6991e589
|
|
|
|
| |
https://github.com/ruby/forwardable/commit/387758d45a
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
Revert 46f175ed5c8560b3c9da5ab7b4fa73287f1eb1c5 partially.
Also tool/ruby_vm scripts refer the options in vm_opts.h.
|
|
|
|
|
| |
Allows a beginless/endless range, and an end-exclusive range
unless the receiver is smaller than its end.
|
|
|
|
| |
http://ci.rvm.jp/results/trunk-vm-asserts@silicon-docker/2340856
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Replacing adjacent struct rb_call_info and struct rb_call_cache
into a struct rb_call_data.
|
|
|
|
|
|
|
|
|
|
| |
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.
```
|
| |
|
|
|
|
|
|
| |
Gem::Specification#add_development_dependency.
https://github.com/ruby/tracer/commit/9df7d7937b
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
| |
Sorry, f62f90367fc3bce6714e7c34cbd040e14e43fe07 is push miss.
|
|
|
|
|
| |
`param.flags.ruby2_keywords` is not store/load correctly at to_binary
so restore this flag correctly.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Add a test for this case.
|
|
|
|
| |
METHOD::klass can contain T_ICLASS so inspect should respect it.
|
|
|
|
| |
OpenSSL in chocolatey is 1.1.1d but outdated 1.0.2s is in vcpkg.
|
| |
|
|
|
|
| |
PowerShell does not expand by `%varname%` syntax.
|
|
|
|
|
| |
Github workflow stopped using cmd.exe suddenly, and `||` and `&&`
seem not working in PowerShell.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
```
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes Ruby Bug 9876.
|
|
|
|
|
| |
So that the result structure can be accessed as `$number`
variables, not a mere `VALUE`.
|
|
|
|
| |
This reverts commit 5ebb0d50f6560b35bc03deb79341a115c5f782ee.
|
|
|
|
| |
This reverts commit 4d844cbaed518743776594fa5ae33b86fe176ad1.
|
|
|
|
| |
This reverts commit ce6caade7c57a505f73086ccd7b33c14f7715f22.
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
https://github.com/ruby/webrick/commit/6b6990ec81
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
https://github.com/ruby/webrick/commit/00c281caa7
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
https://github.com/ruby/webrick/commit/3b51f6b4d2
|
|
|
|
|
|
|
| |
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/fiddle/commit/18d6fb6915
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Use ffi_closure_free unconditionally.
The current conditionals reflect historic heritage of FFI. Usage of
ffi_closure_free should be better default nowadays, because libffi 3.0.5
fixing issues of ffi_closure_free should be widely available.
* RUBY_LIBFFI_MODVERSION is not used anymore.
Because `ffi_closure_free()` is not used unconditionally, there is no
other use for RUBY_LIBFFI_MODVERSION define, so drop its usage.
* Use more meaningful variable name.
`ver` variable used to be used to pupulate RUBY_LIBFFI_MODVERSION
define. Since the define was removed, the `libffi_dir` variable name
should better describe the remaining usage of the variable.
https://github.com/ruby/fiddle/commit/c49cc79eb8
|
|
|
|
| |
https://github.com/ruby/fiddle/commit/ea06b28db8
|
|
|
|
| |
https://github.com/ruby/fiddle/commit/a01a962342
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix a failing test
This commit fixes the following failure:
```
1) Failure:
Fiddle::TestImport#test_no_message_with_debug [/Users/mrkn/src/github.com/ruby/fiddle/test/fiddle/test_import.rb:152]:
1. [2/2] Assertion for "stderr"
| <[]> expected but was
| <["Exception `NameError' at /Users/mrkn/.rbenv/versions/2.5.1/lib/ruby/2.5.0/fiddle/import.rb:157 - uninitialized constant Fiddle::Function::STDCALL"]>.
```
* Stop using Bundler.with_clean_env
* Clear existing Ruby environment variables on test_no_message_with_debug
https://github.com/ruby/fiddle/commit/13133ddec8
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the first parameter to Fiddle::Function is a closure object (rather
than an interger), `rb_Integer` will cast it to an integer but not
maintain a reference to the closure. Then if the closure gets GC'd, we
have a segv. This commit keeps a reference to the original parameter to
initialize so that the object will not be GC'd.
Fixes: https://bugs.ruby-lang.org/issues/13286
https://github.com/ruby/fiddle/commit/0fc697bbc5
|
| |
|
|
|
|
|
|
| |
Gem::Specification#add_development_dependency.
https://github.com/ruby/date/commit/13c94362c2
|