Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Removed duplicated tasks with GitHub Actions.actions | Hiroshi SHIBATA | 2019-08-11 | 3 | -20/+5 |
| | |||||
* | Give up to Windows env with GitHub Action | Hiroshi SHIBATA | 2019-08-11 | 1 | -24/+0 |
| | |||||
* | Drop to 2.3 from build matrix | Hiroshi SHIBATA | 2019-08-11 | 1 | -1/+1 |
| | |||||
* | Use sudo for apt | Hiroshi SHIBATA | 2019-08-11 | 2 | -2/+2 |
| | |||||
* | Try to use GitHub Actions | Hiroshi SHIBATA | 2019-08-11 | 4 | -0/+94 |
| | |||||
* | ext/psych/yaml/loader.c: Cast the difference of pointers to int | Yusuke Endoh | 2019-08-05 | 1 | -3/+3 |
| | | | | | instead of casting a pointer to int. Follow up of 39622232c7542d062f79277a11f6b8b6b6cfd994. | ||||
* | Suppress warnings of bundled libyaml. | Hiroshi SHIBATA | 2019-08-05 | 2 | -4/+4 |
| | |||||
* | yaml few build warning fixes | David Carlier | 2019-08-05 | 1 | -5/+5 |
| | | | | Closes: https://github.com/ruby/ruby/pull/2283 | ||||
* | Merge pull request #415 from Shopify/min-ruby-version | SHIBATA Hiroshi | 2019-07-25 | 1 | -1/+1 |
|\ | | | | | Set required_ruby_version to 2.4.0 | ||||
| * | Set required_ruby_version to 2.4.0 | Jean Boussier | 2019-07-24 | 1 | -1/+1 |
| | | |||||
* | | Get rid of C90 feature | Nobuyoshi Nakada | 2019-07-25 | 1 | -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 warnings | Nobuyoshi Nakada | 2019-07-25 | 1 | -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-keys | Aaron Patterson | 2019-07-22 | 2 | -1/+37 |
|\ | | | | | Deduplicate hash keys if they're strings | ||||
| * | Deduplicate hash keys if they're strings | Jean Boussier | 2019-07-22 | 2 | -1/+37 |
|/ | |||||
* | Merge pull request #408 from ruby/drop-to-support-fatgem | SHIBATA Hiroshi | 2019-07-21 | 4 | -25/+8 |
|\ | | | | | Drop to support fat gem | ||||
| * | Drop to support fat gem support.drop-to-support-fatgem | Hiroshi SHIBATA | 2019-07-21 | 3 | -21/+2 |
| | | | | | | | | ref. https://github.com/ruby/bigdecimal/pull/149 | ||||
| * | Do not use add_development_dependency. | Hiroshi SHIBATA | 2019-07-21 | 2 | -5/+7 |
|/ | |||||
* | Merge pull request #403 from jeremyevans/deterministic | SHIBATA Hiroshi | 2019-06-02 | 1 | -1/+1 |
|\ | | | | | Make psych.so deterministic | ||||
| * | Make psych.so deterministic | Jeremy Evans | 2019-06-01 | 1 | -1/+1 |
|/ | | | | Fixes Ruby Bug #15890 | ||||
* | Merge pull request #400 from Shopify/remove-string-cache | SHIBATA Hiroshi | 2019-05-07 | 4 | -39/+40 |
|\ | | | | | Remove string_cache in ScalarScanner | ||||
| * | Do not allocate a string to check if a scalar is an integer | Jean Boussier | 2019-04-26 | 2 | -9/+24 |
| | | |||||
| * | Remove string_cache in ScalarScanner | Jean Boussier | 2019-04-26 | 1 | -10/+1 |
| | | |||||
| * | Reduce string allocations in scalar_scanner | Jean Boussier | 2019-04-26 | 3 | -20/+15 |
|/ | |||||
* | syntax error can move, so do not cache | Aaron Patterson | 2019-04-23 | 1 | -2/+2 |
| | |||||
* | Merge pull request #391 from ruby/azure-pipelines | SHIBATA Hiroshi | 2019-03-01 | 1 | -0/+11 |
|\ | | | | | Set up CI with Azure Pipelines | ||||
| * | Try to test with macOS. | SHIBATA Hiroshi | 2019-03-01 | 1 | -19/+11 |
| | | |||||
| * | Set up CI with Azure Pipelines | SHIBATA Hiroshi | 2019-03-01 | 1 | -0/+19 |
|/ | |||||
* | Merge pull request #389 from ruby/retire-changelog | SHIBATA Hiroshi | 2019-02-27 | 2 | -585/+2 |
|\ | | | | | Retired to write CHANGELOG.rdoc | ||||
| * | Removed CHANGELOG from rdoc files. | SHIBATA Hiroshi | 2019-02-27 | 1 | -1/+1 |
| | | |||||
| * | Retired to write CHANGELOG.rdoc. Because It has no update from 2015.retire-changelog | SHIBATA Hiroshi | 2019-02-26 | 2 | -584/+1 |
|/ | |||||
* | Merge pull request #384 from ruby/jkowens-test_hash_with_ivar | Aaron Patterson | 2019-01-16 | 2 | -9/+29 |
|\ | | | | | Dump ivars befor hash elements | ||||
| * | Dump Hash ivars before elements | Aaron Patterson | 2019-01-16 | 1 | -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 ivar | Jordan Owens | 2019-01-16 | 1 | -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-refactor | Aaron Patterson | 2019-01-09 | 3 | -32/+36 |
|\ | | | | | Exception backtraces should round trip | ||||
| * | Round trip exception backtraces | Aaron Patterson | 2019-01-09 | 3 | -0/+19 |
| | | | | | | | | This commit allows exception backtraces to round trip | ||||
| * | Refactor exception dumping | Aaron Patterson | 2019-01-09 | 1 | -28/+17 |
| | | |||||
| * | Dumping the backtrace never worked, so remove it | Aaron Patterson | 2019-01-09 | 1 | -14/+10 |
|/ | | | | Dumping the backtrace for exceptions never worked, so lets remove it. | ||||
* | Merge pull request #380 from colby-swandale/update-travis | Yuki Nishijima | 2018-12-31 | 1 | -0/+1 |
|\ | | | | | add ruby 2.6 to travis | ||||
| * | add ruby 2.6 to travis | Colby Swandale | 2018-12-30 | 1 | -0/+1 |
|/ | |||||
* | Bump psych 3.1.0.v3.1.0 | SHIBATA Hiroshi | 2018-12-18 | 1 | -1/+2 |
| | |||||
* | Added psych.jar. Because it's accidentally removed. | SHIBATA Hiroshi | 2018-12-17 | 1 | -1/+2 |
| | |||||
* | Bump versions for mingw build | SHIBATA Hiroshi | 2018-12-17 | 1 | -1/+1 |
| | |||||
* | Update file list for JRuby | SHIBATA Hiroshi | 2018-12-17 | 1 | -2/+6 |
| | |||||
* | Merge pull request #379 from koic/add_uplevel_to_deprecation_log_of_psych | SHIBATA Hiroshi | 2018-11-23 | 1 | -9/+24 |
|\ | | | | | Add uplelvel to deprecation warning of Psych | ||||
| * | Add uplelvel to deprecation warning of Psych | Koichi ITO | 2018-11-23 | 1 | -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_terminology | SHIBATA Hiroshi | 2018-11-10 | 3 | -32/+39 |
|\ | | | | | Use friendlier terminology in YAML.safe_load | ||||
| * | Use friendlier terminology in YAML.safe_load | Juanito Fatas | 2018-11-10 | 3 | -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.pre2 | SHIBATA Hiroshi | 2018-10-20 | 1 | -1/+1 |
| | |||||
* | Avoid to warnings for deprecated interfaces. | SHIBATA Hiroshi | 2018-10-20 | 3 | -0/+20 |
| | |||||
* | Use latest stable version of rake-compiler-dock | SHIBATA Hiroshi | 2018-10-20 | 2 | -2/+2 |
| |