informativos-api 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: f839926d96545196fc0d14e4b71e28963f9d247f6474b72d14a6d91ad7612419
4
+ data.tar.gz: a8f8c00364a8e5880b4934dca38939a17f835cdcacacc9fdbcc2c9d3c751c976
5
+ SHA512:
6
+ metadata.gz: 321200bdc5ffbb52321d3b22443e716a5525e24a8ddaee304916d384c7f0d8aa0a6a8efbd460c3383cc8bf509ffcca680b5178ac1434cbe0b655caca16b936ec
7
+ data.tar.gz: a51719108551afa2b67ca4d14ddf9b31b5e67d544a8dc575112ee21463e742baec13c87a26c86afc8cb0f5f4b52f59646e0f6836b90be86703e1b7c941ea0aeb
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in informativos-api.gemspec
4
+ gemspec
@@ -0,0 +1,17 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ informativos-api (1.0.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+
10
+ PLATFORMS
11
+ ruby
12
+
13
+ DEPENDENCIES
14
+ informativos-api!
15
+
16
+ BUNDLED WITH
17
+ 2.1.1
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2020 Investtools
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,37 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: Prices.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("Prices.proto", :syntax => :proto3) do
8
+ add_message "informativos.GetPricesReq" do
9
+ optional :updated_since, :uint64, 1
10
+ end
11
+ add_message "informativos.Price" do
12
+ optional :id, :string, 1
13
+ optional :security, :string, 2
14
+ optional :settlement_date, :uint64, 3
15
+ optional :date, :uint64, 4
16
+ optional :close, :double, 5
17
+ optional :open, :double, 6
18
+ optional :high, :double, 7
19
+ optional :low, :double, 8
20
+ optional :average, :double, 9
21
+ optional :bid, :double, 10
22
+ optional :ask, :double, 11
23
+ optional :volume, :double, 12
24
+ optional :quantity, :double, 13
25
+ optional :trades, :double, 14
26
+ optional :change, :double, 15
27
+ optional :a_change, :float, 16
28
+ optional :origin, :string, 17
29
+ optional :updated_at, :uint64, 18
30
+ end
31
+ end
32
+ end
33
+
34
+ module Informativos
35
+ GetPricesReq = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.GetPricesReq").msgclass
36
+ Price = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.Price").msgclass
37
+ end
@@ -0,0 +1,22 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: Prices.proto for package 'informativos'
3
+
4
+ require 'grpc'
5
+ require 'Prices_pb'
6
+
7
+ module Informativos
8
+ module Prices
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 = 'informativos.Prices'
16
+
17
+ rpc :GetPrices, GetPricesReq, stream(Price)
18
+ end
19
+
20
+ Stub = Service.rpc_stub_class
21
+ end
22
+ end
@@ -0,0 +1,28 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: Securities.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("Securities.proto", :syntax => :proto3) do
8
+ add_message "informativos.GetSecuritiesReq" do
9
+ optional :updated_since, :uint64, 1
10
+ end
11
+ add_message "informativos.Security" do
12
+ optional :id, :string, 1
13
+ optional :name, :string, 2
14
+ optional :isin, :string, 3
15
+ optional :symbol, :string, 4
16
+ optional :is_ibov, :bool, 5
17
+ optional :security_type, :string, 6
18
+ optional :spec, :string, 7
19
+ optional :settlement_date, :uint64, 8
20
+ optional :updated_at, :uint64, 9
21
+ end
22
+ end
23
+ end
24
+
25
+ module Informativos
26
+ GetSecuritiesReq = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.GetSecuritiesReq").msgclass
27
+ Security = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.Security").msgclass
28
+ end
@@ -0,0 +1,22 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: Securities.proto for package 'informativos'
3
+
4
+ require 'grpc'
5
+ require 'Securities_pb'
6
+
7
+ module Informativos
8
+ module Securities
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 = 'informativos.Securities'
16
+
17
+ rpc :GetSecurities, GetSecuritiesReq, stream(Security)
18
+ end
19
+
20
+ Stub = Service.rpc_stub_class
21
+ end
22
+ end
@@ -0,0 +1,19 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "informativos-api"
7
+ spec.version = File.read(File.expand_path('../../version.txt', __FILE__))
8
+ spec.authors = ["Breno Perricone Fischer"]
9
+ spec.email = ["breno@investtools.com.br"]
10
+ spec.summary = %q{Informativos API}
11
+ spec.description = %q{Informativos API}
12
+ spec.homepage = "https://api.informtivos.io/"
13
+ spec.license = "MIT"
14
+
15
+ spec.files = `git ls-files`.split($/)
16
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
+ spec.require_paths = ["lib", "gen"]
19
+ end
@@ -0,0 +1,2 @@
1
+ require 'Prices_services_pb'
2
+ require 'Securities_services_pb'
metadata ADDED
@@ -0,0 +1,54 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: informativos-api
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.1.2
5
+ platform: ruby
6
+ authors:
7
+ - Breno Perricone Fischer
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-01-14 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Informativos API
14
+ email:
15
+ - breno@investtools.com.br
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - Gemfile
21
+ - Gemfile.lock
22
+ - LICENSE.txt
23
+ - Rakefile
24
+ - gen/Prices_pb.rb
25
+ - gen/Prices_services_pb.rb
26
+ - gen/Securities_pb.rb
27
+ - gen/Securities_services_pb.rb
28
+ - informativos-api.gemspec
29
+ - lib/informativos-api.rb
30
+ homepage: https://api.informtivos.io/
31
+ licenses:
32
+ - MIT
33
+ metadata: {}
34
+ post_install_message:
35
+ rdoc_options: []
36
+ require_paths:
37
+ - lib
38
+ - gen
39
+ required_ruby_version: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ required_rubygems_version: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: '0'
49
+ requirements: []
50
+ rubygems_version: 3.0.3
51
+ signing_key:
52
+ specification_version: 4
53
+ summary: Informativos API
54
+ test_files: []