Age | Commit message (Collapse) | Author |
|
Improves Ractor-readiness.
|
|
Improves Ractor-readiness.
|
|
|
|
|
|
Remove unneeded assignment and condition
|
|
Add `Psych.safe_load_file`. Tweak doc to provide `safe_` examples.
|
|
|
|
As it is ignored and set at building packages automatically, it is
just nonsense to set in gemspec file for input.
|
|
Forward keyword arguments in load_file and load_stream
|
|
|
|
Since we already `return fallback` if `result` is falsy, we don't need to check again if it's truthy and reassign the `to_ruby` result.
|
|
|
|
Remove private_iv_get
|
|
The only remaining use of this function was to get the internal
message object from an exception's hidden `mesg` instance
variable to allow it to be dumped wiithout converting to a string.
As discussed in #103, this exposes internal implementation details
of CRuby, and ultimately does not provide any real utility to the
user since they can't directly inspect this hidden variable. The
test change here is to reflect CRuby behavior that denies equality
if the internal message objects do not match, as is the case after
the exception has been loaded and now has a simple String value.
The impact to users is that exceptions with special hidden message
objects will convert those objects to String during marshaling
through YAML. I believe this only affects NameError and its
descendants, since users can't set this field directly on their
own exception types.
Fixes #103.
|
|
Update SNAKEYAML CVE-2017-18640
|
|
|
|
to version 1.26
|
|
test/psych/visitors/test_to_ruby.rb
|
|
|
|
test/psych/visitors/test_to_ruby.rb (#2881)
|
|
Bump libyaml version to 0.2.5
|
|
|
|
|
|
|
|
Fix anchor lookup with symbolized names
|
|
|
|
This leads to double requiring "ext/psych/lib/psych/versions.rb" and
".ext/common/psych/versions.rb", which produces doxens of warnings
during `make test-all`.
http://rubyci.s3.amazonaws.com/ubuntu2004/ruby-master/log/20200608T123004Z.log.html.gz
```
[15092/20234]
TestRDocOptions#test_init_with_encoding/home/chkbuild/chkbuild/tmp/build/20200608T123004Z/ruby/ext/psych/lib/psych.rb:233: warning: already initialized constant Psych::LIBYAML_VERSION
/home/chkbuild/chkbuild/tmp/build/20200608T123004Z/ruby/.ext/common/psych.rb:233: warning: previous definition of LIBYAML_VERSION was here
/home/chkbuild/chkbuild/tmp/build/20200608T123004Z/ruby/ext/psych/lib/psych.rb:235: warning: already initialized constant Psych::NOT_GIVEN
/home/chkbuild/chkbuild/tmp/build/20200608T123004Z/ruby/.ext/common/psych.rb:235: warning: previous definition of NOT_GIVEN was here
/home/chkbuild/chkbuild/tmp/build/20200608T123004Z/ruby/ext/psych/lib/psych.rb:271: warning: method redefined; discarding old load
/home/chkbuild/chkbuild/tmp/build/20200608T123004Z/ruby/.ext/common/psych.rb:271: warning: previous definition of load was here
...
```
The same issue happened in fiddle.gemspec, and this change applies the
same fix as [fiddle](https://github.com/ruby/fiddle/issues/34).
|
|
ruby/ruby@d8720eb7de9cd9d874b621f214c27022e17cc941
|
|
ruby/ruby@75b644350a80bc31449b7cee741d309643dc27e1
|
|
ruby/ruby@a593186a02714cb92ae2748c2b7c46a6c50b0977
|
|
ruby/ruby@98006cea4fd517671dae508fade13203bc18301a
|
|
Fix ArgumentError with leading and trailing underscores in number str…
|
|
Fixing compatibility with libyaml 0.2.5
|
|
The main issue is that commas aren't allowed in local tags. libyaml
was updated to follow the spec, and our tests were out of date.
See: https://github.com/yaml/libyaml/issues/196
|
|
deivid-rodriguez/remove_unnecessary_check_on_version
Remove unnecessary check on version
|
|
Update workflows/windows.yml - use setup-ruby-pkgs
|
|
MSP-Greg/actions-ruby is deprecated...
|
|
|
|
Add LICENSE to the gem
|
|
|
|
|
|
Removing it triggers the following warnings when running `bundle` under
jruby from the root of the `psych` repo prints the following warnings:
```
/path/to/jruby-9.2.9.0/lib/ruby/gems/shared/gems/psych-3.1.0-java/lib/psych/versions.rb:7: warning: already initialized constant VERSION
/path/to//jruby-9.2.9.0/lib/ruby/gems/shared/gems/psych-3.1.0-java/lib/psych/versions.rb:10: warning: already initialized constant DEFAULT_SNAKEYAML_VERSION
```
This is because bundler loads the versions file relatively from the
local gemspec, and then internally loads the psych gem, causing the
redefinition warnings.
Instead, we modify the $LOAD_PATH so that when working locally on the
`psych` repo, the local version of `psych` gets used.
|
|
Fix gem installation
|
|
|
|
Current version is not installable because the gemspec is invalid, since
it includes a `.travis.yml` file that no longer exists, so `rake
install` fails like this:
```
$ rake install
rake aborted!
WARNING: See https://guides.rubygems.org/specification-reference/ for help
ERROR: While executing gem ... (Gem::InvalidSpecificationException)
[".travis.yml"] are not files
```
|
|
Update Actions
|
|
|
|
1. Remove rvm where possible, add ruby-head, misc
2. Add mingw & mswin Windows testing
|
|
Actions ubuntu-jruby - remove rvm, use ruby/setup-ruby
|
|
|