Skip to content

Latest commit

 

History

History
67 lines (41 loc) · 2.17 KB

CHANGELOG.md

File metadata and controls

67 lines (41 loc) · 2.17 KB

Changelog

1.0.0

This library has been used successfully in production for a while now, so I decided it was ok to bump the version to 1.0.0.

  • CremulParser.to_csv_file(csv_filename) : Converts a Cremul file to CSV.
  • CremulParser::get_file_hash_value(file) : Returns a unique MD5 hash value for a file
  • CremulParser.create_unique_tx_index(cremul_msg, cremul_msg_line, cremul_tx) : Creates a unique id for each TX in the file

0.9.3

Fixed an error related to logging when used in Rails.

0.9.2

Added logging with default settings that may be overridden. In a Rails environment it will default use the Rails logger.

0.9.1

Pushed a new version because I got an error message when pushing version 0.9.0...

0.9.0

Added index numbers to CremulMessage, CremulLine and CremulPaymentTx. The hash of the file + the index numbers can be used to create unique ids for each payment transaction. This can be useful for instance when importing a large Cremul file into a database when you want to make sure that none of the transactions have already been imported.

0.8.0

Bumped to version 0.8.0 to indicate that it is getting close to finished as a 1.0 version.

  • Corrected a bug in the regular expressions
  • Added support for multiple CREMUL messages in a single file
  • Changed CremulParser.msg attr to CremulParser.messages (an array)

0.0.6

  • Corrected a bug in CremulPaymentTx so that it is now able to handle empty FII segments.
  • Corrected a bug in CremulNameAndAddress so that it is now also able to handle addresses in structured form.

0.0.5

  • Refactored the ParserHelper to make it more DRY, and fixed a bug in CremulHeader regarding the parsing the optional NAD-element in the header.
  • Fixed a bug in CremulMoney which caused amounts with decimal mark to be parsed without the fractional part.
  • Fixed a bug in CremulPaymentTx related to parsing the FII+OR segment when it contains a payer account holder name in addition to the account number.

0.0.4

Added support for files using a CNT:LIN symbol instead of CNT:LI as the standard says.

0.0.3

Added support for converting files to UTF-8 format on the fly.

0.0.2

Updated doc only.

0.0.1

Initial version