rservicebus 0.0.56 → 0.0.58

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,6 +9,21 @@ module RServiceBus
9
9
  return FluidDb::Mysql.new( uri )
10
10
  end
11
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
+
12
27
  end
13
28
 
14
29
  end
@@ -9,6 +9,21 @@ module RServiceBus
9
9
  return FluidDb::Mysql2.new( uri )
10
10
  end
11
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
+
12
27
  end
13
28
 
14
29
  end
@@ -111,6 +111,7 @@ module RServiceBus
111
111
  log "Load Libs"
112
112
 
113
113
  @config.libList.each do |path|
114
+ $:.unshift path
114
115
  if Dir.exists?( path ) then
115
116
  path = path.strip.chomp( "/" )
116
117
  path = path + "/**/*.rb"
@@ -320,6 +321,7 @@ module RServiceBus
320
321
  begin
321
322
  handler.Handle( @msg.msg )
322
323
  rescue Exception => e
324
+ puts "E #{e.message}"
323
325
  log "An error occured in Handler: " + handler.class.name
324
326
  raise e
325
327
  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.0.56
4
+ version: 0.0.58
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-04-07 00:00:00.000000000 Z
12
+ date: 2013-04-16 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: A Ruby interpretation of NServiceBus
15
15
  email: guy@guyirvine.com