backtracer 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README +5 -0
- data/VERSION +1 -1
- data/lib/backtracer.rb +1 -2
- metadata +2 -2
data/README
CHANGED
@@ -59,6 +59,11 @@ http://github.com/rdp/backtracer/blob/master/examples/example_test_all_output
|
|
59
59
|
http://github.com/rdp/backtracer/blob/master/examples/example_test_large_output
|
60
60
|
http://github.com/rdp/backtracer/blob/master/examples/pinger_example
|
61
61
|
|
62
|
+
== Screencast ==
|
63
|
+
|
64
|
+
http://www.rubypulse.com/episode-0.18_backtracer.html
|
65
|
+
[thanks aaalex!]
|
66
|
+
|
62
67
|
== Installation ==
|
63
68
|
|
64
69
|
== 1.8.x ==
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.2
|
data/lib/backtracer.rb
CHANGED
@@ -24,8 +24,7 @@ at_exit {
|
|
24
24
|
"#{bt_line}\n\t#{actual_line.strip if actual_line}"
|
25
25
|
}.compact
|
26
26
|
puts backtrace_with_code
|
27
|
-
|
28
|
-
puts 'original backtrace:'
|
27
|
+
$!.set_backtrace [] # avoid the original backtrace
|
29
28
|
else
|
30
29
|
puts "(backtracer: no exception found to backtrace)" if $VERBOSE
|
31
30
|
end
|
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.5.
|
4
|
+
version: 0.5.2
|
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-
|
12
|
+
date: 2009-11-13 00:00:00 -07:00
|
13
13
|
default_executable: backtracer
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|