ruby-debug-ide 0.4.17.beta5 → 0.4.17.beta6
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/CHANGES +75 -0
- data/ChangeLog +498 -0
- data/ChangeLog.archive +1073 -0
- data/Rakefile +29 -96
- data/bin/rdebug-ide +0 -0
- data/lib/ruby-debug-ide.rb +2 -1
- data/lib/ruby-debug/commands/jump.rb +0 -0
- data/lib/ruby-debug/commands/pause.rb +0 -0
- data/lib/ruby-debug/commands/set_type.rb +0 -0
- data/lib/ruby-debug/version.rb +1 -1
- data/lib/ruby-debug/xml_printer.rb +1 -1
- metadata +13 -12
data/Rakefile
CHANGED
@@ -1,112 +1,45 @@
|
|
1
1
|
require 'rubygems'
|
2
2
|
|
3
|
-
require '
|
3
|
+
require 'bundler/gem_tasks'
|
4
4
|
require 'rake/rdoctask'
|
5
5
|
require 'rake/testtask'
|
6
|
-
require 'lib/ruby-debug/version'
|
7
|
-
require 'date'
|
8
6
|
|
9
7
|
desc 'Default: run unit tests.'
|
10
8
|
task :default => [:test]
|
11
9
|
|
12
|
-
# ------- Default Package ----------
|
13
|
-
RUBY_DEBUG_IDE_VERSION = Debugger::IDE_VERSION
|
14
|
-
|
15
|
-
FILES = FileList[
|
16
|
-
# 'CHANGES',
|
17
|
-
# 'ChangeLog',
|
18
|
-
# 'ChangeLog.archive',
|
19
|
-
'MIT-LICENSE',
|
20
|
-
'Rakefile',
|
21
|
-
'bin/*',
|
22
|
-
'lib/**/*',
|
23
|
-
# 'test/**/*',
|
24
|
-
'ext/mkrf_conf.rb'
|
25
|
-
]
|
26
|
-
|
27
|
-
ide_spec = Gem::Specification.new do |spec|
|
28
|
-
spec.name = "ruby-debug-ide"
|
29
|
-
|
30
|
-
spec.homepage = "http://rubyforge.org/projects/debug-commons/"
|
31
|
-
spec.summary = "IDE interface for ruby-debug."
|
32
|
-
spec.description = <<-EOF
|
33
|
-
An interface which glues ruby-debug to IDEs like Eclipse (RDT), NetBeans and RubyMine.
|
34
|
-
EOF
|
35
|
-
|
36
|
-
spec.version = RUBY_DEBUG_IDE_VERSION
|
37
|
-
|
38
|
-
spec.author = "Markus Barchfeld, Martin Krauskopf, Mark Moseley, JetBrains RubyMine Team"
|
39
|
-
spec.email = "rubymine-feedback@jetbrains.com"
|
40
|
-
spec.platform = Gem::Platform::RUBY
|
41
|
-
spec.require_path = "lib"
|
42
|
-
spec.bindir = "bin"
|
43
|
-
spec.executables = ["rdebug-ide"]
|
44
|
-
spec.files = FILES.to_a
|
45
|
-
|
46
|
-
spec.extensions << "ext/mkrf_conf.rb" unless ENV['NO_EXT']
|
47
|
-
spec.add_dependency("rake", ">= 0.8.1")
|
48
|
-
|
49
|
-
spec.required_ruby_version = '>= 1.8.2'
|
50
|
-
spec.date = DateTime.now
|
51
|
-
spec.rubyforge_project = 'debug-commons'
|
52
|
-
|
53
|
-
# rdoc
|
54
|
-
spec.has_rdoc = false
|
55
|
-
end
|
56
|
-
|
57
|
-
# Rake task to build the default package
|
58
|
-
Rake::GemPackageTask.new(ide_spec) do |pkg|
|
59
|
-
pkg.need_tar = true
|
60
|
-
end
|
61
|
-
|
62
10
|
# Unit tests
|
63
11
|
Rake::TestTask.new do |t|
|
64
12
|
t.libs << "test"
|
65
13
|
t.libs << "test-base"
|
66
|
-
t.pattern = 'test
|
14
|
+
t.pattern = 'test/**/*_test.rb'
|
67
15
|
t.verbose = true
|
68
16
|
t.warning = false
|
69
17
|
end
|
70
18
|
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
#
|
88
|
-
|
89
|
-
|
90
|
-
#
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
## --------- RDoc Documentation ------
|
99
|
-
#desc "Generate rdoc documentation"
|
100
|
-
#Rake::RDocTask.new("rdoc") do |rdoc|
|
101
|
-
# rdoc.rdoc_dir = 'doc'
|
102
|
-
# rdoc.title = "ruby-debug"
|
103
|
-
# # Show source inline with line numbers
|
104
|
-
# rdoc.options << "--inline-source" << "--line-numbers"
|
105
|
-
# # Make the readme file the start page for the generated html
|
106
|
-
# rdoc.options << '--main' << 'README'
|
107
|
-
# rdoc.rdoc_files.include('bin/**/*',
|
108
|
-
# 'lib/**/*.rb',
|
109
|
-
# 'ext/**/ruby_debug.c',
|
110
|
-
# 'README',
|
111
|
-
# 'LICENSE')
|
112
|
-
#end
|
19
|
+
desc "Create a ChangeLog"
|
20
|
+
# simple rake task to output a changelog between two commits, tags ...
|
21
|
+
# output is formatted simply, commits are grouped under each author name
|
22
|
+
desc "generate changelog with nice clean output"
|
23
|
+
task :changelog, :since_c, :until_c do |t,args|
|
24
|
+
since_c = args[:since_c] || `git tag | head -1`.chomp
|
25
|
+
until_c = args[:until_c]
|
26
|
+
cmd=`git log --pretty='format:%ci::%an <%ae>::%s::%H' #{since_c}..#{until_c}`
|
27
|
+
|
28
|
+
entries = Hash.new
|
29
|
+
changelog_content = String.new
|
30
|
+
|
31
|
+
cmd.split("\n").each do |entry|
|
32
|
+
date, author, subject, hash = entry.chomp.split("::")
|
33
|
+
entries[author] = Array.new unless entries[author]
|
34
|
+
day = date.split(" ").first
|
35
|
+
entries[author] << "#{subject} (#{hash})" unless subject =~ /Merge/
|
36
|
+
end
|
37
|
+
|
38
|
+
# generate clean output
|
39
|
+
entries.keys.each do |author|
|
40
|
+
changelog_content += author + "\n"
|
41
|
+
entries[author].reverse.each { |entry| changelog_content += " * #{entry}\n" }
|
42
|
+
end
|
43
|
+
|
44
|
+
puts changelog_content
|
45
|
+
end
|
data/bin/rdebug-ide
CHANGED
File without changes
|
data/lib/ruby-debug-ide.rb
CHANGED
@@ -109,7 +109,8 @@ module Debugger
|
|
109
109
|
@proceed.wait(@mutex)
|
110
110
|
end
|
111
111
|
|
112
|
-
|
112
|
+
abs_prog_script = File.expand_path(Debugger::PROG_SCRIPT)
|
113
|
+
bt = debug_load(abs_prog_script, options.stop, options.load_mode)
|
113
114
|
if bt && !bt.is_a?(SystemExit)
|
114
115
|
$stderr.print bt.backtrace.map{|l| "\t#{l}"}.join("\n"), "\n"
|
115
116
|
$stderr.print "Uncaught exception: #{bt}\n"
|
File without changes
|
File without changes
|
File without changes
|
data/lib/ruby-debug/version.rb
CHANGED
@@ -163,7 +163,7 @@ module Debugger
|
|
163
163
|
value_str = $1
|
164
164
|
end
|
165
165
|
end
|
166
|
-
value_str = "[Binary Data]" if value_str.is_binary_data?
|
166
|
+
value_str = "[Binary Data]" if (value_str.respond_to?('is_binary_data?') && value_str.is_binary_data?)
|
167
167
|
print("<variable name=\"%s\" kind=\"%s\" value=\"%s\" type=\"%s\" hasChildren=\"%s\" objectId=\"%#+x\"/>",
|
168
168
|
CGI.escapeHTML(name), kind, CGI.escapeHTML(value_str), value.class,
|
169
169
|
has_children, value.respond_to?(:object_id) ? value.object_id : value.id)
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-debug-ide
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 62196327
|
5
5
|
prerelease: 7
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
9
|
- 17
|
10
10
|
- beta
|
11
|
-
-
|
12
|
-
version: 0.4.17.
|
11
|
+
- 6
|
12
|
+
version: 0.4.17.beta6
|
13
13
|
platform: ruby
|
14
14
|
authors:
|
15
15
|
- Markus Barchfeld, Martin Krauskopf, Mark Moseley, JetBrains RubyMine Team
|
@@ -17,12 +17,9 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2011-
|
21
|
-
default_executable:
|
20
|
+
date: 2011-07-18 00:00:00 Z
|
22
21
|
dependencies:
|
23
22
|
- !ruby/object:Gem::Dependency
|
24
|
-
name: rake
|
25
|
-
prerelease: false
|
26
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
27
24
|
none: false
|
28
25
|
requirements:
|
@@ -34,8 +31,10 @@ dependencies:
|
|
34
31
|
- 8
|
35
32
|
- 1
|
36
33
|
version: 0.8.1
|
37
|
-
|
34
|
+
name: rake
|
35
|
+
prerelease: false
|
38
36
|
version_requirements: *id001
|
37
|
+
type: :runtime
|
39
38
|
description: |
|
40
39
|
An interface which glues ruby-debug to IDEs like Eclipse (RDT), NetBeans and RubyMine.
|
41
40
|
|
@@ -47,8 +46,12 @@ extensions:
|
|
47
46
|
extra_rdoc_files: []
|
48
47
|
|
49
48
|
files:
|
49
|
+
- CHANGES
|
50
|
+
- ChangeLog
|
51
|
+
- ChangeLog.archive
|
50
52
|
- MIT-LICENSE
|
51
53
|
- Rakefile
|
54
|
+
- ext/mkrf_conf.rb
|
52
55
|
- bin/rdebug-ide
|
53
56
|
- lib/ruby-debug/command.rb
|
54
57
|
- lib/ruby-debug/commands/breakpoints.rb
|
@@ -74,9 +77,7 @@ files:
|
|
74
77
|
- lib/ruby-debug/version.rb
|
75
78
|
- lib/ruby-debug/xml_printer.rb
|
76
79
|
- lib/ruby-debug-ide.rb
|
77
|
-
|
78
|
-
has_rdoc: true
|
79
|
-
homepage: http://rubyforge.org/projects/debug-commons/
|
80
|
+
homepage: https://github.com/JetBrains/ruby-debug-ide
|
80
81
|
licenses: []
|
81
82
|
|
82
83
|
post_install_message:
|
@@ -109,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
110
|
requirements: []
|
110
111
|
|
111
112
|
rubyforge_project: debug-commons
|
112
|
-
rubygems_version: 1.5
|
113
|
+
rubygems_version: 1.8.5
|
113
114
|
signing_key:
|
114
115
|
specification_version: 3
|
115
116
|
summary: IDE interface for ruby-debug.
|