jerbil 1.2.2
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.
- data/Bugs.rdoc +66 -0
- data/Gemfile +12 -0
- data/History.txt +359 -0
- data/Intro.txt +5 -0
- data/LICENCE.rdoc +159 -0
- data/README.md +335 -0
- data/README_SERVICES.md +410 -0
- data/README_TESTING.md +47 -0
- data/bin/jerbil +62 -0
- data/bin/jerbil-install +56 -0
- data/etc/conf.d/jerbild +15 -0
- data/etc/conf.d/jserviced +39 -0
- data/etc/init.d/jerbild +55 -0
- data/etc/init.d/jserviced +59 -0
- data/etc/jerbil/jerbil-client.rb +2 -0
- data/etc/jerbil/jerbil.rb +83 -0
- data/lib/jerbil.rb +636 -0
- data/lib/jerbil/config.md +49 -0
- data/lib/jerbil/config.rb +67 -0
- data/lib/jerbil/errors.rb +74 -0
- data/lib/jerbil/jerbil_service/base.rb +191 -0
- data/lib/jerbil/jerbil_service/client.rb +325 -0
- data/lib/jerbil/jerbil_service/config.md +119 -0
- data/lib/jerbil/jerbil_service/config.rb +72 -0
- data/lib/jerbil/jerbil_service/sclient.rb +343 -0
- data/lib/jerbil/jerbil_service/support.rb +58 -0
- data/lib/jerbil/jerbil_service/utils.rb +35 -0
- data/lib/jerbil/servers.rb +230 -0
- data/lib/jerbil/service.rb +216 -0
- data/lib/jerbil/support.rb +160 -0
- data/lib/jerbil/thor/server.rb +76 -0
- data/lib/jerbil/thor/service.rb +74 -0
- data/lib/jerbil/version.rb +13 -0
- data/sbin/jerbil-status +120 -0
- data/sbin/jerbil-stop +139 -0
- data/sbin/jerbild +186 -0
- data/sbin/jservice-status +107 -0
- data/sbin/jservice-stop +94 -0
- data/sbin/jserviced +111 -0
- data/spec/jerbil_2_jerbil_spec.rb +87 -0
- data/spec/jerbil_client1_spec.rb +80 -0
- data/spec/jerbil_client_spec.rb +114 -0
- data/spec/jerbil_client_stop_spec.rb +24 -0
- data/spec/jerbil_daemonised/jerbil_local_spec.rb +81 -0
- data/spec/jerbil_daemonised/jerbil_remote_spec.rb +116 -0
- data/spec/jerbil_load.rb +48 -0
- data/spec/jerbil_local_spec.rb +91 -0
- data/spec/jerbil_missing_spec.rb +98 -0
- data/spec/jerbil_remote_spec.rb +117 -0
- data/spec/jerbil_remote_spec_bup.rb +168 -0
- data/spec/jerbil_service_error_spec.rb +56 -0
- data/spec/jerbil_service_spec.rb +41 -0
- data/spec/jerbil_support_spec.rb +69 -0
- data/spec/jservice_utils_spec.rb +38 -0
- data/spec/server_spec.rb +69 -0
- data/spec/server_update_spec.rb +28 -0
- data/spec/service_spec.rb +72 -0
- data/spec/spec_helper.rb +12 -0
- data/spec/test_env_spec.rb +53 -0
- data/test/bad_test_service.rb +31 -0
- data/test/conf.d/jerbil +36 -0
- data/test/conf.d/jerbil.conf +39 -0
- data/test/conf.d/jerbil.rb +55 -0
- data/test/conf.d/jerbil_local.rb +33 -0
- data/test/conf.d/jerbil_no_local.conf +39 -0
- data/test/conf.d/jerbil_old.rb +47 -0
- data/test/conf.d/jerbil_test.rb +35 -0
- data/test/conf.d/malformed +1 -0
- data/test/conf.d/missing_services +39 -0
- data/test/conf.d/ruby_test.rb +8 -0
- data/test/init.d/jerbild +14 -0
- data/test/jerbil.rb +51 -0
- data/test/jerbil_config.rb +8 -0
- data/test/jstop.rb +36 -0
- data/test/key.asc +1 -0
- data/test/lib/ruby_test.rb +37 -0
- data/test/lib/ruby_test/config.rb +56 -0
- data/test/lib/ruby_test/version.rb +13 -0
- data/test/pids/jerbil-prod.asc +1 -0
- data/test/pids/jerbil-prod.pid +1 -0
- data/test/pids/jerbil.pid +1 -0
- data/test/private_key_file.asc +3 -0
- data/test/service-stop.rb +86 -0
- data/test/service_mock.rb +94 -0
- data/test/test_service_client.rb +25 -0
- metadata +265 -0
data/test/jstop.rb
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
#
|
2
|
+
# Description
|
3
|
+
#
|
4
|
+
# Author:: Robert Sharp
|
5
|
+
# Copyright:: Copyright (c) 2010 Robert Sharp
|
6
|
+
# License:: Open Software Licence v3.0
|
7
|
+
#
|
8
|
+
# This software is licensed for use under the Open Software Licence v. 3.0
|
9
|
+
# The terms of this licence can be found at http://www.opensource.org/licenses/osl-3.0.php
|
10
|
+
# and in the file copyright.txt. Under the terms of this licence, all derivative works
|
11
|
+
# must themselves be licensed under the Open Software Licence v. 3.0
|
12
|
+
#
|
13
|
+
#
|
14
|
+
require 'jerbil'
|
15
|
+
require 'jerbil/server'
|
16
|
+
require 'socket'
|
17
|
+
require 'drb'
|
18
|
+
|
19
|
+
hostname = Socket.gethostname
|
20
|
+
my_self = Jerbil::ServerRecord.new(hostname, 'ABCDE')
|
21
|
+
|
22
|
+
DRb.start_service
|
23
|
+
jerbild = DRbObject.new(nil, my_self.drb_address)
|
24
|
+
|
25
|
+
key_file = File.expand_path(File.dirname(__FILE__) + '/../test/private_key_file.asc')
|
26
|
+
my_key = File.readlines(key_file).join('')
|
27
|
+
|
28
|
+
puts "Stopping Jerbil Test Server"
|
29
|
+
|
30
|
+
begin
|
31
|
+
jerbild.stop(my_key)
|
32
|
+
rescue DRb::DRbConnError
|
33
|
+
#ignore it
|
34
|
+
end
|
35
|
+
|
36
|
+
puts "Am I still here? Bye"
|
data/test/key.asc
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
begin-base64 644 -
|
@@ -0,0 +1,37 @@
|
|
1
|
+
#
|
2
|
+
# Description
|
3
|
+
#
|
4
|
+
# Author:: Robert Sharp
|
5
|
+
# Copyright:: Copyright (c) 2010 Robert Sharp
|
6
|
+
# License:: Open Software Licence v3.0
|
7
|
+
#
|
8
|
+
# This software is licensed for use under the Open Software Licence v. 3.0
|
9
|
+
# The terms of this licence can be found at http://www.opensource.org/licenses/osl-3.0.php
|
10
|
+
# and in the file copyright.txt. Under the terms of this licence, all derivative works
|
11
|
+
# must themselves be licensed under the Open Software Licence v. 3.0
|
12
|
+
#
|
13
|
+
#
|
14
|
+
require 'jerbil/jerbil_service/base'
|
15
|
+
require 'jerbil/jerbil_service/support'
|
16
|
+
|
17
|
+
# Test Service for Jerbil
|
18
|
+
|
19
|
+
module RubyTest
|
20
|
+
|
21
|
+
extend JerbilService::Support
|
22
|
+
|
23
|
+
class Service < JerbilService::Base
|
24
|
+
|
25
|
+
def initialize(pkey, options)
|
26
|
+
super(:rubytest, pkey, options)
|
27
|
+
end
|
28
|
+
|
29
|
+
def action
|
30
|
+
@logger.debug("Someone called the action method!")
|
31
|
+
return "Hello"
|
32
|
+
end
|
33
|
+
|
34
|
+
end
|
35
|
+
|
36
|
+
end
|
37
|
+
|
@@ -0,0 +1,56 @@
|
|
1
|
+
#
|
2
|
+
# Template for Jerbil Service Config
|
3
|
+
#
|
4
|
+
# Author:: Robert Sharp
|
5
|
+
# Copyright:: Copyright (c) 2011 Robert Sharp
|
6
|
+
# License:: Open Software Licence v3.0
|
7
|
+
#
|
8
|
+
# This software is licensed for use under the Open Software Licence v. 3.0
|
9
|
+
# The terms of this licence can be found at http://www.opensource.org/licenses/osl-3.0.php
|
10
|
+
# and in the file copyright.txt. Under the terms of this licence, all derivative works
|
11
|
+
# must themselves be licensed under the Open Software Licence v. 3.0
|
12
|
+
#
|
13
|
+
# Use this template to create a service config file by adapting a copy of the jeckly_generate_config
|
14
|
+
# utility.
|
15
|
+
#
|
16
|
+
|
17
|
+
require 'jerbil/jerbil_service/config'
|
18
|
+
|
19
|
+
module RubyTest
|
20
|
+
|
21
|
+
class Config < JerbilService::Config
|
22
|
+
|
23
|
+
def configure_jerbil_env(env)
|
24
|
+
vals = [:prod, :test, :dev]
|
25
|
+
a_member_of(env, vals)
|
26
|
+
end
|
27
|
+
|
28
|
+
|
29
|
+
def configure_exit_on_stop(bool)
|
30
|
+
default true
|
31
|
+
comment "Boolean - set to false to prevent service from executing exit! on stop"
|
32
|
+
|
33
|
+
a_boolean(bool)
|
34
|
+
end
|
35
|
+
|
36
|
+
def configure_key_dir(path)
|
37
|
+
comment "private key dir used to authenticate privileged users"
|
38
|
+
|
39
|
+
a_writable_dir(path)
|
40
|
+
end
|
41
|
+
|
42
|
+
def configure_pid_dir(path)
|
43
|
+
comment "directory used to store the daemons pid to assist in stopping reluctant servers"
|
44
|
+
|
45
|
+
a_writable_dir(path)
|
46
|
+
end
|
47
|
+
|
48
|
+
def configure_jerbil_config(path)
|
49
|
+
comment "jerbil config location"
|
50
|
+
a_readable_file(path)
|
51
|
+
end
|
52
|
+
|
53
|
+
|
54
|
+
end
|
55
|
+
|
56
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
a343f6567fbc3bcddb44
|
@@ -0,0 +1 @@
|
|
1
|
+
11346
|
@@ -0,0 +1 @@
|
|
1
|
+
23647
|
@@ -0,0 +1,86 @@
|
|
1
|
+
#! /usr/bin/ruby
|
2
|
+
# Description
|
3
|
+
#
|
4
|
+
# Author:: Robert Sharp
|
5
|
+
# Copyright:: Copyright (c) 2010 Robert Sharp
|
6
|
+
# License:: Open Software Licence v3.0
|
7
|
+
#
|
8
|
+
# This software is licensed for use under the Open Software Licence v. 3.0
|
9
|
+
# The terms of this licence can be found at http://www.opensource.org/licenses/osl-3.0.php
|
10
|
+
# and in the file copyright.txt. Under the terms of this licence, all derivative works
|
11
|
+
# must themselves be licensed under the Open Software Licence v. 3.0
|
12
|
+
#
|
13
|
+
# Template for a supervisor script to stop a Jerbil-based service. Tailor to suit.
|
14
|
+
# This could be a single program that stops any jerbil service, but its probably
|
15
|
+
# easier to tailor this script for each service
|
16
|
+
#
|
17
|
+
# By default, outputs to stderr, unless quiet is selected. Could add another
|
18
|
+
# option to output to a file...
|
19
|
+
#
|
20
|
+
require 'rubygems'
|
21
|
+
# make sure this picks up the local jerbil lib
|
22
|
+
root_dir = File.expand_path('..', File.dirname(__FILE__))
|
23
|
+
$LOAD_PATH.unshift(File.join(root_dir, 'lib'))
|
24
|
+
$LOAD_PATH.unshift(File.join(root_dir, 'test', 'lib'))
|
25
|
+
|
26
|
+
require 'jerbil/jerbil_service/sclient'
|
27
|
+
require 'jerbil/jerbil_service/utils'
|
28
|
+
require 'optparse'
|
29
|
+
|
30
|
+
config_file = nil # let it be the default
|
31
|
+
verbose = false
|
32
|
+
quiet = false
|
33
|
+
my_service = nil
|
34
|
+
OptionParser.new do |opts|
|
35
|
+
|
36
|
+
opts.banner = "Usage: service-stop [opts]"
|
37
|
+
opts.separator ""
|
38
|
+
opts.separator " stop the given Jerbil Service"
|
39
|
+
opts.separator ""
|
40
|
+
|
41
|
+
opts.on("-s", "--service [name]", String, "start the given service") do |name|
|
42
|
+
my_service = name
|
43
|
+
end
|
44
|
+
|
45
|
+
|
46
|
+
opts.on("-c", "--config [file]", String, "use this config file to find Jerbil" ) do |cfile|
|
47
|
+
if FileTest.readable?(cfile) then
|
48
|
+
config_file = cfile
|
49
|
+
else
|
50
|
+
puts "Config file cannot be read."
|
51
|
+
exit 1
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
opts.on("-V", "--verbose", "output more information about what is going on ") do
|
56
|
+
verbose = true
|
57
|
+
end
|
58
|
+
|
59
|
+
opts.on("-q", "--quiet", "output nothing") do
|
60
|
+
quiet = true
|
61
|
+
end
|
62
|
+
|
63
|
+
opts.on("-h", "--help", "Provide Help") do |h|
|
64
|
+
opts.separator ""
|
65
|
+
puts opts
|
66
|
+
exit 0
|
67
|
+
end
|
68
|
+
|
69
|
+
end.parse!
|
70
|
+
|
71
|
+
unless my_service
|
72
|
+
puts "Error: You must provide a service (-s name)"
|
73
|
+
exit 1
|
74
|
+
else
|
75
|
+
service_name = JerbilService::Utils.classify(my_service)
|
76
|
+
require "#{my_service}"
|
77
|
+
require "#{my_service}/config"
|
78
|
+
require "#{my_service}/version"
|
79
|
+
the_service = Module.const_get(service_name)
|
80
|
+
end
|
81
|
+
|
82
|
+
JerbilService::Supervisor.stop(the_service) do |rubytest|
|
83
|
+
rubytest.verbose if verbose
|
84
|
+
rubytest.quiet if quiet
|
85
|
+
rubytest.config_file = config_file
|
86
|
+
end
|
@@ -0,0 +1,94 @@
|
|
1
|
+
#! /usr/bin/ruby
|
2
|
+
#
|
3
|
+
# Description
|
4
|
+
#
|
5
|
+
# Author:: Robert Sharp
|
6
|
+
# Copyright:: Copyright (c) 2010 Robert Sharp
|
7
|
+
# License:: Open Software Licence v3.0
|
8
|
+
#
|
9
|
+
# This software is licensed for use under the Open Software Licence v. 3.0
|
10
|
+
# The terms of this licence can be found at http://www.opensource.org/licenses/osl-3.0.php
|
11
|
+
# and in the file copyright.txt. Under the terms of this licence, all derivative works
|
12
|
+
# must themselves be licensed under the Open Software Licence v. 3.0
|
13
|
+
#
|
14
|
+
#
|
15
|
+
require 'rubygems'
|
16
|
+
root_dir = File.expand_path('..', File.dirname(__FILE__))
|
17
|
+
$LOAD_PATH.unshift(File.join(root_dir, 'lib'))
|
18
|
+
$LOAD_PATH.unshift(File.join(root_dir, 'test', 'lib'))
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
require 'jerbil/jerbil_service/sclient'
|
23
|
+
require 'jerbil/jerbil_service/utils'
|
24
|
+
require 'optparse'
|
25
|
+
|
26
|
+
config_file = nil # let it be the default
|
27
|
+
daemonize = true
|
28
|
+
log_to_syslog = true
|
29
|
+
verbose = true
|
30
|
+
quiet = false
|
31
|
+
my_service = nil
|
32
|
+
|
33
|
+
OptionParser.new do |opts|
|
34
|
+
|
35
|
+
opts.banner = "Usage: jerbild [opts]"
|
36
|
+
opts.separator ""
|
37
|
+
opts.separator " start the Jerbil Daemon"
|
38
|
+
opts.separator ""
|
39
|
+
|
40
|
+
opts.on("-s", "--service [name]", String, "start the given service") do |name|
|
41
|
+
my_service = name
|
42
|
+
end
|
43
|
+
|
44
|
+
opts.on("-n", "--no-daemon", "Do not daemonize") do
|
45
|
+
daemonize = false
|
46
|
+
end
|
47
|
+
|
48
|
+
opts.on("-S", "--no-syslog", "Do not log to syslog") do
|
49
|
+
log_to_syslog = false
|
50
|
+
end
|
51
|
+
|
52
|
+
opts.on("-c", "--config [file]", String, "use this config file to find Jerbil" ) do |cfile|
|
53
|
+
if FileTest.readable?(cfile) then
|
54
|
+
config_file = cfile
|
55
|
+
else
|
56
|
+
puts "Config file cannot be read."
|
57
|
+
exit 1
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
opts.on("-V", "--verbose", "output more information about what is going on ") do
|
62
|
+
verbose = true
|
63
|
+
end
|
64
|
+
|
65
|
+
opts.on("-q", "--quiet", "output nothing") do
|
66
|
+
quiet = true
|
67
|
+
end
|
68
|
+
|
69
|
+
opts.on("-h", "--help", "Provide Help") do |h|
|
70
|
+
opts.separator ""
|
71
|
+
puts opts
|
72
|
+
exit 0
|
73
|
+
end
|
74
|
+
|
75
|
+
end.parse!
|
76
|
+
|
77
|
+
unless my_service
|
78
|
+
puts "Error: You must provide a service (-s name)"
|
79
|
+
exit 1
|
80
|
+
else
|
81
|
+
service_name = JerbilService::Utils.classify(my_service)
|
82
|
+
require "#{my_service}"
|
83
|
+
require "#{my_service}/config"
|
84
|
+
require "#{my_service}/version"
|
85
|
+
the_service = Module.const_get(service_name)
|
86
|
+
end
|
87
|
+
|
88
|
+
JerbilService::Supervisor.new(the_service) do |rubytest|
|
89
|
+
rubytest.no_daemon unless daemonize
|
90
|
+
rubytest.quiet if quiet
|
91
|
+
rubytest.verbose if verbose
|
92
|
+
rubytest.no_syslog unless log_to_syslog
|
93
|
+
rubytest.config_file = config_file
|
94
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
#
|
2
|
+
# Description
|
3
|
+
#
|
4
|
+
# Author:: Robert Sharp
|
5
|
+
# Copyright:: Copyright (c) 2010 Robert Sharp
|
6
|
+
# License:: Open Software Licence v3.0
|
7
|
+
#
|
8
|
+
# This software is licensed for use under the Open Software Licence v. 3.0
|
9
|
+
# The terms of this licence can be found at http://www.opensource.org/licenses/osl-3.0.php
|
10
|
+
# and in the file copyright.txt. Under the terms of this licence, all derivative works
|
11
|
+
# must themselves be licensed under the Open Software Licence v. 3.0
|
12
|
+
#
|
13
|
+
#
|
14
|
+
require 'rubygems'
|
15
|
+
|
16
|
+
require 'jerbil/jerbil_service/client'
|
17
|
+
|
18
|
+
client = JerbilClient.new(:rubytest, :test)
|
19
|
+
|
20
|
+
puts client.action
|
21
|
+
|
22
|
+
puts client.not_an_action
|
23
|
+
|
24
|
+
|
25
|
+
|
metadata
ADDED
@@ -0,0 +1,265 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jerbil
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 27
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 2
|
9
|
+
- 2
|
10
|
+
version: 1.2.2
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Dr Robert
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2012-11-21 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
type: :runtime
|
22
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
23
|
+
none: false
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
hash: 3
|
28
|
+
segments:
|
29
|
+
- 0
|
30
|
+
version: "0"
|
31
|
+
name: netaddr
|
32
|
+
version_requirements: *id001
|
33
|
+
prerelease: false
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
type: :runtime
|
36
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
37
|
+
none: false
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
hash: 3
|
42
|
+
segments:
|
43
|
+
- 0
|
44
|
+
version: "0"
|
45
|
+
name: term-ansicolor
|
46
|
+
version_requirements: *id002
|
47
|
+
prerelease: false
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
type: :runtime
|
50
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
hash: 3
|
56
|
+
segments:
|
57
|
+
- 0
|
58
|
+
version: "0"
|
59
|
+
name: thor
|
60
|
+
version_requirements: *id003
|
61
|
+
prerelease: false
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
type: :runtime
|
64
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
hash: 3
|
70
|
+
segments:
|
71
|
+
- 0
|
72
|
+
version: "0"
|
73
|
+
name: daemons
|
74
|
+
version_requirements: *id004
|
75
|
+
prerelease: false
|
76
|
+
- !ruby/object:Gem::Dependency
|
77
|
+
type: :runtime
|
78
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
79
|
+
none: false
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
hash: 11
|
84
|
+
segments:
|
85
|
+
- 1
|
86
|
+
- 0
|
87
|
+
- 14
|
88
|
+
version: 1.0.14
|
89
|
+
name: jellog
|
90
|
+
version_requirements: *id005
|
91
|
+
prerelease: false
|
92
|
+
- !ruby/object:Gem::Dependency
|
93
|
+
type: :runtime
|
94
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
95
|
+
none: false
|
96
|
+
requirements:
|
97
|
+
- - ">="
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
hash: 25
|
100
|
+
segments:
|
101
|
+
- 0
|
102
|
+
- 2
|
103
|
+
- 7
|
104
|
+
version: 0.2.7
|
105
|
+
name: jeckyl
|
106
|
+
version_requirements: *id006
|
107
|
+
prerelease: false
|
108
|
+
- !ruby/object:Gem::Dependency
|
109
|
+
type: :runtime
|
110
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
111
|
+
none: false
|
112
|
+
requirements:
|
113
|
+
- - ">="
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
hash: 17
|
116
|
+
segments:
|
117
|
+
- 0
|
118
|
+
- 2
|
119
|
+
- 3
|
120
|
+
version: 0.2.3
|
121
|
+
name: jeni
|
122
|
+
version_requirements: *id007
|
123
|
+
prerelease: false
|
124
|
+
description: |-
|
125
|
+
Provides an Object Request Broker and service framework for ruby-based services.
|
126
|
+
Jerbil servers run on each machine in the system and share information on registering
|
127
|
+
services. A parent class for services hides all of the jerbil interactions and client
|
128
|
+
and supervisor modules hide interactions from scripts or applications interacting
|
129
|
+
with these services.
|
130
|
+
email: robert@osburn-sharp.ath.cx
|
131
|
+
executables:
|
132
|
+
- jerbil
|
133
|
+
- jerbil-install
|
134
|
+
extensions: []
|
135
|
+
|
136
|
+
extra_rdoc_files:
|
137
|
+
- History.txt
|
138
|
+
- Bugs.rdoc
|
139
|
+
- Intro.txt
|
140
|
+
- LICENCE.rdoc
|
141
|
+
- Gemfile
|
142
|
+
- README.md
|
143
|
+
- README_SERVICES.md
|
144
|
+
- README_TESTING.md
|
145
|
+
files:
|
146
|
+
- History.txt
|
147
|
+
- Bugs.rdoc
|
148
|
+
- Intro.txt
|
149
|
+
- LICENCE.rdoc
|
150
|
+
- Gemfile
|
151
|
+
- README.md
|
152
|
+
- README_SERVICES.md
|
153
|
+
- README_TESTING.md
|
154
|
+
- lib/jerbil/jerbil_service/base.rb
|
155
|
+
- lib/jerbil/jerbil_service/client.rb
|
156
|
+
- lib/jerbil/jerbil_service/config.rb
|
157
|
+
- lib/jerbil/jerbil_service/sclient.rb
|
158
|
+
- lib/jerbil/jerbil_service/support.rb
|
159
|
+
- lib/jerbil/jerbil_service/utils.rb
|
160
|
+
- lib/jerbil/jerbil_service/config.md
|
161
|
+
- lib/jerbil/errors.rb
|
162
|
+
- lib/jerbil/service.rb
|
163
|
+
- lib/jerbil/support.rb
|
164
|
+
- lib/jerbil/version.rb
|
165
|
+
- lib/jerbil/thor/server.rb
|
166
|
+
- lib/jerbil/thor/service.rb
|
167
|
+
- lib/jerbil/config.rb
|
168
|
+
- lib/jerbil/servers.rb
|
169
|
+
- lib/jerbil/config.md
|
170
|
+
- lib/jerbil.rb
|
171
|
+
- bin/jerbil
|
172
|
+
- bin/jerbil-install
|
173
|
+
- sbin/jerbil-stop
|
174
|
+
- sbin/jerbild
|
175
|
+
- sbin/jserviced
|
176
|
+
- sbin/jservice-stop
|
177
|
+
- sbin/jservice-status
|
178
|
+
- sbin/jerbil-status
|
179
|
+
- etc/conf.d/jerbild
|
180
|
+
- etc/conf.d/jserviced
|
181
|
+
- etc/init.d/jerbild
|
182
|
+
- etc/init.d/jserviced
|
183
|
+
- etc/jerbil/jerbil-client.rb
|
184
|
+
- etc/jerbil/jerbil.rb
|
185
|
+
- spec/jerbil_2_jerbil_spec.rb
|
186
|
+
- spec/jerbil_client1_spec.rb
|
187
|
+
- spec/jerbil_client_spec.rb
|
188
|
+
- spec/jerbil_client_stop_spec.rb
|
189
|
+
- spec/jerbil_load.rb
|
190
|
+
- spec/jerbil_local_spec.rb
|
191
|
+
- spec/jerbil_remote_spec.rb
|
192
|
+
- spec/jerbil_service_error_spec.rb
|
193
|
+
- spec/jerbil_service_spec.rb
|
194
|
+
- spec/jerbil_support_spec.rb
|
195
|
+
- spec/server_spec.rb
|
196
|
+
- spec/service_spec.rb
|
197
|
+
- spec/spec_helper.rb
|
198
|
+
- spec/test_env_spec.rb
|
199
|
+
- spec/jservice_utils_spec.rb
|
200
|
+
- spec/server_update_spec.rb
|
201
|
+
- spec/jerbil_remote_spec_bup.rb
|
202
|
+
- spec/jerbil_daemonised/jerbil_local_spec.rb
|
203
|
+
- spec/jerbil_daemonised/jerbil_remote_spec.rb
|
204
|
+
- spec/jerbil_missing_spec.rb
|
205
|
+
- test/conf.d/jerbil
|
206
|
+
- test/conf.d/jerbil.conf
|
207
|
+
- test/conf.d/jerbil_no_local.conf
|
208
|
+
- test/conf.d/malformed
|
209
|
+
- test/conf.d/missing_services
|
210
|
+
- test/conf.d/jerbil_local.rb
|
211
|
+
- test/conf.d/jerbil_test.rb
|
212
|
+
- test/conf.d/jerbil.rb
|
213
|
+
- test/conf.d/ruby_test.rb
|
214
|
+
- test/conf.d/jerbil_old.rb
|
215
|
+
- test/init.d/jerbild
|
216
|
+
- test/pids/jerbil.pid
|
217
|
+
- test/pids/jerbil-prod.asc
|
218
|
+
- test/pids/jerbil-prod.pid
|
219
|
+
- test/bad_test_service.rb
|
220
|
+
- test/jerbil.rb
|
221
|
+
- test/jerbil_config.rb
|
222
|
+
- test/jstop.rb
|
223
|
+
- test/key.asc
|
224
|
+
- test/private_key_file.asc
|
225
|
+
- test/service-stop.rb
|
226
|
+
- test/service_mock.rb
|
227
|
+
- test/test_service_client.rb
|
228
|
+
- test/lib/ruby_test.rb
|
229
|
+
- test/lib/ruby_test/config.rb
|
230
|
+
- test/lib/ruby_test/version.rb
|
231
|
+
homepage:
|
232
|
+
licenses:
|
233
|
+
- Open Software Licence v3.0
|
234
|
+
post_install_message: Now run jerbil-install to complete the installation
|
235
|
+
rdoc_options:
|
236
|
+
- --main=README.rdoc
|
237
|
+
require_paths:
|
238
|
+
- lib
|
239
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
240
|
+
none: false
|
241
|
+
requirements:
|
242
|
+
- - ">="
|
243
|
+
- !ruby/object:Gem::Version
|
244
|
+
hash: 3
|
245
|
+
segments:
|
246
|
+
- 0
|
247
|
+
version: "0"
|
248
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
249
|
+
none: false
|
250
|
+
requirements:
|
251
|
+
- - ">="
|
252
|
+
- !ruby/object:Gem::Version
|
253
|
+
hash: 3
|
254
|
+
segments:
|
255
|
+
- 0
|
256
|
+
version: "0"
|
257
|
+
requirements: []
|
258
|
+
|
259
|
+
rubyforge_project:
|
260
|
+
rubygems_version: 1.8.24
|
261
|
+
signing_key:
|
262
|
+
specification_version: 3
|
263
|
+
summary: Jumpin' Ermin's Reliable Broker for Integrated Linux services
|
264
|
+
test_files: []
|
265
|
+
|