Age | Commit message (Collapse) | Author |
|
|
|
Typo with "indentation"
|
|
Fix typo in error message
|
|
|
|
Intendation => Indentation
|
|
ref. https://github.com/ruby/ruby/commit/3e92b635fb5422207b7bbdc924e292e51e21f040
|
|
https://github.com/ruby/ruby/commit/cc0313436160b735a3d41361cb5e3eeb10fcbdad
https://github.com/ruby/ruby/commit/db48c307944a9a18877236bdf9e9b778875f38ed
|
|
|
|
|
|
|
|
|
|
|
|
* master:
psych: allocate structs with wrapper
update minitest gem to 5.x, add Ruby 2.2 test target
|
|
* ext/psych/psych_emitter.c (allocate): allocate structs with
making new wrapper objects and get rid of potential memory leak.
* ext/psych/psych_parser.c (allocate): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
Fixes jruby/jruby#2901.
|
|
* master:
Adding Rubinius as an Allowed Failure
bump version
Fix CVE-2014-9130
Adding RVM listing for Rubinius
fix minitest warnings
* ext/psych/lib/psych/visitors/yaml_tree.rb: register nodes when dumping objects with custom coders. [ruby-core:66215] [Bug #10496]
* ext/psych/lib/psych/visitors/to_ruby.rb: fix support for regular expressions with newlines. tenderlove/psych#222
* ext/psych/lib/psych/visitors/to_ruby.rb: fix parsing hashes with instance variables when it is referenced multiple times. * ext/psych/lib/psych.rb: bump version * ext/psych/psych.gemspec: bump version * test/psych/test_hash.rb: test for fix
bump version
Fix anchor
Fix assertion regexps
bump version
Only dump ivars for subclasses of String, not for String. With cf0dd2b93f1552a3c452a0bfa0e996f441d5e27e, fixes #217.
Only dump ivars for subclasses of Hash, not for Hash. Fixes #216. Fixes part of #217.
Fix block chomping and add more tests
Preset @line_width in YAMLTree#initialize for better performance
Use appropriate style for serialized strings
Remove unnnecessary 'str' variable in YAMLTree#visit_String
|
|
use maven to resolve jar dependencies for compilation. setup jar-dependencies
to install the snakeyaml jar when installing the gem via rubygems or bundler.
added java code to reflect the snakeyaml vesion which got finally loaded into
the jruby-classloader.
|
|
See https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-9130
This is already fixed in libyaml via this patch:
https://bitbucket.org/xi/libyaml/commits/2b9156756423e967cfd09a61d125d883fca6f4f2
|
|
Conflicts:
.gitignore
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* ext/psych/yaml/loader.c: ditto
* ext/psych/yaml/parser.c: ditto
* ext/psych/yaml/reader.c: ditto
* ext/psych/yaml/scanner.c: ditto
* ext/psych/yaml/writer.c: ditto
* ext/psych/yaml/yaml_private.h: ditto
|
|
https://github.com/ruby/ruby/pull/506
|
|
s/preceeded/preceded/
|
|
https://github.com/tenderlove/psych/pull/161
|
|
|
|
defined, restricted subset of Ruby object types.
* ext/psych/lib/psych/class_loader.rb: A class loader for
encapsulating the logic for which objects are allowed to be
deserialized.
* ext/psych/lib/psych/deprecated.rb: Changes to use the class loader
* ext/psych/lib/psych/exception.rb: ditto
* ext/psych/lib/psych/json/stream.rb: ditto
* ext/psych/lib/psych/nodes/node.rb: ditto
* ext/psych/lib/psych/scalar_scanner.rb: ditto
* ext/psych/lib/psych/stream.rb: ditto
* ext/psych/lib/psych/streaming.rb: ditto
* ext/psych/lib/psych/visitors/json_tree.rb: ditto
* ext/psych/lib/psych/visitors/to_ruby.rb: ditto
* ext/psych/lib/psych/visitors/yaml_tree.rb: ditto
* ext/psych/psych_to_ruby.c: ditto
* test/psych/helper.rb: ditto
* test/psych/test_safe_load.rb: tests for restricted subset.
* test/psych/test_scalar_scanner.rb: ditto
* test/psych/visitors/test_to_ruby.rb: ditto
* test/psych/visitors/test_yaml_tree.rb: ditto
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
I checked only mswin environment.
Maybe it is required for mingw?
|
|
|
|
Previously Psych::SyntaxError inherited from SyntaxError. Since
SyntaxError does not inherit from StandardError a plain rescue could not
capture a YAML parse error. This made code that needed to handle psych
errors slightly more complex.
Psych::SyntaxError now inherits from Psych::Error (allowing room for
future expansion of psych errors that can be caught under the same
umbrella) and inherits from RuntimeError.
|
|
passed to the constructor so that mutation isn't required after
instantiation.
* ext/psych/lib/psych/handler.rb: add configuration object
* ext/psych/lib/psych/visitors/emitter.rb: use configuration object if
extra configuration is present.
|
|
|
|
Thanks markizko for reporting.
|
|
|
|
|