result 0.0.1 → 0.0.2

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.
Files changed (3) hide show
  1. data/lib/result.rb +2 -1
  2. data/lib/result/version.rb +1 -1
  3. metadata +2 -3
@@ -67,7 +67,8 @@ class Result
67
67
  if value.nil?
68
68
  begin
69
69
  result = yield
70
- rescue
70
+ rescue Exception => e
71
+ self << e.message + '\n' + e.backtrace
71
72
  result = false
72
73
  end
73
74
 
@@ -1,3 +1,3 @@
1
1
  class Result
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: result
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
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: 2012-10-31 00:00:00.000000000 Z
12
+ date: 2012-12-12 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Gem to handle execution results
15
15
  email:
@@ -51,4 +51,3 @@ signing_key:
51
51
  specification_version: 3
52
52
  summary: Gem to handle execution results
53
53
  test_files: []
54
- has_rdoc: