nerdvision-api 0.0.0
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 +7 -0
- data/lib/nerdvision_pb.rb +41 -0
- data/lib/nerdvision_services_pb.rb +28 -0
- metadata +45 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: afc405bb09f1f793be9cbca076682fdcc81abdb799a1046dbf6ca925f78edd70
|
4
|
+
data.tar.gz: 4de1d7e5c4d9eeaeeea017cd5736b204c59c80c0500712c51c0ed0dbea42ec9d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: bac894a7dccf75c9f3b22f89671ff370b2aa8ab04c950a7257aebaf36239494490691d1ea1b9e2b754ecdccbc3525bf8cdd8f3097a1a84bf42a0f425faec62aa
|
7
|
+
data.tar.gz: a7e073a0c5d7f7b2b8b0d5460973c093d0a7d137899e1e2286202e7825d2e5cb393fa0e7598deaca3a9da9ede837178ecea94c322b28cd578cafb09e5d2a5f01
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: nerdvision.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_message "com.nerdvision.grpc.BreakpointConnection" do
|
8
|
+
end
|
9
|
+
add_message "com.nerdvision.grpc.BreakpointResponse" do
|
10
|
+
optional :message_id, :int64, 1
|
11
|
+
repeated :breakpoints, :message, 2, "com.nerdvision.grpc.BreakpointResponse.Breakpoint"
|
12
|
+
end
|
13
|
+
add_message "com.nerdvision.grpc.BreakpointResponse.Breakpoint" do
|
14
|
+
optional :breakpoint_id, :string, 1
|
15
|
+
optional :workspace_id, :string, 2
|
16
|
+
optional :rel_path, :string, 3
|
17
|
+
optional :line_no, :int64, 4
|
18
|
+
optional :src_type, :enum, 5, "com.nerdvision.grpc.BreakpointResponse.Breakpoint.SourceType"
|
19
|
+
map :args, :string, :string, 6
|
20
|
+
optional :condition, :string, 7
|
21
|
+
map :named_watchers, :string, :string, 8
|
22
|
+
optional :fire_count, :int32, 9
|
23
|
+
optional :type, :string, 10
|
24
|
+
end
|
25
|
+
add_enum "com.nerdvision.grpc.BreakpointResponse.Breakpoint.SourceType" do
|
26
|
+
value :JAVA, 0
|
27
|
+
value :TYPE_SCRIPT, 1
|
28
|
+
value :PYTHON, 2
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
module Com
|
33
|
+
module Nerdvision
|
34
|
+
module Grpc
|
35
|
+
BreakpointConnection = Google::Protobuf::DescriptorPool.generated_pool.lookup("com.nerdvision.grpc.BreakpointConnection").msgclass
|
36
|
+
BreakpointResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("com.nerdvision.grpc.BreakpointResponse").msgclass
|
37
|
+
BreakpointResponse::Breakpoint = Google::Protobuf::DescriptorPool.generated_pool.lookup("com.nerdvision.grpc.BreakpointResponse.Breakpoint").msgclass
|
38
|
+
BreakpointResponse::Breakpoint::SourceType = Google::Protobuf::DescriptorPool.generated_pool.lookup("com.nerdvision.grpc.BreakpointResponse.Breakpoint.SourceType").enummodule
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: nerdvision.proto for package 'com.nerdvision.grpc'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require 'nerdvision_pb'
|
6
|
+
|
7
|
+
module Com
|
8
|
+
module Nerdvision
|
9
|
+
module Grpc
|
10
|
+
module NerdVisionBreakpoints
|
11
|
+
# This is the service that will stream the breakpoint configuration changes to the clients.
|
12
|
+
class Service
|
13
|
+
|
14
|
+
include GRPC::GenericService
|
15
|
+
|
16
|
+
self.marshal_class_method = :encode
|
17
|
+
self.unmarshal_class_method = :decode
|
18
|
+
self.service_name = 'com.nerdvision.grpc.NerdVisionBreakpoints'
|
19
|
+
|
20
|
+
# This will connect to the service and begin streaming the responses to the client.
|
21
|
+
rpc :streamBreakpoints, BreakpointConnection, stream(BreakpointResponse)
|
22
|
+
end
|
23
|
+
|
24
|
+
Stub = Service.rpc_stub_class
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
metadata
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: nerdvision-api
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ben Donnelly
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-04-05 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: API definition for grpc connection.
|
14
|
+
email: ruby@nerd.vision
|
15
|
+
executables: []
|
16
|
+
extensions: []
|
17
|
+
extra_rdoc_files: []
|
18
|
+
files:
|
19
|
+
- lib/nerdvision_pb.rb
|
20
|
+
- lib/nerdvision_services_pb.rb
|
21
|
+
homepage: https://nerd.vision/
|
22
|
+
licenses:
|
23
|
+
- Intergral GmbH
|
24
|
+
metadata: {}
|
25
|
+
post_install_message:
|
26
|
+
rdoc_options: []
|
27
|
+
require_paths:
|
28
|
+
- lib
|
29
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
35
|
+
requirements:
|
36
|
+
- - ">="
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: '0'
|
39
|
+
requirements: []
|
40
|
+
rubyforge_project:
|
41
|
+
rubygems_version: 2.7.6.2
|
42
|
+
signing_key:
|
43
|
+
specification_version: 4
|
44
|
+
summary: API for NV.
|
45
|
+
test_files: []
|