Ran
|
Files
22
|
Run time
1s
|
Badge
Embed ▾
README BADGES
|
travis-ci
Suppress deprecation warnings of `Psych.safe_load` args in Ruby 2.6 The interface of `Psych.safe_load` will change from Ruby 2.6. https://github.com/ruby/ruby/commit/1c92766bf This PR suppresses the following wargnins in Ruby 2.6.0-dev. ```console warning: Passing whitelist_classes with the 2nd argument of Psych.safe_load is deprecated. Use keyword argument like Psych.safe_load(yaml, whitelist_classes: ...) instead. warning: Passing whitelist_symbols with the 3rd argument of Psych.safe_load is deprecated. Use keyword argument like Psych.safe_load(yaml, whitelist_symbols: ...) instead. warning: Passing aliases with the 4th argument of Psych.safe_load is deprecated. Use keyword argument like Psych.safe_load(yaml, aliases: ...) instead. warning: Passing filename with the 5th argument of Psych.safe_load is deprecated. Use keyword argument like Psych.safe_load(yaml, filename: ...) instead. ``` ```console % ruby -v ruby 2.6.0dev (2018-10-21 trunk 65252) [x86_64-darwin17] ```
1100 of 1149 relevant lines covered (95.74%)
576.52 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|