radar-api 2.9.2 → 2.9.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7629f6135262b6eda0a15474d959a418f03afd2270718f42aebbfaeaad178a57
4
- data.tar.gz: ffc037bcdaf2b9755420e75517f081398907198a28452530508987aa7d67a5e1
3
+ metadata.gz: '04690aa184f331f4356b11db8ee0ee0c79decc9393e0e3e309430b71ad4ee85c'
4
+ data.tar.gz: ebadffc000cf9fe9dbb55e8b6c4b348f4586f702f80f77aa64fbd05091a44a49
5
5
  SHA512:
6
- metadata.gz: 262ce576c3c88a9407bce4ff27dce82786d79e969bf899c2c833686a046ffdbeddd66e205192d78fcca009c02f2a8e797f29492d56034e8a507ed9b26c4ddcd1
7
- data.tar.gz: 007d0fa2cf92e565e7cfa32b04194b633c620ca04e75655d2b7a3d54d52515ff98d9531ea801063bad75aa4de953425b3e22aea605e954e82702e496b8eb15d9
6
+ metadata.gz: 6e54bf9ac0f40490522c7950ee7282608dac790810fbddd50c1180479741b688887b074ff9ebec3ff6bc3a2e44e97c9d46d6054bc27dba05263f9e4425fb2f76
7
+ data.tar.gz: a897a10be2c4870b6f35b8d3636554cd55f09c21f7874c81d1ce09d9a4dbbd6f03d0601c2ecf65a6b30d03cb721665f7d3a8cca10eac1bc45342313d9d4a98e4
@@ -0,0 +1,78 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: integration.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/protobuf/timestamp_pb'
7
+ require 'transaction_pb'
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_file("integration.proto", :syntax => :proto3) do
10
+ add_message "Radar.IntegrationStatusReq" do
11
+ optional :status, :enum, 1, "Radar.IntegrationStatus"
12
+ optional :user_id, :string, 2
13
+ end
14
+ add_message "Radar.IntegrationStatusResp" do
15
+ end
16
+ add_message "Radar.IntegrationReq" do
17
+ optional :username, :string, 1
18
+ optional :password, :string, 2
19
+ optional :user_id, :string, 3
20
+ optional :last_fetch_date, :string, 4
21
+ end
22
+ add_message "Radar.IntegrationResp" do
23
+ repeated :transactions, :message, 1, "Radar.Transaction"
24
+ optional :user_id, :string, 2
25
+ end
26
+ add_message "Radar.PersistTransactionsReq" do
27
+ optional :username, :string, 1
28
+ optional :password, :string, 2
29
+ optional :user_id, :string, 3
30
+ repeated :transactions, :message, 4, "Radar.Transaction"
31
+ end
32
+ add_message "Radar.PersistTransactionsResp" do
33
+ optional :status, :enum, 1, "Radar.IntegrationStatus"
34
+ end
35
+ add_message "Radar.IntegrationStepReq" do
36
+ optional :step, :enum, 1, "Radar.IntegrationStep"
37
+ optional :user_id, :string, 2
38
+ end
39
+ add_message "Radar.IntegrationStepResp" do
40
+ end
41
+ add_message "Radar.BackReq" do
42
+ optional :calendar_id, :string, 1
43
+ optional :date, :message, 2, "google.protobuf.Timestamp"
44
+ optional :amount, :int32, 3
45
+ end
46
+ add_message "Radar.BackResp" do
47
+ optional :date, :message, 1, "google.protobuf.Timestamp"
48
+ end
49
+ add_enum "Radar.IntegrationStatus" do
50
+ value :IDLE, 0
51
+ value :NOT_STARTED, 1
52
+ value :INTEGRATING, 2
53
+ value :COMPLETED, 3
54
+ value :FAILED, 4
55
+ value :WRONG_PASSWORD, 5
56
+ end
57
+ add_enum "Radar.IntegrationStep" do
58
+ value :AUTHENTICATING, 0
59
+ value :EXTRACTING_POSITIONS_SNAPSHOT, 1
60
+ value :EXTRACTING_TRANSACTIONS, 2
61
+ end
62
+ end
63
+ end
64
+
65
+ module Radar
66
+ IntegrationStatusReq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.IntegrationStatusReq").msgclass
67
+ IntegrationStatusResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.IntegrationStatusResp").msgclass
68
+ IntegrationReq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.IntegrationReq").msgclass
69
+ IntegrationResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.IntegrationResp").msgclass
70
+ PersistTransactionsReq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.PersistTransactionsReq").msgclass
71
+ PersistTransactionsResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.PersistTransactionsResp").msgclass
72
+ IntegrationStepReq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.IntegrationStepReq").msgclass
73
+ IntegrationStepResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.IntegrationStepResp").msgclass
74
+ BackReq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.BackReq").msgclass
75
+ BackResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.BackResp").msgclass
76
+ IntegrationStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.IntegrationStatus").enummodule
77
+ IntegrationStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.IntegrationStep").enummodule
78
+ end
@@ -0,0 +1,26 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: integration.proto for package 'Radar'
3
+
4
+ require 'grpc'
5
+ require 'integration_pb'
6
+
7
+ module Radar
8
+ module Integration
9
+ class Service
10
+
11
+ include GRPC::GenericService
12
+
13
+ self.marshal_class_method = :encode
14
+ self.unmarshal_class_method = :decode
15
+ self.service_name = 'Radar.Integration'
16
+
17
+ rpc :PersistTransactions, PersistTransactionsReq, PersistTransactionsResp
18
+ rpc :Start, IntegrationReq, IntegrationResp
19
+ rpc :Status, IntegrationStatusReq, IntegrationStatusResp
20
+ rpc :Step, IntegrationStepReq, IntegrationStepResp
21
+ rpc :Back, BackReq, BackResp
22
+ end
23
+
24
+ Stub = Service.rpc_stub_class
25
+ end
26
+ end
@@ -0,0 +1,51 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: transaction.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/protobuf/timestamp_pb'
7
+ require 'google/protobuf/wrappers_pb'
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_file("transaction.proto", :syntax => :proto3) do
10
+ add_message "Radar.EquityBuy" do
11
+ optional :date, :message, 1, "google.protobuf.Timestamp"
12
+ optional :equity_id, :string, 2
13
+ optional :shares, :int32, 3
14
+ optional :price, :double, 4
15
+ end
16
+ add_message "Radar.EquitySell" do
17
+ optional :date, :message, 1, "google.protobuf.Timestamp"
18
+ optional :equity_id, :string, 2
19
+ optional :shares, :int32, 3
20
+ optional :price, :double, 4
21
+ end
22
+ add_message "Radar.EquityPositionSnapshot" do
23
+ optional :date, :message, 1, "google.protobuf.Timestamp"
24
+ optional :equity_id, :string, 2
25
+ optional :shares, :int32, 3
26
+ optional :price, :message, 4, "google.protobuf.DoubleValue"
27
+ end
28
+ add_message "Radar.OptionExercise" do
29
+ optional :date, :message, 1, "google.protobuf.Timestamp"
30
+ optional :option_id, :string, 2
31
+ optional :shares, :int32, 3
32
+ optional :strike, :double, 4
33
+ end
34
+ add_message "Radar.Transaction" do
35
+ oneof :transaction_oneof do
36
+ optional :equity_buy, :message, 1, "Radar.EquityBuy"
37
+ optional :equity_sell, :message, 2, "Radar.EquitySell"
38
+ optional :equity_position_snapshot, :message, 3, "Radar.EquityPositionSnapshot"
39
+ optional :option_exercise, :message, 4, "Radar.OptionExercise"
40
+ end
41
+ end
42
+ end
43
+ end
44
+
45
+ module Radar
46
+ EquityBuy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.EquityBuy").msgclass
47
+ EquitySell = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.EquitySell").msgclass
48
+ EquityPositionSnapshot = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.EquityPositionSnapshot").msgclass
49
+ OptionExercise = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.OptionExercise").msgclass
50
+ Transaction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.Transaction").msgclass
51
+ end
@@ -17,7 +17,8 @@ Gem::Specification.new do |spec|
17
17
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
18
  spec.require_paths = ["lib", "gen"]
19
19
 
20
- spec.add_development_dependency "bundler", "~> 1.5"
20
+ # spec.add_development_dependency "bundler", "~> 1.5"
21
+ spec.add_development_dependency "bundler"
21
22
  spec.add_development_dependency "guard-rake", "0.0.9"
22
23
  spec.add_development_dependency "grpc-tools", "~> 1.27.0"
23
24
  spec.add_dependency "grpc"
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radar-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.2
4
+ version: 2.9.6
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-07-16 00:00:00.000000000 Z
11
+ date: 2020-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.5'
19
+ version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '1.5'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: guard-rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -75,7 +75,6 @@ extra_rdoc_files: []
75
75
  files:
76
76
  - ".rake_tasks~"
77
77
  - Gemfile
78
- - Gemfile.lock
79
78
  - Guardfile
80
79
  - LICENSE.txt
81
80
  - README.md
@@ -84,8 +83,11 @@ files:
84
83
  - gen/cei_services_pb.rb
85
84
  - gen/exporter_pb.rb
86
85
  - gen/exporter_services_pb.rb
86
+ - gen/integration_pb.rb
87
+ - gen/integration_services_pb.rb
87
88
  - gen/portfolios_pb.rb
88
89
  - gen/portfolios_services_pb.rb
90
+ - gen/transaction_pb.rb
89
91
  - lib/radar-api.rb
90
92
  - radar-api.gemspec
91
93
  homepage: http://www.investtools.com.br/
@@ -108,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
110
  - !ruby/object:Gem::Version
109
111
  version: '0'
110
112
  requirements: []
111
- rubygems_version: 3.0.6
113
+ rubygems_version: 3.0.8
112
114
  signing_key:
113
115
  specification_version: 4
114
116
  summary: Radar API
@@ -1,64 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- radar-api (2.9.2)
5
- grpc
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- celluloid (0.15.2)
11
- timers (~> 1.1.0)
12
- celluloid-io (0.15.0)
13
- celluloid (>= 0.15.0)
14
- nio4r (>= 0.5.0)
15
- coderay (1.1.0)
16
- ffi (1.11.1)
17
- formatador (0.2.4)
18
- google-protobuf (3.12.2)
19
- googleapis-common-protos-types (1.0.5)
20
- google-protobuf (~> 3.11)
21
- grpc (1.30.1)
22
- google-protobuf (~> 3.12)
23
- googleapis-common-protos-types (~> 1.0)
24
- grpc-tools (1.27.0)
25
- guard (2.6.0)
26
- formatador (>= 0.2.4)
27
- listen (~> 2.7)
28
- lumberjack (~> 1.0)
29
- pry (>= 0.9.12)
30
- thor (>= 0.18.1)
31
- guard-rake (0.0.9)
32
- guard
33
- rake
34
- listen (2.7.1)
35
- celluloid (>= 0.15.2)
36
- celluloid-io (>= 0.15.0)
37
- rb-fsevent (>= 0.9.3)
38
- rb-inotify (>= 0.9)
39
- lumberjack (1.0.5)
40
- method_source (0.8.2)
41
- nio4r (1.2.1)
42
- pry (0.9.12.6)
43
- coderay (~> 1.0)
44
- method_source (~> 0.8)
45
- slop (~> 3.4)
46
- rake (13.0.1)
47
- rb-fsevent (0.9.4)
48
- rb-inotify (0.9.3)
49
- ffi (>= 0.5.0)
50
- slop (3.5.0)
51
- thor (0.19.1)
52
- timers (1.1.0)
53
-
54
- PLATFORMS
55
- ruby
56
-
57
- DEPENDENCIES
58
- bundler (~> 1.5)
59
- grpc-tools (~> 1.27.0)
60
- guard-rake (= 0.0.9)
61
- radar-api!
62
-
63
- BUNDLED WITH
64
- 1.17.3