How are the holidays updated
neumachen opened this issue · comments
Kareem H commented
How are the holidays updated on this gem?
Phil Peble commented
Hi @magicalbanana, we outline how to do it in our CONTRIBUTING guide. In short:
- Fork the repository
- Edit desired definition YAML file(s) located under
definitions/
. If you are adding a new region be sure to update definitions/index.yaml as well - Run
make generate
to generate updated final definitions (they will be located under lib/generated_definitions/ and test/defs/) - Run
make test
to ensure your changes did not introduce errors - Open a PR with all of these changes. You MUST include the generated definition files and tests in your PR. There is no automatic process to generate definitions at this time
Information on the definition format itself can be found here.
We check in both the original YAML and the generated final ruby files. Let me know if you have any other questions!
Phil Peble commented
And I thought recognized your username. I work at @sittercity. 😄
Kareem H commented
Hehehe. Thanks for the quick response.
Phil Peble commented
No problem! Going to go ahead and close the issue. 👍