msgpack-rpc 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog CHANGED
@@ -1,4 +1,8 @@
1
1
 
2
+ 2011-04-06 version 0.4.4
3
+
4
+ * Fixes missing RuntimeError::CODE
5
+
2
6
  2010-11-28 version 0.4.3
3
7
 
4
8
  * Uses MessagePack::Unpacker#feed_each implemented on msgpack-0.4.4
data/NOTICE CHANGED
@@ -1,8 +1,8 @@
1
1
  MessagePack-RPC for Ruby is developed by FURUHASHI Sadayuki, licensed under
2
2
  Apache License, Version 2.0. The original software and related information
3
- is available at http://msgpack.sourceforge.net/.
3
+ is available at http://msgpack.org/.
4
4
 
5
5
  MessagePack is developed by FURUHASHI Sadayuki, licensed under Apache License,
6
6
  Version 2.0. The original software and related information is available at
7
- http://msgpack.sourceforge.net/.
7
+ http://msgpack.org/.
8
8
 
data/lib/msgpack/rpc.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # MessagePack-RPC for Ruby
3
3
  #
4
- # Copyright (C) 2010 FURUHASHI Sadayuki
4
+ # Copyright (C) 2010-2011 FURUHASHI Sadayuki
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # MessagePack-RPC for Ruby
3
3
  #
4
- # Copyright (C) 2010 FURUHASHI Sadayuki
4
+ # Copyright (C) 2010-2011 FURUHASHI Sadayuki
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # MessagePack-RPC for Ruby
3
3
  #
4
- # Copyright (C) 2010 FURUHASHI Sadayuki
4
+ # Copyright (C) 2010-2011 FURUHASHI Sadayuki
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -48,7 +48,9 @@ class Client < Session
48
48
  # call-seq:
49
49
  # Client.open(arg1, arg2, arg3=nil) {|client| }
50
50
  #
51
- # Creates a client, call the block and close the client.
51
+ # 1. open(builder, address, loop = Loop.new) {|client }
52
+ # 2. open(host, port, loop = Loop.new) {|client }
53
+ # Creates a client, calls the block and closes the client.
52
54
  def self.open(*args, &block)
53
55
  c = new(*args)
54
56
  begin
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # MessagePack-RPC for Ruby
3
3
  #
4
- # Copyright (C) 2010 FURUHASHI Sadayuki
4
+ # Copyright (C) 2010-2011 FURUHASHI Sadayuki
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # MessagePack-RPC for Ruby
3
3
  #
4
- # Copyright (C) 2010 FURUHASHI Sadayuki
4
+ # Copyright (C) 2010-2011 FURUHASHI Sadayuki
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -112,6 +112,7 @@ class ServerError < RPCError
112
112
  end
113
113
 
114
114
  class RemoteError < RPCError
115
+ CODE = ""
115
116
  def initialize(code, *data)
116
117
  super(code, *data)
117
118
  end
@@ -163,6 +164,7 @@ end
163
164
  # RuntimeError
164
165
  #
165
166
  class RuntimeError < RemoteError
167
+ CODE = ".RuntimeError"
166
168
  def initialize(msg, *data)
167
169
  super("RuntimeError", msg, *data)
168
170
  end
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # MessagePack-RPC for Ruby
3
3
  #
4
- # Copyright (C) 2010 FURUHASHI Sadayuki
4
+ # Copyright (C) 2010-2011 FURUHASHI Sadayuki
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # MessagePack-RPC for Ruby
3
3
  #
4
- # Copyright (C) 2010 FURUHASHI Sadayuki
4
+ # Copyright (C) 2010-2011 FURUHASHI Sadayuki
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # MessagePack-RPC for Ruby
3
3
  #
4
- # Copyright (C) 2010 FURUHASHI Sadayuki
4
+ # Copyright (C) 2010-2011 FURUHASHI Sadayuki
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # MessagePack-RPC for Ruby
3
3
  #
4
- # Copyright (C) 2010 FURUHASHI Sadayuki
4
+ # Copyright (C) 2010-2011 FURUHASHI Sadayuki
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # MessagePack-RPC for Ruby
3
3
  #
4
- # Copyright (C) 2010 FURUHASHI Sadayuki
4
+ # Copyright (C) 2010-2011 FURUHASHI Sadayuki
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # MessagePack-RPC for Ruby
3
3
  #
4
- # Copyright (C) 2010 FURUHASHI Sadayuki
4
+ # Copyright (C) 2010-2011 FURUHASHI Sadayuki
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # MessagePack-RPC for Ruby
3
3
  #
4
- # Copyright (C) 2010 FURUHASHI Sadayuki
4
+ # Copyright (C) 2010-2011 FURUHASHI Sadayuki
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # MessagePack-RPC for Ruby
3
3
  #
4
- # Copyright (C) 2010 FURUHASHI Sadayuki
4
+ # Copyright (C) 2010-2011 FURUHASHI Sadayuki
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # MessagePack-RPC for Ruby TCP transport
3
3
  #
4
- # Copyright (C) 2010 FURUHASHI Sadayuki
4
+ # Copyright (C) 2010-2011 FURUHASHI Sadayuki
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # MessagePack-RPC for Ruby UDP transport
3
3
  #
4
- # Copyright (C) 2010 FURUHASHI Sadayuki
4
+ # Copyright (C) 2010-2011 FURUHASHI Sadayuki
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # MessagePack-RPC for Ruby UNIX transport
3
3
  #
4
- # Copyright (C) 2010 FURUHASHI Sadayuki
4
+ # Copyright (C) 2010-2011 FURUHASHI Sadayuki
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  module MessagePack
2
2
  module RPC
3
3
 
4
- VERSION = '0.4.3'
4
+ VERSION = '0.4.4'
5
5
 
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: msgpack-rpc
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 7
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 3
10
- version: 0.4.3
9
+ - 4
10
+ version: 0.4.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - FURUHASHI Sadayuki
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-11-28 00:00:00 +09:00
18
+ date: 2011-04-06 00:00:00 +09:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency