summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-07Merge pull request #433 from ↵Aaron Patterson
deivid-rodriguez/remove_unnecessary_check_on_version Remove unnecessary check on version
2020-04-23Merge pull request #449 from MSP-Greg/setup-ruby-pkgsHiroshi SHIBATA
Update workflows/windows.yml - use setup-ruby-pkgs
2020-04-22Update workflows/windows.yml - use setup-ruby-pkgsMSP-Greg
MSP-Greg/actions-ruby is deprecated...
2020-04-12Removed the old CI badgesHiroshi SHIBATA
2020-04-07Merge pull request #446 from sunpoet/masterHiroshi SHIBATA
Add LICENSE to the gem
2020-04-06Add LICENSE to the gemPo-Chuan Hsieh
2020-03-27Removed obsoleted configuration of AppVeyorHiroshi SHIBATA
2020-03-17Remove unnecessary version guard from versions.rbDavid Rodríguez
Removing it triggers the following warnings when running `bundle` under jruby from the root of the `psych` repo prints the following warnings: ``` /path/to/jruby-9.2.9.0/lib/ruby/gems/shared/gems/psych-3.1.0-java/lib/psych/versions.rb:7: warning: already initialized constant VERSION /path/to//jruby-9.2.9.0/lib/ruby/gems/shared/gems/psych-3.1.0-java/lib/psych/versions.rb:10: warning: already initialized constant DEFAULT_SNAKEYAML_VERSION ``` This is because bundler loads the versions file relatively from the local gemspec, and then internally loads the psych gem, causing the redefinition warnings. Instead, we modify the $LOAD_PATH so that when working locally on the `psych` repo, the local version of `psych` gets used.
2020-03-17Merge pull request #437 from deivid-rodriguez/fix_rake_installYuki Nishijima
Fix gem installation
2020-03-03Fix ArgumentError with leading and trailing underscores in number strings.Mark Thorn
2020-02-26Fix gem installationDavid Rodríguez
Current version is not installable because the gemspec is invalid, since it includes a `.travis.yml` file that no longer exists, so `rake install` fails like this: ``` $ rake install rake aborted! WARNING: See https://guides.rubygems.org/specification-reference/ for help ERROR: While executing gem ... (Gem::InvalidSpecificationException) [".travis.yml"] are not files ```
2020-02-17Merge pull request #432 from MSP-Greg/actions-updateBenoit Daloze
Update Actions
2020-02-16appveyor.yml - remove 64 bit Rubies, they are now tested in ActionsMSP-Greg
2020-02-16Update ActionsMSP-Greg
1. Remove rvm where possible, add ruby-head, misc 2. Add mingw & mswin Windows testing
2020-02-16Merge pull request #435 from MSP-Greg/actions-jrubyBenoit Daloze
Actions ubuntu-jruby - remove rvm, use ruby/setup-ruby
2020-02-16ubuntu-jruby - remove rvm, use ruby/setup-rubyMSP-Greg
2020-02-14Merge pull request #434 from deivid-rodriguez/fix_ciSHIBATA Hiroshi
Use `ruby/setup-ruby` to try fix CI
2020-02-14Use `ruby/setup-ruby` to try fix CIDavid Rodríguez
2020-01-08Merge pull request #429 from headius/detect_bad_snakeyamlCharles Oliver Nutter
Check for SnakeYAML version to confirm it's 1.21+
2020-01-08Check for SnakeYAML version to confirm it's 1.21+Charles Oliver Nutter
Fixes #428
2019-12-05Merge pull request #425 from ruby/use-actionsSHIBATA Hiroshi
Migrate JRuby tasks to GitHub Actions.
2019-12-05Remove call for failure of ActionsHiroshi SHIBATA
2019-12-05Migrate JRuby tasks to GitHub Actions.Hiroshi SHIBATA
2019-12-04Merge pull request #414 from Shopify/freeze-parsing-optionAaron Patterson
Freeze parsing option
2019-11-28Implement `freeze` option for Pysch.loadJean Boussier
2019-11-28Implement a freeze load optionJean Boussier
2019-11-28Refactor `symbolize_names`Jean Boussier
2019-11-27Merge pull request #421 from MSP-Greg/actions-windowsAaron Patterson
Actions CI - Create windows.yml
2019-11-12ext/psych/yaml/api.c: Suppress a "variable set but not used" warningYusuke Endoh
``` compiling ../.././ext/psych/yaml/api.c ../.././ext/psych/yaml/api.c: In function 'yaml_document_delete': ../.././ext/psych/yaml/api.c:1122:7: warning: variable 'context' set but not used [-Wunused-but-set-variable] } context; ^~~~~~~ ``` https://rubyci.org/logs/rubyci.s3.amazonaws.com/ubuntu1604/ruby-master/log/20190824T093004Z.log.html.gz
2019-11-01Merge pull request #419 from jeremyevans/taintSHIBATA Hiroshi
Remove taint support
2019-10-22Create windows.ymlMSP-Greg
2019-10-21Remove taint supportJeremy Evans
Ruby 2.7 deprecates taint and it no longer has an effect. The lack of taint support should not cause a problem in previous Ruby versions. I'm not sure if the untaint calls in deduplicate are still needed after the removal of tainting in the parser. If they are not needed, they should be removed.
2019-10-17Add a note about safe_loadAaron Patterson
2019-10-10Add `pull_request` to `on:`Kazuhiro NISHIYAMA
2019-10-10Use `ruby-version` instead of deprecated `version`Kazuhiro NISHIYAMA
2019-08-11Merge pull request #418 from ruby/actionsSHIBATA Hiroshi
Try to use GitHub Actions
2019-08-11Removed duplicated tasks with GitHub Actions.Hiroshi SHIBATA
2019-08-11Give up to Windows env with GitHub ActionHiroshi SHIBATA
2019-08-11Drop to 2.3 from build matrixHiroshi SHIBATA
2019-08-11Use sudo for aptHiroshi SHIBATA
2019-08-11Try to use GitHub ActionsHiroshi SHIBATA
2019-08-05ext/psych/yaml/loader.c: Cast the difference of pointers to intYusuke Endoh
instead of casting a pointer to int. Follow up of 39622232c7542d062f79277a11f6b8b6b6cfd994.
2019-08-05Suppress warnings of bundled libyaml.Hiroshi SHIBATA
2019-08-05yaml few build warning fixesDavid Carlier
Closes: https://github.com/ruby/ruby/pull/2283
2019-07-25Merge pull request #415 from Shopify/min-ruby-versionSHIBATA Hiroshi
Set required_ruby_version to 2.4.0
2019-07-24Set required_ruby_version to 2.4.0Jean Boussier
2019-07-25Get rid of C90 featureNobuyoshi Nakada
For ruby 2.6 and earlier. https://travis-ci.org/ruby/psych/jobs/562435717#L245-L248 ``` ../../../../ext/psych/psych_parser.c: In function ‘make_exception’: ../../../../ext/psych/psych_parser.c:87:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] VALUE ePsychSyntaxError = rb_const_get(mPsych, rb_intern("SyntaxError")); ^ ```
2019-07-25Suppress uninitialized instance variable warningsNobuyoshi Nakada
In verbose mode, `test_delegator` in `test/psych/visitors/test_yaml_tree.rb` shows following warning. https://travis-ci.org/ruby/psych/jobs/562435717#L268 ``` /home/travis/build/ruby/psych/test/psych/visitors/test_yaml_tree.rb:10: warning: instance variable @obj not initialized ``` This is because `Psych.load` bypasses #initialize with the #init_with method.
2019-07-22Merge pull request #409 from Shopify/deduplicate-hash-keysAaron Patterson
Deduplicate hash keys if they're strings
2019-07-22Deduplicate hash keys if they're stringsJean Boussier