rake-builder 0.8.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (382) hide show
  1. data/lib/rake/builder.rb +15 -10
  2. data/lib/rake/builder/local_config.rb +2 -0
  3. data/lib/rake/builder/task_definers/builder_collection_task_definer.rb +1 -5
  4. data/lib/rake/builder/task_definers/builder_task_definer.rb +24 -21
  5. data/lib/rake/builder/version.rb +1 -1
  6. data/lib/rake/path.rb +7 -35
  7. data/spec/unit/rake/builder/local_config_spec.rb +27 -0
  8. data/spec/unit/rake/builder/task_definers/builder_task_definer_spec.rb +85 -0
  9. data/spec/unit/rake/builder_spec.rb +53 -6
  10. data/spec/unit/rake/path_spec.rb +29 -0
  11. metadata +41 -427
  12. data/examples/03_search_paths/vendor/bundle/gems/json-1.7.6/Rakefile +0 -412
  13. data/examples/03_search_paths/vendor/bundle/gems/json-1.7.6/ext/json/ext/fbuffer/fbuffer.h +0 -185
  14. data/examples/03_search_paths/vendor/bundle/gems/json-1.7.6/ext/json/ext/generator/generator.c +0 -1427
  15. data/examples/03_search_paths/vendor/bundle/gems/json-1.7.6/ext/json/ext/generator/generator.h +0 -149
  16. data/examples/03_search_paths/vendor/bundle/gems/json-1.7.6/ext/json/ext/parser/parser.c +0 -2204
  17. data/examples/03_search_paths/vendor/bundle/gems/json-1.7.6/ext/json/ext/parser/parser.h +0 -77
  18. data/examples/03_search_paths/vendor/bundle/gems/rake-10.0.3/Rakefile +0 -374
  19. data/examples/03_search_paths/vendor/bundle/gems/rake-10.0.3/doc/example/a.c +0 -6
  20. data/examples/03_search_paths/vendor/bundle/gems/rake-10.0.3/doc/example/b.c +0 -6
  21. data/examples/03_search_paths/vendor/bundle/gems/rake-10.0.3/doc/example/main.c +0 -11
  22. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/Rakefile +0 -125
  23. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/binding_of_caller.c +0 -224
  24. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/debug.h +0 -36
  25. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/dln.h +0 -41
  26. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/eval_intern.h +0 -232
  27. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/gc.h +0 -77
  28. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/id.h +0 -173
  29. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/iseq.h +0 -104
  30. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/method.h +0 -103
  31. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/node.h +0 -483
  32. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/regenc.h +0 -211
  33. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/regint.h +0 -841
  34. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/regparse.h +0 -354
  35. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/thread_pthread.h +0 -27
  36. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/thread_win32.h +0 -33
  37. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/timev.h +0 -21
  38. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/transcode_data.h +0 -109
  39. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/version.h +0 -63
  40. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/vm_core.h +0 -703
  41. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/vm_exec.h +0 -184
  42. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/vm_insnhelper.h +0 -208
  43. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/vm_opts.h +0 -51
  44. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/addr2line.h +0 -21
  45. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/atomic.h +0 -56
  46. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/constant.h +0 -34
  47. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/debug.h +0 -41
  48. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/dln.h +0 -50
  49. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/encdb.h +0 -167
  50. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/eval_intern.h +0 -234
  51. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/gc.h +0 -98
  52. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/id.h +0 -175
  53. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/internal.h +0 -227
  54. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/iseq.h +0 -125
  55. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/method.h +0 -105
  56. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/node.h +0 -503
  57. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/parse.h +0 -186
  58. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/regenc.h +0 -219
  59. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/regint.h +0 -851
  60. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/regparse.h +0 -362
  61. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/revision.h +0 -1
  62. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/thread_pthread.h +0 -51
  63. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/thread_win32.h +0 -40
  64. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/timev.h +0 -21
  65. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/transcode_data.h +0 -117
  66. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/transdb.h +0 -189
  67. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/version.h +0 -52
  68. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/vm_core.h +0 -755
  69. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/vm_exec.h +0 -184
  70. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/vm_insnhelper.h +0 -220
  71. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/vm_opts.h +0 -51
  72. data/examples/04_zlib/vendor/bundle/gems/bond-0.4.3/Rakefile +0 -47
  73. data/examples/04_zlib/vendor/bundle/gems/bond-0.4.3/ext/readline_line_buffer/readline_line_buffer.c +0 -24
  74. data/examples/04_zlib/vendor/bundle/gems/coderay-1.0.8/Rakefile +0 -35
  75. data/examples/04_zlib/vendor/bundle/gems/columnize-0.3.6/Rakefile +0 -93
  76. data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/Rakefile +0 -130
  77. data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/192/breakpoint.c +0 -586
  78. data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/192/ruby_debug.c +0 -2645
  79. data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/192/ruby_debug.h +0 -148
  80. data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/193/breakpoint.c +0 -586
  81. data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/193/ruby_debug.c +0 -2626
  82. data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/193/ruby_debug.h +0 -148
  83. data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/breakpoint.c +0 -586
  84. data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/ruby_debug.c +0 -2626
  85. data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/ruby_debug.h +0 -148
  86. data/examples/04_zlib/vendor/bundle/gems/debugger-linecache-1.1.2/Rakefile +0 -71
  87. data/examples/04_zlib/vendor/bundle/gems/debugger-linecache-1.1.2/ext/trace_nums/trace_nums.c +0 -105
  88. data/examples/04_zlib/vendor/bundle/gems/debugger-linecache-1.1.2/ext/trace_nums/trace_nums.h +0 -111
  89. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/Rakefile +0 -32
  90. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/debug.h +0 -36
  91. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/dln.h +0 -41
  92. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/encdb.h +0 -163
  93. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/eval_intern.h +0 -232
  94. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/gc.h +0 -77
  95. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/id.h +0 -170
  96. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/iseq.h +0 -104
  97. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/method.h +0 -103
  98. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/node.h +0 -483
  99. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/parse.h +0 -187
  100. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/regenc.h +0 -211
  101. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/regint.h +0 -841
  102. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/regparse.h +0 -354
  103. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/revision.h +0 -1
  104. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/thread_pthread.h +0 -27
  105. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/thread_win32.h +0 -33
  106. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/timev.h +0 -21
  107. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/transcode_data.h +0 -109
  108. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/transdb.h +0 -179
  109. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/version.h +0 -55
  110. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/vm_core.h +0 -707
  111. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/vm_exec.h +0 -184
  112. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/vm_insnhelper.h +0 -208
  113. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/vm_opts.h +0 -51
  114. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/debug.h +0 -36
  115. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/dln.h +0 -41
  116. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/encdb.h +0 -163
  117. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/eval_intern.h +0 -232
  118. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/gc.h +0 -77
  119. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/id.h +0 -170
  120. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/iseq.h +0 -104
  121. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/method.h +0 -103
  122. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/node.h +0 -483
  123. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/parse.h +0 -186
  124. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/regenc.h +0 -211
  125. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/regint.h +0 -841
  126. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/regparse.h +0 -354
  127. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/revision.h +0 -1
  128. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/thread_pthread.h +0 -27
  129. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/thread_win32.h +0 -33
  130. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/timev.h +0 -21
  131. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/transcode_data.h +0 -109
  132. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/transdb.h +0 -179
  133. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/version.h +0 -55
  134. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/vm_core.h +0 -706
  135. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/vm_exec.h +0 -184
  136. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/vm_insnhelper.h +0 -208
  137. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/vm_opts.h +0 -51
  138. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/debug.h +0 -36
  139. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/dln.h +0 -41
  140. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/encdb.h +0 -163
  141. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/eval_intern.h +0 -232
  142. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/gc.h +0 -77
  143. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/id.h +0 -170
  144. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/iseq.h +0 -104
  145. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/method.h +0 -103
  146. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/node.h +0 -483
  147. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/parse.h +0 -186
  148. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/regenc.h +0 -211
  149. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/regint.h +0 -841
  150. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/regparse.h +0 -354
  151. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/revision.h +0 -1
  152. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/thread_pthread.h +0 -27
  153. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/thread_win32.h +0 -33
  154. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/timev.h +0 -21
  155. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/transcode_data.h +0 -109
  156. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/transdb.h +0 -179
  157. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/version.h +0 -55
  158. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/vm_core.h +0 -706
  159. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/vm_exec.h +0 -184
  160. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/vm_insnhelper.h +0 -208
  161. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/vm_opts.h +0 -51
  162. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/addr2line.h +0 -21
  163. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/atomic.h +0 -56
  164. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/constant.h +0 -34
  165. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/debug.h +0 -41
  166. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/dln.h +0 -50
  167. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/encdb.h +0 -167
  168. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/eval_intern.h +0 -234
  169. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/gc.h +0 -98
  170. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/id.h +0 -175
  171. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/internal.h +0 -227
  172. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/iseq.h +0 -125
  173. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/method.h +0 -105
  174. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/node.h +0 -503
  175. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/parse.h +0 -186
  176. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/regenc.h +0 -219
  177. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/regint.h +0 -851
  178. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/regparse.h +0 -362
  179. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/revision.h +0 -1
  180. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/thread_pthread.h +0 -51
  181. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/thread_win32.h +0 -40
  182. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/timev.h +0 -21
  183. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/transcode_data.h +0 -117
  184. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/transdb.h +0 -189
  185. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/version.h +0 -52
  186. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/vm_core.h +0 -756
  187. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/vm_exec.h +0 -184
  188. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/vm_insnhelper.h +0 -220
  189. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/vm_opts.h +0 -51
  190. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/addr2line.h +0 -21
  191. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/atomic.h +0 -56
  192. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/constant.h +0 -34
  193. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/debug.h +0 -41
  194. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/dln.h +0 -50
  195. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/encdb.h +0 -167
  196. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/eval_intern.h +0 -234
  197. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/gc.h +0 -98
  198. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/id.h +0 -175
  199. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/internal.h +0 -231
  200. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/iseq.h +0 -125
  201. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/method.h +0 -105
  202. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/node.h +0 -503
  203. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/parse.h +0 -186
  204. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/regenc.h +0 -219
  205. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/regint.h +0 -850
  206. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/regparse.h +0 -362
  207. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/revision.h +0 -1
  208. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/thread_pthread.h +0 -51
  209. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/thread_win32.h +0 -40
  210. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/timev.h +0 -21
  211. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/transcode_data.h +0 -117
  212. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/transdb.h +0 -189
  213. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/version.h +0 -52
  214. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/vm_core.h +0 -756
  215. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/vm_exec.h +0 -184
  216. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/vm_insnhelper.h +0 -220
  217. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/vm_opts.h +0 -51
  218. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/addr2line.h +0 -21
  219. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/atomic.h +0 -56
  220. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/constant.h +0 -34
  221. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/debug.h +0 -41
  222. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/dln.h +0 -50
  223. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/encdb.h +0 -167
  224. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/eval_intern.h +0 -234
  225. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/gc.h +0 -98
  226. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/id.h +0 -175
  227. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/internal.h +0 -232
  228. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/iseq.h +0 -125
  229. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/method.h +0 -105
  230. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/node.h +0 -503
  231. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/parse.h +0 -186
  232. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/regenc.h +0 -219
  233. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/regint.h +0 -850
  234. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/regparse.h +0 -362
  235. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/revision.h +0 -1
  236. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/thread_pthread.h +0 -51
  237. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/thread_win32.h +0 -40
  238. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/timev.h +0 -21
  239. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/transcode_data.h +0 -117
  240. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/transdb.h +0 -189
  241. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/version.h +0 -52
  242. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/vm_core.h +0 -756
  243. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/vm_exec.h +0 -184
  244. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/vm_insnhelper.h +0 -220
  245. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/vm_opts.h +0 -51
  246. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/addr2line.h +0 -21
  247. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/atomic.h +0 -56
  248. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/constant.h +0 -34
  249. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/debug.h +0 -41
  250. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/dln.h +0 -50
  251. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/encdb.h +0 -167
  252. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/eval_intern.h +0 -234
  253. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/gc.h +0 -99
  254. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/id.h +0 -175
  255. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/internal.h +0 -232
  256. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/iseq.h +0 -125
  257. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/method.h +0 -105
  258. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/node.h +0 -503
  259. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/parse.h +0 -302
  260. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/regenc.h +0 -219
  261. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/regint.h +0 -850
  262. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/regparse.h +0 -362
  263. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/revision.h +0 -1
  264. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/thread_pthread.h +0 -51
  265. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/thread_win32.h +0 -40
  266. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/timev.h +0 -21
  267. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/transcode_data.h +0 -117
  268. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/transdb.h +0 -189
  269. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/version.h +0 -52
  270. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/vm_core.h +0 -756
  271. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/vm_exec.h +0 -184
  272. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/vm_insnhelper.h +0 -220
  273. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/vm_opts.h +0 -51
  274. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/addr2line.h +0 -21
  275. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/atomic.h +0 -56
  276. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/constant.h +0 -34
  277. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/debug.h +0 -41
  278. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/dln.h +0 -50
  279. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/encdb.h +0 -167
  280. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/eval_intern.h +0 -234
  281. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/gc.h +0 -99
  282. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/id.h +0 -175
  283. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/internal.h +0 -239
  284. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/iseq.h +0 -125
  285. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/method.h +0 -105
  286. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/node.h +0 -503
  287. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/parse.h +0 -302
  288. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/regenc.h +0 -219
  289. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/regint.h +0 -850
  290. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/regparse.h +0 -362
  291. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/revision.h +0 -1
  292. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/siphash.h +0 -48
  293. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/thread_pthread.h +0 -51
  294. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/thread_win32.h +0 -40
  295. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/timev.h +0 -21
  296. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/transcode_data.h +0 -117
  297. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/transdb.h +0 -189
  298. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/version.h +0 -52
  299. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/vm_core.h +0 -756
  300. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/vm_exec.h +0 -184
  301. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/vm_insnhelper.h +0 -220
  302. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/vm_opts.h +0 -51
  303. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/addr2line.h +0 -21
  304. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/constant.h +0 -34
  305. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/debug.h +0 -41
  306. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/dln.h +0 -50
  307. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/encdb.h +0 -167
  308. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/eval_intern.h +0 -234
  309. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/gc.h +0 -99
  310. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/id.h +0 -175
  311. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/internal.h +0 -239
  312. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/iseq.h +0 -127
  313. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/method.h +0 -105
  314. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/node.h +0 -503
  315. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/parse.h +0 -302
  316. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/regenc.h +0 -219
  317. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/regint.h +0 -850
  318. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/regparse.h +0 -362
  319. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/revision.h +0 -1
  320. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/ruby_atomic.h +0 -115
  321. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/siphash.h +0 -48
  322. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/thread_pthread.h +0 -51
  323. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/thread_win32.h +0 -40
  324. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/timev.h +0 -21
  325. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/transcode_data.h +0 -117
  326. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/transdb.h +0 -189
  327. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/version.h +0 -52
  328. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/vm_core.h +0 -756
  329. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/vm_exec.h +0 -184
  330. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/vm_insnhelper.h +0 -220
  331. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/vm_opts.h +0 -51
  332. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/addr2line.h +0 -21
  333. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/constant.h +0 -34
  334. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/debug.h +0 -41
  335. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/dln.h +0 -50
  336. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/encdb.h +0 -167
  337. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/eval_intern.h +0 -234
  338. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/gc.h +0 -99
  339. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/id.h +0 -175
  340. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/internal.h +0 -239
  341. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/iseq.h +0 -126
  342. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/method.h +0 -105
  343. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/node.h +0 -503
  344. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/parse.h +0 -302
  345. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/regenc.h +0 -219
  346. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/regint.h +0 -850
  347. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/regparse.h +0 -362
  348. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/revision.h +0 -1
  349. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/ruby_atomic.h +0 -115
  350. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/siphash.h +0 -48
  351. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/thread_pthread.h +0 -51
  352. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/thread_win32.h +0 -40
  353. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/timev.h +0 -21
  354. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/transcode_data.h +0 -117
  355. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/transdb.h +0 -189
  356. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/version.h +0 -52
  357. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/vm_core.h +0 -763
  358. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/vm_exec.h +0 -184
  359. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/vm_insnhelper.h +0 -220
  360. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/vm_opts.h +0 -51
  361. data/examples/04_zlib/vendor/bundle/gems/interception-0.3/Rakefile +0 -32
  362. data/examples/04_zlib/vendor/bundle/gems/interception-0.3/ext/interception.c +0 -73
  363. data/examples/04_zlib/vendor/bundle/gems/jist-1.3.1/Rakefile +0 -10
  364. data/examples/04_zlib/vendor/bundle/gems/json-1.7.6/Rakefile +0 -412
  365. data/examples/04_zlib/vendor/bundle/gems/json-1.7.6/ext/json/ext/fbuffer/fbuffer.h +0 -185
  366. data/examples/04_zlib/vendor/bundle/gems/json-1.7.6/ext/json/ext/generator/generator.c +0 -1427
  367. data/examples/04_zlib/vendor/bundle/gems/json-1.7.6/ext/json/ext/generator/generator.h +0 -149
  368. data/examples/04_zlib/vendor/bundle/gems/json-1.7.6/ext/json/ext/parser/parser.c +0 -2204
  369. data/examples/04_zlib/vendor/bundle/gems/json-1.7.6/ext/json/ext/parser/parser.h +0 -77
  370. data/examples/04_zlib/vendor/bundle/gems/method_source-0.8.1/Rakefile +0 -79
  371. data/examples/04_zlib/vendor/bundle/gems/pry-0.9.11.4/Rakefile +0 -136
  372. data/examples/04_zlib/vendor/bundle/gems/pry-debugger-0.2.1/Rakefile +0 -2
  373. data/examples/04_zlib/vendor/bundle/gems/pry-doc-0.4.4/Rakefile +0 -88
  374. data/examples/04_zlib/vendor/bundle/gems/pry-exception_explorer-0.2.3/Rakefile +0 -123
  375. data/examples/04_zlib/vendor/bundle/gems/pry-rescue-0.15/Rakefile +0 -22
  376. data/examples/04_zlib/vendor/bundle/gems/pry-stack_explorer-0.4.7/Rakefile +0 -109
  377. data/examples/04_zlib/vendor/bundle/gems/rake-10.0.3/Rakefile +0 -374
  378. data/examples/04_zlib/vendor/bundle/gems/rake-10.0.3/doc/example/a.c +0 -6
  379. data/examples/04_zlib/vendor/bundle/gems/rake-10.0.3/doc/example/b.c +0 -6
  380. data/examples/04_zlib/vendor/bundle/gems/rake-10.0.3/doc/example/main.c +0 -11
  381. data/examples/04_zlib/vendor/bundle/gems/slop-3.4.3/Rakefile +0 -29
  382. data/examples/04_zlib/vendor/bundle/gems/yard-0.8.3/Rakefile +0 -61
@@ -1,47 +0,0 @@
1
- require 'rake'
2
- require 'fileutils'
3
-
4
- def gemspec
5
- @gemspec ||= eval(File.read('.gemspec'), binding, '.gemspec')
6
- end
7
-
8
- def gem_file
9
- "#{gemspec.name}-#{gemspec.version}#{ENV['GEM_PLATFORM'] == 'java' ? '-java' : ''}.gem"
10
- end
11
-
12
- desc "Build the gem"
13
- task :gem=>:gemspec do
14
- sh "gem build .gemspec"
15
- FileUtils.mkdir_p 'pkg'
16
- FileUtils.mv gem_file, 'pkg'
17
- end
18
-
19
- desc "Build gems for the default and java platforms"
20
- task :all_gems => :gem do
21
- ENV['GEM_PLATFORM'] = 'java'
22
- @gemspec = nil
23
- Rake::Task["gem"].reenable
24
- Rake::Task["gem"].invoke
25
- end
26
-
27
- desc "Install the gem locally"
28
- task :install => :gem do
29
- sh %{gem install pkg/#{gem_file}}
30
- end
31
-
32
- desc "Generate the gemspec"
33
- task :generate do
34
- puts gemspec.to_ruby
35
- end
36
-
37
- desc "Validate the gemspec"
38
- task :gemspec do
39
- gemspec.validate
40
- end
41
-
42
- desc 'Run tests'
43
- task :test do |t|
44
- sh 'bacon -q -Ilib -I. test/*_test.rb'
45
- end
46
-
47
- task :default => :test
@@ -1,24 +0,0 @@
1
- /* readline.c -- GNU Readline module
2
- Copyright (C) 1997-2001 Shugo Maeda */
3
- /* body of line_buffer() from irb enhancements at http://www.creo.hu/~csaba/ruby/ */
4
-
5
- #ifdef HAVE_READLINE_READLINE_H
6
- #include "ruby.h"
7
- #include <errno.h>
8
- #include <stdio.h>
9
- #include <readline/readline.h>
10
-
11
- static VALUE line_buffer(VALUE self)
12
- {
13
- rb_secure(4);
14
- if (rl_line_buffer == NULL)
15
- return Qnil;
16
- return rb_tainted_str_new2(rl_line_buffer);
17
- }
18
-
19
- void Init_readline_line_buffer() {
20
- VALUE c = rb_cObject;
21
- c = rb_const_get(c, rb_intern("Readline"));
22
- rb_define_singleton_method(c, "line_buffer", (VALUE(*)(ANYARGS))line_buffer, -1);
23
- }
24
- #endif
@@ -1,35 +0,0 @@
1
- $:.unshift File.dirname(__FILE__) unless $:.include? '.'
2
-
3
- ROOT = '.'
4
- LIB_ROOT = File.join ROOT, 'lib'
5
-
6
- task :default => :test
7
-
8
- if File.directory? 'rake_tasks'
9
-
10
- # load rake tasks from subfolder
11
- for task_file in Dir['rake_tasks/*.rake'].sort
12
- load task_file
13
- end
14
-
15
- else
16
-
17
- # fallback tasks when rake_tasks folder is not present (eg. in the distribution package)
18
- desc 'Run CodeRay tests (basic)'
19
- task :test do
20
- ruby './test/functional/suite.rb'
21
- ruby './test/functional/for_redcloth.rb'
22
- end
23
-
24
- gem 'rdoc' if defined? gem
25
- require 'rdoc/task'
26
- desc 'Generate documentation for CodeRay'
27
- Rake::RDocTask.new :doc do |rd|
28
- rd.title = 'CodeRay Documentation'
29
- rd.main = 'README_INDEX.rdoc'
30
- rd.rdoc_files.add Dir['lib']
31
- rd.rdoc_files.add rd.main
32
- rd.rdoc_dir = 'doc'
33
- end
34
-
35
- end
@@ -1,93 +0,0 @@
1
- #!/usr/bin/env rake
2
- # -*- Ruby -*-
3
- require 'rubygems'
4
- require 'rake/gempackagetask'
5
- require 'rake/rdoctask'
6
- require 'rake/testtask'
7
- require 'fileutils'
8
-
9
- ROOT_DIR = File.dirname(__FILE__)
10
- require File.join(ROOT_DIR, '/lib/columnize/version')
11
-
12
- def gemspec
13
- @gemspec ||= eval(File.read('columnize.gemspec'),
14
- binding, 'columnize.gemspec')
15
- end
16
-
17
- desc "Build the gem"
18
- task :package=>:gem
19
- task :gem=>:gemspec do
20
- Dir.chdir(ROOT_DIR) do
21
- sh "gem build columnize.gemspec"
22
- FileUtils.mkdir_p 'pkg'
23
- FileUtils.mv "#{gemspec.name}-#{gemspec.version}.gem", 'pkg'
24
- end
25
- end
26
-
27
- desc "Install the gem locally"
28
- task :install => :gem do
29
- Dir.chdir(ROOT_DIR) do
30
- sh %{gem install --local pkg/#{gemspec.name}-#{gemspec.version}}
31
- end
32
- end
33
-
34
- desc "Test everything."
35
- Rake::TestTask.new(:test) do |t|
36
- t.libs << './lib'
37
- t.pattern = 'test/test-*.rb'
38
- t.verbose = true
39
- end
40
- task :test => :lib
41
-
42
- desc "same as test"
43
- task :check => :test
44
-
45
- desc 'Create a GNU-style ChangeLog via git2cl'
46
- task :ChangeLog do
47
- system('git log --pretty --numstat --summary | git2cl > ChangeLog')
48
- end
49
-
50
- task :default => [:test]
51
-
52
- task :clobber_rdoc do
53
- FileUtils.rm_rf File.join(ROOT_DIR, 'doc')
54
- end
55
-
56
- task :rm_patch_residue do
57
- FileUtils.rm_rf FileList['**/*.{rej,orig}'].to_a
58
- end
59
-
60
- desc "Remove built files"
61
- task :clean => [:clobber_package, :clobber_rdoc, :rm_patch_residue]
62
-
63
- desc "Generate the gemspec"
64
- task :generate do
65
- puts gemspec.to_ruby
66
- end
67
-
68
- desc "Validate the gemspec"
69
- task :gemspec do
70
- gemspec.validate
71
- end
72
-
73
- # --------- RDoc Documentation ------
74
- desc "Generate rdoc documentation"
75
- Rake::RDocTask.new("rdoc") do |rdoc|
76
- rdoc.rdoc_dir = 'doc'
77
- rdoc.title = "Columnize #{Columnize::VERSION} Documentation"
78
-
79
- # Make the README file the start page for the generated html
80
- rdoc.options += %w(--main README.md)
81
-
82
- rdoc.rdoc_files.include('lib/*.rb', 'README.md', 'COPYING')
83
- end
84
- desc "Same as rdoc"
85
- task :doc => :rdoc
86
-
87
- task :clobber_package do
88
- FileUtils.rm_rf File.join(ROOT_DIR, 'pkg')
89
- end
90
-
91
- task :clobber_rdoc do
92
- FileUtils.rm_rf File.join(ROOT_DIR, 'doc')
93
- end
@@ -1,130 +0,0 @@
1
- # -*- Ruby -*-
2
- require 'rubygems/package_task'
3
- require 'rake/testtask'
4
- require 'rake/extensiontask'
5
-
6
- Rake::ExtensionTask.new('ruby_debug')
7
-
8
- SO_NAME = "ruby_debug.so"
9
-
10
- COMMON_FILES = FileList[
11
- 'AUTHORS',
12
- 'CHANGES',
13
- 'LICENSE',
14
- 'README',
15
- 'Rakefile',
16
- ]
17
-
18
- CLI_TEST_FILE_LIST = FileList['test/lib/commands/unit/*.rb',
19
- 'test/lib/commands/*_test.rb',
20
- 'test/lib/**/*_test.rb',
21
- 'test/test-remote.rb']
22
- # disabled until requires fixed and tests pass
23
- # 'test/test-*.rb']
24
- CLI_FILES = COMMON_FILES + FileList[
25
- "lib/**/*",
26
- 'ChangeLog',
27
- 'bin/*',
28
- 'doc/rdebug.1',
29
- 'test/**/data/*.cmd',
30
- 'test/**/data/*.right',
31
- 'test/**/*.rb',
32
- 'rdbg.rb',
33
- CLI_TEST_FILE_LIST
34
- ]
35
-
36
- BASE_TEST_FILE_LIST = %w(
37
- test/base/base.rb
38
- test/base/binding.rb
39
- test/base/catchpoint.rb)
40
- BASE_FILES = COMMON_FILES + FileList[
41
- 'ext/ruby_debug/breakpoint.c',
42
- 'ext/ruby_debug/extconf.rb',
43
- 'ext/ruby_debug/ruby_debug.c',
44
- 'ext/ruby_debug/ruby_debug.h',
45
- 'ext/win32/*',
46
- 'lib/**/*',
47
- BASE_TEST_FILE_LIST,
48
- ]
49
-
50
- desc "Test everything."
51
- task :test => :test_base do
52
- Rake::TestTask.new(:test) do |t|
53
- t.libs << './ext'
54
- t.libs << './lib'
55
- t.test_files = CLI_TEST_FILE_LIST
56
- t.verbose = true
57
- end
58
- end
59
-
60
- desc "Test ruby-debug-base."
61
- task :test_base => :lib do
62
- Rake::TestTask.new(:test_base) do |t|
63
- t.libs << './ext'
64
- t.libs << './lib'
65
- t.test_files = FileList[BASE_TEST_FILE_LIST]
66
- t.verbose = true
67
- end
68
- end
69
-
70
- desc "Test everything - same as test."
71
- task :check => :test
72
-
73
- desc "Create the core ruby-debug shared library extension"
74
- task :lib do
75
- Dir.chdir("ext") do
76
- system("#{Gem.ruby} extconf.rb && make")
77
- end
78
- end
79
-
80
- desc "Compile Emacs code"
81
- task :emacs => "emacs/rdebug.elc"
82
- file "emacs/rdebug.elc" => ["emacs/elisp-comp", "emacs/rdebug.el"] do
83
- Dir.chdir("emacs") do
84
- system("./elisp-comp ./rdebug.el")
85
- end
86
- end
87
-
88
- base_spec = eval(File.read('debugger.gemspec'), binding, 'debugger.gemspec')
89
- # Rake task to build the default package
90
- Gem::PackageTask.new(base_spec) do |pkg|
91
- pkg.need_tar = true
92
- end
93
-
94
- # Windows specification
95
- win_spec = base_spec.clone
96
- win_spec.extensions = []
97
- ## win_spec.platform = Gem::Platform::WIN32 # deprecated
98
- win_spec.platform = 'mswin32'
99
- win_spec.files += ["lib/#{SO_NAME}"]
100
-
101
- desc "Create Windows Gem"
102
- task :win32_gem do
103
- # Copy the win32 extension the top level directory
104
- current_dir = File.expand_path(File.dirname(__FILE__))
105
- source = File.join(current_dir, "ext", "win32", SO_NAME)
106
- target = File.join(current_dir, "lib", SO_NAME)
107
- cp(source, target)
108
-
109
- # Create the gem, then move it to pkg.
110
- Gem::Builder.new(win_spec).build
111
- gem_file = "#{win_spec.name}-#{win_spec.version}-#{win_spec.platform}.gem"
112
- mv(gem_file, "pkg/#{gem_file}")
113
-
114
- # Remove win extension from top level directory.
115
- rm(target)
116
- end
117
-
118
- desc "Remove built files"
119
- task :clean do
120
- cd "ext" do
121
- if File.exists?("Makefile")
122
- sh "make clean"
123
- rm "Makefile"
124
- end
125
- derived_files = Dir.glob(".o") + Dir.glob("*.so")
126
- rm derived_files unless derived_files.empty?
127
- end
128
- end
129
-
130
- task :default => :test
@@ -1,586 +0,0 @@
1
- #include <ruby.h>
2
- #include <stdio.h>
3
- #include <vm_core.h>
4
- #include <iseq.h>
5
- #include "ruby_debug.h"
6
-
7
- VALUE rdebug_breakpoints = Qnil;
8
- VALUE rdebug_catchpoints;
9
-
10
- static VALUE cBreakpoint;
11
- static ID idEval;
12
-
13
- static VALUE
14
- eval_expression(VALUE args)
15
- {
16
- return rb_funcall2(rb_mKernel, idEval, 2, RARRAY_PTR(args));
17
- }
18
-
19
- int
20
- check_breakpoint_hit_condition(VALUE breakpoint)
21
- {
22
- debug_breakpoint_t *debug_breakpoint;
23
-
24
- if(breakpoint == Qnil)
25
- return 0;
26
- Data_Get_Struct(breakpoint, debug_breakpoint_t, debug_breakpoint);
27
-
28
- debug_breakpoint->hit_count++;
29
- if (!Qtrue == debug_breakpoint->enabled) return 0;
30
- switch(debug_breakpoint->hit_condition)
31
- {
32
- case HIT_COND_NONE:
33
- return 1;
34
- case HIT_COND_GE:
35
- {
36
- if(debug_breakpoint->hit_count >= debug_breakpoint->hit_value)
37
- return 1;
38
- break;
39
- }
40
- case HIT_COND_EQ:
41
- {
42
- if(debug_breakpoint->hit_count == debug_breakpoint->hit_value)
43
- return 1;
44
- break;
45
- }
46
- case HIT_COND_MOD:
47
- {
48
- if(debug_breakpoint->hit_count % debug_breakpoint->hit_value == 0)
49
- return 1;
50
- break;
51
- }
52
- }
53
- return 0;
54
- }
55
-
56
- static int
57
- check_breakpoint_by_pos(VALUE breakpoint, char *file, int line)
58
- {
59
- debug_breakpoint_t *debug_breakpoint;
60
-
61
- if(breakpoint == Qnil)
62
- return 0;
63
- Data_Get_Struct(breakpoint, debug_breakpoint_t, debug_breakpoint);
64
- if (!Qtrue == debug_breakpoint->enabled) return 0;
65
- if(debug_breakpoint->type != BP_POS_TYPE)
66
- return 0;
67
- if(debug_breakpoint->pos.line != line)
68
- return 0;
69
- if(filename_cmp(debug_breakpoint->source, file))
70
- return 1;
71
- return 0;
72
- }
73
-
74
- int
75
- check_breakpoint_by_method(VALUE breakpoint, VALUE klass, ID mid, VALUE self)
76
- {
77
- debug_breakpoint_t *debug_breakpoint;
78
-
79
- if(breakpoint == Qnil)
80
- return 0;
81
- Data_Get_Struct(breakpoint, debug_breakpoint_t, debug_breakpoint);
82
- if (!Qtrue == debug_breakpoint->enabled) return 0;
83
- if(debug_breakpoint->type != BP_METHOD_TYPE)
84
- return 0;
85
- if(debug_breakpoint->pos.mid != mid)
86
- return 0;
87
- if(classname_cmp(debug_breakpoint->source, klass))
88
- return 1;
89
- if ((rb_type(self) == T_CLASS) &&
90
- classname_cmp(debug_breakpoint->source, self))
91
- return 1;
92
- return 0;
93
- }
94
-
95
- VALUE
96
- check_breakpoints_by_pos(debug_context_t *debug_context, char *file, int line)
97
- {
98
- VALUE breakpoint;
99
- int i;
100
-
101
- if(!CTX_FL_TEST(debug_context, CTX_FL_ENABLE_BKPT))
102
- return Qnil;
103
-
104
- if(check_breakpoint_by_pos(debug_context->breakpoint, file, line))
105
- return debug_context->breakpoint;
106
-
107
- if(RARRAY_LEN(rdebug_breakpoints) == 0)
108
- return Qnil;
109
- for(i = 0; i < RARRAY_LEN(rdebug_breakpoints); i++)
110
- {
111
- breakpoint = rb_ary_entry(rdebug_breakpoints, i);
112
- if(check_breakpoint_by_pos(breakpoint, file, line))
113
- return breakpoint;
114
- }
115
- return Qnil;
116
- }
117
-
118
- VALUE
119
- check_breakpoints_by_method(debug_context_t *debug_context, VALUE klass, ID mid, VALUE self)
120
- {
121
- VALUE breakpoint;
122
- int i;
123
-
124
- if(!CTX_FL_TEST(debug_context, CTX_FL_ENABLE_BKPT))
125
- return Qnil;
126
-
127
- if(check_breakpoint_by_method(debug_context->breakpoint, klass, mid, self))
128
- return debug_context->breakpoint;
129
-
130
- if(RARRAY_LEN(rdebug_breakpoints) == 0)
131
- return Qnil;
132
- for(i = 0; i < RARRAY_LEN(rdebug_breakpoints); i++)
133
- {
134
- breakpoint = rb_ary_entry(rdebug_breakpoints, i);
135
- if(check_breakpoint_by_method(breakpoint, klass, mid, self))
136
- return breakpoint;
137
- }
138
- return Qnil;
139
- }
140
-
141
- int
142
- check_breakpoint_expression(VALUE breakpoint, VALUE binding)
143
- {
144
- debug_breakpoint_t *debug_breakpoint;
145
- VALUE args, expr_result;
146
-
147
- Data_Get_Struct(breakpoint, debug_breakpoint_t, debug_breakpoint);
148
- if(NIL_P(debug_breakpoint->expr))
149
- return 1;
150
-
151
- args = rb_ary_new3(2, debug_breakpoint->expr, binding);
152
- expr_result = rb_protect(eval_expression, args, 0);
153
- return RTEST(expr_result);
154
- }
155
-
156
- static void
157
- breakpoint_mark(void *data)
158
- {
159
- debug_breakpoint_t *breakpoint;
160
- breakpoint = (debug_breakpoint_t *)data;
161
- rb_gc_mark(breakpoint->source);
162
- rb_gc_mark(breakpoint->expr);
163
- }
164
-
165
- VALUE
166
- create_breakpoint_from_args(int argc, VALUE *argv, int id)
167
- {
168
- VALUE source, pos, expr;
169
- debug_breakpoint_t *breakpoint;
170
- int type;
171
-
172
- if(rb_scan_args(argc, argv, "21", &source, &pos, &expr) == 2)
173
- {
174
- expr = Qnil;
175
- }
176
- type = FIXNUM_P(pos) ? BP_POS_TYPE : BP_METHOD_TYPE;
177
- if(type == BP_POS_TYPE)
178
- source = StringValue(source);
179
- else
180
- pos = StringValue(pos);
181
- breakpoint = ALLOC(debug_breakpoint_t);
182
- breakpoint->id = id;
183
- breakpoint->source = source;
184
- breakpoint->type = type;
185
- if(type == BP_POS_TYPE)
186
- breakpoint->pos.line = FIX2INT(pos);
187
- else
188
- breakpoint->pos.mid = rb_intern(RSTRING_PTR(pos));
189
- breakpoint->enabled = Qtrue;
190
- breakpoint->expr = NIL_P(expr) ? expr: StringValue(expr);
191
- breakpoint->hit_count = 0;
192
- breakpoint->hit_value = 0;
193
- breakpoint->hit_condition = HIT_COND_NONE;
194
- return Data_Wrap_Struct(cBreakpoint, breakpoint_mark, xfree, breakpoint);
195
- }
196
-
197
- /*
198
- * call-seq:
199
- * Debugger.remove_breakpoint(id) -> breakpoint
200
- *
201
- * Removes breakpoint by its id.
202
- * <i>id</i> is an identificator of a breakpoint.
203
- */
204
- VALUE
205
- rdebug_remove_breakpoint(VALUE self, VALUE id_value)
206
- {
207
- int i;
208
- int id;
209
- VALUE breakpoint;
210
- debug_breakpoint_t *debug_breakpoint;
211
-
212
- id = FIX2INT(id_value);
213
-
214
- for( i = 0; i < RARRAY_LEN(rdebug_breakpoints); i += 1 )
215
- {
216
- breakpoint = rb_ary_entry(rdebug_breakpoints, i);
217
- Data_Get_Struct(breakpoint, debug_breakpoint_t, debug_breakpoint);
218
- if(debug_breakpoint->id == id)
219
- {
220
- rb_ary_delete_at(rdebug_breakpoints, i);
221
- return breakpoint;
222
- }
223
- }
224
- return Qnil;
225
- }
226
-
227
- /*
228
- * call-seq:
229
- * Debugger.catchpoints -> hash
230
- *
231
- * Returns a current catchpoints, which is a hash exception names that will
232
- * trigger a debugger when raised. The values are the number of times taht
233
- * catchpoint was hit, initially 0.
234
- */
235
- VALUE
236
- debug_catchpoints(VALUE self)
237
- {
238
- debug_check_started();
239
-
240
- return rdebug_catchpoints;
241
- }
242
-
243
- /*
244
- * call-seq:
245
- * Debugger.catchpoint(string) -> string
246
- *
247
- * Sets catchpoint. Returns the string passed.
248
- */
249
- VALUE
250
- rdebug_add_catchpoint(VALUE self, VALUE value)
251
- {
252
- debug_check_started();
253
-
254
- if (TYPE(value) != T_STRING) {
255
- rb_raise(rb_eTypeError, "value of a catchpoint must be String");
256
- }
257
- rb_hash_aset(rdebug_catchpoints, rb_str_dup(value), INT2FIX(0));
258
- return value;
259
- }
260
-
261
- /*
262
- * call-seq:
263
- * context.breakpoint -> breakpoint
264
- *
265
- * Returns a context-specific temporary Breakpoint object.
266
- */
267
- VALUE
268
- context_breakpoint(VALUE self)
269
- {
270
- debug_context_t *debug_context;
271
-
272
- debug_check_started();
273
-
274
- Data_Get_Struct(self, debug_context_t, debug_context);
275
- return debug_context->breakpoint;
276
- }
277
-
278
- /*
279
- * call-seq:
280
- * context.set_breakpoint(source, pos, condition = nil) -> breakpoint
281
- *
282
- * Sets a context-specific temporary breakpoint, which can be used to implement
283
- * 'Run to Cursor' debugger function. When this breakpoint is reached, it will be
284
- * cleared out.
285
- *
286
- * <i>source</i> is a name of a file or a class.
287
- * <i>pos</i> is a line number or a method name if <i>source</i> is a class name.
288
- * <i>condition</i> is a string which is evaluated to +true+ when this breakpoint
289
- * is activated.
290
- */
291
- VALUE
292
- context_set_breakpoint(int argc, VALUE *argv, VALUE self)
293
- {
294
- VALUE result;
295
- debug_context_t *debug_context;
296
-
297
- debug_check_started();
298
-
299
- Data_Get_Struct(self, debug_context_t, debug_context);
300
- result = create_breakpoint_from_args(argc, argv, 0);
301
- debug_context->breakpoint = result;
302
- return result;
303
- }
304
-
305
- /*
306
- * call-seq:
307
- * breakpoint.enabled?
308
- *
309
- * Returns whether breakpoint is enabled or not.
310
- */
311
- static VALUE
312
- breakpoint_enabled(VALUE self)
313
- {
314
- debug_breakpoint_t *breakpoint;
315
-
316
- Data_Get_Struct(self, debug_breakpoint_t, breakpoint);
317
- return breakpoint->enabled;
318
- }
319
-
320
- /*
321
- * call-seq:
322
- * breakpoint.enabled = bool
323
- *
324
- * Enables or disables breakpoint.
325
- */
326
- static VALUE
327
- breakpoint_set_enabled(VALUE self, VALUE bool)
328
- {
329
- debug_breakpoint_t *breakpoint;
330
-
331
- Data_Get_Struct(self, debug_breakpoint_t, breakpoint);
332
- return breakpoint->enabled = bool;
333
- }
334
-
335
- /*
336
- * call-seq:
337
- * breakpoint.source -> string
338
- *
339
- * Returns a source of the breakpoint.
340
- */
341
- static VALUE
342
- breakpoint_source(VALUE self)
343
- {
344
- debug_breakpoint_t *breakpoint;
345
-
346
- Data_Get_Struct(self, debug_breakpoint_t, breakpoint);
347
- return breakpoint->source;
348
- }
349
-
350
- /*
351
- * call-seq:
352
- * breakpoint.source = string
353
- *
354
- * Sets the source of the breakpoint.
355
- */
356
- static VALUE
357
- breakpoint_set_source(VALUE self, VALUE value)
358
- {
359
- debug_breakpoint_t *breakpoint;
360
-
361
- Data_Get_Struct(self, debug_breakpoint_t, breakpoint);
362
- breakpoint->source = StringValue(value);
363
- return value;
364
- }
365
-
366
- /*
367
- * call-seq:
368
- * breakpoint.pos -> string or int
369
- *
370
- * Returns the position of this breakpoint.
371
- */
372
- static VALUE
373
- breakpoint_pos(VALUE self)
374
- {
375
- debug_breakpoint_t *breakpoint;
376
-
377
- Data_Get_Struct(self, debug_breakpoint_t, breakpoint);
378
- if(breakpoint->type == BP_METHOD_TYPE)
379
- return rb_str_new2(rb_id2name(breakpoint->pos.mid));
380
- else
381
- return INT2FIX(breakpoint->pos.line);
382
- }
383
-
384
- /*
385
- * call-seq:
386
- * breakpoint.pos = string or int
387
- *
388
- * Sets the position of this breakpoint.
389
- */
390
- static VALUE
391
- breakpoint_set_pos(VALUE self, VALUE value)
392
- {
393
- debug_breakpoint_t *breakpoint;
394
-
395
- Data_Get_Struct(self, debug_breakpoint_t, breakpoint);
396
- if(breakpoint->type == BP_METHOD_TYPE)
397
- {
398
- breakpoint->pos.mid = rb_to_id(StringValue(value));
399
- }
400
- else
401
- breakpoint->pos.line = FIX2INT(value);
402
- return value;
403
- }
404
-
405
- /*
406
- * call-seq:
407
- * breakpoint.expr -> string
408
- *
409
- * Returns a codition expression when this breakpoint should be activated.
410
- */
411
- static VALUE
412
- breakpoint_expr(VALUE self)
413
- {
414
- debug_breakpoint_t *breakpoint;
415
-
416
- Data_Get_Struct(self, debug_breakpoint_t, breakpoint);
417
- return breakpoint->expr;
418
- }
419
-
420
- /*
421
- * call-seq:
422
- * breakpoint.expr = string | nil
423
- *
424
- * Sets the codition expression when this breakpoint should be activated.
425
- */
426
- static VALUE
427
- breakpoint_set_expr(VALUE self, VALUE expr)
428
- {
429
- debug_breakpoint_t *breakpoint;
430
-
431
- Data_Get_Struct(self, debug_breakpoint_t, breakpoint);
432
- breakpoint->expr = NIL_P(expr) ? expr: StringValue(expr);
433
- return expr;
434
- }
435
-
436
- /*
437
- * call-seq:
438
- * breakpoint.id -> int
439
- *
440
- * Returns id of the breakpoint.
441
- */
442
- static VALUE
443
- breakpoint_id(VALUE self)
444
- {
445
- debug_breakpoint_t *breakpoint;
446
-
447
- Data_Get_Struct(self, debug_breakpoint_t, breakpoint);
448
- return INT2FIX(breakpoint->id);
449
- }
450
-
451
- /*
452
- * call-seq:
453
- * breakpoint.hit_count -> int
454
- *
455
- * Returns the hit count of the breakpoint.
456
- */
457
- static VALUE
458
- breakpoint_hit_count(VALUE self)
459
- {
460
- debug_breakpoint_t *breakpoint;
461
-
462
- Data_Get_Struct(self, debug_breakpoint_t, breakpoint);
463
- return INT2FIX(breakpoint->hit_count);
464
- }
465
-
466
- /*
467
- * call-seq:
468
- * breakpoint.hit_value -> int
469
- *
470
- * Returns the hit value of the breakpoint.
471
- */
472
- static VALUE
473
- breakpoint_hit_value(VALUE self)
474
- {
475
- debug_breakpoint_t *breakpoint;
476
-
477
- Data_Get_Struct(self, debug_breakpoint_t, breakpoint);
478
- return INT2FIX(breakpoint->hit_value);
479
- }
480
-
481
- /*
482
- * call-seq:
483
- * breakpoint.hit_value = int
484
- *
485
- * Sets the hit value of the breakpoint.
486
- */
487
- static VALUE
488
- breakpoint_set_hit_value(VALUE self, VALUE value)
489
- {
490
- debug_breakpoint_t *breakpoint;
491
-
492
- Data_Get_Struct(self, debug_breakpoint_t, breakpoint);
493
- breakpoint->hit_value = FIX2INT(value);
494
- return value;
495
- }
496
-
497
- /*
498
- * call-seq:
499
- * breakpoint.hit_condition -> symbol
500
- *
501
- * Returns the hit condition of the breakpoint:
502
- *
503
- * +nil+ if it is an unconditional breakpoint, or
504
- * :greater_or_equal, :equal, :modulo
505
- */
506
- static VALUE
507
- breakpoint_hit_condition(VALUE self)
508
- {
509
- debug_breakpoint_t *breakpoint;
510
-
511
- Data_Get_Struct(self, debug_breakpoint_t, breakpoint);
512
- switch(breakpoint->hit_condition)
513
- {
514
- case HIT_COND_GE:
515
- return ID2SYM(rb_intern("greater_or_equal"));
516
- case HIT_COND_EQ:
517
- return ID2SYM(rb_intern("equal"));
518
- case HIT_COND_MOD:
519
- return ID2SYM(rb_intern("modulo"));
520
- case HIT_COND_NONE:
521
- default:
522
- return Qnil;
523
- }
524
- }
525
-
526
- /*
527
- * call-seq:
528
- * breakpoint.hit_condition = symbol
529
- *
530
- * Sets the hit condition of the breakpoint which must be one of the following values:
531
- *
532
- * +nil+ if it is an unconditional breakpoint, or
533
- * :greater_or_equal(:ge), :equal(:eq), :modulo(:mod)
534
- */
535
- static VALUE
536
- breakpoint_set_hit_condition(VALUE self, VALUE value)
537
- {
538
- debug_breakpoint_t *breakpoint;
539
- ID id_value;
540
-
541
- Data_Get_Struct(self, debug_breakpoint_t, breakpoint);
542
- id_value = rb_to_id(value);
543
-
544
- if(rb_intern("greater_or_equal") == id_value || rb_intern("ge") == id_value)
545
- breakpoint->hit_condition = HIT_COND_GE;
546
- else if(rb_intern("equal") == id_value || rb_intern("eq") == id_value)
547
- breakpoint->hit_condition = HIT_COND_EQ;
548
- else if(rb_intern("modulo") == id_value || rb_intern("mod") == id_value)
549
- breakpoint->hit_condition = HIT_COND_MOD;
550
- else
551
- rb_raise(rb_eArgError, "Invalid condition parameter");
552
- return value;
553
- }
554
-
555
- /*
556
- * Document-class: Breakpoint
557
- *
558
- * == Summary
559
- *
560
- * This class represents a breakpoint. It defines position of the breakpoint and
561
- * condition when this breakpoint should be triggered.
562
- */
563
- void
564
- Init_breakpoint()
565
- {
566
- cBreakpoint = rb_define_class_under(mDebugger, "Breakpoint", rb_cObject);
567
- rb_define_method(cBreakpoint, "enabled=", breakpoint_set_enabled, 1);
568
- rb_define_method(cBreakpoint, "enabled?", breakpoint_enabled, 0);
569
- rb_define_method(cBreakpoint, "expr", breakpoint_expr, 0);
570
- rb_define_method(cBreakpoint, "expr=", breakpoint_set_expr, 1);
571
- rb_define_method(cBreakpoint, "hit_condition", breakpoint_hit_condition, 0);
572
- rb_define_method(cBreakpoint, "hit_condition=", breakpoint_set_hit_condition, 1);
573
- rb_define_method(cBreakpoint, "hit_count", breakpoint_hit_count, 0);
574
- rb_define_method(cBreakpoint, "hit_value", breakpoint_hit_value, 0);
575
- rb_define_method(cBreakpoint, "hit_value=", breakpoint_set_hit_value, 1);
576
- rb_define_method(cBreakpoint, "id", breakpoint_id, 0);
577
- rb_define_method(cBreakpoint, "pos", breakpoint_pos, 0);
578
- rb_define_method(cBreakpoint, "pos=", breakpoint_set_pos, 1);
579
- rb_define_method(cBreakpoint, "source", breakpoint_source, 0);
580
- rb_define_method(cBreakpoint, "source=", breakpoint_set_source, 1);
581
- idEval = rb_intern("eval");
582
- rdebug_catchpoints = rb_hash_new();
583
-
584
- }
585
-
586
-