Skip to content

Releases: lucasgeron/ofx_kit

v1.0.2

03 Jun 01:26
001c96f

Choose a tag to compare

Changed

  • Replaced homepage_uri with source_code_uri in gemspec for clarity

v1.0.1

03 Jun 01:24
71a1d95

Choose a tag to compare

Added

  • /docs directory with generated API documentation from RDoc to GitHub Pages
  • Updated README with instructions to generate docs locally and gem installation

v1.0.0

03 Jun 01:02
f0466d1

Choose a tag to compare

Breaking changes

  • `OFX::Configuration#default_currency` removed — currency is always derived from `CURDEF` in the OFX file
  • Rails generator renamed from `rails generate ofx:eject` to `rails generate ofx_kit:eject`
  • Error classes split into individual files under `lib/ofx_kit/errors/`; require paths changed accordingly

Changed

  • Documentation migrated from YARD (`@return`/`@param`) to RDoc (`##`) throughout the codebase
  • `lib/ofx_kit/configuration.rb` removed — submodules (`core`, `section_proxy`, etc.) now loaded directly

Added

  • `rdoc` Rake task configured with `README.md`, `CHANGELOG.md` e `lib/**/*.rb` as sources
  • README section with instructions to generate API docs locally via `rake rdoc`

v0.1.0

03 Jun 01:01
b3f0375

Choose a tag to compare

Added

  • Parse OFX 1.x (SGML) and OFX 2.x (XML) files via `OFX.new(path_or_io)`
  • `OFX::BankAccount` and `OFX::CreditCardAccount` domain objects
  • `OFX::BankStatement` and `OFX::CreditCardStatement` com `account`, `balance` e `transactions`
  • `OFX::TransactionCollection` — `Enumerable` com `.credits`, `.debits`, `.total_credits`, `.total_debits`, `.net`
  • `OFX::Balance` com `amount` (Money), `amount_cents` e `posted_at`
  • Configurable field mappings via `OFX.configure` e `OFX.config`
  • `OFX.configure { |c| c.transaction.map "TAG", to: :attr }` for custom/renamed fields
  • `OFX.config.load_mappings("path/to/mappings.yml")` for YAML-based configuration
  • `OFX.config.multi_statement_warnings` flag to silence aggregation warnings
  • Rails generator `rails generate ofx:eject` to copy default mappings into the app
  • Auto-load of `config/initializers/ofx_mappings.yml` in Rails projects