rubysl-drb 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +17 -0
  3. data/.travis.yml +8 -0
  4. data/Gemfile +4 -0
  5. data/LICENSE +25 -0
  6. data/README.md +29 -0
  7. data/Rakefile +1 -0
  8. data/lib/drb.rb +1 -0
  9. data/lib/drb/acl.rb +146 -0
  10. data/lib/drb/drb.rb +1783 -0
  11. data/lib/drb/eq.rb +16 -0
  12. data/lib/drb/extserv.rb +64 -0
  13. data/lib/drb/extservm.rb +89 -0
  14. data/lib/drb/gw.rb +122 -0
  15. data/lib/drb/invokemethod.rb +34 -0
  16. data/lib/drb/observer.rb +22 -0
  17. data/lib/drb/ssl.rb +190 -0
  18. data/lib/drb/timeridconv.rb +91 -0
  19. data/lib/drb/unix.rb +108 -0
  20. data/lib/rubysl/drb.rb +2 -0
  21. data/lib/rubysl/drb/drb.rb +2 -0
  22. data/lib/rubysl/drb/version.rb +5 -0
  23. data/rubysl-drb.gemspec +23 -0
  24. data/spec/config_spec.rb +4 -0
  25. data/spec/current_server_spec.rb +4 -0
  26. data/spec/drbarray/_dump_spec.rb +6 -0
  27. data/spec/drbarray/_load_spec.rb +6 -0
  28. data/spec/drbconn/alive_spec.rb +6 -0
  29. data/spec/drbconn/close_spec.rb +6 -0
  30. data/spec/drbconn/open_spec.rb +6 -0
  31. data/spec/drbconn/send_message_spec.rb +6 -0
  32. data/spec/drbconn/uri_spec.rb +6 -0
  33. data/spec/drbidconv/to_id_spec.rb +6 -0
  34. data/spec/drbidconv/to_obj_spec.rb +6 -0
  35. data/spec/drbmessage/dump_spec.rb +6 -0
  36. data/spec/drbmessage/load_spec.rb +6 -0
  37. data/spec/drbmessage/recv_reply_spec.rb +6 -0
  38. data/spec/drbmessage/recv_request_spec.rb +6 -0
  39. data/spec/drbmessage/send_reply_spec.rb +6 -0
  40. data/spec/drbmessage/send_request_spec.rb +6 -0
  41. data/spec/drbobject/__drbref_spec.rb +4 -0
  42. data/spec/drbobject/__drburi_spec.rb +4 -0
  43. data/spec/drbobject/_dump_spec.rb +4 -0
  44. data/spec/drbobject/_load_spec.rb +4 -0
  45. data/spec/drbobject/eql_spec.rb +4 -0
  46. data/spec/drbobject/equal_value_spec.rb +4 -0
  47. data/spec/drbobject/hash_spec.rb +4 -0
  48. data/spec/drbobject/method_missing_spec.rb +4 -0
  49. data/spec/drbobject/new_spec.rb +0 -0
  50. data/spec/drbobject/new_with_spec.rb +4 -0
  51. data/spec/drbobject/new_with_uri_spec.rb +4 -0
  52. data/spec/drbobject/prepare_backtrace_spec.rb +4 -0
  53. data/spec/drbobject/pretty_print_cycle_spec.rb +4 -0
  54. data/spec/drbobject/pretty_print_spec.rb +4 -0
  55. data/spec/drbobject/respond_to_spec.rb +4 -0
  56. data/spec/drbobject/with_friend_spec.rb +4 -0
  57. data/spec/drbprotocol/add_protocol_spec.rb +6 -0
  58. data/spec/drbprotocol/auto_load_spec.rb +6 -0
  59. data/spec/drbprotocol/open_server_spec.rb +6 -0
  60. data/spec/drbprotocol/open_spec.rb +6 -0
  61. data/spec/drbprotocol/uri_option_spec.rb +6 -0
  62. data/spec/drbserver/alive_spec.rb +6 -0
  63. data/spec/drbserver/check_insecure_method_spec.rb +6 -0
  64. data/spec/drbserver/config_spec.rb +6 -0
  65. data/spec/drbserver/default_acl_spec.rb +6 -0
  66. data/spec/drbserver/default_argc_limit_spec.rb +6 -0
  67. data/spec/drbserver/default_id_conv_spec.rb +6 -0
  68. data/spec/drbserver/default_load_limit_spec.rb +6 -0
  69. data/spec/drbserver/default_safe_level_spec.rb +6 -0
  70. data/spec/drbserver/front_spec.rb +6 -0
  71. data/spec/drbserver/invokemethod/perform_spec.rb +6 -0
  72. data/spec/drbserver/invokemethod18mixin/block_yield_spec.rb +6 -0
  73. data/spec/drbserver/invokemethod18mixin/perform_with_block_spec.rb +6 -0
  74. data/spec/drbserver/make_config_spec.rb +6 -0
  75. data/spec/drbserver/safe_level_spec.rb +6 -0
  76. data/spec/drbserver/stop_service_spec.rb +6 -0
  77. data/spec/drbserver/thread_spec.rb +6 -0
  78. data/spec/drbserver/to_id_spec.rb +6 -0
  79. data/spec/drbserver/to_obj_spec.rb +6 -0
  80. data/spec/drbserver/uri_spec.rb +6 -0
  81. data/spec/drbserver/verbose_spec.rb +18 -0
  82. data/spec/drbtcpsocket/accept_spec.rb +6 -0
  83. data/spec/drbtcpsocket/alive_spec.rb +6 -0
  84. data/spec/drbtcpsocket/close_spec.rb +6 -0
  85. data/spec/drbtcpsocket/getservername_spec.rb +6 -0
  86. data/spec/drbtcpsocket/open_server_inaddr_any_spec.rb +6 -0
  87. data/spec/drbtcpsocket/open_server_spec.rb +6 -0
  88. data/spec/drbtcpsocket/open_spec.rb +6 -0
  89. data/spec/drbtcpsocket/parse_uri_spec.rb +6 -0
  90. data/spec/drbtcpsocket/peeraddr_spec.rb +6 -0
  91. data/spec/drbtcpsocket/recv_reply_spec.rb +6 -0
  92. data/spec/drbtcpsocket/recv_request_spec.rb +6 -0
  93. data/spec/drbtcpsocket/send_reply_spec.rb +6 -0
  94. data/spec/drbtcpsocket/send_request_spec.rb +6 -0
  95. data/spec/drbtcpsocket/set_sockopt_spec.rb +6 -0
  96. data/spec/drbtcpsocket/stream_spec.rb +6 -0
  97. data/spec/drbtcpsocket/uri_option_spec.rb +6 -0
  98. data/spec/drbtcpsocket/uri_spec.rb +6 -0
  99. data/spec/drbundumped/_dump_spec.rb +6 -0
  100. data/spec/drbunknown/_dump_spec.rb +6 -0
  101. data/spec/drbunknown/_load_spec.rb +6 -0
  102. data/spec/drbunknown/buf_spec.rb +6 -0
  103. data/spec/drbunknown/exception_spec.rb +6 -0
  104. data/spec/drbunknown/name_spec.rb +6 -0
  105. data/spec/drbunknown/reload_spec.rb +6 -0
  106. data/spec/drburioption/eql_spec.rb +6 -0
  107. data/spec/drburioption/equal_value_spec.rb +6 -0
  108. data/spec/drburioption/hash_spec.rb +6 -0
  109. data/spec/drburioption/option_spec.rb +6 -0
  110. data/spec/drburioption/to_s_spec.rb +6 -0
  111. data/spec/exception/_dump_spec.rb +6 -0
  112. data/spec/exception/_load_spec.rb +6 -0
  113. data/spec/exception/reason_spec.rb +6 -0
  114. data/spec/exception/unknown_spec.rb +6 -0
  115. data/spec/fetch_server_spec.rb +4 -0
  116. data/spec/fixtures/test_server.rb +8 -0
  117. data/spec/front_spec.rb +4 -0
  118. data/spec/here_spec.rb +4 -0
  119. data/spec/install_acl_spec.rb +4 -0
  120. data/spec/install_id_conv_spec.rb +4 -0
  121. data/spec/mutex_spec.rb +6 -0
  122. data/spec/primary_server_spec.rb +8 -0
  123. data/spec/regist_server_spec.rb +4 -0
  124. data/spec/remove_server_spec.rb +4 -0
  125. data/spec/start_service_spec.rb +36 -0
  126. data/spec/stop_service_spec.rb +24 -0
  127. data/spec/thread_spec.rb +4 -0
  128. data/spec/to_id_spec.rb +4 -0
  129. data/spec/to_obj_spec.rb +4 -0
  130. data/spec/uri_spec.rb +4 -0
  131. metadata +336 -0
@@ -0,0 +1,4 @@
1
+
2
+ describe "DRb::DRbObject#pretty_print_cycle" do
3
+ it "needs to be reviewed for spec completeness"
4
+ end
@@ -0,0 +1,4 @@
1
+
2
+ describe "DRb::DRbObject#pretty_print" do
3
+ it "needs to be reviewed for spec completeness"
4
+ end
@@ -0,0 +1,4 @@
1
+
2
+ describe "DRb::DRbObject#respond_to?" do
3
+ it "needs to be reviewed for spec completeness"
4
+ end
@@ -0,0 +1,4 @@
1
+
2
+ describe "DRb::DRbObject.with_friend" do
3
+ it "needs to be reviewed for spec completeness"
4
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbProtocol.add_protocol" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbProtocol.auto_load" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbProtocol.open_server" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbProtocol.open" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbProtocol.uri_option" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbServer#alive?" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbServer#check_insecure_method" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbServer#config" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbServer.default_acl" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbServer.default_argc_limit" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbServer.default_id_conv" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbServer.default_load_limit" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbServer.default_safe_level" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbServer#front" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+ require File.expand_path('../../../../../spec_helper', __FILE__)
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbServer::InvokeMethod#perform" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+ require File.expand_path('../../../../../spec_helper', __FILE__)
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbServer::InvokeMethod18Mixin#block_yield" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+ require File.expand_path('../../../../../spec_helper', __FILE__)
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbServer::InvokeMethod18Mixin#perform_with_block" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbServer.make_config" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbServer#safe_level" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbServer#stop_service" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbServer#thread" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbServer#to_id" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbServer#to_obj" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbServer#uri" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,18 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbServer#verbose" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
7
+
8
+ describe "DRb::DRbServer#verbose=" do
9
+ it "needs to be reviewed for spec completeness"
10
+ end
11
+
12
+ describe "DRb::DRbServer.verbose" do
13
+ it "needs to be reviewed for spec completeness"
14
+ end
15
+
16
+ describe "DRb::DRbServer.verbose=" do
17
+ it "needs to be reviewed for spec completeness"
18
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbTCPSocket#accept" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbTCPSocket#alive?" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbTCPSocket#close" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbTCPSocket.getservername" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbTCPSocket.open_server_inaddr_any" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbTCPSocket.open_server" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbTCPSocket.open" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbTCPSocket.parse_uri" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbTCPSocket#peeraddr" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbTCPSocket#recv_reply" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbTCPSocket#recv_request" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbTCPSocket#send_reply" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbTCPSocket#send_request" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbTCPSocket#set_sockopt" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbTCPSocket#stream" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbTCPSocket.uri_option" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbTCPSocket#uri" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbUndumped#_dump" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbUnknown#_dump" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbUnknown._load" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbUnknown#buf" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbUnknown#exception" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbUnknown#name" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbUnknown#reload" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end
@@ -0,0 +1,6 @@
1
+
2
+ require 'drb'
3
+
4
+ describe "DRb::DRbURIOption#eql?" do
5
+ it "needs to be reviewed for spec completeness"
6
+ end