ruby-debug-ide 0.4.10 → 0.4.11

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/ChangeLog CHANGED
@@ -1,3 +1,19 @@
1
+ 2009-12-22 14:28 Martin Krauskopf
2
+
3
+ * Rakefile, doc/protocol-spec.texi, lib/ruby-debug-ide.rb,
4
+ test/rd_test_base.rb: Increasing version; updating changes
5
+
6
+ 2009-12-22 14:23 Martin Krauskopf
7
+
8
+ * lib/ruby-debug/commands/variables.rb: Fix for possible
9
+ NoSuchMethodException (by Oleg Shpynov)
10
+
11
+ 2009-09-09 12:24 Martin Krauskopf
12
+
13
+ * ChangeLog, Rakefile, ext/mkrf_conf.rb, lib/ruby-debug-ide.rb,
14
+ test/rd_test_base.rb: Do not try to install native extension for
15
+ JRuby.
16
+
1
17
  2009-08-31 12:00 Martin Krauskopf
2
18
 
3
19
  * ChangeLog: ChangeLog update
data/Rakefile CHANGED
@@ -9,7 +9,7 @@ desc 'Default: run unit tests.'
9
9
  task :default => [:test]
10
10
 
11
11
  # ------- Default Package ----------
12
- RUBY_DEBUG_IDE_VERSION = "0.4.10"
12
+ RUBY_DEBUG_IDE_VERSION = "0.4.11"
13
13
 
14
14
  FILES = FileList[
15
15
  'CHANGES',
@@ -34,7 +34,9 @@ module Debugger
34
34
  end
35
35
 
36
36
  def execute
37
- print_variables(global_variables, 'global') do |var|
37
+ # Avoid accessing deprecated global $= and its alias $IGNORECASE,
38
+ # as doing so triggers a spurious warning on JRuby.
39
+ print_variables(global_variables - ['$=', '$IGNORECASE'], 'global') do |var|
38
40
  debug_eval(var)
39
41
  end
40
42
  end
@@ -7,7 +7,11 @@ else
7
7
  end
8
8
 
9
9
  module Debugger
10
-
10
+ # this class is added to resolve problems, with ruby-debug gem incompatibility see
11
+ # http://rubyforge.org/tracker/index.php?func=detail&aid=27055&group_id=3085&atid=11903
12
+ class CommandProcessor
13
+ end
14
+
11
15
  class ControlCommandProcessor # :nodoc:
12
16
  def initialize(interface)
13
17
  @interface = interface
@@ -100,7 +100,7 @@ module Debugger
100
100
 
101
101
  def print_variable(name, value, kind)
102
102
  name = name.to_s
103
- unless value
103
+ unless value != nil
104
104
  print("<variable name=\"%s\" kind=\"%s\"/>", CGI.escapeHTML(name), kind)
105
105
  return
106
106
  end
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-debug-ide
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 25
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 4
8
- - 10
9
- version: 0.4.10
9
+ - 11
10
+ version: 0.4.11
10
11
  platform: ruby
11
12
  authors:
12
13
  - Markus Barchfeld, Martin Krauskopf
@@ -14,16 +15,18 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-04-14 00:00:00 +02:00
18
+ date: 2010-11-03 00:00:00 +03:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
22
  name: rake
22
23
  prerelease: false
23
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
24
26
  requirements:
25
27
  - - ">="
26
28
  - !ruby/object:Gem::Version
29
+ hash: 61
27
30
  segments:
28
31
  - 0
29
32
  - 8
@@ -48,36 +51,36 @@ files:
48
51
  - MIT-LICENSE
49
52
  - Rakefile
50
53
  - bin/rdebug-ide
51
- - lib/ruby-debug/helper.rb
52
- - lib/ruby-debug/processor.rb
53
54
  - lib/ruby-debug/command.rb
54
- - lib/ruby-debug/interface.rb
55
- - lib/ruby-debug/commands/variables.rb
56
- - lib/ruby-debug/commands/load.rb
57
- - lib/ruby-debug/commands/condition.rb
58
55
  - lib/ruby-debug/commands/breakpoints.rb
59
- - lib/ruby-debug/commands/inspect.rb
60
- - lib/ruby-debug/commands/threads.rb
61
56
  - lib/ruby-debug/commands/catchpoint.rb
57
+ - lib/ruby-debug/commands/condition.rb
58
+ - lib/ruby-debug/commands/control.rb
59
+ - lib/ruby-debug/commands/enable.rb
62
60
  - lib/ruby-debug/commands/eval.rb
63
- - lib/ruby-debug/commands/stepping.rb
64
61
  - lib/ruby-debug/commands/frame.rb
65
- - lib/ruby-debug/commands/enable.rb
66
- - lib/ruby-debug/commands/control.rb
67
- - lib/ruby-debug/xml_printer.rb
68
- - lib/ruby-debug/printers.rb
62
+ - lib/ruby-debug/commands/inspect.rb
63
+ - lib/ruby-debug/commands/load.rb
64
+ - lib/ruby-debug/commands/stepping.rb
65
+ - lib/ruby-debug/commands/threads.rb
66
+ - lib/ruby-debug/commands/variables.rb
69
67
  - lib/ruby-debug/event_processor.rb
68
+ - lib/ruby-debug/helper.rb
69
+ - lib/ruby-debug/interface.rb
70
+ - lib/ruby-debug/printers.rb
71
+ - lib/ruby-debug/processor.rb
72
+ - lib/ruby-debug/xml_printer.rb
70
73
  - lib/ruby-debug-ide.rb
71
- - test/rd_variables_test.rb
72
- - test/ruby-debug/xml_printer_test.rb
73
- - test/rd_test_base.rb
74
74
  - test/rd_basic_test.rb
75
- - test/rd_threads_and_frames_test.rb
76
- - test/rd_inspect_test.rb
77
- - test/rd_stepping_breakpoints_test.rb
78
- - test/rd_condition_test.rb
79
75
  - test/rd_catchpoint_test.rb
76
+ - test/rd_condition_test.rb
80
77
  - test/rd_enable_disable_test.rb
78
+ - test/rd_inspect_test.rb
79
+ - test/rd_stepping_breakpoints_test.rb
80
+ - test/rd_test_base.rb
81
+ - test/rd_threads_and_frames_test.rb
82
+ - test/rd_variables_test.rb
83
+ - test/ruby-debug/xml_printer_test.rb
81
84
  - ext/mkrf_conf.rb
82
85
  has_rdoc: true
83
86
  homepage: http://rubyforge.org/projects/debug-commons/
@@ -89,25 +92,29 @@ rdoc_options: []
89
92
  require_paths:
90
93
  - lib
91
94
  required_ruby_version: !ruby/object:Gem::Requirement
95
+ none: false
92
96
  requirements:
93
97
  - - ">="
94
98
  - !ruby/object:Gem::Version
99
+ hash: 51
95
100
  segments:
96
101
  - 1
97
102
  - 8
98
103
  - 2
99
104
  version: 1.8.2
100
105
  required_rubygems_version: !ruby/object:Gem::Requirement
106
+ none: false
101
107
  requirements:
102
108
  - - ">="
103
109
  - !ruby/object:Gem::Version
110
+ hash: 3
104
111
  segments:
105
112
  - 0
106
113
  version: "0"
107
114
  requirements: []
108
115
 
109
116
  rubyforge_project: debug-commons
110
- rubygems_version: 1.3.6
117
+ rubygems_version: 1.3.7
111
118
  signing_key:
112
119
  specification_version: 3
113
120
  summary: IDE interface for ruby-debug.