summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #625 from ruby/update-test-lib-20230324HEADmasterHiroshi SHIBATA2023-03-242-68/+109
|\ | | | | Update test libraries from ruby/ruby 2023-03-24
| * Update test libraries from ↵Hiroshi SHIBATA2023-03-242-68/+109
|/ | | | https://github.com/ruby/ruby/commit/b4e438d8aabaf4bba2b27f374c787543fae07c58
* Merge pull request #623 from ruby/rename-gha-yamlHiroshi SHIBATA2023-03-101-0/+0
|\ | | | | Rename Actions yaml name
| * Rename Actions yaml nameHiroshi SHIBATA2023-03-101-0/+0
|/
* Merge pull request #622 from ruby/use-callable-workflowHiroshi SHIBATA2023-03-105-87/+29
|\ | | | | Use callable workflow
| * Workaround for JRuby installationHiroshi SHIBATA2023-03-101-1/+1
| |
| * Use ruby/setup-ruby-pkgs for dependenciesHiroshi SHIBATA2023-03-101-3/+4
| |
| * Added missing needsHiroshi SHIBATA2023-03-101-0/+1
| |
| * Use appropriate job/workflow nameHiroshi SHIBATA2023-03-101-2/+2
| |
| * Merge windows jobs into ubuntuHiroshi SHIBATA2023-03-102-29/+5
| |
| * Now head can install same version of default gemsHiroshi SHIBATA2023-03-101-1/+0
| |
| * Merge macos jobs into ubuntuHiroshi SHIBATA2023-03-102-27/+2
| |
| * Merge jruby jobs into ubuntuHiroshi SHIBATA2023-03-102-24/+1
| |
| * Use callable workflow on ubuntu jobsHiroshi SHIBATA2023-03-101-1/+7
| |
| * Use callable workflow on libyaml jobsHiroshi SHIBATA2023-03-101-1/+8
|/
* Bump version to 5.1 for releasev5.1.0Charles Oliver Nutter2023-02-071-1/+1
| | | | | | | This version primarily updates the JRuby extension to use SnakeYAML Engine, a newer version of the SnakeYAML library, which also updates YAML support to 1.2. The JRuby extension now also exposes settings for the parser.
* Merge pull request #613 from headius/expose_load_settingsCharles Oliver Nutter2023-02-061-0/+49
|\ | | | | Expose load settings
| * Merge branch 'master' into expose_load_settingsCharles Oliver Nutter2023-01-267-77/+107
| |\ | |/ |/|
* | Merge pull request #617 from Shopify/fix-safe-dump-symbolAaron Patterson2023-01-222-4/+7
|\ \ | | | | | | Fix RestrictedYAMLTree allowing the Symbol class should allow all symbols
| * | Fix RestrictedYAMLTree allowing the Symbol class should allow all symbolsJean Boussier2023-01-222-4/+7
|/ / | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #612 from headius/snakeyaml_engineAaron Patterson2023-01-209-287/+333
|\ \ | | | | | | Move JRuby extension to SnakeYAML Engine
| * | Minor tweaks and cleanup in emitterCharles Oliver Nutter2023-01-181-11/+9
| | |
| * | Shorter path to encode strings in emitterCharles Oliver Nutter2023-01-181-1/+4
| | |
| * | Misc cleanupCharles Oliver Nutter2023-01-181-31/+45
| | |
| * | Reduce hops to call sitesCharles Oliver Nutter2023-01-181-13/+25
| | | | | | | | | | | | | | | If we could embed indy call sites here they would cache as constants; this is the best we can do at the moment.
| * | Update for stricter 1.2 syntaxCharles Oliver Nutter2023-01-181-16/+16
| | | | | | | | | | | | | | | This allows these tests to pass on SnakeYAML Engine -- which is a 1.2-only YAML library -- while still passing on libyaml 1.1.
* | | Bump up 5.0.2v5.0.2Hiroshi SHIBATA2023-01-181-1/+1
| | |
* | | Bump up 5.0.2.pre1 for testingHiroshi SHIBATA2023-01-171-1/+1
| | |
* | | Merge pull request #616 from ruby/fix-libyaml-host-nameHiroshi SHIBATA2023-01-171-1/+1
|\ \ \ | | | | | | | | configure of libyaml couldn't detect "arm64-apple-darwin22" for build host
| * | | configure of libyaml couldn't detect "arm64-apple-darwin22" for build host.Hiroshi SHIBATA2023-01-171-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | checking whether make sets $(MAKE)... (cached) yes checking build system type... arm-apple-darwin21.6.0 checking host system type... Invalid configuration `arm64-apple-darwin21': machine `arm64-apple' not recognized configure: error: /bin/sh /Users/hsbt/Downloads/yaml-0.2.5/config/config.sub arm64-apple-darwin21 failed *** extconf.rb failed ***
* | | Remove deleted file from gemspecCharles Oliver Nutter2023-01-131-1/+0
| | |
| | * Expose a few key LoadSettings valuesCharles Oliver Nutter2023-01-131-0/+49
| |/ | | | | | | | | | | | | These values are often set to mitigate DOS attacks, so we want to expose them for JRuby users. See #579
| * Fix up spec version handlingCharles Oliver Nutter2023-01-132-7/+13
| |
| * Omit specc version from document startCharles Oliver Nutter2023-01-131-2/+1
| | | | | | | | | | | | This eliminates the %YAML 1.2 directive at the start of each emit, which improves tests passing but also breaks a few tests that *expect* the YAML directive to be present.
| * Initial move to SnakeYAML EngineCharles Oliver Nutter2023-01-138-228/+241
|/ | | | | | | | | | | | | | | See jruby/jruby#7570 for some of the justification for this move. We only require the parser from SnakeYAML, but in the original form it is encumbered with Java object serialization code that keeps getting flagged as a CVE risk. We disagree with the assessment, at least as it pertains to JRuby (we do not use the code in question) but our inclusion of the library continues to get flagged by auditing tools. This commit starts the process of moving to the successor library, SnakeYAML Engine. The parser API is largely unchanged, except as seen in this commit. No Java exceptions are thrown, but a number of Psych tests fail (possibly due to Engine being YAML 1.2 only).
* Merge pull request #611 from headius/jruby_cleanupCharles Oliver Nutter2023-01-125-149/+116
|\ | | | | Minor cleanup of JRuby ext
| * Minor cleanup of emitter code.Charles Oliver Nutter2023-01-121-6/+9
| |
| * Remove redundant init of YAMLTreeCharles Oliver Nutter2023-01-122-48/+0
| | | | | | | | | | This used to house a method for getting private instance vars but that was removed in #458. Now this does nothing.
| * Clean up importsCharles Oliver Nutter2023-01-121-3/+0
| |
| * Use inline caching for calls to handlerCharles Oliver Nutter2023-01-121-20/+42
| |
| * Clean up reader creationCharles Oliver Nutter2023-01-121-29/+35
| | | | | | | | | | | | * Skip "read" respondTo check for natural RubyIO * Remove duplicate malformed input reporting set * Flip some logic to simplify
| * Remove unused yaml argumentCharles Oliver Nutter2023-01-121-9/+8
| |
| * Remove taintingCharles Oliver Nutter2023-01-121-23/+21
| |
| * Use method reference for allocatorCharles Oliver Nutter2023-01-122-10/+2
| |
| * Remove unused loggerCharles Oliver Nutter2023-01-121-2/+0
| |
| * JRuby has required 1.8 for a long timeCharles Oliver Nutter2023-01-121-2/+2
|/
* Merge pull request #610 from Shopify/fix-anonymous-evalHiroshi SHIBATA2023-01-114-7/+7
|\ | | | | Get rid of anonymous eval calls
| * Get rid of anonymous eval callsJean Boussier2023-01-114-7/+7
|/ | | | Things declared in anonymous eval are always annoying to locate.
* Merge pull request #609 from larskanis/patch-1Hiroshi SHIBATA2023-01-091-1/+1
|\ | | | | Fix wrong package name of MSYS2/MINGW dependency
| * Fix wrong package name of MSYS2/MINGW dependencyLars Kanis2023-01-091-1/+1
|/ | | There is no package called "libyaml-devel". "libyaml" is enough.