From dc46672fd98c4d6171ea79914d19990f12f70ff4 Mon Sep 17 00:00:00 2001 From: Michael Elfassy Date: Wed, 5 Feb 2025 08:58:05 -0500 Subject: [PATCH 1/2] ignore .DS_Store files --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index b95a135f..46df8c7a 100644 --- a/.gitignore +++ b/.gitignore @@ -14,7 +14,7 @@ doc # jeweler generated pkg -# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore: +# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore: # # * Create a file at ~/.gitignore # * Include files you want ignored @@ -48,3 +48,4 @@ pkg #*.rbc .rspec_status +.DS_Store From a4434d89303ffffab6da6b662f157f2470a34353 Mon Sep 17 00:00:00 2001 From: Michael Elfassy Date: Wed, 5 Feb 2025 11:14:09 -0500 Subject: [PATCH 2/2] Remove support for subunits on TWD While the ISO-4217 spec says that the currency still has decimals, it does look like this is no longer used outside of very few cases https://www.reddit.com/r/taiwan/comments/qfuoh8/question_about_twd_taiwan_currency_are_sub_dollar/ PayPal will give an error https://developer.paypal.com/reference/currency-codes/ if a subunit is passed when dealing with TWD --- config/currency_iso.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/currency_iso.yml b/config/currency_iso.yml index 91f06bb9..8ebb69d3 100644 --- a/config/currency_iso.yml +++ b/config/currency_iso.yml @@ -2204,7 +2204,7 @@ twd: - NT$ - NTD subunit: Cent - subunit_to_unit: 100 + subunit_to_unit: 1 symbol_first: true html_entity: "$" decimal_mark: "."