rservicebus 0.1.16 → 0.1.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,10 +3,10 @@ module RServiceBus
3
3
  require "FluidDb/Db"
4
4
 
5
5
  #Implementation of an AppResource - Redis
6
- class AppResource_FluidDbPgsql<AppResource
6
+ class AppResource_FluidDb<AppResource
7
7
 
8
8
  def connect(uri)
9
- return FluidDb::Db.new( uri )
9
+ return FluidDb::Db( uri )
10
10
  end
11
11
 
12
12
  # Transaction Semantics
@@ -12,6 +12,8 @@ module RServiceBus
12
12
  if v.is_a?(String) and
13
13
  k.start_with?( "RSBFDB_" ) then
14
14
  uri = URI.parse( v )
15
+ require "rservicebus/AppResource/FluidDb"
16
+ resources[k.sub( "RSB_", "" )] = AppResource_FluidDb.new( host, uri )
15
17
  elsif v.is_a?(String) and
16
18
  k.start_with?( "RSB_" ) then
17
19
  uri = URI.parse( v )
@@ -57,7 +57,7 @@ module RServiceBus
57
57
 
58
58
  @destination.close unless @destination.nil?
59
59
  @destination = nil
60
-
60
+
61
61
  @remoteUserName = nil
62
62
  @remoteQueueName = nil
63
63
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rservicebus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.16
4
+ version: 0.1.17
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-09-03 00:00:00.000000000 Z
12
+ date: 2013-09-05 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: A Ruby interpretation of NServiceBus
15
15
  email: guy@guyirvine.com