| Age | Commit message (Collapse) | Author |
|
Sometimes `Leaked thread: Rinda::TestRingServer#test_ring_server_ipv6_multicast` happens
because `Rinda::TupleSpace#start_keeper` runs after stopping `@keeper`.
|
|
This recursive iteration test can cause SystemStackError so
check it correctly.
|
|
```
warning: Float 0xf.fp10000000000000... out of range
```
|
|
to suppress the leak checker.
|
|
|
|
|
|
|
|
iter_lev is used to detect the hash is iterating or not.
Usually, iter_lev should be very small number (1 or 2) so
`int` is overkill.
This patch introduce iter_lev in flags (7 bits, FL13 to FL19)
and if iter_lev exceeds this range, save it in hidden attribute.
We can get 1 word in RHash.
We can't modify frozen objects. Therefore I added new internal API
`rb_ivar_set_internal()` which allows us to set an attribute
even if the target object is frozen
if the name is hidden ivar (the name without `@` prefix).
|
|
|
|
https://github.com/rubygems/rubygems/commit/ca8afc01a3
|
|
https://github.com/rubygems/rubygems/commit/be962ca0c4
|
|
https://github.com/rubygems/rubygems/commit/be962ca0c4
|
|
https://github.com/rubygems/rubygems/commit/006cdd4084
|
|
https://github.com/rubygems/rubygems/commit/1ea674d8f7
|
|
https://github.com/rubygems/rubygems/commit/70c5c17a5f
|
|
BasicSpecification.
This was never the right place. The method got there just by evolution,
not by design. Move it within default methods, where it suits better.
Since this method is presumably used just internally, it should be safe
to deprecate it and remove later.
https://github.com/rubygems/rubygems/commit/0c0dd9458a
|
|
supported nor functional.
https://github.com/rubygems/rubygems/commit/cadb66037d
|
|
Separate #add_runtime_dependency and #add_development_dependency
availability condition from #specification_version availability,
which is not related to directly.
Also check if the former method is available, instead of comparing
the version.
https://github.com/rubygems/rubygems/commit/5cccc2b836
|
|
https://github.com/rubygems/rubygems/commit/79b62c233a
|
|
methods
https://github.com/rubygems/rubygems/commit/2a96494d91
|
|
S3URISigner class
https://github.com/rubygems/rubygems/commit/c30d21ec7a
|
|
https://github.com/rubygems/rubygems/commit/fb62d3043c
|
|
https://github.com/rubygems/rubygems/commit/a76f25dff0
|
|
https://github.com/rubygems/rubygems/commit/f289788ca5
|
|
https://github.com/rubygems/rubygems/commit/2c9cfcb666
|
|
Add some basic specs for the package attr_reader.
https://github.com/rubygems/rubygems/commit/68af2a0ee3
|
|
in Rubygems 3
https://github.com/rubygems/rubygems/commit/6d5f743a89
|
|
Because we can't control 3rd party gems using deprecated rubygems
behavior, and thus outputting warnings to the screen.
https://github.com/rubygems/rubygems/commit/6912ebf20a
|
|
https://github.com/rubygems/rubygems/commit/1b9ab33083
|
|
available
https://github.com/rubygems/rubygems/commit/471239f1fa
|
|
This commit makes it so that if the binmode option is given with
any encoding arguments, the reader and writer IO objects are
not set to binary encoding.
Fixes [Bug #12989]
|
|
When passing `binmode: true` to `IO.pipe`, it should behave the same way
as calling `binmode` on each of the file handles. It should set the
file to binmode *and* set the encoding to binary on the file.
Before this commit, passing `binmode: true` to `IO.pipe` would make
`binmode?` return `true`, but the file's encoding would remain the same
as the default encoding. Passing `binmode: true` should make `binmode?`
return `true` *and* set the encoding to binary.
|
|
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]
|
|
|
|
Reported by chucke (Tiago Cardoso).
Patch by jeremyevans0 (Jeremy Evans).
[Bug #14612]
|
|
This reverts commit 1a759bfe5d554c22571d2e6e4e5998cf06a7b98f.
This fails on some operating systems.
|
|
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]
|
|
Fixes [Bug #14062]
|
|
|
|
|
|
* string.c (rb_str_split_m): occupy match data not to be modified
during yielding the block. [Bug #16024]
|
|
* time.c (zone_timelocal): initialize DST flag by asking the
timezone object. [Bug #15988]
|
|
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]
|
|
Fixes [Bug #13142]
|
|
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
|
|
RDoc::Text#normalize_comment that is included RDoc::Comment always
remove Ruby style comment indicator "#" and C style comment indicator
"/**/", but should check language and remove only the language's comment
indicator.
https://github.com/ruby/rdoc/commit/ca68ba1e73
|
|
https://github.com/ruby/rdoc/commit/3fb03bf399
|
|
As `make test-tool` does not use gems, and no Rubygems stuffs is
needed, so moved such things to test/runner.rb. Also no longer
nees `--test-target-dir` option.
|
|
In verbose mode, `test_delegator` in `test/psych/visitors/test_yaml_tree.rb` shows following warning.
https://travis-ci.org/ruby/psych/jobs/562435717#L268
```
/home/travis/build/ruby/psych/test/psych/visitors/test_yaml_tree.rb:10: warning: instance variable @obj not initialized
```
This is because `Psych.load` bypasses #initialize with the #init_with method.
https://github.com/ruby/psych/commit/f99523388f
|
|
https://github.com/ruby/psych/commit/0414982ffd
|