backtracer 0.6.3 → 0.6.5
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.
- data/VERSION +1 -1
- data/lib/backtracer.rb +1 -0
- data/lib/core_backtracer.rb +0 -10
- metadata +2 -3
- data/examples/sleeper.rb +0 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.5
|
data/lib/backtracer.rb
CHANGED
data/lib/core_backtracer.rb
CHANGED
@@ -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.
|
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-
|
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