tucana 0.0.6 → 0.0.7
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 +4 -4
- data/lib/tucana/actions/transfer_pb.rb +20 -0
- data/lib/tucana/actions/transfer_services_pb.rb +24 -0
- data/lib/tucana/internal/action_pb.rb +22 -0
- data/lib/tucana/internal/action_services_pb.rb +25 -0
- data/lib/tucana/internal/flow_definition_pb.rb +17 -0
- data/lib/tucana/internal/flow_pb.rb +6 -8
- data/lib/tucana/internal/flow_services_pb.rb +4 -18
- data/lib/tucana/internal/node_pb.rb +2 -2
- data/lib/tucana/internal/ping_pb.rb +17 -0
- data/lib/tucana/internal/ping_services_pb.rb +24 -0
- data/lib/tucana/shared/definitions_pb.rb +18 -0
- data/lib/tucana/version.rb +1 -1
- data/lib/tucana.rb +1 -2
- metadata +13 -8
- data/lib/tucana/internal/rule_pb.rb +0 -18
- data/lib/tucana/internal/type_pb.rb +0 -19
- data/lib/tucana/internal/variable_pb.rb +0 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da284198a2eda1cfc3c19259a8d079186b056db9057dfe65bf38b54514c2c753
|
4
|
+
data.tar.gz: fa1d2a592abf6eb41a075a33780ab273c2f655a60c5d50152a47e9843d2d1cdb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 708ae85e689c52cc818bfe87d13e514128b775636650174c72f671bd6b5a6409f65b7188dc779aa3d50cc6a116299af711686bb003252ad424322a297d7ea564
|
7
|
+
data.tar.gz: bf85bf71b3192ad9cf86ef4df8f1be3a098d9fbc9507963946f277e35a60514eae4993d773983bdf32813927a291e97c2ec630b3d4b9fd4dc95c9137e841996c
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: transfer.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require_relative '../shared/definitions_pb'
|
8
|
+
|
9
|
+
|
10
|
+
descriptor_data = "\n\x0etransfer.proto\x12\x07\x61\x63tions\x1a\x11\x64\x65\x66initions.proto\"\xaa\x01\n\x12InformationRequest\x12\x12\n\nidentifier\x18\x01 \x01(\t\x12>\n\x13\x66unction_definition\x18\x02 \x03(\x0b\x32!.shared.RuntimeFunctionDefinition\x12@\n\x14parameter_definition\x18\x03 \x03(\x0b\x32\".shared.RuntimeParameterDefinition\"&\n\x13InformationResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x32`\n\x15\x41\x63tionTransferService\x12G\n\x08Transfer\x12\x1b.actions.InformationRequest\x1a\x1c.actions.InformationResponse(\x01\x42\x12\xea\x02\x0fTucana::Actionsb\x06proto3"
|
11
|
+
|
12
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
14
|
+
|
15
|
+
module Tucana
|
16
|
+
module Actions
|
17
|
+
InformationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("actions.InformationRequest").msgclass
|
18
|
+
InformationResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("actions.InformationResponse").msgclass
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: transfer.proto for package 'Tucana.Actions'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require_relative 'transfer_pb'
|
6
|
+
|
7
|
+
module Tucana
|
8
|
+
module Actions
|
9
|
+
module ActionTransferService
|
10
|
+
class Service
|
11
|
+
|
12
|
+
include ::GRPC::GenericService
|
13
|
+
|
14
|
+
self.marshal_class_method = :encode
|
15
|
+
self.unmarshal_class_method = :decode
|
16
|
+
self.service_name = 'actions.ActionTransferService'
|
17
|
+
|
18
|
+
rpc :Transfer, stream(::Tucana::Actions::InformationRequest), ::Tucana::Actions::InformationResponse
|
19
|
+
end
|
20
|
+
|
21
|
+
Stub = Service.rpc_stub_class
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: action.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require_relative '../shared/definitions_pb'
|
8
|
+
|
9
|
+
|
10
|
+
descriptor_data = "\n\x0c\x61\x63tion.proto\x12\x08internal\x1a\x11\x64\x65\x66initions.proto\"\xaa\x01\n\x12\x41\x63tionLogonRequest\x12\x12\n\nidentifier\x18\x01 \x01(\t\x12>\n\x13\x66unction_definition\x18\x02 \x03(\x0b\x32!.shared.RuntimeFunctionDefinition\x12@\n\x14parameter_definition\x18\x03 \x03(\x0b\x32\".shared.RuntimeParameterDefinition\"\x15\n\x13\x41\x63tionLogonResponse\")\n\x13\x41\x63tionLogoffRequest\x12\x12\n\nidentifier\x18\x01 \x01(\t\"\x16\n\x14\x41\x63tionLogoffResponse2\x9e\x01\n\rActionService\x12\x44\n\x05Logon\x12\x1c.internal.ActionLogonRequest\x1a\x1d.internal.ActionLogonResponse\x12G\n\x06Logoff\x12\x1d.internal.ActionLogoffRequest\x1a\x1e.internal.ActionLogoffResponseB\x13\xea\x02\x10Tucana::Internalb\x06proto3"
|
11
|
+
|
12
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
14
|
+
|
15
|
+
module Tucana
|
16
|
+
module Internal
|
17
|
+
ActionLogonRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("internal.ActionLogonRequest").msgclass
|
18
|
+
ActionLogonResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("internal.ActionLogonResponse").msgclass
|
19
|
+
ActionLogoffRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("internal.ActionLogoffRequest").msgclass
|
20
|
+
ActionLogoffResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("internal.ActionLogoffResponse").msgclass
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: action.proto for package 'Tucana.Internal'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require_relative 'action_pb'
|
6
|
+
|
7
|
+
module Tucana
|
8
|
+
module Internal
|
9
|
+
module ActionService
|
10
|
+
class Service
|
11
|
+
|
12
|
+
include ::GRPC::GenericService
|
13
|
+
|
14
|
+
self.marshal_class_method = :encode
|
15
|
+
self.unmarshal_class_method = :decode
|
16
|
+
self.service_name = 'internal.ActionService'
|
17
|
+
|
18
|
+
rpc :Logon, ::Tucana::Internal::ActionLogonRequest, ::Tucana::Internal::ActionLogonResponse
|
19
|
+
rpc :Logoff, ::Tucana::Internal::ActionLogoffRequest, ::Tucana::Internal::ActionLogoffResponse
|
20
|
+
end
|
21
|
+
|
22
|
+
Stub = Service.rpc_stub_class
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: flow_definition.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
|
8
|
+
descriptor_data = "\n\x15\x66low_definition.proto\x12\x08internal\"\x10\n\x0e\x46lowDefinitionB\x13\xea\x02\x10Tucana::Internalb\x06proto3"
|
9
|
+
|
10
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
|
+
pool.add_serialized_file(descriptor_data)
|
12
|
+
|
13
|
+
module Tucana
|
14
|
+
module Internal
|
15
|
+
FlowDefinition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("internal.FlowDefinition").msgclass
|
16
|
+
end
|
17
|
+
end
|
@@ -4,12 +4,11 @@
|
|
4
4
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
require 'variable_pb'
|
7
|
+
require_relative 'node_pb'
|
8
|
+
require_relative 'flow_definition_pb'
|
10
9
|
|
11
10
|
|
12
|
-
descriptor_data = "\n\nflow.proto\x12\x08internal\x1a\nnode.proto\x1a\
|
11
|
+
descriptor_data = "\n\nflow.proto\x12\x08internal\x1a\nnode.proto\x1a\x15\x66low_definition.proto\"X\n\x04\x46low\x12\"\n\nstart_node\x18\x02 \x01(\x0b\x32\x0e.internal.Node\x12,\n\ndefinition\x18\x03 \x01(\x0b\x32\x18.internal.FlowDefinition\"\x12\n\x10\x46lowLogonRequest\"]\n\x0c\x46lowResponse\x12$\n\x0cupdated_flow\x18\x01 \x01(\x0b\x32\x0e.internal.Flow\x12\'\n\x04type\x18\x02 \x01(\x0e\x32\x19.internal.FlowCommandType\"\"\n\x0e\x46lowGetRequest\x12\x10\n\x08\x66low_ids\x18\x01 \x03(\x03\"R\n\x0f\x46lowGetResponse\x12%\n\rupdated_flows\x18\x01 \x03(\x0b\x32\x0e.internal.Flow\x12\x18\n\x10\x64\x65leted_flow_ids\x18\x02 \x03(\x03*)\n\x0f\x46lowCommandType\x12\n\n\x06INSERT\x10\x00\x12\n\n\x06\x44\x45LETE\x10\x01\x32\x8d\x01\n\x0b\x46lowService\x12<\n\x03Get\x12\x18.internal.FlowGetRequest\x1a\x19.internal.FlowGetResponse\"\x00\x12@\n\x06Update\x12\x1a.internal.FlowLogonRequest\x1a\x16.internal.FlowResponse\"\x00\x30\x01\x42\x13\xea\x02\x10Tucana::Internalb\x06proto3"
|
13
12
|
|
14
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
14
|
pool.add_serialized_file(descriptor_data)
|
@@ -17,11 +16,10 @@ pool.add_serialized_file(descriptor_data)
|
|
17
16
|
module Tucana
|
18
17
|
module Internal
|
19
18
|
Flow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("internal.Flow").msgclass
|
20
|
-
|
21
|
-
|
22
|
-
FlowDeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("internal.FlowDeleteRequest").msgclass
|
23
|
-
FlowDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("internal.FlowDeleteResponse").msgclass
|
19
|
+
FlowLogonRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("internal.FlowLogonRequest").msgclass
|
20
|
+
FlowResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("internal.FlowResponse").msgclass
|
24
21
|
FlowGetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("internal.FlowGetRequest").msgclass
|
25
22
|
FlowGetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("internal.FlowGetResponse").msgclass
|
23
|
+
FlowCommandType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("internal.FlowCommandType").enummodule
|
26
24
|
end
|
27
25
|
end
|
@@ -2,35 +2,21 @@
|
|
2
2
|
# Source: flow.proto for package 'Tucana.Internal'
|
3
3
|
|
4
4
|
require 'grpc'
|
5
|
-
|
5
|
+
require_relative 'flow_pb'
|
6
6
|
|
7
7
|
module Tucana
|
8
8
|
module Internal
|
9
|
-
module
|
9
|
+
module FlowService
|
10
10
|
class Service
|
11
11
|
|
12
12
|
include ::GRPC::GenericService
|
13
13
|
|
14
14
|
self.marshal_class_method = :encode
|
15
15
|
self.unmarshal_class_method = :decode
|
16
|
-
self.service_name = 'internal.
|
17
|
-
|
18
|
-
rpc :Update, ::Tucana::Internal::FlowUpdateRequest, ::Tucana::Internal::FlowUpdateResponse
|
19
|
-
rpc :Delete, ::Tucana::Internal::FlowDeleteRequest, ::Tucana::Internal::FlowDeleteResponse
|
20
|
-
end
|
21
|
-
|
22
|
-
Stub = Service.rpc_stub_class
|
23
|
-
end
|
24
|
-
module FlowSagittariusService
|
25
|
-
class Service
|
26
|
-
|
27
|
-
include ::GRPC::GenericService
|
28
|
-
|
29
|
-
self.marshal_class_method = :encode
|
30
|
-
self.unmarshal_class_method = :decode
|
31
|
-
self.service_name = 'internal.FlowSagittariusService'
|
16
|
+
self.service_name = 'internal.FlowService'
|
32
17
|
|
33
18
|
rpc :Get, ::Tucana::Internal::FlowGetRequest, ::Tucana::Internal::FlowGetResponse
|
19
|
+
rpc :Update, ::Tucana::Internal::FlowLogonRequest, stream(::Tucana::Internal::FlowResponse)
|
34
20
|
end
|
35
21
|
|
36
22
|
Stub = Service.rpc_stub_class
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
|
-
|
7
|
+
require_relative '../shared/definitions_pb'
|
8
8
|
|
9
9
|
|
10
|
-
descriptor_data = "\n\nnode.proto\x12\x08internal\x1a\
|
10
|
+
descriptor_data = "\n\nnode.proto\x12\x08internal\x1a\x11\x64\x65\x66initions.proto\"\x9c\x01\n\x04Node\x12\x35\n\ndefinition\x18\x01 \x01(\x0b\x32!.shared.RuntimeFunctionDefinition\x12&\n\tnext_node\x18\x02 \x01(\x0b\x32\x0e.internal.NodeH\x00\x88\x01\x01\x12\'\n\nparameters\x18\x03 \x03(\x0b\x32\x13.internal.ParameterB\x0c\n\n_next_node\"\x95\x01\n\tParameter\x12\x36\n\ndefinition\x18\x01 \x01(\x0b\x32\".shared.RuntimeParameterDefinition\x12\x12\n\x05value\x18\x02 \x01(\tH\x00\x88\x01\x01\x12%\n\x08sub_node\x18\x03 \x01(\x0b\x32\x0e.internal.NodeH\x01\x88\x01\x01\x42\x08\n\x06_valueB\x0b\n\t_sub_nodeB\x13\xea\x02\x10Tucana::Internalb\x06proto3"
|
11
11
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
13
|
pool.add_serialized_file(descriptor_data)
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: ping.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
|
8
|
+
descriptor_data = "\n\nping.proto\x12\x08internal\"\x1e\n\x0bPingMessage\x12\x0f\n\x07ping_id\x18\x01 \x01(\x03\x32\x45\n\x0bPingService\x12\x36\n\x04Ping\x12\x15.internal.PingMessage\x1a\x15.internal.PingMessage\"\x00\x42\x13\xea\x02\x10Tucana::Internalb\x06proto3"
|
9
|
+
|
10
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
|
+
pool.add_serialized_file(descriptor_data)
|
12
|
+
|
13
|
+
module Tucana
|
14
|
+
module Internal
|
15
|
+
PingMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("internal.PingMessage").msgclass
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: ping.proto for package 'Tucana.Internal'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require_relative 'ping_pb'
|
6
|
+
|
7
|
+
module Tucana
|
8
|
+
module Internal
|
9
|
+
module PingService
|
10
|
+
class Service
|
11
|
+
|
12
|
+
include ::GRPC::GenericService
|
13
|
+
|
14
|
+
self.marshal_class_method = :encode
|
15
|
+
self.unmarshal_class_method = :decode
|
16
|
+
self.service_name = 'internal.PingService'
|
17
|
+
|
18
|
+
rpc :Ping, ::Tucana::Internal::PingMessage, ::Tucana::Internal::PingMessage
|
19
|
+
end
|
20
|
+
|
21
|
+
Stub = Service.rpc_stub_class
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: definitions.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
|
8
|
+
descriptor_data = "\n\x11\x64\x65\x66initions.proto\x12\x06shared\"\'\n\x19RuntimeFunctionDefinition\x12\n\n\x02id\x18\x01 \x01(\t\"*\n\x1aRuntimeParameterDefinition\x12\x0c\n\x04name\x18\x01 \x01(\tB\x11\xea\x02\x0eTucana::Sharedb\x06proto3"
|
9
|
+
|
10
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
|
+
pool.add_serialized_file(descriptor_data)
|
12
|
+
|
13
|
+
module Tucana
|
14
|
+
module Shared
|
15
|
+
RuntimeFunctionDefinition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.RuntimeFunctionDefinition").msgclass
|
16
|
+
RuntimeParameterDefinition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.RuntimeParameterDefinition").msgclass
|
17
|
+
end
|
18
|
+
end
|
data/lib/tucana/version.rb
CHANGED
data/lib/tucana.rb
CHANGED
@@ -5,10 +5,9 @@ require_relative "tucana/version"
|
|
5
5
|
module Tucana
|
6
6
|
class Error < StandardError; end
|
7
7
|
|
8
|
-
def self.
|
8
|
+
def self.load_protocol(protocol)
|
9
9
|
this_dir = File.expand_path(File.dirname(__FILE__))
|
10
10
|
protocol_dir = File.join(this_dir, "tucana/#{protocol}")
|
11
|
-
$LOAD_PATH.unshift(protocol_dir) unless $LOAD_PATH.include?(protocol_dir)
|
12
11
|
|
13
12
|
Dir["#{protocol_dir}/*_pb.rb"].each { |file| require file }
|
14
13
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tucana
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Niklas van Schrick
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.64'
|
20
20
|
type: :runtime
|
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.
|
26
|
+
version: '1.64'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: grpc-tools
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -74,16 +74,21 @@ extensions: []
|
|
74
74
|
extra_rdoc_files: []
|
75
75
|
files:
|
76
76
|
- lib/tucana.rb
|
77
|
+
- lib/tucana/actions/transfer_pb.rb
|
78
|
+
- lib/tucana/actions/transfer_services_pb.rb
|
79
|
+
- lib/tucana/internal/action_pb.rb
|
80
|
+
- lib/tucana/internal/action_services_pb.rb
|
81
|
+
- lib/tucana/internal/flow_definition_pb.rb
|
77
82
|
- lib/tucana/internal/flow_pb.rb
|
78
83
|
- lib/tucana/internal/flow_services_pb.rb
|
79
84
|
- lib/tucana/internal/node_pb.rb
|
80
|
-
- lib/tucana/internal/
|
81
|
-
- lib/tucana/internal/
|
82
|
-
- lib/tucana/
|
85
|
+
- lib/tucana/internal/ping_pb.rb
|
86
|
+
- lib/tucana/internal/ping_services_pb.rb
|
87
|
+
- lib/tucana/shared/definitions_pb.rb
|
83
88
|
- lib/tucana/version.rb
|
84
89
|
homepage: https://github.com/code0-tech/tucana
|
85
90
|
licenses:
|
86
|
-
-
|
91
|
+
- Apache-2.0
|
87
92
|
metadata:
|
88
93
|
homepage_uri: https://github.com/code0-tech/tucana
|
89
94
|
source_code_uri: https://github.com/code0-tech/tucana
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
-
# source: rule.proto
|
4
|
-
|
5
|
-
require 'google/protobuf'
|
6
|
-
|
7
|
-
|
8
|
-
descriptor_data = "\n\nrule.proto\x12\x08internal\"8\n\x04Rule\x12 \n\x04type\x18\x01 \x01(\x0e\x32\x12.internal.RuleType\x12\x0e\n\x06\x63onfig\x18\x02 \x01(\t*?\n\x08RuleType\x12\t\n\x05REGEX\x10\x00\x12\x10\n\x0cNUMBER_RANGE\x10\x01\x12\x16\n\x12ITEM_OF_COLLECTION\x10\x02\x42\x13\xea\x02\x10Tucana::Internalb\x06proto3"
|
9
|
-
|
10
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
|
-
pool.add_serialized_file(descriptor_data)
|
12
|
-
|
13
|
-
module Tucana
|
14
|
-
module Internal
|
15
|
-
Rule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("internal.Rule").msgclass
|
16
|
-
RuleType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("internal.RuleType").enummodule
|
17
|
-
end
|
18
|
-
end
|
@@ -1,19 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
-
# source: type.proto
|
4
|
-
|
5
|
-
require 'google/protobuf'
|
6
|
-
|
7
|
-
require 'rule_pb'
|
8
|
-
|
9
|
-
|
10
|
-
descriptor_data = "\n\ntype.proto\x12\x08internal\x1a\nrule.proto\"\x8f\x01\n\x04Type\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x12\n\x05\x61rray\x18\x03 \x01(\x08H\x00\x88\x01\x01\x12\x1d\n\x05rules\x18\x04 \x03(\x0b\x32\x0e.internal.Rule\x12#\n\x06parent\x18\x05 \x01(\x0b\x32\x0e.internal.TypeH\x01\x88\x01\x01\x42\x08\n\x06_arrayB\t\n\x07_parentB\x13\xea\x02\x10Tucana::Internalb\x06proto3"
|
11
|
-
|
12
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
|
-
pool.add_serialized_file(descriptor_data)
|
14
|
-
|
15
|
-
module Tucana
|
16
|
-
module Internal
|
17
|
-
Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("internal.Type").msgclass
|
18
|
-
end
|
19
|
-
end
|
@@ -1,17 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
-
# source: variable.proto
|
4
|
-
|
5
|
-
require 'google/protobuf'
|
6
|
-
|
7
|
-
|
8
|
-
descriptor_data = "\n\x0evariable.proto\x12\x08internal\"&\n\x08Variable\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\tB\x13\xea\x02\x10Tucana::Internalb\x06proto3"
|
9
|
-
|
10
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
|
-
pool.add_serialized_file(descriptor_data)
|
12
|
-
|
13
|
-
module Tucana
|
14
|
-
module Internal
|
15
|
-
Variable = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("internal.Variable").msgclass
|
16
|
-
end
|
17
|
-
end
|