debugger 1.6.0 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +3 -0
- data/README.md +2 -3
- data/debugger.gemspec +1 -1
- data/lib/debugger/version.rb +1 -1
- data/test/eval_test.rb +5 -3
- data/test/finish_test.rb +2 -0
- data/test/frame_test.rb +3 -5
- data/test/list_test.rb +5 -3
- data/test/test_helper.rb +1 -0
- metadata +5 -5
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -131,13 +131,12 @@ Let's keep this working for the ruby community!
|
|
131
131
|
|
132
132
|
* Thanks to the original authors: Kent Sibilev and Mark Moseley
|
133
133
|
* Thanks to astashov for bringing in a new and improved test suite, adding printers support and various bug fixes.
|
134
|
-
* Thanks to windwiny for
|
135
|
-
* Contributors: ericpromislow, jnimety, adammck, hipe, FooBarWidget, aghull
|
134
|
+
* Thanks to windwiny for starting the port to 2.0.0
|
135
|
+
* Contributors: ericpromislow, jnimety, adammck, hipe, FooBarWidget, aghull, deivid-rodriguez, tessi
|
136
136
|
* Fork started on awesome @relevance fridays!
|
137
137
|
|
138
138
|
## TODO
|
139
139
|
|
140
|
-
* Fix test/test-*.rb
|
141
140
|
* Port some of bashdb's docs
|
142
141
|
* Use ~/.debuggerrc and bin/debugger and gracefully deprecate rdebug*
|
143
142
|
* Work with others willing to tackle jruby, rubinius or windows support
|
data/debugger.gemspec
CHANGED
@@ -20,7 +20,7 @@ handling, bindings for stack frames among other things.
|
|
20
20
|
s.extensions << "ext/ruby_debug/extconf.rb"
|
21
21
|
s.executables = ["rdebug"]
|
22
22
|
s.add_dependency "columnize", ">= 0.3.1"
|
23
|
-
s.add_dependency "debugger-ruby_core_source", '~> 1.2.
|
23
|
+
s.add_dependency "debugger-ruby_core_source", '~> 1.2.3'
|
24
24
|
s.add_dependency "debugger-linecache", '~> 1.2.0'
|
25
25
|
s.add_development_dependency 'rake', '~> 0.9.2.2'
|
26
26
|
s.add_development_dependency 'rake-compiler', '~> 0.8.0'
|
data/lib/debugger/version.rb
CHANGED
data/test/eval_test.rb
CHANGED
@@ -29,9 +29,11 @@ describe "Eval Command" do
|
|
29
29
|
end
|
30
30
|
|
31
31
|
it "must not eval the expression if no matching command is found if toogled" do
|
32
|
-
|
33
|
-
|
34
|
-
|
32
|
+
temporary_change_hash_value(Debugger::Command.settings, :autoeval, false) do
|
33
|
+
enter '[5,6,7].inject(&:+)'
|
34
|
+
debug_file 'eval'
|
35
|
+
check_output_doesnt_include "18"
|
36
|
+
end
|
35
37
|
end
|
36
38
|
end
|
37
39
|
|
data/test/finish_test.rb
CHANGED
data/test/frame_test.rb
CHANGED
@@ -36,7 +36,7 @@ describe "Frame Command" do
|
|
36
36
|
it "must print current stack frame when without arguments" do
|
37
37
|
enter 'break 25', 'cont', 'up', 'frame'
|
38
38
|
debug_file('frame')
|
39
|
-
check_output_includes "#0 A.d(e#String)
|
39
|
+
check_output_includes "#0 A.d(e#String) at line #{fullpath('frame')}:25"
|
40
40
|
end
|
41
41
|
|
42
42
|
it "must set frame to the first one" do
|
@@ -73,8 +73,7 @@ describe "Frame Command" do
|
|
73
73
|
enter 'set fullpath', 'break 25', 'cont', 'where'
|
74
74
|
debug_file('frame')
|
75
75
|
check_output_includes(Regexp.new(
|
76
|
-
"--> #0 A.d\\(e#String\\)\\n" +
|
77
|
-
" at line #{fullpath('frame')}:25\\n" +
|
76
|
+
"--> #0 A.d\\(e#String\\) at line #{fullpath('frame')}:25\\n" +
|
78
77
|
" #1 A.c at line #{fullpath('frame')}:21\\n",
|
79
78
|
Regexp::MULTILINE))
|
80
79
|
end
|
@@ -96,8 +95,7 @@ describe "Frame Command" do
|
|
96
95
|
enter 'set callstyle last', 'break 25', 'cont', 'where'
|
97
96
|
debug_file('frame')
|
98
97
|
check_output_includes(Regexp.new(
|
99
|
-
"--> #0 A.d\\(e#String\\)\\n" +
|
100
|
-
" at line #{fullpath('frame')}:25\\n" +
|
98
|
+
"--> #0 A.d\\(e#String\\) at line #{fullpath('frame')}:25\\n" +
|
101
99
|
" #1 A.c at line #{fullpath('frame')}:21\\n" +
|
102
100
|
" #2 A.b at line #{fullpath('frame')}:17\\n" +
|
103
101
|
" #3 A.a at line #{fullpath('frame')}:14\\n",
|
data/test/list_test.rb
CHANGED
@@ -62,9 +62,11 @@ describe "List Command" do
|
|
62
62
|
end
|
63
63
|
|
64
64
|
it "must not show the surronding lines by default when autolist is toggled" do
|
65
|
-
|
66
|
-
|
67
|
-
|
65
|
+
temporary_change_hash_value(Debugger::Command.settings, :autolist, false) do
|
66
|
+
enter 'break 5', 'cont'
|
67
|
+
debug_file 'list'
|
68
|
+
check_output_doesnt_include "[4, 6] in #{fullpath('list')}", "4 4", "=> 5 5", "6 6"
|
69
|
+
end
|
68
70
|
end
|
69
71
|
end
|
70
72
|
|
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: debugger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2013-
|
14
|
+
date: 2013-07-08 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: columnize
|
@@ -36,7 +36,7 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - ~>
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 1.2.
|
39
|
+
version: 1.2.3
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -44,7 +44,7 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.2.
|
47
|
+
version: 1.2.3
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: debugger-linecache
|
50
50
|
requirement: !ruby/object:Gem::Requirement
|
@@ -357,7 +357,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
357
357
|
version: 1.3.6
|
358
358
|
requirements: []
|
359
359
|
rubyforge_project:
|
360
|
-
rubygems_version: 1.8.
|
360
|
+
rubygems_version: 1.8.24
|
361
361
|
signing_key:
|
362
362
|
specification_version: 3
|
363
363
|
summary: Fast Ruby debugger - base + cli
|