backtracer 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/backtracer.rb +3 -4
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.3
1
+ 0.2.4
data/lib/backtracer.rb CHANGED
@@ -4,9 +4,8 @@ require File.dirname(__FILE__) + "/shared"
4
4
  require 'sane'
5
5
 
6
6
  at_exit {
7
-
8
7
  if $!
9
- puts "==== "
8
+ puts "==== " + $!.inspect + ' ' + $!.to_s
10
9
  bt2 = $!.backtrace
11
10
  backtrace_with_code = $!.backtrace.map{ |bt_line|
12
11
  if OS.windows? && bt_line[1..1] == ':'
@@ -26,6 +25,6 @@ at_exit {
26
25
  else
27
26
  puts "(no exception found to backtrace)"
28
27
  end
29
- # exit! TODO put back in once I output .to_s, etc
30
- # TODO compare with that fella
28
+
29
+ # TODO compare with that fella xray
31
30
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: backtracer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors: []
7
7
 
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-04 00:00:00 -07:00
12
+ date: 2009-11-05 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency