rservicebus 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,28 @@
1
+ module RServiceBus
2
+
3
+ require "FluidDb/Firebird"
4
+
5
+ #Implementation of an AppResource - Redis
6
+ class AppResource_FluidDbFirebird<AppResource
7
+
8
+ def connect(uri)
9
+ return FluidDb::Firebird.new( uri )
10
+ end
11
+
12
+ # Transaction Semantics
13
+ def Begin
14
+ @connection.execute( "BEGIN", [] )
15
+ end
16
+
17
+ # Transaction Semantics
18
+ def Commit
19
+ @connection.execute( "COMMIT", [] )
20
+ end
21
+
22
+ # Transaction Semantics
23
+ def Rollback
24
+ @connection.execute( "ROLLBACK", [] )
25
+ end
26
+
27
+ end
28
+ end
@@ -32,6 +32,11 @@ module RServiceBus
32
32
  when "fluiddbtinytds"
33
33
  require "rservicebus/AppResource/FluidDbTinyTds"
34
34
  resources[k.sub( "RSB_", "" )] = AppResource_FluidDbTinyTds.new( host, uri )
35
+
36
+ when "fluiddbfirebird"
37
+ require "rservicebus/AppResource/FluidDbFirebird"
38
+ resources[k.sub( "RSB_", "" )] = AppResource_FluidDbFirebird.new( host, uri )
39
+
35
40
  when "dir"
36
41
  require "rservicebus/AppResource/Dir"
37
42
  resources[k.sub( "RSB_", "" )] = AppResource_Dir.new( host, uri )
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.3
4
+ version: 0.1.4
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-08-15 00:00:00.000000000 Z
12
+ date: 2013-08-18 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: A Ruby interpretation of NServiceBus
15
15
  email: guy@guyirvine.com
@@ -26,6 +26,7 @@ files:
26
26
  - lib/rservicebus/Agent.rb
27
27
  - lib/rservicebus/AppResource/Dir.rb
28
28
  - lib/rservicebus/AppResource/File.rb
29
+ - lib/rservicebus/AppResource/FluidDbFirebird.rb
29
30
  - lib/rservicebus/AppResource/FluidDbMysql.rb
30
31
  - lib/rservicebus/AppResource/FluidDbMysql2.rb
31
32
  - lib/rservicebus/AppResource/FluidDbPgsql.rb