bvbg 0.1.0 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 798141952881d32dfb3e23eda35e22a710aaefbe
4
- data.tar.gz: b402fde85459e3fe10cb517d2e93de8e4e2ba489
3
+ metadata.gz: 8557f03c637046f1d0e261fa6aa2f7433299d5be
4
+ data.tar.gz: 1ea7fbc64f54d9a063be7e86c41f29ffca54fecc
5
5
  SHA512:
6
- metadata.gz: fc978103923c1008a56a501e7e0f6dc2f767f30ae20bffe1e2094feb607a662e71c3874c9eeefc599965663a7d7410b1a9ace7cd74c56da18fae1764aba1a377
7
- data.tar.gz: 790ef4d52fb1f2443adc51f913e5637dcb0ca1491b5d71c7c443f4788d3df49b70e697636fb040dbce0936568c2b9ce3e1b03cbfc085a9a8c9eb6d3480262849
6
+ metadata.gz: 1dbc189bef5885634a630a6b1fed7173f52bee2e1a9b633e52ce9d1fdae9aeceba675940447c6078426685dd45d7e44b9621264a57f0811896fbc58226e5b2b2
7
+ data.tar.gz: a07099456f2063d675f6a5d17d929aacee42c682e9e5f7d193ab9ab8c619e7e6e1c4adf2e1c7b051020f2da73debf321eeac752ec7281c351bfc3bf53da1ea61
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bvbg (0.1.0)
4
+ bvbg (0.1.1)
5
5
  ox
6
6
  saxerator
7
7
 
Binary file
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
7
7
  spec.name = "bvbg"
8
8
  spec.version = Bvbg::VERSION
9
9
  spec.authors = ["Pedro Aguiar dos Santos"]
10
- spec.email = ["pedro.santos@investtools.com.br"]
10
+ spec.email = ["desenvolvimento@investtools.com.br"]
11
11
 
12
12
  spec.summary = %q{Gem for reading Bovespa BVBG files}
13
13
  spec.homepage = "https://github.com/investtools/bvbg.git"
@@ -17,7 +17,6 @@ class Bvbg::Bvbg86Handler
17
17
  end
18
18
 
19
19
  def build_line(raw_item)
20
- puts raw_item[:FinInstrmAttrbts][:BestBidPric]
21
20
  {
22
21
  name: raw_item[:SctyId][:TckrSymb],
23
22
  symbol: raw_item[:SctyId][:TckrSymb],
@@ -32,7 +31,8 @@ class Bvbg::Bvbg86Handler
32
31
  volume: raw_item[:FinInstrmAttrbts][:NtlFinVol],
33
32
  quantity: raw_item[:FinInstrmAttrbts][:FinInstrmQty],
34
33
  trades: raw_item[:TradDtls][:TradQty],
35
- adj_close: raw_item[:FinInstrmAttrbts][:OscnPctg]
34
+ adj_close: raw_item[:FinInstrmAttrbts][:OscnPctg],
35
+ future_adj: raw_item[:FinInstrmAttrbts][:AdjstdValCtrct]
36
36
  }
37
37
  end
38
38
 
@@ -1,3 +1,3 @@
1
1
  module Bvbg
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bvbg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pedro Aguiar dos Santos
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-10-26 00:00:00.000000000 Z
11
+ date: 2018-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -110,7 +110,7 @@ dependencies:
110
110
  version: '0'
111
111
  description:
112
112
  email:
113
- - pedro.santos@investtools.com.br
113
+ - desenvolvimento@investtools.com.br
114
114
  executables: []
115
115
  extensions: []
116
116
  extra_rdoc_files: []
@@ -126,6 +126,7 @@ files:
126
126
  - Rakefile
127
127
  - bin/console
128
128
  - bin/setup
129
+ - bvbg-0.1.0.gem
129
130
  - bvbg.gemspec
130
131
  - lib/bvbg.rb
131
132
  - lib/bvbg/bvbg86_handler.rb