Patch #35026
Remove rake task check_parsing_by_psych
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | Code cleanup/refactoring | |||
Target version: | 5.0.0 |
Description
This patch removes the Rake task "check_parsing_by_psych".
In Ruby 1.8, Syck was used as a YAML library, and in Ruby 1.9, Psych was added and the two YAML libraries coexisted. Syck was later removed in Ruby 2.0, and now only Psych is available.
The Rake task check_parsing_by_psych was added in the process of making Redmine compatible with Ruby 1.9 (#8847), to check that YAML translation files can be parsed without errors in Psych as well as Syck.
However, Syck was removed in Ruby 2.0 and now Pysch is always used to parse when running the rake task update_locales, so check_parsing_by_psych is no longer needed.
For these reasons, I propose to remove check_parsing_by_psych.
Related issues
Associated revisions
Remove rake task check_parsing_by_psych (#35026).
Patch by Go MAEDA.
History
#1
Updated by Go MAEDA 12 days ago
- Related to Defect #8847: I18n YAML files not parsable with psych yaml library added