RubyMoney / eu_central_bank

A gem that calculates the exchange rate using published rates from European Central Bank. Compatible with the money gem
MIT License
217 stars 130 forks source link

export_rates with :json and :yaml format issue #92

Closed fractalatcarf closed 5 years ago

fractalatcarf commented 5 years ago

When exporting rates, using export_rates, with :json and :yaml formats, rates are exported in String format.

Then, reimporting rates, with import_rates causes an Exception (String to bigInt conversion)

antstorm commented 5 years ago

@fractalatcarf thanks for reporting! I've opened a PR to this — #93