murmur-rpc 0.0.5 → 0.0.6

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.
@@ -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
@@ -1,5 +1,5 @@
1
1
  require File.dirname(__FILE__) + '/interfaces/ice.rb'
2
2
 
3
3
  module MurmurRPC
4
- VERSION="0.0.5"
4
+ VERSION="0.0.6"
5
5
  end
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
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-07 00:00:00 -08:00
13
+ date: 2011-03-08 00:00:00 -08:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency