rbatch 1.12.0 → 1.12.1

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.
data/CHANGELOG CHANGED
@@ -58,3 +58,8 @@ initial
58
58
  ----
59
59
  * add Common Config Function
60
60
  * document enhance
61
+
62
+ 1.12.1(2013/11/21)
63
+ ----
64
+ * bug fix. Before, RBatch::Log block only rescue the exception which is extended StandardError (not Exception). Now fix it.
65
+
data/lib/rbatch/log.rb CHANGED
@@ -155,7 +155,7 @@ module RBatch
155
155
  if block_given?
156
156
  begin
157
157
  yield self
158
- rescue => e
158
+ rescue Exception => e
159
159
  self.fatal(e)
160
160
  self.fatal("Caught exception. Exit 1")
161
161
  exit 1
@@ -1,3 +1,3 @@
1
1
  module Rbatch
2
- VERSION = "1.12.0"
2
+ VERSION = "1.12.1"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rbatch
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.12.0
5
+ version: 1.12.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - fetaro
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2013-11-18 00:00:00 Z
13
+ date: 2013-11-21 00:00:00 Z
14
14
  dependencies: []
15
15
 
16
16
  description: Ruby-based simple batch framework