Sha256: 8f37c4938d9f3b53b8b7d3a05cfd3f3abbc400892a1ae5f6cad30466d1f83483
Contents?: true
Size: 949 Bytes
Versions: 6
Compression:
Stored size: 949 Bytes
Contents
# # Description # # Author:: Robert Sharp # Copyright:: Copyright (c) 2010 Robert Sharp # License:: Open Software Licence v3.0 # # This software is licensed for use under the Open Software Licence v. 3.0 # The terms of this licence can be found at http://www.opensource.org/licenses/osl-3.0.php # and in the file copyright.txt. Under the terms of this licence, all derivative works # must themselves be licensed under the Open Software Licence v. 3.0 # # require 'jerbil' require 'jerbil/server' require 'socket' require 'drb' hostname = Socket.gethostname my_self = Jerbil::ServerRecord.new(hostname, 'ABCDE') DRb.start_service jerbild = DRbObject.new(nil, my_self.drb_address) key_file = File.expand_path(File.dirname(__FILE__) + '/../test/private_key_file.asc') my_key = File.readlines(key_file).join('') puts "Stopping Jerbil Test Server" begin jerbild.stop(my_key) rescue DRb::DRbConnError #ignore it end puts "Am I still here? Bye"
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
jerbil-1.4.8 | test/jstop.rb |
jerbil-1.4.7 | test/jstop.rb |
jerbil-1.4.6 | test/jstop.rb |
jerbil-1.4.5 | test/jstop.rb |
jerbil-1.3.3 | test/jstop.rb |
jerbil-1.2.2 | test/jstop.rb |