Package: ruby-psych / 5.0.2-3

Metadata

Package Version Patches format
ruby-psych 5.0.2-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
02 Disable rubygems and bundler usage.patch | (download)

Rakefile | 4 2 2 - 0 !
1 file changed, 2 insertions( ), 2 deletions(-)

 disable rubygems and bundler usage

0002 Remove snakeyaml hardcoded versions.patch | (download)

lib/psych/versions.rb | 2 1 1 - 0 !
1 file changed, 1 insertion( ), 1 deletion(-)

 remove snakeyaml hardcoded versions
0003 Disable ruby maven.patch | (download)

Rakefile | 13 10 3 - 0 !
1 file changed, 10 insertions( ), 3 deletions(-)

 disable ruby-maven
0004 Fix RestrictedYAMLTree allowing the Symbol class sho.patch | (download)

lib/psych/visitors/yaml_tree.rb | 4 2 2 - 0 !
test/psych/test_psych.rb | 7 5 2 - 0 !
2 files changed, 7 insertions( ), 4 deletions(-)

 fix restrictedyamltree allowing the symbol class should allow all
 symbols

Ref: https://github.com/ruby/psych/pull/495

That's how it works for `safe_load`:
```ruby
>> YAML.safe_load(':foo', permitted_classes: [Symbol])
=> :foo
```

So `safe_dump` should mirror that.