liveblog_drb_server 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 2324f80e903cf4d0c2e16d4daf1f07db32b72688
4
+ data.tar.gz: e49f8a6b55bf6a3fcb954953adcaca8021d77d5f
5
+ SHA512:
6
+ metadata.gz: 30ae117122c2d461b57bea9575fb584daa349ad0401de32feee6c167daae9cef5d68588b6e17718a80526a6c8729876b2cc0396378c5d4401bbbb5b99ae58367
7
+ data.tar.gz: 963708f27bd61923eb0d1121c8efdeab895cf26193798553acb361630f99a5cb6d11c8b358af41e0e04b58d5a7cdbabb1cce2eafa8baf427e1215cd948acdd80
checksums.yaml.gz.sig ADDED
Binary file
@@ -0,0 +1,30 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ # file: liveblog_drb_server.rb
4
+
5
+
6
+ require 'drb'
7
+ require 'liveblog'
8
+
9
+
10
+
11
+ class LiveblogDRbServer
12
+
13
+ def initialize(host: 'localhost', port: '60500',
14
+ config: '/tmp/liveblog/liveblog.conf')
15
+
16
+ @host, @port = host, port
17
+ @lb = LiveBlog.new config: config
18
+
19
+ end
20
+
21
+ def start()
22
+
23
+ DRb.start_service "druby://#{@host}:#{@port}", @lb
24
+ DRb.thread.join
25
+
26
+ end
27
+
28
+ end
29
+
30
+
data.tar.gz.sig ADDED
Binary file
metadata ADDED
@@ -0,0 +1,87 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: liveblog_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/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGC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wiLuTcx164m/dO+AzxM6Nb1LlLM/EjkwVQhzELqMEZgLykpKYGbwk
31
+ tccZuCvre47BBg4yS/94euDGiJLoeXXDGKu8c2VImMb7kMTDqz/5v3NL9bd8oESX
32
+ 8Z9PZV41cBv//w==
33
+ -----END CERTIFICATE-----
34
+ date: 2017-01-19 00:00:00.000000000 Z
35
+ dependencies:
36
+ - !ruby/object:Gem::Dependency
37
+ name: liveblog
38
+ requirement: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: '1.2'
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ version: 1.2.4
46
+ type: :runtime
47
+ prerelease: false
48
+ version_requirements: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - "~>"
51
+ - !ruby/object:Gem::Version
52
+ version: '1.2'
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: 1.2.4
56
+ description:
57
+ email: james@jamesrobertson.eu
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - lib/liveblog_drb_server.rb
63
+ homepage: https://github.com/jrobertson/liveblog_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 which runs an instance of a Liveblog
87
+ test_files: []
metadata.gz.sig ADDED
Binary file