ruby-debug 0.10.5.rc1 → 0.10.5.rc2
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +54 -0
- data/Rakefile +34 -239
- metadata +15 -182
- data/test/base/base.rb +0 -77
- data/test/base/binding.rb +0 -22
- data/test/base/catchpoint.rb +0 -19
- data/test/base/load.rb +0 -44
- data/test/base/reload_bug.rb +0 -8
- data/test/cli/commands/catchpoint_test.rb +0 -24
- data/test/cli/commands/unit/regexp.rb +0 -36
- data/test/config.yaml +0 -8
- data/test/data/annotate.cmd +0 -29
- data/test/data/annotate.right +0 -139
- data/test/data/at-exit.cmd +0 -4
- data/test/data/at-exit.right +0 -12
- data/test/data/break_bad.cmd +0 -16
- data/test/data/break_bad.right +0 -26
- data/test/data/break_loop_bug.cmd +0 -5
- data/test/data/break_loop_bug.right +0 -15
- data/test/data/break_tracelines.cmd +0 -9
- data/test/data/break_tracelines.right +0 -17
- data/test/data/breakpoints-basename.cmd +0 -2
- data/test/data/breakpoints-basename.right +0 -10
- data/test/data/breakpoints.cmd +0 -37
- data/test/data/breakpoints.right +0 -96
- data/test/data/brkpt-class-bug.cmd +0 -9
- data/test/data/brkpt-class-bug.right +0 -18
- data/test/data/catch.cmd +0 -18
- data/test/data/catch.right +0 -41
- data/test/data/condition.cmd +0 -29
- data/test/data/condition.right +0 -67
- data/test/data/continue_bad.cmd +0 -4
- data/test/data/continue_bad.right +0 -9
- data/test/data/ctrl.cmd +0 -23
- data/test/data/ctrl.right +0 -70
- data/test/data/display.cmd +0 -24
- data/test/data/display.right +0 -44
- data/test/data/dollar-0.right +0 -3
- data/test/data/dollar-0a.right +0 -3
- data/test/data/dollar-0b.right +0 -3
- data/test/data/edit.cmd +0 -12
- data/test/data/edit.right +0 -19
- data/test/data/emacs_basic.cmd +0 -10
- data/test/data/emacs_basic.right +0 -24
- data/test/data/enable.cmd +0 -20
- data/test/data/enable.right +0 -36
- data/test/data/except-bug1.cmd +0 -7
- data/test/data/except-bug1.right +0 -13
- data/test/data/file-with-space.cmd +0 -7
- data/test/data/file-with-space.right +0 -9
- data/test/data/finish.cmd +0 -16
- data/test/data/finish.right +0 -31
- data/test/data/frame.cmd +0 -29
- data/test/data/frame.right +0 -62
- data/test/data/help.cmd +0 -20
- data/test/data/help.right +0 -21
- data/test/data/history.right +0 -7
- data/test/data/info-file-break.cmd +0 -4
- data/test/data/info-file-break.right +0 -11
- data/test/data/info-thread.cmd +0 -13
- data/test/data/info-thread.right +0 -37
- data/test/data/info-var-bug2.cmd +0 -5
- data/test/data/info-var-bug2.right +0 -10
- data/test/data/info-var.cmd +0 -23
- data/test/data/info-var.right +0 -52
- data/test/data/info.cmd +0 -21
- data/test/data/info.right +0 -80
- data/test/data/linetrace-jruby.right +0 -23
- data/test/data/linetrace.cmd +0 -6
- data/test/data/linetrace.right +0 -32
- data/test/data/linetracep.cmd +0 -7
- data/test/data/linetracep.right +0 -25
- data/test/data/list.cmd +0 -19
- data/test/data/list.right +0 -127
- data/test/data/method.cmd +0 -10
- data/test/data/method.right +0 -21
- data/test/data/methodsig.cmd +0 -10
- data/test/data/methodsig.right +0 -20
- data/test/data/noquit.right +0 -1
- data/test/data/output.cmd +0 -6
- data/test/data/output.right +0 -31
- data/test/data/pm-bug.cmd +0 -7
- data/test/data/pm-bug.right +0 -12
- data/test/data/post-mortem-next.cmd +0 -8
- data/test/data/post-mortem-next.right +0 -14
- data/test/data/post-mortem-osx.right +0 -32
- data/test/data/post-mortem.cmd +0 -13
- data/test/data/post-mortem.right +0 -32
- data/test/data/quit.cmd +0 -6
- data/test/data/quit.right +0 -9
- data/test/data/raise-jruby.right +0 -26
- data/test/data/raise.cmd +0 -11
- data/test/data/raise.right +0 -26
- data/test/data/save.cmd +0 -34
- data/test/data/save.right +0 -61
- data/test/data/setshow.cmd +0 -46
- data/test/data/setshow.right +0 -80
- data/test/data/source.cmd +0 -5
- data/test/data/source.right +0 -15
- data/test/data/stepping.cmd +0 -21
- data/test/data/stepping.right +0 -50
- data/test/data/test-init-cygwin.right +0 -7
- data/test/data/test-init-osx.right +0 -4
- data/test/data/test-init.right +0 -5
- data/test/data/trace-jruby.right +0 -14
- data/test/data/trace.right +0 -23
- data/test/example/a/example.rb +0 -1
- data/test/example/at-exit.rb +0 -3
- data/test/example/b/example.rb +0 -1
- data/test/example/bp_loop_issue.rb +0 -3
- data/test/example/breakpoints-basename.rb +0 -2
- data/test/example/brkpt-class-bug.rb +0 -8
- data/test/example/classes.rb +0 -11
- data/test/example/dollar-0.rb +0 -6
- data/test/example/except-bug1.rb +0 -4
- data/test/example/file with space.rb +0 -1
- data/test/example/gcd.rb +0 -18
- data/test/example/info-var-bug.rb +0 -47
- data/test/example/info-var-bug2.rb +0 -2
- data/test/example/null.rb +0 -1
- data/test/example/output.rb +0 -2
- data/test/example/pm-bug.rb +0 -3
- data/test/example/pm.rb +0 -11
- data/test/example/raise.rb +0 -3
- data/test/gcd-dbg-nox.rb +0 -31
- data/test/gcd-dbg.rb +0 -30
- data/test/helper.rb +0 -167
- data/test/pm-base.rb +0 -22
- data/test/rdebug-save.1 +0 -7
- data/test/tdebug.rb +0 -252
- data/test/test-annotate.rb +0 -13
- data/test/test-at-exit.rb +0 -13
- data/test/test-break-bad.rb +0 -25
- data/test/test-breakpoints.rb +0 -24
- data/test/test-brkpt-class-bug.rb +0 -13
- data/test/test-catch.rb +0 -13
- data/test/test-condition.rb +0 -13
- data/test/test-ctrl.rb +0 -55
- data/test/test-display.rb +0 -14
- data/test/test-dollar-0.rb +0 -33
- data/test/test-edit.rb +0 -14
- data/test/test-emacs-basic.rb +0 -13
- data/test/test-enable.rb +0 -13
- data/test/test-except-bug1.rb +0 -16
- data/test/test-file-with-space.rb +0 -18
- data/test/test-finish.rb +0 -22
- data/test/test-frame.rb +0 -28
- data/test/test-help.rb +0 -60
- data/test/test-hist.rb +0 -64
- data/test/test-info-thread.rb +0 -24
- data/test/test-info-var.rb +0 -30
- data/test/test-info.rb +0 -27
- data/test/test-init.rb +0 -49
- data/test/test-list.rb +0 -14
- data/test/test-method.rb +0 -20
- data/test/test-output.rb +0 -13
- data/test/test-pm.rb +0 -37
- data/test/test-quit.rb +0 -13
- data/test/test-raise.rb +0 -13
- data/test/test-save.rb +0 -22
- data/test/test-setshow.rb +0 -13
- data/test/test-source.rb +0 -13
- data/test/test-stepping.rb +0 -14
- data/test/test-trace.rb +0 -40
- data/test/thread1.rb +0 -26
- data/test/trunc-call.rb +0 -31
data/ChangeLog
CHANGED
@@ -1,3 +1,57 @@
|
|
1
|
+
2012-07-19 John Firebaugh <john.firebaugh@gmail.com>
|
2
|
+
|
3
|
+
* ChangeLog, ext/ChangeLog, lib/ChangeLog,
|
4
|
+
lib/ruby-debug-base/version.rb: Release 0.10.5.rc2
|
5
|
+
|
6
|
+
2012-07-19 John Firebaugh <john.firebaugh@gmail.com>
|
7
|
+
|
8
|
+
* Rakefile: Clean up rake tasks To build native gems: rake gem To build JRuby gems: rake java gem
|
9
|
+
|
10
|
+
2012-07-19 John Firebaugh <john.firebaugh@gmail.com>
|
11
|
+
|
12
|
+
* Gemfile: Use gemspec
|
13
|
+
|
14
|
+
2012-07-19 John Firebaugh <john.firebaugh@gmail.com>
|
15
|
+
|
16
|
+
* Rakefile, ruby-debug-base.gemspec, ruby-debug.gemspec: Use
|
17
|
+
.gemspec files
|
18
|
+
|
19
|
+
2012-07-19 John Firebaugh <john.firebaugh@gmail.com>
|
20
|
+
|
21
|
+
* Gemfile: Require rake-compiler ~> 0.8.1
|
22
|
+
|
23
|
+
2012-07-19 John Firebaugh <john.firebaugh@gmail.com>
|
24
|
+
|
25
|
+
* Rakefile: Don't need tar files
|
26
|
+
|
27
|
+
2012-07-19 John Firebaugh <john.firebaugh@gmail.com>
|
28
|
+
|
29
|
+
* Rakefile: Remove gem install tasks
|
30
|
+
|
31
|
+
2012-07-19 John Firebaugh <john.firebaugh@gmail.com>
|
32
|
+
|
33
|
+
* Rakefile: Remove obsolete RubyForge tasks
|
34
|
+
|
35
|
+
2012-07-19 John Firebaugh <john.firebaugh@gmail.com>
|
36
|
+
|
37
|
+
* Rakefile, cross-compile.sh, ext/win32/.gitignore: Remove win32
|
38
|
+
cross-compile stuff It should be redone using rake-compiler.
|
39
|
+
|
40
|
+
2012-07-19 John Firebaugh <john.firebaugh@gmail.com>
|
41
|
+
|
42
|
+
* test/data/raise-jruby.right, test/data/raise.right,
|
43
|
+
test/tdebug.rb: 1.9 syntax compatibility
|
44
|
+
|
45
|
+
2012-07-19 Dennis Ushakov <dennis.ushakov@gmail.com>
|
46
|
+
|
47
|
+
* src/org/jruby/debug/Context.java: jruby 1.7.preview1 compatibility getEvalScope signature was changed in 1.7, use reflection to make it
|
48
|
+
work for both 1.7 and pre-1.7
|
49
|
+
|
50
|
+
2011-10-19 John Firebaugh <john.firebaugh@gmail.com>
|
51
|
+
|
52
|
+
* ChangeLog, ext/ChangeLog, lib/ChangeLog,
|
53
|
+
lib/ruby-debug-base/version.rb: 0.10.5.rc1
|
54
|
+
|
1
55
|
2011-10-19 John Firebaugh <john.firebaugh@gmail.com>
|
2
56
|
|
3
57
|
* Rakefile, lib/ruby-debug-base.rb, lib/ruby-debug-base/version.rb,
|
data/Rakefile
CHANGED
@@ -7,82 +7,33 @@ require 'rake/testtask'
|
|
7
7
|
require 'rake/extensiontask'
|
8
8
|
require 'rake/javaextensiontask'
|
9
9
|
|
10
|
-
|
10
|
+
lib = File.expand_path('../lib', __FILE__)
|
11
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
11
12
|
require "ruby-debug-base/version"
|
12
13
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
'README',
|
22
|
-
'Rakefile',
|
23
|
-
]
|
24
|
-
|
25
|
-
CLI_TEST_FILE_LIST = FileList['test/cli/commands/unit/*.rb',
|
26
|
-
'test/cli/commands/*_test.rb',
|
27
|
-
'test/cli/**/*_test.rb',
|
28
|
-
'test/test-*.rb']
|
29
|
-
CLI_FILES = COMMON_FILES + FileList[
|
30
|
-
"cli/**/*",
|
31
|
-
'ChangeLog',
|
32
|
-
'bin/*',
|
33
|
-
'doc/rdebug.1',
|
34
|
-
'test/rdebug-save.1',
|
35
|
-
'test/**/data/*.cmd',
|
36
|
-
'test/**/data/*.right',
|
37
|
-
'test/**/example/*.rb',
|
38
|
-
'test/config.yaml',
|
39
|
-
'test/**/*.rb',
|
40
|
-
'rdbg.rb',
|
41
|
-
CLI_TEST_FILE_LIST
|
42
|
-
]
|
43
|
-
|
44
|
-
BASE_TEST_FILE_LIST = FileList['test/base/*.rb']
|
45
|
-
|
46
|
-
BASE_FILES = COMMON_FILES + FileList[
|
47
|
-
'ext/breakpoint.c',
|
48
|
-
'ext/extconf.rb',
|
49
|
-
'ext/ruby_debug.c',
|
50
|
-
'ext/ruby_debug.h',
|
51
|
-
'ext/win32/*',
|
52
|
-
'lib/ruby-debug-base.rb',
|
53
|
-
'lib/ruby-debug-base/version.rb',
|
54
|
-
BASE_TEST_FILE_LIST,
|
55
|
-
]
|
56
|
-
|
57
|
-
ext = File.join(ROOT_DIR, 'ext')
|
58
|
-
|
59
|
-
desc "Test everything."
|
60
|
-
Rake::TestTask.new(:test) do |t|
|
61
|
-
t.libs += %W(#{ROOT_DIR}/lib #{ROOT_DIR}/cli)
|
62
|
-
t.libs << ext if File.exist?(ext)
|
63
|
-
t.test_files = CLI_TEST_FILE_LIST
|
64
|
-
t.options = '--verbose' if $VERBOSE
|
65
|
-
t.ruby_opts << "--debug" if defined?(JRUBY_VERSION)
|
66
|
-
end
|
67
|
-
|
68
|
-
task :test => :test_base if File.exist?(ext)
|
69
|
-
|
70
|
-
desc "Test ruby-debug-base."
|
71
|
-
Rake::TestTask.new(:test_base) do |t|
|
72
|
-
t.libs += ['./ext', './lib']
|
73
|
-
t.test_files = FileList[BASE_TEST_FILE_LIST]
|
74
|
-
t.options = '--verbose' if $VERBOSE
|
75
|
-
t.ruby_opts << "--debug" if defined?(JRUBY_VERSION)
|
76
|
-
end
|
14
|
+
namespace :test do
|
15
|
+
desc "Test ruby-debug-base"
|
16
|
+
Rake::TestTask.new(:base => :compile) do |t|
|
17
|
+
t.libs += %w(./ext ./lib)
|
18
|
+
t.test_files = FileList['test/base/*.rb']
|
19
|
+
t.options = '--verbose' if $VERBOSE
|
20
|
+
t.ruby_opts << "--debug" if defined?(JRUBY_VERSION)
|
21
|
+
end
|
77
22
|
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
23
|
+
desc "Test ruby-debug"
|
24
|
+
Rake::TestTask.new(:cli => :compile) do |t|
|
25
|
+
t.libs += %W(./lib ./cli ./ext)
|
26
|
+
t.test_files = FileList['test/cli/commands/unit/*.rb',
|
27
|
+
'test/cli/commands/*_test.rb',
|
28
|
+
'test/cli/**/*_test.rb',
|
29
|
+
'test/test-*.rb']
|
30
|
+
t.options = '--verbose' if $VERBOSE
|
31
|
+
t.ruby_opts << "--debug" if defined?(JRUBY_VERSION)
|
32
|
+
end
|
82
33
|
end
|
83
34
|
|
84
|
-
desc "Test everything
|
85
|
-
task :
|
35
|
+
desc "Test everything"
|
36
|
+
task :test => %w(test:base test:cli)
|
86
37
|
|
87
38
|
desc "Create a GNU-style ChangeLog via svn2cl"
|
88
39
|
task :ChangeLog do
|
@@ -91,123 +42,24 @@ task :ChangeLog do
|
|
91
42
|
system('git log --pretty --numstat --summary lib | git2cl > lib/ChangeLog')
|
92
43
|
end
|
93
44
|
|
94
|
-
|
95
|
-
|
96
|
-
spec.name = "ruby-debug-base"
|
97
|
-
|
98
|
-
spec.homepage = "http://rubyforge.org/projects/ruby-debug/"
|
99
|
-
spec.summary = "Fast Ruby debugger - core component"
|
100
|
-
spec.description = <<-EOF
|
101
|
-
ruby-debug is a fast implementation of the standard Ruby debugger debug.rb.
|
102
|
-
It is implemented by utilizing a new Ruby C API hook. The core component
|
103
|
-
provides support that front-ends can build on. It provides breakpoint
|
104
|
-
handling, bindings for stack frames among other things.
|
105
|
-
EOF
|
106
|
-
|
107
|
-
spec.version = Debugger::VERSION
|
45
|
+
base_spec = Gem::Specification.load("ruby-debug-base.gemspec")
|
46
|
+
cli_spec = Gem::Specification.load("ruby-debug.gemspec")
|
108
47
|
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
spec.date = Time.now
|
118
|
-
spec.rubyforge_project = 'ruby-debug'
|
119
|
-
spec.add_dependency('linecache', '>= 0.3')
|
120
|
-
spec.add_development_dependency('rake-compiler')
|
121
|
-
|
122
|
-
spec.test_files = FileList[BASE_TEST_FILE_LIST]
|
123
|
-
|
124
|
-
# rdoc
|
125
|
-
spec.has_rdoc = true
|
126
|
-
spec.extra_rdoc_files = ['README', 'ext/ruby_debug.c']
|
127
|
-
end
|
128
|
-
|
129
|
-
cli_spec = Gem::Specification.new do |spec|
|
130
|
-
spec.name = "ruby-debug"
|
131
|
-
|
132
|
-
spec.homepage = "http://rubyforge.org/projects/ruby-debug/"
|
133
|
-
spec.summary = "Command line interface (CLI) for ruby-debug-base"
|
134
|
-
spec.description = <<-EOF
|
135
|
-
A generic command line interface for ruby-debug.
|
136
|
-
EOF
|
137
|
-
|
138
|
-
spec.version = Debugger::VERSION
|
139
|
-
|
140
|
-
spec.author = "Kent Sibilev"
|
141
|
-
spec.email = "ksibilev@yahoo.com"
|
142
|
-
spec.platform = Gem::Platform::RUBY
|
143
|
-
spec.require_path = "cli"
|
144
|
-
spec.bindir = "bin"
|
145
|
-
spec.executables = ["rdebug"]
|
146
|
-
spec.files = CLI_FILES.to_a
|
147
|
-
|
148
|
-
spec.required_ruby_version = '>= 1.8.2'
|
149
|
-
spec.date = Time.now
|
150
|
-
spec.rubyforge_project = 'ruby-debug'
|
151
|
-
spec.add_dependency('columnize', '>= 0.1')
|
152
|
-
spec.add_dependency('ruby-debug-base', "~> #{Debugger::VERSION}.0")
|
153
|
-
|
154
|
-
# FIXME: work out operational logistics for this
|
155
|
-
# spec.test_files = FileList[CLI_TEST_FILE_LIST]
|
156
|
-
|
157
|
-
# rdoc
|
158
|
-
spec.has_rdoc = true
|
159
|
-
spec.extra_rdoc_files = ['README']
|
160
|
-
end
|
161
|
-
|
162
|
-
# Rake task to build the default package
|
163
|
-
Gem::PackageTask.new(base_spec) do |pkg|
|
164
|
-
pkg.need_tar = true
|
165
|
-
end
|
166
|
-
Gem::PackageTask.new(cli_spec) do |pkg|
|
167
|
-
pkg.need_tar = true
|
48
|
+
if defined?(JRUBY_VERSION)
|
49
|
+
Rake::JavaExtensionTask.new('ruby_debug', base_spec) do |t|
|
50
|
+
t.ext_dir = "src"
|
51
|
+
end
|
52
|
+
else
|
53
|
+
Rake::ExtensionTask.new('ruby_debug', base_spec) do |t|
|
54
|
+
t.ext_dir = "ext"
|
55
|
+
end
|
168
56
|
end
|
169
57
|
|
170
|
-
|
171
|
-
|
172
|
-
end
|
58
|
+
Gem::PackageTask.new(base_spec) {}
|
59
|
+
Gem::PackageTask.new(cli_spec) {}
|
173
60
|
|
174
61
|
task :default => :test
|
175
62
|
|
176
|
-
# Windows specification
|
177
|
-
win_spec = base_spec.clone
|
178
|
-
win_spec.extensions = []
|
179
|
-
## win_spec.platform = Gem::Platform::WIN32 # deprecated
|
180
|
-
win_spec.platform = 'mswin32'
|
181
|
-
win_spec.files += ["lib/#{SO_NAME}"]
|
182
|
-
|
183
|
-
desc "Create Windows Gem"
|
184
|
-
task :win32_gem do
|
185
|
-
# Copy the win32 extension the top level directory
|
186
|
-
current_dir = File.expand_path(File.dirname(__FILE__))
|
187
|
-
source = File.join(current_dir, "ext", "win32", SO_NAME)
|
188
|
-
target = File.join(current_dir, "lib", SO_NAME)
|
189
|
-
cp(source, target)
|
190
|
-
|
191
|
-
# Create the gem, then move it to pkg.
|
192
|
-
Gem::Builder.new(win_spec).build
|
193
|
-
gem_file = "#{win_spec.name}-#{win_spec.version}-#{win_spec.platform}.gem"
|
194
|
-
mv(gem_file, "pkg/#{gem_file}")
|
195
|
-
|
196
|
-
# Remove win extension from top level directory.
|
197
|
-
rm(target)
|
198
|
-
end
|
199
|
-
|
200
|
-
desc "Publish ruby-debug to RubyForge."
|
201
|
-
task :publish do
|
202
|
-
require 'rake/contrib/sshpublisher'
|
203
|
-
|
204
|
-
# Get ruby-debug path.
|
205
|
-
ruby_debug_path = File.expand_path(File.dirname(__FILE__))
|
206
|
-
|
207
|
-
Rake::SshDirPublisher.new("kent@rubyforge.org",
|
208
|
-
"/var/www/gforge-projects/ruby-debug", ruby_debug_path)
|
209
|
-
end
|
210
|
-
|
211
63
|
desc "Remove built files"
|
212
64
|
task :clean do
|
213
65
|
cd "ext" do
|
@@ -221,7 +73,6 @@ task :clean do
|
|
221
73
|
rm 'lib/ruby_debug.jar' if File.exists?("lib/ruby_debug.jar")
|
222
74
|
end
|
223
75
|
|
224
|
-
# --------- RDoc Documentation ------
|
225
76
|
desc "Generate rdoc documentation"
|
226
77
|
RDoc::Task.new("rdoc") do |rdoc|
|
227
78
|
rdoc.rdoc_dir = 'doc/rdoc'
|
@@ -238,59 +89,3 @@ RDoc::Task.new("rdoc") do |rdoc|
|
|
238
89
|
'README',
|
239
90
|
'LICENSE')
|
240
91
|
end
|
241
|
-
|
242
|
-
desc "Publish the release files to RubyForge."
|
243
|
-
task :rubyforge_upload do
|
244
|
-
`rubyforge login`
|
245
|
-
release_command = "rubyforge add_release #{PKG_NAME} #{PKG_NAME} '#{PKG_NAME}-#{PKG_VERSION}' pkg/#{PKG_NAME}-#{PKG_VERSION}.gem"
|
246
|
-
puts release_command
|
247
|
-
system(release_command)
|
248
|
-
end
|
249
|
-
|
250
|
-
PKG_NAME = 'ruby-debug'
|
251
|
-
desc "Publish the release files to RubyForge."
|
252
|
-
task :rubyforge_upload do
|
253
|
-
`rubyforge login`
|
254
|
-
for pkg_name in ['ruby-debug', 'ruby-debug-base'] do
|
255
|
-
pkg_file_name = "#{pkg_name}-#{pkg_version}"
|
256
|
-
release_command = "rubyforge add_release ruby-debug #{pkg_name} '#{pkg_file_name}' pkg/#{pkg_file_name}.gem"
|
257
|
-
puts release_command
|
258
|
-
system(release_command)
|
259
|
-
end
|
260
|
-
end
|
261
|
-
|
262
|
-
def install_gem(spec, *opts)
|
263
|
-
args = ['gem', 'install', "pkg/#{spec.name}-#{spec.version}.gem"] + opts
|
264
|
-
args.unshift 'sudo' unless 0 == Process.uid || ENV['rvm_path']
|
265
|
-
system(*args)
|
266
|
-
end
|
267
|
-
|
268
|
-
desc 'Install locally'
|
269
|
-
task :install => :package do
|
270
|
-
Dir.chdir(File::dirname(__FILE__)) do
|
271
|
-
# ri and rdoc take lots of time
|
272
|
-
install_gem(base_spec, '--no-ri', '--no-rdoc')
|
273
|
-
install_gem(cli_spec, '--no-ri', '--no-rdoc')
|
274
|
-
end
|
275
|
-
end
|
276
|
-
|
277
|
-
task :install_full => :package do
|
278
|
-
Dir.chdir(File::dirname(__FILE__)) do
|
279
|
-
install_gem(base_spec)
|
280
|
-
install_gem(cli_spec)
|
281
|
-
end
|
282
|
-
end
|
283
|
-
|
284
|
-
namespace :jruby do
|
285
|
-
jruby_spec = base_spec.clone
|
286
|
-
jruby_spec.platform = "java"
|
287
|
-
jruby_spec.files = jruby_spec.files.reject {|f| f =~ /^ext/ }
|
288
|
-
jruby_spec.files += ['lib/ruby_debug.jar']
|
289
|
-
jruby_spec.extensions = []
|
290
|
-
|
291
|
-
Gem::PackageTask.new(jruby_spec) {}
|
292
|
-
|
293
|
-
Rake::JavaExtensionTask.new('ruby_debug') do |t|
|
294
|
-
t.ext_dir = "src"
|
295
|
-
end
|
296
|
-
end
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-debug
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: -669403216
|
5
5
|
prerelease: 7
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 10
|
9
9
|
- 5
|
10
10
|
- rc
|
11
|
-
-
|
12
|
-
version: 0.10.5.
|
11
|
+
- 2
|
12
|
+
version: 0.10.5.rc2
|
13
13
|
platform: ruby
|
14
14
|
authors:
|
15
15
|
- Kent Sibilev
|
@@ -17,11 +17,9 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date:
|
21
|
-
default_executable:
|
20
|
+
date: 2012-07-19 00:00:00 Z
|
22
21
|
dependencies:
|
23
22
|
- !ruby/object:Gem::Dependency
|
24
|
-
name: columnize
|
25
23
|
prerelease: false
|
26
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
27
25
|
none: false
|
@@ -34,25 +32,26 @@ dependencies:
|
|
34
32
|
- 1
|
35
33
|
version: "0.1"
|
36
34
|
type: :runtime
|
35
|
+
name: columnize
|
37
36
|
version_requirements: *id001
|
38
37
|
- !ruby/object:Gem::Dependency
|
39
|
-
name: ruby-debug-base
|
40
38
|
prerelease: false
|
41
39
|
requirement: &id002 !ruby/object:Gem::Requirement
|
42
40
|
none: false
|
43
41
|
requirements:
|
44
42
|
- - ~>
|
45
43
|
- !ruby/object:Gem::Version
|
46
|
-
hash:
|
44
|
+
hash: -1338806368
|
47
45
|
segments:
|
48
46
|
- 0
|
49
47
|
- 10
|
50
48
|
- 5
|
51
49
|
- rc
|
52
|
-
-
|
50
|
+
- 2
|
53
51
|
- 0
|
54
|
-
version: 0.10.5.
|
52
|
+
version: 0.10.5.rc2.0
|
55
53
|
type: :runtime
|
54
|
+
name: ruby-debug-base
|
56
55
|
version_requirements: *id002
|
57
56
|
description: |
|
58
57
|
A generic command line interface for ruby-debug.
|
@@ -107,172 +106,8 @@ files:
|
|
107
106
|
- ChangeLog
|
108
107
|
- bin/rdebug
|
109
108
|
- doc/rdebug.1
|
110
|
-
- test/rdebug-save.1
|
111
|
-
- test/data/annotate.cmd
|
112
|
-
- test/data/at-exit.cmd
|
113
|
-
- test/data/break_bad.cmd
|
114
|
-
- test/data/break_loop_bug.cmd
|
115
|
-
- test/data/break_tracelines.cmd
|
116
|
-
- test/data/breakpoints-basename.cmd
|
117
|
-
- test/data/breakpoints.cmd
|
118
|
-
- test/data/brkpt-class-bug.cmd
|
119
|
-
- test/data/catch.cmd
|
120
|
-
- test/data/condition.cmd
|
121
|
-
- test/data/continue_bad.cmd
|
122
|
-
- test/data/ctrl.cmd
|
123
|
-
- test/data/display.cmd
|
124
|
-
- test/data/edit.cmd
|
125
|
-
- test/data/emacs_basic.cmd
|
126
|
-
- test/data/enable.cmd
|
127
|
-
- test/data/except-bug1.cmd
|
128
|
-
- test/data/file-with-space.cmd
|
129
|
-
- test/data/finish.cmd
|
130
|
-
- test/data/frame.cmd
|
131
|
-
- test/data/help.cmd
|
132
|
-
- test/data/info-file-break.cmd
|
133
|
-
- test/data/info-thread.cmd
|
134
|
-
- test/data/info-var-bug2.cmd
|
135
|
-
- test/data/info-var.cmd
|
136
|
-
- test/data/info.cmd
|
137
|
-
- test/data/linetrace.cmd
|
138
|
-
- test/data/linetracep.cmd
|
139
|
-
- test/data/list.cmd
|
140
|
-
- test/data/method.cmd
|
141
|
-
- test/data/methodsig.cmd
|
142
|
-
- test/data/output.cmd
|
143
|
-
- test/data/pm-bug.cmd
|
144
|
-
- test/data/post-mortem-next.cmd
|
145
|
-
- test/data/post-mortem.cmd
|
146
|
-
- test/data/quit.cmd
|
147
|
-
- test/data/raise.cmd
|
148
|
-
- test/data/save.cmd
|
149
|
-
- test/data/setshow.cmd
|
150
|
-
- test/data/source.cmd
|
151
|
-
- test/data/stepping.cmd
|
152
|
-
- test/data/annotate.right
|
153
|
-
- test/data/at-exit.right
|
154
|
-
- test/data/break_bad.right
|
155
|
-
- test/data/break_loop_bug.right
|
156
|
-
- test/data/break_tracelines.right
|
157
|
-
- test/data/breakpoints-basename.right
|
158
|
-
- test/data/breakpoints.right
|
159
|
-
- test/data/brkpt-class-bug.right
|
160
|
-
- test/data/catch.right
|
161
|
-
- test/data/condition.right
|
162
|
-
- test/data/continue_bad.right
|
163
|
-
- test/data/ctrl.right
|
164
|
-
- test/data/display.right
|
165
|
-
- test/data/dollar-0.right
|
166
|
-
- test/data/dollar-0a.right
|
167
|
-
- test/data/dollar-0b.right
|
168
|
-
- test/data/edit.right
|
169
|
-
- test/data/emacs_basic.right
|
170
|
-
- test/data/enable.right
|
171
|
-
- test/data/except-bug1.right
|
172
|
-
- test/data/file-with-space.right
|
173
|
-
- test/data/finish.right
|
174
|
-
- test/data/frame.right
|
175
|
-
- test/data/help.right
|
176
|
-
- test/data/history.right
|
177
|
-
- test/data/info-file-break.right
|
178
|
-
- test/data/info-thread.right
|
179
|
-
- test/data/info-var-bug2.right
|
180
|
-
- test/data/info-var.right
|
181
|
-
- test/data/info.right
|
182
|
-
- test/data/linetrace-jruby.right
|
183
|
-
- test/data/linetrace.right
|
184
|
-
- test/data/linetracep.right
|
185
|
-
- test/data/list.right
|
186
|
-
- test/data/method.right
|
187
|
-
- test/data/methodsig.right
|
188
|
-
- test/data/noquit.right
|
189
|
-
- test/data/output.right
|
190
|
-
- test/data/pm-bug.right
|
191
|
-
- test/data/post-mortem-next.right
|
192
|
-
- test/data/post-mortem-osx.right
|
193
|
-
- test/data/post-mortem.right
|
194
|
-
- test/data/quit.right
|
195
|
-
- test/data/raise-jruby.right
|
196
|
-
- test/data/raise.right
|
197
|
-
- test/data/save.right
|
198
|
-
- test/data/setshow.right
|
199
|
-
- test/data/source.right
|
200
|
-
- test/data/stepping.right
|
201
|
-
- test/data/test-init-cygwin.right
|
202
|
-
- test/data/test-init-osx.right
|
203
|
-
- test/data/test-init.right
|
204
|
-
- test/data/trace-jruby.right
|
205
|
-
- test/data/trace.right
|
206
|
-
- test/example/at-exit.rb
|
207
|
-
- test/example/bp_loop_issue.rb
|
208
|
-
- test/example/breakpoints-basename.rb
|
209
|
-
- test/example/brkpt-class-bug.rb
|
210
|
-
- test/example/classes.rb
|
211
|
-
- test/example/dollar-0.rb
|
212
|
-
- test/example/except-bug1.rb
|
213
|
-
- test/example/file with space.rb
|
214
|
-
- test/example/gcd.rb
|
215
|
-
- test/example/info-var-bug.rb
|
216
|
-
- test/example/info-var-bug2.rb
|
217
|
-
- test/example/null.rb
|
218
|
-
- test/example/output.rb
|
219
|
-
- test/example/pm-bug.rb
|
220
|
-
- test/example/pm.rb
|
221
|
-
- test/example/raise.rb
|
222
|
-
- test/config.yaml
|
223
|
-
- test/base/base.rb
|
224
|
-
- test/base/binding.rb
|
225
|
-
- test/base/catchpoint.rb
|
226
|
-
- test/base/load.rb
|
227
|
-
- test/base/reload_bug.rb
|
228
|
-
- test/cli/commands/catchpoint_test.rb
|
229
|
-
- test/cli/commands/unit/regexp.rb
|
230
|
-
- test/example/a/example.rb
|
231
|
-
- test/example/b/example.rb
|
232
|
-
- test/gcd-dbg-nox.rb
|
233
|
-
- test/gcd-dbg.rb
|
234
|
-
- test/helper.rb
|
235
|
-
- test/pm-base.rb
|
236
|
-
- test/tdebug.rb
|
237
|
-
- test/test-annotate.rb
|
238
|
-
- test/test-at-exit.rb
|
239
|
-
- test/test-break-bad.rb
|
240
|
-
- test/test-breakpoints.rb
|
241
|
-
- test/test-brkpt-class-bug.rb
|
242
|
-
- test/test-catch.rb
|
243
|
-
- test/test-condition.rb
|
244
|
-
- test/test-ctrl.rb
|
245
|
-
- test/test-display.rb
|
246
|
-
- test/test-dollar-0.rb
|
247
|
-
- test/test-edit.rb
|
248
|
-
- test/test-emacs-basic.rb
|
249
|
-
- test/test-enable.rb
|
250
|
-
- test/test-except-bug1.rb
|
251
|
-
- test/test-file-with-space.rb
|
252
|
-
- test/test-finish.rb
|
253
|
-
- test/test-frame.rb
|
254
|
-
- test/test-help.rb
|
255
|
-
- test/test-hist.rb
|
256
|
-
- test/test-info-thread.rb
|
257
|
-
- test/test-info-var.rb
|
258
|
-
- test/test-info.rb
|
259
|
-
- test/test-init.rb
|
260
|
-
- test/test-list.rb
|
261
|
-
- test/test-method.rb
|
262
|
-
- test/test-output.rb
|
263
|
-
- test/test-pm.rb
|
264
|
-
- test/test-quit.rb
|
265
|
-
- test/test-raise.rb
|
266
|
-
- test/test-save.rb
|
267
|
-
- test/test-setshow.rb
|
268
|
-
- test/test-source.rb
|
269
|
-
- test/test-stepping.rb
|
270
|
-
- test/test-trace.rb
|
271
|
-
- test/thread1.rb
|
272
|
-
- test/trunc-call.rb
|
273
109
|
- rdbg.rb
|
274
|
-
|
275
|
-
homepage: http://rubyforge.org/projects/ruby-debug/
|
110
|
+
homepage: https://github.com/ruby-debug/
|
276
111
|
licenses: []
|
277
112
|
|
278
113
|
post_install_message:
|
@@ -285,12 +120,10 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
285
120
|
requirements:
|
286
121
|
- - ">="
|
287
122
|
- !ruby/object:Gem::Version
|
288
|
-
hash:
|
123
|
+
hash: 3
|
289
124
|
segments:
|
290
|
-
-
|
291
|
-
|
292
|
-
- 2
|
293
|
-
version: 1.8.2
|
125
|
+
- 0
|
126
|
+
version: "0"
|
294
127
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
295
128
|
none: false
|
296
129
|
requirements:
|
@@ -304,8 +137,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
304
137
|
version: 1.3.1
|
305
138
|
requirements: []
|
306
139
|
|
307
|
-
rubyforge_project:
|
308
|
-
rubygems_version: 1.
|
140
|
+
rubyforge_project:
|
141
|
+
rubygems_version: 1.8.24
|
309
142
|
signing_key:
|
310
143
|
specification_version: 3
|
311
144
|
summary: Command line interface (CLI) for ruby-debug-base
|