murmur-rpc 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/interfaces/ice.rb +2 -3
- data/lib/murmur-rpc.rb +1 -1
- metadata +2 -2
data/lib/interfaces/ice.rb
CHANGED
@@ -7,7 +7,7 @@ module Murmur
|
|
7
7
|
class ::InvalidMetaException < Exception; end
|
8
8
|
class ::Murmur::Ice::InvalidServerException < Exception; end
|
9
9
|
class Meta
|
10
|
-
def initialize(glacierHost = nil, glacierPort = nil, user = nil, pass = nil, host = "127.0.0.1", port = "6502", icesecret = nil)
|
10
|
+
def initialize(glacierHost = nil, glacierPort = nil, user = nil, pass = nil, host = "127.0.0.1", port = "6502", icesecret = nil, proto = "tcp")
|
11
11
|
ic = nil
|
12
12
|
if icesecret and icesecret != ""
|
13
13
|
props = ::Ice::createProperties
|
@@ -29,8 +29,7 @@ module Murmur
|
|
29
29
|
@router = ::Glacier2::RouterPrx::uncheckedCast(prx).ice_router(nil)
|
30
30
|
@session = @router.createSession(user, pass)
|
31
31
|
end
|
32
|
-
|
33
|
-
conn = "tcp -h #{host} -p #{port}"
|
32
|
+
conn = "#{proto} -h #{host} -p #{port}"
|
34
33
|
@meta = add_proxy_router(Murmur::MetaPrx::checkedCast(ic.stringToProxy("Meta:#{conn}")))
|
35
34
|
raise "Invalid proxy" unless @meta
|
36
35
|
|
data/lib/murmur-rpc.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: murmur-rpc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Brian Stolz
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-03-
|
13
|
+
date: 2011-03-08 00:00:00 -08:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|