Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Only ignore current failures in JRuby | David RodrÃguez | 2022-10-07 | 1 | -0/+6 |
| | | | | | This way we should be able to prevent new regressions from being introduced. | ||||
* | test/psych/test_coder.rb: Suppress non-parenthesis warnings | Yusuke Endoh | 2021-06-07 | 1 | -3/+3 |
| | | | | | | | http://rubyci.s3.amazonaws.com/debian9/ruby-master/log/20210518T093002Z.log.html.gz ``` /home/chkbuild/chkbuild/tmp/build/20210518T093002Z/ruby/test/psych/test_coder.rb:277: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator ``` | ||||
* | Make the test pass with the old libyaml | Yusuke Endoh | 2021-05-17 | 1 | -3/+3 |
| | | | | | I have no idea what result is right, but it fails with libyaml 0.1.7 (bundled with Ubuntu 18.04) anyway. | ||||
* | assert_equal accepts an expected value as the first argument | Yusuke Endoh | 2021-05-17 | 1 | -15/+15 |
| | |||||
* | Introduce `Psych.unsafe_load` | Aaron Patterson | 2021-05-13 | 1 | -7/+7 |
| | | | | | | | | | | | | | | In future versions of Psych, the `load` method will be mostly the same as the `safe_load` method. In other words, the `load` method won't allow arbitrary object deserialization (which can be used to escalate to an RCE). People that need to load *trusted* documents can use the `unsafe_load` method. This commit introduces the `unsafe_load` method so that people can incrementally upgrade. For example, if they try to upgrade to 4.0.0 and something breaks, they can downgrade, audit callsites, change to `safe_load` or `unsafe_load` as required, and then upgrade to 4.0.0 smoothly. | ||||
* | feat: allow scalars and sequences to be styled when dumped | Jeremy Ebler | 2021-02-07 | 1 | -0/+121 |
| | |||||
* | make frozen_string_literal: truefrozen | SHIBATA Hiroshi | 2017-06-19 | 1 | -1/+1 |
| | |||||
* | Temporary disabled to frozen literal string. | SHIBATA Hiroshi | 2016-02-23 | 1 | -0/+1 |
| | | | | ref. https://github.com/ruby/ruby/commit/3e92b635fb5422207b7bbdc924e292e51e21f040 | ||||
* | * ext/psych/lib/psych/visitors/yaml_tree.rb: register nodes when | Aaron Patterson | 2015-02-06 | 1 | -0/+22 |
| | | | | | | dumping objects with custom coders. [ruby-core:66215] [Bug #10496] * test/psych/test_coder.rb: test for fix | ||||
* | Merge pull request #122 from tjwallace/fix_coder_emit_hash | Aaron Patterson | 2013-04-05 | 1 | -2/+2 |
|\ | | | | | Fix case when map includes a symbol key in #emit_coder | ||||
| * | Fix case when map includes a symbol key in #emit_coder | Jeff Wallace | 2013-01-30 | 1 | -2/+2 |
| | | | | | | | | Mimic what is done in #visit_Hash. Fixes #107. | ||||
* | | sync with ruby trunk | Aaron Patterson | 2013-04-05 | 1 | -1/+1 |
|/ | |||||
* | pulling in changes from ruby core | Aaron Patterson | 2011-03-29 | 1 | -1/+1 |
| | |||||
* | syncing up with ruby trunk | Aaron Patterson | 2011-01-21 | 1 | -0/+15 |
| | |||||
* | merging from ruby to psych | Aaron Patterson | 2010-04-09 | 1 | -0/+25 |
| | |||||
* | * test/psych/*: switching tests to use relative require. [ruby-core:29104] | Aaron Patterson | 2010-03-29 | 1 | -1/+1 |
| | |||||
* | adding a test helper superclass | Aaron Patterson | 2010-03-26 | 1 | -3/+2 |
| | |||||
* | adding represent_map to the coder | Aaron Patterson | 2010-02-20 | 1 | -0/+18 |
| | |||||
* | yaml as sequence is working | Aaron Patterson | 2010-02-20 | 1 | -0/+18 |
| | |||||
* | represent scalar workscoder | Aaron Patterson | 2010-02-02 | 1 | -0/+30 |
| | |||||
* | classes can be emitted as scalar and map | Aaron Patterson | 2010-01-26 | 1 | -0/+79 |