backtracer 0.6.3 → 0.6.5

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.3
1
+ 0.6.5
data/lib/backtracer.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  # this one display full BT with code, at the end [no performance loss]
2
+
2
3
  require 'rbconfig'
3
4
  DOZE = Config::CONFIG['host_os'] =~ /mswin|mingw/
4
5
 
@@ -239,16 +239,6 @@ end
239
239
 
240
240
  SCRIPT_LINES__ = {} unless defined? SCRIPT_LINES__
241
241
  Tracer::on
242
- if $0 == __FILE__
243
- # direct call
244
-
245
- $0 = ARGV[0]
246
- ARGV.shift
247
- Tracer.on
248
- require $0
249
- elsif caller(0).size == 1
250
- Tracer.on
251
- end
252
242
 
253
243
  # TODO: do are arg snapshots capture it right [soon enough]?
254
244
  # TODO: don't output error if none thrown :)
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.3
4
+ version: 0.6.5
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-12-21 00:00:00 -07:00
12
+ date: 2009-12-30 00:00:00 -07:00
13
13
  default_executable: backtracer
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -87,4 +87,3 @@ test_files:
87
87
  - examples/crash_longer.rb
88
88
  - examples/run_all_styles_of_backtracer.rb
89
89
  - examples/run_large_style_output.rb
90
- - examples/sleeper.rb
data/examples/sleeper.rb DELETED
@@ -1,4 +0,0 @@
1
- def go
2
- sleep 10
3
- end
4
- go