rb8-trepanning 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/app/options.rb +1 -1
- data/test/integration/test-trace.rb +2 -0
- data/trepan8.gemspec +10 -20
- metadata +20 -48
data/app/options.rb
CHANGED
@@ -9,7 +9,7 @@ module Trepan
|
|
9
9
|
require 'rubygems'; require 'require_relative'
|
10
10
|
require_relative 'default'
|
11
11
|
|
12
|
-
VERSION = '0.1.
|
12
|
+
VERSION = '0.1.5' unless defined? Trepan::VERSION
|
13
13
|
PROGRAM = 'trepan8' unless defined? Trepan::PROGRAM
|
14
14
|
|
15
15
|
module_function
|
@@ -7,6 +7,8 @@ class TestTrace < Test::Unit::TestCase
|
|
7
7
|
include TestHelper
|
8
8
|
TREPAN_LOC = /.. \(.+:\d+( @\d+)?\)/
|
9
9
|
def test_trepan_trace
|
10
|
+
skip "We may get different results on an unpatched 1.9.2" if
|
11
|
+
RUBY_VERSION =~ /1.9/
|
10
12
|
common_setup(__FILE__)
|
11
13
|
Dir.chdir(@srcdir) do
|
12
14
|
last_line = nil
|
data/trepan8.gemspec
CHANGED
@@ -14,24 +14,20 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.authors = ['R. Bernstein']
|
15
15
|
spec.date = Time.now
|
16
16
|
spec.description = <<-EOF
|
17
|
-
A modular, testable, Ruby debugger using some of the best ideas from ruby-debug, other debuggers, and Ruby Rails.
|
18
17
|
|
19
|
-
|
18
|
+
A modular, testable, Ruby debugger using some of the best ideas from
|
19
|
+
ruby-debug, other debuggers, and Ruby Rails.
|
20
20
|
|
21
|
-
|
21
|
+
Some of the core debugger concepts have been rethought. As a result,
|
22
|
+
some of this may be experimental.
|
22
23
|
|
23
|
-
|
24
|
-
|
24
|
+
This version works only with MRI 1.8 and 1.9'
|
25
|
+
|
26
|
+
See rbx-trepanning for a version that works with Rubinius, and trepanning
|
27
|
+
and for something that works with a patched YARV 1.9.2.
|
25
28
|
EOF
|
26
29
|
# spec.add_dependency('rb-trace', '>= 0.5')
|
27
30
|
|
28
|
-
if RUBY_VERSION.start_with?('1.8')
|
29
|
-
spec.add_dependency('linecache', '>= 0.43')
|
30
|
-
spec.add_dependency('ruby-debug-base', '>= 0.10.4')
|
31
|
-
elsif RUBY_VERSION.start_with?('1.9')
|
32
|
-
spec.add_dependency('linecache19', '>= 0.5.12')
|
33
|
-
end
|
34
|
-
|
35
31
|
spec.add_dependency('rbx-require-relative', '> 0.0.4')
|
36
32
|
spec.add_dependency('rdoc', '> 2.4.2')
|
37
33
|
spec.add_dependency('columnize')
|
@@ -44,15 +40,9 @@ EOF
|
|
44
40
|
spec.homepage = 'http://wiki.github.com/rocky/rb8-trepanning'
|
45
41
|
spec.name = 'rb8-trepanning'
|
46
42
|
spec.license = 'MIT'
|
47
|
-
|
48
|
-
spec.platform = Gem::Platform::RUBY
|
49
|
-
elsif RUBY_VERSION =~ /^1.9.2/
|
50
|
-
spec.platform = Gem::Platform::new ['universal', 'ruby', '1.9.2']
|
51
|
-
else
|
52
|
-
STDERR.puts "Have only tested on MRI 1.8.7 and 1.9.2"
|
53
|
-
end
|
43
|
+
spec.platform = Gem::Platform::RUBY
|
54
44
|
spec.require_path = 'lib'
|
55
|
-
spec.summary = 'Ruby
|
45
|
+
spec.summary = 'Ruby Trepanning Debugger using ruby-debug-base'
|
56
46
|
spec.version = Trepan::VERSION
|
57
47
|
|
58
48
|
spec.rdoc_options += ['--title', "Trepan #{Trepan::VERSION} Documentation"]
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rb8-trepanning
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 5
|
10
|
+
version: 0.1.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- R. Bernstein
|
@@ -15,43 +15,12 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2012-03-01 00:00:00 Z
|
19
19
|
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
21
|
-
name: linecache
|
22
|
-
prerelease: false
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
-
none: false
|
25
|
-
requirements:
|
26
|
-
- - ">="
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 93
|
29
|
-
segments:
|
30
|
-
- 0
|
31
|
-
- 43
|
32
|
-
version: "0.43"
|
33
|
-
type: :runtime
|
34
|
-
version_requirements: *id001
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: ruby-debug-base
|
37
|
-
prerelease: false
|
38
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
-
none: false
|
40
|
-
requirements:
|
41
|
-
- - ">="
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
hash: 63
|
44
|
-
segments:
|
45
|
-
- 0
|
46
|
-
- 10
|
47
|
-
- 4
|
48
|
-
version: 0.10.4
|
49
|
-
type: :runtime
|
50
|
-
version_requirements: *id002
|
51
20
|
- !ruby/object:Gem::Dependency
|
52
21
|
name: rbx-require-relative
|
53
22
|
prerelease: false
|
54
|
-
requirement: &
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
55
24
|
none: false
|
56
25
|
requirements:
|
57
26
|
- - ">"
|
@@ -63,11 +32,11 @@ dependencies:
|
|
63
32
|
- 4
|
64
33
|
version: 0.0.4
|
65
34
|
type: :runtime
|
66
|
-
version_requirements: *
|
35
|
+
version_requirements: *id001
|
67
36
|
- !ruby/object:Gem::Dependency
|
68
37
|
name: rdoc
|
69
38
|
prerelease: false
|
70
|
-
requirement: &
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
71
40
|
none: false
|
72
41
|
requirements:
|
73
42
|
- - ">"
|
@@ -79,11 +48,11 @@ dependencies:
|
|
79
48
|
- 2
|
80
49
|
version: 2.4.2
|
81
50
|
type: :runtime
|
82
|
-
version_requirements: *
|
51
|
+
version_requirements: *id002
|
83
52
|
- !ruby/object:Gem::Dependency
|
84
53
|
name: columnize
|
85
54
|
prerelease: false
|
86
|
-
requirement: &
|
55
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
87
56
|
none: false
|
88
57
|
requirements:
|
89
58
|
- - ">="
|
@@ -93,16 +62,19 @@ dependencies:
|
|
93
62
|
- 0
|
94
63
|
version: "0"
|
95
64
|
type: :runtime
|
96
|
-
version_requirements: *
|
65
|
+
version_requirements: *id003
|
97
66
|
description: |
|
98
|
-
A modular, testable, Ruby debugger using some of the best ideas from ruby-debug, other debuggers, and Ruby Rails.
|
99
67
|
|
100
|
-
|
68
|
+
A modular, testable, Ruby debugger using some of the best ideas from
|
69
|
+
ruby-debug, other debuggers, and Ruby Rails.
|
70
|
+
|
71
|
+
Some of the core debugger concepts have been rethought. As a result,
|
72
|
+
some of this may be experimental.
|
101
73
|
|
102
|
-
This version works only with
|
74
|
+
This version works only with MRI 1.8 and 1.9'
|
103
75
|
|
104
|
-
See
|
105
|
-
and a patched YARV 1.9.2.
|
76
|
+
See rbx-trepanning for a version that works with Rubinius, and trepanning
|
77
|
+
and for something that works with a patched YARV 1.9.2.
|
106
78
|
|
107
79
|
email: rockyb@rubyforge.net
|
108
80
|
executables:
|
@@ -402,7 +374,7 @@ licenses:
|
|
402
374
|
post_install_message:
|
403
375
|
rdoc_options:
|
404
376
|
- --title
|
405
|
-
- Trepan 0.1.
|
377
|
+
- Trepan 0.1.5 Documentation
|
406
378
|
require_paths:
|
407
379
|
- lib
|
408
380
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -429,6 +401,6 @@ rubyforge_project:
|
|
429
401
|
rubygems_version: 1.8.6
|
430
402
|
signing_key:
|
431
403
|
specification_version: 3
|
432
|
-
summary: Ruby
|
404
|
+
summary: Ruby Trepanning Debugger using ruby-debug-base
|
433
405
|
test_files: []
|
434
406
|
|