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
data/lib/rake/builder.rb CHANGED
@@ -165,6 +165,10 @@ module Rake
165
165
  # Each instance has its own logger
166
166
  attr_accessor :logger
167
167
 
168
+ # Command line parameters to pass to the target when it is executed
169
+ # with the `run` task. Default: []
170
+ attr_accessor :target_parameters
171
+
168
172
  # All Rake::Builder instances that get defined
169
173
  # This allows us to create scripts for configure
170
174
  @instances = []
@@ -215,11 +219,14 @@ module Rake
215
219
  old_dir = Dir.pwd
216
220
  Dir.chdir rakefile_path
217
221
  command = File.join('.', target)
222
+ if target_parameters.size > 0
223
+ command << " " << target_parameters.join(" ")
224
+ end
218
225
  begin
219
226
  output, error = shell(command, ::Logger::INFO)
220
227
  $stdout.print output
221
228
  $stderr.print error
222
- raise Exception.new("Running #{command} failed with status #{$?.exitstatus}") if not $?.success?
229
+ raise Exception.new("Running #{command} failed with status #{$?.exitstatus}") if ! $?.success?
223
230
  ensure
224
231
  Dir.chdir old_dir
225
232
  end
@@ -327,12 +334,8 @@ module Rake
327
334
  File.basename(@target)
328
335
  end
329
336
 
330
- def primary_name
331
- Rake::Path.relative_path(target, rakefile_path, :initial_dot_slash => false)
332
- end
333
-
334
337
  def label
335
- primary_name.gsub(%r(\.), '_')
338
+ target.gsub(%r(\.), '_')
336
339
  end
337
340
 
338
341
  # Source files found in source_search_paths
@@ -411,6 +414,7 @@ module Rake
411
414
  @compilation_options = []
412
415
  @include_paths = ['./include']
413
416
  @installable_headers ||= []
417
+ @target_parameters = []
414
418
  end
415
419
 
416
420
  def configure
@@ -520,7 +524,6 @@ module Rake
520
524
 
521
525
  def project_headers
522
526
  @installable_headers.reduce([]) do |memo, search|
523
- non_glob_search = (search.match(/^([^\*\?]*)/))[1]
524
527
  case
525
528
  when search.start_with?('/'), search.start_with?('..')
526
529
  # Skip paths that are not inside the project
@@ -530,11 +533,13 @@ module Rake
530
533
  FileList[search + '/*.' + @header_file_extension].each do |pathname|
531
534
  memo << {:source_file => pathname, :relative_path => ''}
532
535
  end
533
- when (search =~ /[\*\?]/)
536
+ when search.match(/[\*\?]/)
537
+ non_glob_part = search[/^([^\*\?]*\/)/, 1]
538
+ base_path = File.expand_path(non_glob_part, rakefile_path)
534
539
  FileList[search].each do |pathname|
535
- full_path = Rake::Path.expand_with_root(pathname, @rakefile_path)
540
+ full_path = File.expand_path(pathname, rakefile_path)
536
541
  directory = File.dirname(full_path)
537
- relative = Rake::Path.relative_path(directory, non_glob_search)
542
+ relative = File.relative_path(base_path, directory)
538
543
  memo << {:source_file => pathname, :relative_path => relative}
539
544
  end
540
545
  else
@@ -30,6 +30,8 @@ class Rake::Builder
30
30
  end
31
31
  end
32
32
 
33
+ private
34
+
33
35
  def config
34
36
  {
35
37
  :rake_builder => {:config_file => {:version => VERSIONS[-1]}},
@@ -4,11 +4,7 @@ class Rake::Builder::BuilderCollectionTaskDefiner
4
4
  task :autoconf, [:project_title, :version] => [] do |task, args|
5
5
  raise 'No Rake::Builder projects have been defined' unless Rake::Builder.instances.size > 0
6
6
  first = Rake::Builder.instances[0]
7
- source = Rake::Path.relative_path(
8
- first.source_files[0],
9
- first.rakefile_path
10
- )
11
- Rake::Builder.create_autoconf(args.project_title, args.version, source)
7
+ Rake::Builder.create_autoconf(args.project_title, args.version, first.source_files[0])
12
8
  end
13
9
  end
14
10
  end
@@ -1,3 +1,6 @@
1
+ require 'logger'
2
+ require 'rake'
3
+
1
4
  include Rake::DSL
2
5
 
3
6
  class Rake::Builder
@@ -20,10 +23,6 @@ class Rake::Builder
20
23
  private
21
24
 
22
25
  def define
23
- once_task :environment do
24
- @builder.logger.level = Logger::DEBUG if ENV['DEBUG']
25
- end
26
-
27
26
  if @builder.target_type == :executable
28
27
  desc "Run '#{@builder.target_basename}'"
29
28
  task :run => :build do
@@ -61,6 +60,23 @@ class Rake::Builder
61
60
  define_compile_task(source, object)
62
61
  end
63
62
 
63
+ # Re-implement :clean locally for project and within namespace
64
+ # Standard :clean is a singleton
65
+ desc "Remove temporary files"
66
+ task :clean do
67
+ @builder.clean
68
+ end
69
+
70
+ desc "Install '#{@builder.target_basename}' in '#{@builder.install_path}'"
71
+ task :install, [] => [scoped_task(:build)] do
72
+ @builder.install
73
+ end
74
+
75
+ desc "Uninstall '#{@builder.target_basename}' from '#{@builder.install_path}'"
76
+ task :uninstall, [] => [] do
77
+ @builder.uninstall
78
+ end
79
+
64
80
  # TODO: Does this need to be microsecond?
65
81
  microsecond_directory @builder.objects_path
66
82
 
@@ -98,27 +114,14 @@ class Rake::Builder
98
114
  end
99
115
  end
100
116
 
101
- # Re-implement :clean locally for project and within namespace
102
- # Standard :clean is a singleton
103
- desc "Remove temporary files"
104
- task :clean do
105
- @builder.clean
106
- end
107
-
108
- desc "Install '#{@builder.target_basename}' in '#{@builder.install_path}'"
109
- task :install, [] => [scoped_task(:build)] do
110
- @builder.install
111
- end
112
-
113
- desc "Uninstall '#{@builder.target_basename}' from '#{@builder.install_path}'"
114
- task :uninstall, [] => [] do
115
- @builder.uninstall
116
- end
117
-
118
117
  desc "Create a '#{@builder.makefile_name}' to build the project"
119
118
  file "#{@builder.makefile_name}" => [@builder.makedepend_file, scoped_task(:load_makedepend)] do
120
119
  Rake::Builder::Presenters::Makefile::BuilderPresenter.new(@builder).save
121
120
  end
121
+
122
+ once_task :environment do
123
+ @builder.logger.level = ::Logger::DEBUG if ENV['DEBUG']
124
+ end
122
125
  end
123
126
 
124
127
  def define_default
@@ -2,7 +2,7 @@ module Rake
2
2
  class Builder
3
3
  module VERSION #:nodoc:
4
4
  MAJOR = 0
5
- MINOR = 8
5
+ MINOR = 9
6
6
  TINY = 0
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY].join('.')
data/lib/rake/path.rb CHANGED
@@ -1,46 +1,18 @@
1
1
  module Rake
2
2
  module Path
3
- def self.find_files( paths, extension )
4
- files = paths.reduce( [] ) do | memo, path |
3
+ def self.find_files(paths, extension)
4
+ files = paths.reduce([]) do |memo, path|
5
5
  case
6
- when File.file?( path )
7
- files = FileList[ path ]
8
- when ( path =~ /[\*\?]/ )
9
- files = FileList[ path ]
6
+ when File.file?(path)
7
+ files = FileList[path]
8
+ when path.match(/[\*\?]/)
9
+ files = FileList[path]
10
10
  else
11
- files = FileList[ path + '/*.' + extension ]
11
+ files = FileList[path + '/*.' + extension]
12
12
  end
13
13
  memo + files
14
14
  end
15
15
  end
16
-
17
- # Expand path to an absolute path relative to the supplied root
18
- def self.expand_with_root( path, root )
19
- if path =~ /^\//
20
- File.expand_path( path )
21
- else
22
- File.expand_path( root + '/' + path )
23
- end
24
- end
25
-
26
- # Expand an array of paths to absolute paths relative to the supplied root
27
- def self.expand_all_with_root( paths, root )
28
- paths.map{ |path| expand_with_root( path, root ) }
29
- end
30
-
31
- def self.relative_path( path, prefix, options = {} )
32
- return path if prefix.nil?
33
- m = path.match( /^#{ prefix }\/?/ )
34
- if ! m.nil?
35
- if options[ :initial_dot_slash ]
36
- "./#{ m.post_match }"
37
- else
38
- m.post_match
39
- end
40
- else
41
- path
42
- end
43
- end
44
16
  end
45
17
  end
46
18
 
@@ -49,5 +49,32 @@ describe Rake::Builder::LocalConfig do
49
49
  expect(subject.compilation_options).to eq(compilation_options)
50
50
  end
51
51
  end
52
+
53
+ context '#save' do
54
+ let(:file) { stub('File') }
55
+
56
+ before do
57
+ File.stub(:open).with(local_config_file, 'w') do |&block|
58
+ block.call file
59
+ end
60
+ end
61
+
62
+ it 'write to the file' do
63
+ File.should_receive(:open).with(local_config_file, 'w') {}
64
+
65
+ subject.save
66
+ end
67
+
68
+ it 'saves the data' do
69
+ expected = {
70
+ :rake_builder => {:config_file => {:version => '1.1'}},
71
+ :include_paths => [],
72
+ :compilation_options => []
73
+ }.to_yaml
74
+ file.should_receive(:write).with(expected)
75
+
76
+ subject.save
77
+ end
78
+ end
52
79
  end
53
80
 
@@ -44,6 +44,7 @@ describe Rake::Builder::BuilderTaskDefiner do
44
44
  let(:executable_target) { self.class.executable_target }
45
45
  let(:objects_path) { self.class.objects_path }
46
46
  let(:custom_prerequisite) { self.class.custom_prerequisite }
47
+ let(:logger) { stub('Logger') }
47
48
  let(:builder) do
48
49
  stub(
49
50
  'Rake::Builder',
@@ -63,6 +64,7 @@ describe Rake::Builder::BuilderTaskDefiner do
63
64
  :install_path => 'install/path',
64
65
  :makefile_name => self.class.makefile_name,
65
66
  :default_task => :build,
67
+ :logger => logger,
66
68
  )
67
69
  end
68
70
  let(:namespaced_builder) { builder.stub(:task_namespace => 'foo'); builder }
@@ -178,6 +180,63 @@ describe Rake::Builder::BuilderTaskDefiner do
178
180
  Rake::Builder::BuilderTaskDefiner.new(builder).run
179
181
  end
180
182
 
183
+ context 'run' do
184
+ it 'runs the builder' do
185
+ clear_prerequisites 'run'
186
+
187
+ builder.should_receive(:run)
188
+
189
+ Rake::Task['run'].invoke
190
+ end
191
+ end
192
+
193
+ context 'the target' do
194
+ it 'builds the target' do
195
+ clear_prerequisites executable_target
196
+
197
+ builder.should_receive(:build)
198
+
199
+ Rake::Task[executable_target].invoke
200
+ end
201
+ end
202
+
203
+ context 'clean' do
204
+ it 'cleans the build' do
205
+ builder.should_receive(:clean)
206
+
207
+ Rake::Task['clean'].invoke
208
+ end
209
+ end
210
+
211
+ context 'install' do
212
+ it 'installs the target' do
213
+ clear_prerequisites 'install'
214
+
215
+ builder.should_receive(:install)
216
+
217
+ Rake::Task['install'].invoke
218
+ end
219
+ end
220
+
221
+ context 'uninstall' do
222
+ it 'uninstalls the target' do
223
+ builder.should_receive(:uninstall)
224
+
225
+ Rake::Task['uninstall'].invoke
226
+ end
227
+ end
228
+
229
+ context 'compile file' do
230
+ it 'compiles the file' do
231
+ clear_prerequisites 'src/file1.o'
232
+
233
+ builder.should_receive(:compile).
234
+ with('src/file1.cpp', 'src/file1.o')
235
+
236
+ Rake::Task['src/file1.o'].invoke
237
+ end
238
+ end
239
+
181
240
  context 'local_config' do
182
241
  it 'creates local config' do
183
242
  builder.should_receive(:create_local_config)
@@ -251,6 +310,32 @@ describe Rake::Builder::BuilderTaskDefiner do
251
310
  expect(Rake::Task[@object_file].prerequisites).to include('include/header1.h')
252
311
  end
253
312
  end
313
+
314
+ context 'makefile' do
315
+ let(:presenter) { stub('BuilderPresenter') }
316
+
317
+ it 'creates a makefile' do
318
+ clear_prerequisites self.class.makefile_name
319
+
320
+ Rake::Builder::Presenters::Makefile::BuilderPresenter.
321
+ should_receive(:new).
322
+ with(builder).
323
+ and_return(presenter)
324
+ presenter.should_receive(:save)
325
+
326
+ Rake::Task[self.class.makefile_name].invoke
327
+ end
328
+ end
329
+
330
+ context 'environment' do
331
+ it 'sets the logger level if required' do
332
+ ENV['DEBUG'] = 'true'
333
+
334
+ logger.should_receive(:level=).with(0)
335
+
336
+ Rake::Task['environment'].invoke
337
+ end
338
+ end
254
339
  end
255
340
  end
256
341
 
@@ -5,10 +5,12 @@ describe Rake::Builder do
5
5
 
6
6
  let(:target_pathname) { File.join('foo', 'bar', 'my_prog.exe') }
7
7
  let(:source_paths) { ['src/file1.cpp'] }
8
+ let(:target_parameters) { [] }
8
9
  let(:builder) do
9
10
  Rake::Builder.new do |b|
10
11
  b.target = target_pathname
11
12
  b.library_dependencies = ['foo', 'bar']
13
+ b.target_parameters = target_parameters
12
14
  end
13
15
  end
14
16
  let(:installer) do
@@ -158,6 +160,8 @@ describe Rake::Builder do
158
160
  Dir.stub(:chdir).with(builder.rakefile_path)
159
161
  builder.stub(:system)
160
162
  Dir.stub(:chdir).with(@old_dir)
163
+ # Run a successful command, so Process:Status $? gets set to success
164
+ `ls`
161
165
  end
162
166
 
163
167
  it 'changes directory to the Rakefile path' do
@@ -176,6 +180,18 @@ describe Rake::Builder do
176
180
  end
177
181
  end
178
182
 
183
+ context 'target_parameters' do
184
+ let(:target_parameters) { %w(--ciao) }
185
+
186
+ it 'are passed as command line options to the target' do
187
+ builder.should_receive(:system).with("./#{builder.target} --ciao", anything)
188
+
189
+ capturing_output do
190
+ builder.run
191
+ end
192
+ end
193
+ end
194
+
179
195
  it 'outputs the stdout results, then the stderr results' do
180
196
  builder.stub(:system) do |command|
181
197
  $stdout.puts 'standard output'
@@ -258,12 +274,6 @@ describe Rake::Builder do
258
274
  end
259
275
  end
260
276
 
261
- context '#primary_name' do
262
- it 'returns a relative path' do
263
- expect(builder.primary_name).to eq(File.join('foo', 'bar', 'my_prog.exe'))
264
- end
265
- end
266
-
267
277
  context '#label' do
268
278
  it 'replaces dots with underscores' do
269
279
  expect(builder.label).to eq(File.join('foo', 'bar', 'my_prog_exe'))
@@ -437,6 +447,43 @@ describe Rake::Builder do
437
447
  end
438
448
  end
439
449
 
450
+ context '#create_local_config' do
451
+ let(:compiler) do
452
+ stub(
453
+ 'Compiler',
454
+ :default_include_paths => [],
455
+ :missing_headers => [],
456
+ :include_paths => [],
457
+ )
458
+ end
459
+ let(:local_config) do
460
+ stub(
461
+ 'Rake::Builder::LocalConfig',
462
+ :include_paths= => nil,
463
+ :save => nil
464
+ )
465
+ end
466
+
467
+ before do
468
+ Compiler::Base.stub(:for).with(:gcc).and_return(compiler)
469
+ Rake::Builder::LocalConfig.stub(:new).and_return(local_config)
470
+ end
471
+
472
+ it 'gets extra paths for missing headers' do
473
+ compiler.should_receive(:missing_headers).
474
+ with(['./include'], source_paths).
475
+ and_return([])
476
+
477
+ builder.create_local_config
478
+ end
479
+
480
+ it 'saves a LocalConfig' do
481
+ local_config.should_receive(:save)
482
+
483
+ builder.create_local_config
484
+ end
485
+ end
486
+
440
487
  context '#install' do
441
488
  before { Rake::Builder::Installer.stub(:new).and_return(installer) }
442
489