Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-13 | unifying interface of Psych | Greg Houle | |
2018-05-21 | Merge pull request #346 from stomar/fix-fallback-arg | Aaron Patterson | |
Fix fallback keyword argument of Psych.load | |||
2018-04-27 | Correct doc typo "achor" should be "anchor" | utilum | |
2018-04-24 | Add docs for fallback keyword argument of Psych.load | Marcus Stollsteimer | |
2018-04-24 | Fix fallback argument for Psych.load | Marcus Stollsteimer | |
This allows calling Psych.load with a fallback argument, similar to Psych.load_file. Before, for Psych.load this caused a "NoMethodError: undefined method `to_ruby'". | |||
2018-04-16 | Bump version to 3.0.3.pre1 for testing for jruby/jruby#5142. | Charles Oliver Nutter | |
2018-04-16 | Update to SnakeYAML 1.21 to fix jruby/jruby#5098. | Charles Oliver Nutter | |
This will be released in Psych 3.0.3. See #352. | |||
2018-03-02 | Document #dump options | zverok | |
2017-12-20 | Add a predicate method to each node | Aaron Patterson | |
This allows the AST to be searched via a predicate method rather than hardcoding the class name and doing is_a? checks. For example, rather than: ``` ast.grep(Psych::Nodes::Scalar).each do |node| # .. do something end ``` Now you can do: ``` ast.find_all(&:scalar?).each do |node| # .. do something end ``` Your code no longer needs to know the exact class used in the AST. | |||
2017-12-19 | Add more test cases for fallback of Psych.load_file | Marcus Stollsteimer | |
Add more test cases for the fallback keyword argument of Psych.load_file; additionally, fix an error in the docs. | |||
2017-12-19 | Bump version to 3.0.2 | SHIBATA Hiroshi | |
2017-12-19 | Merge pull request #342 from stomar/fallback-keyword | SHIBATA Hiroshi | |
Convert fallback option to a keyword argument | |||
2017-12-04 | Merge pull request #338 from stomar/doc_safe_load | SHIBATA Hiroshi | |
Improve docs for Psych.safe_load | |||
2017-12-04 | bump version to 3.0.1 | SHIBATA Hiroshi | |
2017-12-02 | Convert fallback option to a keyword argument | Marcus Stollsteimer | |
Converting the optional fallback argument to a keyword argument fixes a problem that is caused by mixing optional arguments and optional keyword arguments. Without this change, a hash as fallback value is not handled correctly: in Psych.load("", nil, {}) the hash is not interpreted as the fallback value, and the default value for the fallback argument is used instead. | |||
2017-12-01 | Improve docs for Psych.safe_load | Marcus Stollsteimer | |
Mention filename argument and symbolize_names keyword argument. | |||
2017-12-01 | Bump version to 3.0.0 | SHIBATA Hiroshi | |
2017-11-30 | Add :symbolize_names option to .safe_load too | Takashi Kokubun | |
related to #333 | |||
2017-11-29 | Revert "Double quote stings that contain single quotes only" | SHIBATA Hiroshi | |
2017-11-28 | Document symbolize_names keyword argument of Psych.load | Marcus Stollsteimer | |
2017-11-27 | Bump version to 3.0.0.beta4 | SHIBATA Hiroshi | |
2017-11-25 | Add :symbolize_names option to Psych.load | Takashi Kokubun | |
like JSON.parse. | |||
2017-09-21 | Fixup Recorder example documentation | Pete Kinnecom | |
2017-09-11 | Merge pull request #325 from knugie/fix_324 | SHIBATA Hiroshi | |
Double quote stings that contain single quotes only | |||
2017-08-02 | Add location information to Psych::Nodes::Node | Ary Borenszweig | |
2017-08-02 | Add Psych::Handler#event_location | Ary Borenszweig | |
This adds a new reported event to Psych::Handler, event_location, with precise start/end line/column information. The line/column information provided by Psych::Parser#mark is not very useful because it points to the location past the event. | |||
2017-07-21 | Double quote stings that contain single quotes only | Wolfgang Teuber | |
Fixes #324 | |||
2017-07-14 | bump version to 3.0.0.beta3 | SHIBATA Hiroshi | |
2017-07-12 | Fixed path for mingw binary | SHIBATA Hiroshi | |
2017-07-12 | Added cross compilation task for mingw platform | SHIBATA Hiroshi | |
2017-06-30 | Merge branch 'master' into frozen | SHIBATA Hiroshi | |
2017-06-29 | Support enumerator objects | Aaron Patterson | |
Fixes #277 | |||
2017-06-29 | Rely on encoding tags to determine if string should be dumped as binary | Aaron Patterson | |
If a string is tagged as binary, then we should dump it as binary. Fixes #278 | |||
2017-06-19 | make frozen_string_literal: true | SHIBATA Hiroshi | |
2017-06-16 | bump version to 3.0.0.beta2 | SHIBATA Hiroshi | |
2017-06-16 | Merge pull request #158 from laserlemon/delegators | SHIBATA Hiroshi | |
Enable YAML serialization of Ruby delegators | |||
2017-05-22 | Preserve time zone offset when deserializing times | Marcus Stollsteimer | |
Fix support of time zone offsets. Now the time zone offset will be preserved when times are deserialized from YAML with a specified offset. Previously, times other than UTC ("Z") where converted to local time. The test cases use two different offsets to account for the possibility of an erratic success when the tests are run in the corresponding time zone. | |||
2017-03-27 | Fixed gabage lines | SHIBATA Hiroshi | |
2017-03-27 | Removed to_yaml support on YAMLTree | SHIBATA Hiroshi | |
2017-03-27 | Removed override method | SHIBATA Hiroshi | |
2017-03-27 | Removed deprecated yaml_initialize method | SHIBATA Hiroshi | |
2017-03-27 | Removed Module#psych_yaml_as | SHIBATA Hiroshi | |
2017-03-27 | Remove to_yaml_propaties | SHIBATA Hiroshi | |
2017-03-27 | Remove Psych.tagurize | SHIBATA Hiroshi | |
2017-03-27 | Remove Psych.object_maker | SHIBATA Hiroshi | |
2017-03-27 | Remove Psych.read_type_class | SHIBATA Hiroshi | |
2017-03-27 | Remove Psych.add_private_type | SHIBATA Hiroshi | |
2017-03-27 | Removed Psyych.add_ruby_type. | SHIBATA Hiroshi | |
2017-03-27 | Removed Psyych.detect_implicit. | SHIBATA Hiroshi | |
2017-03-27 | Removed Psyych.load_documents. | SHIBATA Hiroshi | |