IvtMellonReader

Gem to read BNY Mellon files.

Installation

Add this line to your application's Gemfile:

gem 'ivt_mellon_reader'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ivt_mellon_reader

Usage

    response = IvtMellonReader::Position.new.read("your_file_path")
    response.first.client_id --> "String"
    response.first.order_id --> "String"
    response.first.client_name --> "String"
    response.first.fund_name --> "String"
    response.first.operation_type --> "String"
    response.first.value --> "Float"
    response.first.request_date --> "Date"
    response.first.quote_date --> "Date"
    response.first.distributor_name --> "String"

gem push --key gemstash_key --host http://server2.investtools.com.br:9292/private pkg/ivt_mellon_reader-0.4.0.gem

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

- Você deve adicionar a chave do gemstash no seu arquivo ~/.gem/credentials. 
 A chave pode ser encontrada no lastpass usando o nome gemstash 
 Você deve dar um nome a essa chave, por exemplo: gemstash_key. O arquivo ficaria assim:

    ---
    :gemstash_key:[chave]

  O nome usado na chave é o mesmo que deve ser usado na hora do push

- Fazer as alterações necessárias criando uma nova versão
- Fazer o push para origin
- Fazer o push para server2.investtools.com.br da seguinte forma:

    gem push --key gemstash_key --host http://server2.investtools.com.br:9292/private pkg/ivt_mellon_reader-0.4.0.gem