radar-api-legacy 0.14.0 → 0.14.1

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
- SHA256:
3
- metadata.gz: afe38ffe928013b49d83d991bdd3ff4e58869edb399877be8bd24b68568cdeba
4
- data.tar.gz: 575eb630724ef1569968b3d4b7f7585a550442e454c10df25d333e24ec6914f3
2
+ SHA1:
3
+ metadata.gz: d06389b5359f40a29491bb54113abb494b896795
4
+ data.tar.gz: edc78ac5ac02af96b837c9f5a6bcd4ba0d393fd2
5
5
  SHA512:
6
- metadata.gz: '02099f90b92bcf82d95f8df9b5e4a884d21c054503e195d993c4e82dfc8bcf10b3944905edfc01cc2ad9701222aedf72dea656922b42a53731183a196d4ac2b6'
7
- data.tar.gz: 6cc03022fefb29a2f6541ea6cefd7b3a56208fa6f6dfb08605699465d776b0c6f9b6490ed115d53bbfedd710a1e138504d803b99cd1d5bd2cf6e8f1053d88317
6
+ metadata.gz: 5f5f583b9c74565c0b1621934e4452e2f4a634a5fd7986a255cb8cd506db762ffc65394d5f7c87e1f8f70d1eda1f07319d48b2595cb312c637350763edc7abc7
7
+ data.tar.gz: 8159626e885fa9079c0a32f1d71d8a03d81ead04b2db362af91e8f09d4e7df7ea175c4db5fa3dde6234413e8b378f87f0fc5f78afbbf09c54bc16042e85f1e76
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- radar-api-legacy (0.14.0)
4
+ radar-api (0.14.0)
5
5
  thrift (~> 0.9.0)
6
6
 
7
7
  GEM
@@ -51,7 +51,7 @@ PLATFORMS
51
51
  DEPENDENCIES
52
52
  bundler (~> 1.5)
53
53
  guard-rake (= 0.0.9)
54
- radar-api-legacy!
54
+ radar-api!
55
55
 
56
56
  BUNDLED WITH
57
57
  1.17.3
@@ -48,13 +48,13 @@ module Radar
48
48
  return
49
49
  end
50
50
 
51
- def fetch_portfolio(username, password, date)
52
- send_fetch_portfolio(username, password, date)
51
+ def fetch_portfolio(username, password, stock_position_date, option_position_date)
52
+ send_fetch_portfolio(username, password, stock_position_date, option_position_date)
53
53
  return recv_fetch_portfolio()
54
54
  end
55
55
 
56
- def send_fetch_portfolio(username, password, date)
57
- send_message('fetch_portfolio', Fetch_portfolio_args, :username => username, :password => password, :date => date)
56
+ def send_fetch_portfolio(username, password, stock_position_date, option_position_date)
57
+ send_message('fetch_portfolio', Fetch_portfolio_args, :username => username, :password => password, :stock_position_date => stock_position_date, :option_position_date => option_position_date)
58
58
  end
59
59
 
60
60
  def recv_fetch_portfolio()
@@ -105,7 +105,7 @@ module Radar
105
105
  args = read_args(iprot, Fetch_portfolio_args)
106
106
  result = Fetch_portfolio_result.new()
107
107
  begin
108
- result.success = @handler.fetch_portfolio(args.username, args.password, args.date)
108
+ result.success = @handler.fetch_portfolio(args.username, args.password, args.stock_position_date, args.option_position_date)
109
109
  rescue ::Radar::Api::ApplicationError => app_error
110
110
  result.app_error = app_error
111
111
  rescue ::Radar::Api::AuthenticationError => auth_error
@@ -208,12 +208,14 @@ module Radar
208
208
  include ::Thrift::Struct, ::Thrift::Struct_Union
209
209
  USERNAME = 1
210
210
  PASSWORD = 2
211
- DATE = 3
211
+ STOCK_POSITION_DATE = 3
212
+ OPTION_POSITION_DATE = 4
212
213
 
213
214
  FIELDS = {
214
215
  USERNAME => {:type => ::Thrift::Types::STRING, :name => 'username'},
215
216
  PASSWORD => {:type => ::Thrift::Types::STRING, :name => 'password'},
216
- DATE => {:type => ::Thrift::Types::I64, :name => 'date'}
217
+ STOCK_POSITION_DATE => {:type => ::Thrift::Types::I64, :name => 'stock_position_date'},
218
+ OPTION_POSITION_DATE => {:type => ::Thrift::Types::I64, :name => 'option_position_date'}
217
219
  }
218
220
 
219
221
  def struct_fields; FIELDS; end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radar-api-legacy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - André Aizim Kelmanson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-12 00:00:00.000000000 Z
11
+ date: 2020-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -91,7 +91,7 @@ files:
91
91
  - gen/radar/api/transaction_types.rb
92
92
  - gen/radar_constants.rb
93
93
  - gen/radar_types.rb
94
- - lib/radar-api-legacy.rb
94
+ - lib/radar-api.rb
95
95
  - radar-api.gemspec
96
96
  homepage: http://www.investtools.com.br/
97
97
  licenses:
@@ -113,7 +113,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
113
113
  - !ruby/object:Gem::Version
114
114
  version: '0'
115
115
  requirements: []
116
- rubygems_version: 3.0.6
116
+ rubyforge_project:
117
+ rubygems_version: 2.6.14.4
117
118
  signing_key:
118
119
  specification_version: 4
119
120
  summary: Radar API