summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Removed duplicated tasks with GitHub Actions.actionsHiroshi SHIBATA2019-08-113-20/+5
|
* Give up to Windows env with GitHub ActionHiroshi SHIBATA2019-08-111-24/+0
|
* Drop to 2.3 from build matrixHiroshi SHIBATA2019-08-111-1/+1
|
* Use sudo for aptHiroshi SHIBATA2019-08-112-2/+2
|
* Try to use GitHub ActionsHiroshi SHIBATA2019-08-114-0/+94
|
* ext/psych/yaml/loader.c: Cast the difference of pointers to intYusuke Endoh2019-08-051-3/+3
| | | | | instead of casting a pointer to int. Follow up of 39622232c7542d062f79277a11f6b8b6b6cfd994.
* Suppress warnings of bundled libyaml.Hiroshi SHIBATA2019-08-052-4/+4
|
* yaml few build warning fixesDavid Carlier2019-08-051-5/+5
| | | | Closes: https://github.com/ruby/ruby/pull/2283
* Merge pull request #415 from Shopify/min-ruby-versionSHIBATA Hiroshi2019-07-251-1/+1
|\ | | | | Set required_ruby_version to 2.4.0
| * Set required_ruby_version to 2.4.0Jean Boussier2019-07-241-1/+1
| |
* | Get rid of C90 featureNobuyoshi Nakada2019-07-251-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | 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")); ^ ```
* | Suppress uninitialized instance variable warningsNobuyoshi Nakada2019-07-251-1/+1
|/ | | | | | | | | | | 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.
* Merge pull request #409 from Shopify/deduplicate-hash-keysAaron Patterson2019-07-222-1/+37
|\ | | | | Deduplicate hash keys if they're strings
| * Deduplicate hash keys if they're stringsJean Boussier2019-07-222-1/+37
|/
* Merge pull request #408 from ruby/drop-to-support-fatgemSHIBATA Hiroshi2019-07-214-25/+8
|\ | | | | Drop to support fat gem
| * Drop to support fat gem support.drop-to-support-fatgemHiroshi SHIBATA2019-07-213-21/+2
| | | | | | | | ref. https://github.com/ruby/bigdecimal/pull/149
| * Do not use add_development_dependency.Hiroshi SHIBATA2019-07-212-5/+7
|/
* Merge pull request #403 from jeremyevans/deterministicSHIBATA Hiroshi2019-06-021-1/+1
|\ | | | | Make psych.so deterministic
| * Make psych.so deterministicJeremy Evans2019-06-011-1/+1
|/ | | | Fixes Ruby Bug #15890
* Merge pull request #400 from Shopify/remove-string-cacheSHIBATA Hiroshi2019-05-074-39/+40
|\ | | | | Remove string_cache in ScalarScanner
| * Do not allocate a string to check if a scalar is an integerJean Boussier2019-04-262-9/+24
| |
| * Remove string_cache in ScalarScannerJean Boussier2019-04-261-10/+1
| |
| * Reduce string allocations in scalar_scannerJean Boussier2019-04-263-20/+15
|/
* syntax error can move, so do not cacheAaron Patterson2019-04-231-2/+2
|
* Merge pull request #391 from ruby/azure-pipelinesSHIBATA Hiroshi2019-03-011-0/+11
|\ | | | | Set up CI with Azure Pipelines
| * Try to test with macOS.SHIBATA Hiroshi2019-03-011-19/+11
| |
| * Set up CI with Azure PipelinesSHIBATA Hiroshi2019-03-011-0/+19
|/
* Merge pull request #389 from ruby/retire-changelogSHIBATA Hiroshi2019-02-272-585/+2
|\ | | | | Retired to write CHANGELOG.rdoc
| * Removed CHANGELOG from rdoc files.SHIBATA Hiroshi2019-02-271-1/+1
| |
| * Retired to write CHANGELOG.rdoc. Because It has no update from 2015.retire-changelogSHIBATA Hiroshi2019-02-262-584/+1
|/
* Merge pull request #384 from ruby/jkowens-test_hash_with_ivarAaron Patterson2019-01-162-9/+29
|\ | | | | Dump ivars befor hash elements
| * Dump Hash ivars before elementsAaron Patterson2019-01-161-9/+9
| | | | | | | | | | When the Hash is revived, the ivars will be set before elements. This is for the case when the hash setter depends on ivars set on the hash.
| * Add test to demonstrate issue deserializing hash with ivarJordan Owens2019-01-161-0/+20
|/ | | | | | Currently the elements of a hash are revived before any ivar values. This causes an issue when the `[]=` method references an instance variable.
* Merge pull request #382 from ruby/exception-handling-refactorAaron Patterson2019-01-093-32/+36
|\ | | | | Exception backtraces should round trip
| * Round trip exception backtracesAaron Patterson2019-01-093-0/+19
| | | | | | | | This commit allows exception backtraces to round trip
| * Refactor exception dumpingAaron Patterson2019-01-091-28/+17
| |
| * Dumping the backtrace never worked, so remove itAaron Patterson2019-01-091-14/+10
|/ | | | Dumping the backtrace for exceptions never worked, so lets remove it.
* Merge pull request #380 from colby-swandale/update-travisYuki Nishijima2018-12-311-0/+1
|\ | | | | add ruby 2.6 to travis
| * add ruby 2.6 to travisColby Swandale2018-12-301-0/+1
|/
* Bump psych 3.1.0.v3.1.0SHIBATA Hiroshi2018-12-181-1/+2
|
* Added psych.jar. Because it's accidentally removed.SHIBATA Hiroshi2018-12-171-1/+2
|
* Bump versions for mingw buildSHIBATA Hiroshi2018-12-171-1/+1
|
* Update file list for JRubySHIBATA Hiroshi2018-12-171-2/+6
|
* Merge pull request #379 from koic/add_uplevel_to_deprecation_log_of_psychSHIBATA Hiroshi2018-11-231-9/+24
|\ | | | | Add uplelvel to deprecation warning of Psych
| * Add uplelvel to deprecation warning of PsychKoichi ITO2018-11-231-9/+24
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is porting ruby/ruby#1992 to upstream. This PR adds `uplelvel` to deprecation warning of Psych. The `uplevel` option was introduced from Ruby 2.5. ruby/psych needs to support Ruby 2.4 or lower. This PR has `warn_with_uplevel` method emulating `warn 'message', uplevel: 1` in Ruby 2.4 or lower. And this PR relaxes the warning. https://github.com/ruby/ruby/pull/1992#discussion_r227214370 ## Summary The deprecation warning log has been added the following commit. https://github.com/ruby/ruby/commit/1c92766bf0b7394057c00f576fce5464a3037fd9 The following is deprecation warning log change. ### Example code ```console % cat /tmp/psych_example.rb require 'psych' Psych.load("--- foo\n", nil) ``` ### Before ```console % ruby -v ruby 2.6.0dev (2018-10-21 trunk 65252) [x86_64-darwin17] % ruby /tmp/psych_example.rb warning: Passing filename with the 2nd argument of Psych.load is deprecated. Use keyword argument like Psych.load(yaml, filename: ...) instead. ``` ### After This patch helps detect argument locations that are deprecated usage. ```console % cd /path/to/ruby/repo % make install % /usr/local/bin/ruby /tmp/psych_example.rb /tmp/psych_example.rb:3: warning: Passing filename with the 2nd argument of Psych.load is deprecated. Use keyword argument like Psych.load(yaml, filename: ...) instead. ``` ## Other Information This log format refers to the deprecation warning of `ERB.new` in Ruby 2.6+. https://github.com/ruby/ruby/blob/v2_6_0_preview2/lib/erb.rb#L808
* Merge pull request #378 from JuanitoFatas/update_terminologySHIBATA Hiroshi2018-11-103-32/+39
|\ | | | | Use friendlier terminology in YAML.safe_load
| * Use friendlier terminology in YAML.safe_loadJuanito Fatas2018-11-103-32/+39
|/ | | | | Replace keyword argumment whitelist_classes and whitelist_symbols. with permitted_classes and permitted_symbols.
* bump version to 3.1.0.pre2v3.1.0.pre2SHIBATA Hiroshi2018-10-201-1/+1
|
* Avoid to warnings for deprecated interfaces.SHIBATA Hiroshi2018-10-203-0/+20
|
* Use latest stable version of rake-compiler-dockSHIBATA Hiroshi2018-10-202-2/+2
|