botbase_drb_server 0.1.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
- checksums.yaml.gz.sig +0 -0
- data/lib/botbase_drb_server.rb +27 -0
- data.tar.gz.sig +3 -0
- metadata +87 -0
- metadata.gz.sig +0 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 7af675cf99549587e443b68be413e6712c747584
|
|
4
|
+
data.tar.gz: 6a0cd7789092c30b1ed3522a89b0117946ad1bb7
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 5173a5ae6797925a261207f79509b50c436413516503f0c3d79b530b9f5fed7d2c23b061a6df61065dec259f39bd79af104ed911fab7f4bc8a5f5cff81bb98da
|
|
7
|
+
data.tar.gz: 328d7d2f73de3727972ec61ac30cf68955d7f7a5d80602a8d472365be244ae12ea10f8fe4bd1440185c3e3921bd7d3937972ee2a6e9982972a9f7aa38c4cdf89
|
checksums.yaml.gz.sig
ADDED
|
Binary file
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
# file: botbase_drb_server.rb
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
require 'drb'
|
|
7
|
+
require 'botbase'
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class BotBaseDRbServer
|
|
11
|
+
|
|
12
|
+
def initialize(host: 'localhost', port: '60600',
|
|
13
|
+
config: '')
|
|
14
|
+
|
|
15
|
+
@host, @port = host, port
|
|
16
|
+
@bot = BotBase.new(config)
|
|
17
|
+
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
def start()
|
|
21
|
+
|
|
22
|
+
DRb.start_service "druby://#{@host}:#{@port}", @bot
|
|
23
|
+
DRb.thread.join
|
|
24
|
+
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
end
|
data.tar.gz.sig
ADDED
metadata
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: botbase_drb_server
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- James Robertson
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain:
|
|
11
|
+
- |
|
|
12
|
+
-----BEGIN CERTIFICATE-----
|
|
13
|
+
MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
|
|
14
|
+
YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
|
|
15
|
+
8ixkARkWAmV1MB4XDTE3MDQxMjE4NDA1OVoXDTE4MDQxMjE4NDA1OVowSDESMBAG
|
|
16
|
+
A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
|
|
17
|
+
EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
|
|
18
|
+
ggEBALRtcghk1DTeGtmNriU9nW/PgpNDoqii00mXpAXPeDGOPaNrtMnTGY5HAKEX
|
|
19
|
+
+XKctT6HE6N/J8qnXxJueZNAM2ai8eMJKK0OGTfeli/R5U4bvNskL3TdTAjM+R9I
|
|
20
|
+
aCrgZ/qC+K0HtqTBYbT+4g2C20oDnwZ7x0vPbo1qpC8KOCazvBEfH0HAI03glcya
|
|
21
|
+
xlfjXp98K7it0VxDFvIJdSLisZmEE11Af4o4iqTOnc0q+IkR4wmGewfXLwsMgX6Y
|
|
22
|
+
c2f3xTlJFRPTFdSuZdOU4WHq40cIT6EyKJOhaBHX84lufzKIoXbZaGziJ2sF3JyN
|
|
23
|
+
7QpqaRBkH+4rwzxu+5AyciO0srUCAwEAAaOBijCBhzAJBgNVHRMEAjAAMAsGA1Ud
|
|
24
|
+
DwQEAwIEsDAdBgNVHQ4EFgQUetpcmmXdQODOEp5FOuhSNVpO2FkwJgYDVR0RBB8w
|
|
25
|
+
HYEbZ2VtbWFzdGVyQGphbWVzcm9iZXJ0c29uLmV1MCYGA1UdEgQfMB2BG2dlbW1h
|
|
26
|
+
c3RlckBqYW1lc3JvYmVydHNvbi5ldTANBgkqhkiG9w0BAQUFAAOCAQEAqFoPKekL
|
|
27
|
+
cVzzBakmLio19NN5l/CTEBoJYJETdJ3zL5ZPm0BydCsi917ITqf8aIs5MFBd3SKG
|
|
28
|
+
BUNWQ/ayxHORZNawY7DLUPaeMA9y44bHreqh3doKtf1H6bpZz0Yh68KO4Gn9Bb5x
|
|
29
|
+
rkBAYzxwzS3xYssTUeQ2jUe7jwWi7W13DRzhsCj5TfqQ/vQYuFek80OV+tI35EG3
|
|
30
|
+
82eWmrX/qnToHXovklmiEMYPzCzjzpsQF+lo6rsG4+ME8WOHKfBi1XmIjchocmC4
|
|
31
|
+
DVXga/LtSiJ5l3CYNHxnT1xb0uNXbLiyrx2Vf7/QP5AZbDqP+oU6xPMRCsbzSVgb
|
|
32
|
+
wpq8vAUgesEY6A==
|
|
33
|
+
-----END CERTIFICATE-----
|
|
34
|
+
date: 2017-04-12 00:00:00.000000000 Z
|
|
35
|
+
dependencies:
|
|
36
|
+
- !ruby/object:Gem::Dependency
|
|
37
|
+
name: botbase
|
|
38
|
+
requirement: !ruby/object:Gem::Requirement
|
|
39
|
+
requirements:
|
|
40
|
+
- - "~>"
|
|
41
|
+
- !ruby/object:Gem::Version
|
|
42
|
+
version: '0.1'
|
|
43
|
+
- - ">="
|
|
44
|
+
- !ruby/object:Gem::Version
|
|
45
|
+
version: 0.1.0
|
|
46
|
+
type: :runtime
|
|
47
|
+
prerelease: false
|
|
48
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
49
|
+
requirements:
|
|
50
|
+
- - "~>"
|
|
51
|
+
- !ruby/object:Gem::Version
|
|
52
|
+
version: '0.1'
|
|
53
|
+
- - ">="
|
|
54
|
+
- !ruby/object:Gem::Version
|
|
55
|
+
version: 0.1.0
|
|
56
|
+
description:
|
|
57
|
+
email: james@jamesrobertson.eu
|
|
58
|
+
executables: []
|
|
59
|
+
extensions: []
|
|
60
|
+
extra_rdoc_files: []
|
|
61
|
+
files:
|
|
62
|
+
- lib/botbase_drb_server.rb
|
|
63
|
+
homepage: https://github.com/jrobertson/botbase_drb_server
|
|
64
|
+
licenses:
|
|
65
|
+
- MIT
|
|
66
|
+
metadata: {}
|
|
67
|
+
post_install_message:
|
|
68
|
+
rdoc_options: []
|
|
69
|
+
require_paths:
|
|
70
|
+
- lib
|
|
71
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - ">="
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: '0'
|
|
76
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
|
+
requirements:
|
|
78
|
+
- - ">="
|
|
79
|
+
- !ruby/object:Gem::Version
|
|
80
|
+
version: '0'
|
|
81
|
+
requirements: []
|
|
82
|
+
rubyforge_project:
|
|
83
|
+
rubygems_version: 2.6.8
|
|
84
|
+
signing_key:
|
|
85
|
+
specification_version: 4
|
|
86
|
+
summary: A DRb server for running the botbase gem centrally.
|
|
87
|
+
test_files: []
|
metadata.gz.sig
ADDED
|
Binary file
|