summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* To use version constant of snakeyamluse-relative-versionsSHIBATA Hiroshi2018-08-241-1/+2
|
* To use Gem::Specification.load instead of eval, Because eval leads to ↵SHIBATA Hiroshi2018-08-241-1/+1
| | | | LoadError (cannot infer basepath)
* typofixSHIBATA Hiroshi2018-08-241-2/+2
|
* Try to use version constants from versions.rb againSHIBATA Hiroshi2018-08-241-2/+8
|
* bump version to 3.1.0.pre1SHIBATA Hiroshi2018-08-241-1/+1
|
* Merge pull request #369 from sorryeh/add_license_fileSHIBATA Hiroshi2018-08-191-0/+21
|\ | | | | Create a LICENSE for the project.
| * Create a LICENSE for the project. Matches license in gemspec and generated ↵Greg Houle2018-08-181-0/+21
|/ | | | text from README
* Merge pull request #368 from ruby/libyaml-0.2.1SHIBATA Hiroshi2018-08-189-76/+102
|\ | | | | Upgrade vendored libyaml 0.2.1 from 0.1.7
| * bump version to 0.2.1libyaml-0.2.1SHIBATA Hiroshi2018-08-101-5/+5
| |
| * Re-apply patchsets from ruby-core repository.SHIBATA Hiroshi2018-08-103-9/+13
| |
| * Port from libyaml-0.2.1SHIBATA Hiroshi2018-08-108-83/+105
|/
* Merge pull request #358 from sorryeh/unify_psych_interfaceAaron Patterson2018-07-133-47/+165
|\ | | | | Unify Psych's API
| * unifying interface of PsychGreg Houle2018-07-133-47/+165
|/
* Merge pull request #366 from sorryeh/improve_interface_test_coverageSHIBATA Hiroshi2018-07-133-3/+202
|\ | | | | Added tests for special cases and better overall API test coverage
| * Added tests for special cases and better overall API test coverageGreg Houle2018-07-123-3/+202
|/
* Merge pull request #346 from stomar/fix-fallback-argAaron Patterson2018-05-212-4/+30
|\ | | | | Fix fallback keyword argument of Psych.load
| * Add docs for fallback keyword argument of Psych.loadMarcus Stollsteimer2018-04-241-2/+3
| |
| * Fix fallback argument for Psych.loadMarcus Stollsteimer2018-04-241-2/+2
| | | | | | | | | | | | 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'".
| * Add test cases for fallback argument of Psych.loadMarcus Stollsteimer2018-04-241-0/+25
| |
* | Merge pull request #359 from utilum/achor_typoSHIBATA Hiroshi2018-04-272-2/+2
|\ \ | |/ |/| Correct doc typo "achor" should be "anchor"
| * Correct doc typo "achor" should be "anchor"utilum2018-04-272-2/+2
|/
* Merge pull request #357 from stomar/fallback-testsMarcus Stollsteimer2018-04-241-0/+7
|\ | | | | Add more test cases for fallback of Psych.load_file
| * Add more test cases for fallback of Psych.load_fileMarcus Stollsteimer2018-04-241-0/+7
|/ | | | | Add test cases for the fallback keyword argument of Psych.load_file to make sure that a falsy fallback (nil or false) works properly.
* Merge pull request #356 from stomar/fallback-testsMarcus Stollsteimer2018-04-231-0/+18
|\ | | | | Add more test cases for fallback of Psych.load_file
| * Add more test cases for fallback of Psych.load_fileMarcus Stollsteimer2018-04-231-0/+18
|/ | | | | | Add test cases for the fallback keyword argument of Psych.load_file to make sure that the fallback is not used for valid YAML that represents nil or false.
* Bump version to 3.0.3.pre1 for testing for jruby/jruby#5142.v3.0.3.pre1Charles Oliver Nutter2018-04-162-2/+2
|
* Update to SnakeYAML 1.21 to fix jruby/jruby#5098.Charles Oliver Nutter2018-04-165-29/+32
| | | | This will be released in Psych 3.0.3. See #352.
* Support SNAPSHOT builds of snakeyaml.Charles Oliver Nutter2018-04-161-1/+7
|
* Merge pull request #351 from zverok/document-optionsSHIBATA Hiroshi2018-03-231-2/+20
|\ | | | | Document Psych.dump options
| * Document #dump optionszverok2018-03-021-2/+20
|/
* Removed date field from gemspec.SHIBATA Hiroshi2018-02-221-1/+0
|
* no ID cache in Init functionsnobu2018-02-222-0/+2
| | | | | | Init functions are called only once, cache is useless. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Removed gitignore from gemspec files.SHIBATA Hiroshi2018-02-051-1/+1
|
* Merge pull request #350 from nobu/no-stale-gitigoreSHIBATA Hiroshi2018-01-261-11/+0
|\ | | | | Removed stale .gitignore file [ci skip]
| * Removed stale .gitignore file [ci skip]Nobuyoshi Nakada2018-01-261-11/+0
|/ | | | | Its contents do not match existing files, and same name files in yaml directory are under the version control.
* Merge pull request #347 from olleolleolle/patch-1Akira Matsuda2017-12-261-4/+6
|\ | | | | README: add ruby annotation to Example
| * README: add ruby annotation to Example [ci skip]Olle Jonsson2017-12-251-4/+6
|/
* Add a predicate method to each nodeAaron Patterson2017-12-208-0/+35
| | | | | | | | | | | | | | | | | | | | | | 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.
* Merge pull request #345 from stomar/fallback-testsSHIBATA Hiroshi2017-12-202-1/+13
|\ | | | | Add more test cases for fallback of Psych.load_file
| * Add more test cases for fallback of Psych.load_fileMarcus Stollsteimer2017-12-192-1/+13
|/ | | | | Add more test cases for the fallback keyword argument of Psych.load_file; additionally, fix an error in the docs.
* Bump version to 3.0.2v3.0.2SHIBATA Hiroshi2017-12-192-2/+2
|
* Merge pull request #342 from stomar/fallback-keywordSHIBATA Hiroshi2017-12-192-6/+6
|\ | | | | Convert fallback option to a keyword argument
| * Convert fallback option to a keyword argumentMarcus Stollsteimer2017-12-022-6/+6
| | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #338 from stomar/doc_safe_loadSHIBATA Hiroshi2017-12-041-0/+10
|\ \ | | | | | | Improve docs for Psych.safe_load
| * | Improve docs for Psych.safe_loadMarcus Stollsteimer2017-12-011-0/+10
| |/ | | | | | | Mention filename argument and symbolize_names keyword argument.
* | bump version to 3.0.1v3.0.1SHIBATA Hiroshi2017-12-042-3/+3
|/
* CI against Ruby 2.4 for appveyorSHIBATA Hiroshi2017-12-011-2/+2
|
* Drop to support Ruby 1.9.2, 1.9.3, 2.0.0, 2.1.SHIBATA Hiroshi2017-12-011-1/+1
|
* Bump version to 3.0.0v3.0.0SHIBATA Hiroshi2017-12-012-3/+3
|
* CI against JRuby 9.1.14.0SHIBATA Hiroshi2017-12-011-2/+2
|