backtracer 0.6.2 → 0.6.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.2
1
+ 0.6.3
data/lib/backtracer.rb CHANGED
@@ -35,7 +35,7 @@ at_exit {
35
35
  $!.set_backtrace [] if $! # avoid the original backtrace being outputted--though annoyingly it does still output its #to_s...
36
36
 
37
37
  else
38
- puts "(backtracer: no exception found to backtrace)" if $VERBOSE
38
+ puts "(backtracer: no exception found to backtrace)" if $DEBUG
39
39
  end
40
40
  # exit! TODO I guess do this once ours isn't *so* ugly
41
41
  # I'm not sure it's safe to do that, in case there are other at_exit's [?]
@@ -5,6 +5,6 @@ at_exit {
5
5
  puts $!.backtrace.join("\n")
6
6
  puts "===="
7
7
  else
8
- puts "(no exception detected)"
8
+ puts "(no exception detected)" if $DEBUG
9
9
  end
10
10
  }
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.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors: []
7
7