ruby-internal 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (310) hide show
  1. data/COPYING +59 -0
  2. data/LGPL +515 -0
  3. data/LICENSE +9 -0
  4. data/README +31 -0
  5. data/Rakefile +20 -0
  6. data/TODO +9 -0
  7. data/example/README +5 -0
  8. data/example/simple_client.rb +12 -0
  9. data/example/simple_server.rb +11 -0
  10. data/example/triangle_client.rb +7 -0
  11. data/example/triangle_server.rb +24 -0
  12. data/ext/cached/ruby-1.8.0/internal/binding/block.h +37 -0
  13. data/ext/cached/ruby-1.8.0/internal/method/method.h +19 -0
  14. data/ext/cached/ruby-1.8.0/internal/module/classpath.c +27 -0
  15. data/ext/cached/ruby-1.8.0/internal/module/classpath.h +14 -0
  16. data/ext/cached/ruby-1.8.0/internal/node/block.h +37 -0
  17. data/ext/cached/ruby-1.8.0/internal/node/global_entry.h +10 -0
  18. data/ext/cached/ruby-1.8.0/internal/node/node_type_descrip.c +155 -0
  19. data/ext/cached/ruby-1.8.0/internal/node/nodeinfo.c +5741 -0
  20. data/ext/cached/ruby-1.8.0/internal/node/nodeinfo.h +69 -0
  21. data/ext/cached/ruby-1.8.0/internal/proc/block.h +37 -0
  22. data/ext/cached/ruby-1.8.0/internal/tag/tag.h +15 -0
  23. data/ext/cached/ruby-1.8.0/internal/vm/instruction/insns_info.c +39 -0
  24. data/ext/cached/ruby-1.8.0/internal/vm/instruction/insns_info.h +21 -0
  25. data/ext/cached/ruby-1.8.0/internal/vm/iseq/insns_info.inc +12 -0
  26. data/ext/cached/ruby-1.8.1/internal/binding/block.h +31 -0
  27. data/ext/cached/ruby-1.8.1/internal/method/method.h +19 -0
  28. data/ext/cached/ruby-1.8.1/internal/module/classpath.c +27 -0
  29. data/ext/cached/ruby-1.8.1/internal/module/classpath.h +14 -0
  30. data/ext/cached/ruby-1.8.1/internal/node/block.h +31 -0
  31. data/ext/cached/ruby-1.8.1/internal/node/global_entry.h +10 -0
  32. data/ext/cached/ruby-1.8.1/internal/node/node_type_descrip.c +154 -0
  33. data/ext/cached/ruby-1.8.1/internal/node/nodeinfo.c +5733 -0
  34. data/ext/cached/ruby-1.8.1/internal/node/nodeinfo.h +69 -0
  35. data/ext/cached/ruby-1.8.1/internal/proc/block.h +31 -0
  36. data/ext/cached/ruby-1.8.1/internal/tag/tag.h +16 -0
  37. data/ext/cached/ruby-1.8.1/internal/vm/instruction/insns_info.c +39 -0
  38. data/ext/cached/ruby-1.8.1/internal/vm/instruction/insns_info.h +21 -0
  39. data/ext/cached/ruby-1.8.1/internal/vm/iseq/insns_info.inc +12 -0
  40. data/ext/cached/ruby-1.8.2/internal/binding/block.h +32 -0
  41. data/ext/cached/ruby-1.8.2/internal/method/method.h +19 -0
  42. data/ext/cached/ruby-1.8.2/internal/module/classpath.c +45 -0
  43. data/ext/cached/ruby-1.8.2/internal/module/classpath.h +17 -0
  44. data/ext/cached/ruby-1.8.2/internal/node/block.h +32 -0
  45. data/ext/cached/ruby-1.8.2/internal/node/global_entry.h +10 -0
  46. data/ext/cached/ruby-1.8.2/internal/node/node_type_descrip.c +154 -0
  47. data/ext/cached/ruby-1.8.2/internal/node/nodeinfo.c +5733 -0
  48. data/ext/cached/ruby-1.8.2/internal/node/nodeinfo.h +69 -0
  49. data/ext/cached/ruby-1.8.2/internal/proc/block.h +32 -0
  50. data/ext/cached/ruby-1.8.2/internal/tag/tag.h +16 -0
  51. data/ext/cached/ruby-1.8.2/internal/vm/instruction/insns_info.c +39 -0
  52. data/ext/cached/ruby-1.8.2/internal/vm/instruction/insns_info.h +21 -0
  53. data/ext/cached/ruby-1.8.2/internal/vm/iseq/insns_info.inc +12 -0
  54. data/ext/cached/ruby-1.8.3/internal/binding/block.h +32 -0
  55. data/ext/cached/ruby-1.8.3/internal/method/method.h +20 -0
  56. data/ext/cached/ruby-1.8.3/internal/module/classpath.c +45 -0
  57. data/ext/cached/ruby-1.8.3/internal/module/classpath.h +17 -0
  58. data/ext/cached/ruby-1.8.3/internal/node/block.h +32 -0
  59. data/ext/cached/ruby-1.8.3/internal/node/global_entry.h +10 -0
  60. data/ext/cached/ruby-1.8.3/internal/node/node_type_descrip.c +154 -0
  61. data/ext/cached/ruby-1.8.3/internal/node/nodeinfo.c +5733 -0
  62. data/ext/cached/ruby-1.8.3/internal/node/nodeinfo.h +69 -0
  63. data/ext/cached/ruby-1.8.3/internal/proc/block.h +32 -0
  64. data/ext/cached/ruby-1.8.3/internal/tag/tag.h +16 -0
  65. data/ext/cached/ruby-1.8.3/internal/vm/instruction/insns_info.c +39 -0
  66. data/ext/cached/ruby-1.8.3/internal/vm/instruction/insns_info.h +21 -0
  67. data/ext/cached/ruby-1.8.3/internal/vm/iseq/insns_info.inc +12 -0
  68. data/ext/cached/ruby-1.8.4/internal/binding/block.h +32 -0
  69. data/ext/cached/ruby-1.8.4/internal/method/method.h +20 -0
  70. data/ext/cached/ruby-1.8.4/internal/module/classpath.c +45 -0
  71. data/ext/cached/ruby-1.8.4/internal/module/classpath.h +17 -0
  72. data/ext/cached/ruby-1.8.4/internal/node/block.h +32 -0
  73. data/ext/cached/ruby-1.8.4/internal/node/global_entry.h +10 -0
  74. data/ext/cached/ruby-1.8.4/internal/node/node_type_descrip.c +154 -0
  75. data/ext/cached/ruby-1.8.4/internal/node/nodeinfo.c +5733 -0
  76. data/ext/cached/ruby-1.8.4/internal/node/nodeinfo.h +69 -0
  77. data/ext/cached/ruby-1.8.4/internal/proc/block.h +32 -0
  78. data/ext/cached/ruby-1.8.4/internal/tag/tag.h +16 -0
  79. data/ext/cached/ruby-1.8.4/internal/vm/instruction/insns_info.c +39 -0
  80. data/ext/cached/ruby-1.8.4/internal/vm/instruction/insns_info.h +21 -0
  81. data/ext/cached/ruby-1.8.4/internal/vm/iseq/insns_info.inc +12 -0
  82. data/ext/cached/ruby-1.8.5/internal/binding/block.h +32 -0
  83. data/ext/cached/ruby-1.8.5/internal/method/method.h +20 -0
  84. data/ext/cached/ruby-1.8.5/internal/module/classpath.c +45 -0
  85. data/ext/cached/ruby-1.8.5/internal/module/classpath.h +17 -0
  86. data/ext/cached/ruby-1.8.5/internal/node/block.h +32 -0
  87. data/ext/cached/ruby-1.8.5/internal/node/global_entry.h +10 -0
  88. data/ext/cached/ruby-1.8.5/internal/node/node_type_descrip.c +154 -0
  89. data/ext/cached/ruby-1.8.5/internal/node/nodeinfo.c +5732 -0
  90. data/ext/cached/ruby-1.8.5/internal/node/nodeinfo.h +67 -0
  91. data/ext/cached/ruby-1.8.5/internal/proc/block.h +32 -0
  92. data/ext/cached/ruby-1.8.5/internal/tag/tag.h +16 -0
  93. data/ext/cached/ruby-1.8.5/internal/vm/instruction/insns_info.c +39 -0
  94. data/ext/cached/ruby-1.8.5/internal/vm/instruction/insns_info.h +21 -0
  95. data/ext/cached/ruby-1.8.5/internal/vm/iseq/insns_info.inc +12 -0
  96. data/ext/cached/ruby-1.8.6/internal/binding/block.h +32 -0
  97. data/ext/cached/ruby-1.8.6/internal/method/method.h +20 -0
  98. data/ext/cached/ruby-1.8.6/internal/module/classpath.c +45 -0
  99. data/ext/cached/ruby-1.8.6/internal/module/classpath.h +17 -0
  100. data/ext/cached/ruby-1.8.6/internal/node/block.h +32 -0
  101. data/ext/cached/ruby-1.8.6/internal/node/global_entry.h +10 -0
  102. data/ext/cached/ruby-1.8.6/internal/node/node_type_descrip.c +154 -0
  103. data/ext/cached/ruby-1.8.6/internal/node/nodeinfo.c +5732 -0
  104. data/ext/cached/ruby-1.8.6/internal/node/nodeinfo.h +67 -0
  105. data/ext/cached/ruby-1.8.6/internal/proc/block.h +32 -0
  106. data/ext/cached/ruby-1.8.6/internal/tag/tag.h +16 -0
  107. data/ext/cached/ruby-1.8.6/internal/vm/instruction/insns_info.c +39 -0
  108. data/ext/cached/ruby-1.8.6/internal/vm/instruction/insns_info.h +21 -0
  109. data/ext/cached/ruby-1.8.6/internal/vm/iseq/insns_info.inc +12 -0
  110. data/ext/cached/ruby-1.8.7/internal/binding/block.h +32 -0
  111. data/ext/cached/ruby-1.8.7/internal/method/method.h +20 -0
  112. data/ext/cached/ruby-1.8.7/internal/module/classpath.c +45 -0
  113. data/ext/cached/ruby-1.8.7/internal/module/classpath.h +17 -0
  114. data/ext/cached/ruby-1.8.7/internal/node/block.h +32 -0
  115. data/ext/cached/ruby-1.8.7/internal/node/global_entry.h +10 -0
  116. data/ext/cached/ruby-1.8.7/internal/node/node_type_descrip.c +154 -0
  117. data/ext/cached/ruby-1.8.7/internal/node/nodeinfo.c +5732 -0
  118. data/ext/cached/ruby-1.8.7/internal/node/nodeinfo.h +67 -0
  119. data/ext/cached/ruby-1.8.7/internal/proc/block.h +32 -0
  120. data/ext/cached/ruby-1.8.7/internal/tag/tag.h +16 -0
  121. data/ext/cached/ruby-1.8.7/internal/vm/instruction/insns_info.c +39 -0
  122. data/ext/cached/ruby-1.8.7/internal/vm/instruction/insns_info.h +21 -0
  123. data/ext/cached/ruby-1.8.7/internal/vm/iseq/insns_info.inc +12 -0
  124. data/ext/cached/ruby-1.9.0/internal/binding/block.h +12 -0
  125. data/ext/cached/ruby-1.9.0/internal/method/method.h +20 -0
  126. data/ext/cached/ruby-1.9.0/internal/module/classpath.c +42 -0
  127. data/ext/cached/ruby-1.9.0/internal/module/classpath.h +17 -0
  128. data/ext/cached/ruby-1.9.0/internal/node/block.h +12 -0
  129. data/ext/cached/ruby-1.9.0/internal/node/global_entry.h +10 -0
  130. data/ext/cached/ruby-1.9.0/internal/node/node_type_descrip.c +149 -0
  131. data/ext/cached/ruby-1.9.0/internal/node/nodeinfo.c +5579 -0
  132. data/ext/cached/ruby-1.9.0/internal/node/nodeinfo.h +70 -0
  133. data/ext/cached/ruby-1.9.0/internal/proc/block.h +12 -0
  134. data/ext/cached/ruby-1.9.0/internal/tag/tag.h +6 -0
  135. data/ext/cached/ruby-1.9.0/internal/vm/instruction/insns_info.c +5936 -0
  136. data/ext/cached/ruby-1.9.0/internal/vm/instruction/insns_info.h +891 -0
  137. data/ext/cached/ruby-1.9.0/internal/vm/iseq/insns_info.inc +700 -0
  138. data/ext/cached/ruby-1.9.0/internal/yarv-headers/debug.h +36 -0
  139. data/ext/cached/ruby-1.9.0/internal/yarv-headers/dln.h +41 -0
  140. data/ext/cached/ruby-1.9.0/internal/yarv-headers/encdb.h +147 -0
  141. data/ext/cached/ruby-1.9.0/internal/yarv-headers/eval_intern.h +221 -0
  142. data/ext/cached/ruby-1.9.0/internal/yarv-headers/gc.h +75 -0
  143. data/ext/cached/ruby-1.9.0/internal/yarv-headers/id.h +83 -0
  144. data/ext/cached/ruby-1.9.0/internal/yarv-headers/iseq.h +94 -0
  145. data/ext/cached/ruby-1.9.0/internal/yarv-headers/node.h +516 -0
  146. data/ext/cached/ruby-1.9.0/internal/yarv-headers/parse.h +303 -0
  147. data/ext/cached/ruby-1.9.0/internal/yarv-headers/regenc.h +207 -0
  148. data/ext/cached/ruby-1.9.0/internal/yarv-headers/regint.h +842 -0
  149. data/ext/cached/ruby-1.9.0/internal/yarv-headers/regparse.h +351 -0
  150. data/ext/cached/ruby-1.9.0/internal/yarv-headers/revision.h +1 -0
  151. data/ext/cached/ruby-1.9.0/internal/yarv-headers/thread_pthread.h +24 -0
  152. data/ext/cached/ruby-1.9.0/internal/yarv-headers/thread_win32.h +33 -0
  153. data/ext/cached/ruby-1.9.0/internal/yarv-headers/transcode_data.h +99 -0
  154. data/ext/cached/ruby-1.9.0/internal/yarv-headers/transdb.h +67 -0
  155. data/ext/cached/ruby-1.9.0/internal/yarv-headers/version.h +57 -0
  156. data/ext/cached/ruby-1.9.0/internal/yarv-headers/vm_core.h +663 -0
  157. data/ext/cached/ruby-1.9.0/internal/yarv-headers/vm_exec.h +187 -0
  158. data/ext/cached/ruby-1.9.0/internal/yarv-headers/vm_insnhelper.h +191 -0
  159. data/ext/cached/ruby-1.9.0/internal/yarv-headers/vm_opts.h +51 -0
  160. data/ext/cached/ruby-1.9.1/internal/binding/block.h +12 -0
  161. data/ext/cached/ruby-1.9.1/internal/method/method.h +20 -0
  162. data/ext/cached/ruby-1.9.1/internal/module/classpath.c +42 -0
  163. data/ext/cached/ruby-1.9.1/internal/module/classpath.h +17 -0
  164. data/ext/cached/ruby-1.9.1/internal/node/block.h +12 -0
  165. data/ext/cached/ruby-1.9.1/internal/node/global_entry.h +10 -0
  166. data/ext/cached/ruby-1.9.1/internal/node/node_type_descrip.c +149 -0
  167. data/ext/cached/ruby-1.9.1/internal/node/nodeinfo.c +5579 -0
  168. data/ext/cached/ruby-1.9.1/internal/node/nodeinfo.h +70 -0
  169. data/ext/cached/ruby-1.9.1/internal/proc/block.h +12 -0
  170. data/ext/cached/ruby-1.9.1/internal/tag/tag.h +6 -0
  171. data/ext/cached/ruby-1.9.1/internal/vm/instruction/insns_info.c +5936 -0
  172. data/ext/cached/ruby-1.9.1/internal/vm/instruction/insns_info.h +891 -0
  173. data/ext/cached/ruby-1.9.1/internal/vm/iseq/insns_info.inc +700 -0
  174. data/ext/cached/ruby-1.9.1/internal/yarv-headers/debug.h +36 -0
  175. data/ext/cached/ruby-1.9.1/internal/yarv-headers/dln.h +41 -0
  176. data/ext/cached/ruby-1.9.1/internal/yarv-headers/encdb.h +147 -0
  177. data/ext/cached/ruby-1.9.1/internal/yarv-headers/eval_intern.h +209 -0
  178. data/ext/cached/ruby-1.9.1/internal/yarv-headers/gc.h +75 -0
  179. data/ext/cached/ruby-1.9.1/internal/yarv-headers/id.h +184 -0
  180. data/ext/cached/ruby-1.9.1/internal/yarv-headers/iseq.h +94 -0
  181. data/ext/cached/ruby-1.9.1/internal/yarv-headers/node.h +516 -0
  182. data/ext/cached/ruby-1.9.1/internal/yarv-headers/parse.h +303 -0
  183. data/ext/cached/ruby-1.9.1/internal/yarv-headers/regenc.h +207 -0
  184. data/ext/cached/ruby-1.9.1/internal/yarv-headers/regint.h +842 -0
  185. data/ext/cached/ruby-1.9.1/internal/yarv-headers/regparse.h +351 -0
  186. data/ext/cached/ruby-1.9.1/internal/yarv-headers/revision.h +1 -0
  187. data/ext/cached/ruby-1.9.1/internal/yarv-headers/thread_pthread.h +24 -0
  188. data/ext/cached/ruby-1.9.1/internal/yarv-headers/thread_win32.h +33 -0
  189. data/ext/cached/ruby-1.9.1/internal/yarv-headers/transcode_data.h +99 -0
  190. data/ext/cached/ruby-1.9.1/internal/yarv-headers/transdb.h +85 -0
  191. data/ext/cached/ruby-1.9.1/internal/yarv-headers/version.h +60 -0
  192. data/ext/cached/ruby-1.9.1/internal/yarv-headers/vm_core.h +655 -0
  193. data/ext/cached/ruby-1.9.1/internal/yarv-headers/vm_exec.h +187 -0
  194. data/ext/cached/ruby-1.9.1/internal/yarv-headers/vm_insnhelper.h +194 -0
  195. data/ext/cached/ruby-1.9.1/internal/yarv-headers/vm_opts.h +51 -0
  196. data/ext/internal/binding/binding.c +45 -0
  197. data/ext/internal/binding/block.h.rpp +44 -0
  198. data/ext/internal/binding/extconf.rb +6 -0
  199. data/ext/internal/method/extconf.rb +8 -0
  200. data/ext/internal/method/method.c +269 -0
  201. data/ext/internal/method/method.h.rpp +58 -0
  202. data/ext/internal/module/classpath.c.rpp +29 -0
  203. data/ext/internal/module/classpath.h.rpp +36 -0
  204. data/ext/internal/module/extconf.rb +11 -0
  205. data/ext/internal/module/module.c +797 -0
  206. data/ext/internal/module/module.h +7 -0
  207. data/ext/internal/node/block.h.rpp +44 -0
  208. data/ext/internal/node/builtins.h +41 -0
  209. data/ext/internal/node/extconf.rb +66 -0
  210. data/ext/internal/node/global_entry.h.rpp +26 -0
  211. data/ext/internal/node/node.c +1147 -0
  212. data/ext/internal/node/node_type_descrip.c.rpp +72 -0
  213. data/ext/internal/node/node_type_descrip.h +17 -0
  214. data/ext/internal/node/node_type_descrip.rb +39 -0
  215. data/ext/internal/node/nodeinfo.c.rpp +587 -0
  216. data/ext/internal/node/nodeinfo.h.rpp +30 -0
  217. data/ext/internal/node/nodes.rb +78 -0
  218. data/ext/internal/node/read_node_h.rb +34 -0
  219. data/ext/internal/node/ruby_internal_node.h +31 -0
  220. data/ext/internal/noex/extconf.rb +6 -0
  221. data/ext/internal/noex/noex.c +44 -0
  222. data/ext/internal/object/extconf.rb +4 -0
  223. data/ext/internal/object/object.c +75 -0
  224. data/ext/internal/proc/block.h.rpp +44 -0
  225. data/ext/internal/proc/extconf.rb +9 -0
  226. data/ext/internal/proc/proc.c +331 -0
  227. data/ext/internal/tag/extconf.rb +3 -0
  228. data/ext/internal/tag/tag.c +17 -0
  229. data/ext/internal/tag/tag.h.rpp +22 -0
  230. data/ext/internal/thread/extconf.rb +3 -0
  231. data/ext/internal/thread/thread.c +107 -0
  232. data/ext/internal/vm/constants/constants.c +33 -0
  233. data/ext/internal/vm/constants/extconf.rb +3 -0
  234. data/ext/internal/vm/control_frame/control_frame.c +185 -0
  235. data/ext/internal/vm/control_frame/control_frame.h +18 -0
  236. data/ext/internal/vm/control_frame/extconf.rb +3 -0
  237. data/ext/internal/vm/extconf.rb +3 -0
  238. data/ext/internal/vm/inline_cache/extconf.rb +6 -0
  239. data/ext/internal/vm/inline_cache/inline_cache.c +79 -0
  240. data/ext/internal/vm/instruction/extconf.rb +6 -0
  241. data/ext/internal/vm/instruction/insns_info.c.rpp +213 -0
  242. data/ext/internal/vm/instruction/insns_info.h.rpp +53 -0
  243. data/ext/internal/vm/instruction/instruction.c +78 -0
  244. data/ext/internal/vm/instruction/instruction.h +10 -0
  245. data/ext/internal/vm/iseq/extconf.rb +7 -0
  246. data/ext/internal/vm/iseq/insns_info.inc.rpp +30 -0
  247. data/ext/internal/vm/iseq/internal_iseq.h +9 -0
  248. data/ext/internal/vm/iseq/iseq.c +555 -0
  249. data/ext/internal/vm/vm.c +55 -0
  250. data/ext/mkmf-ruby-internal.rb +111 -0
  251. data/ext/ruby_source_dir.rb +24 -0
  252. data/ext/rubypp.rb +97 -0
  253. data/generate_rdoc.rb +33 -0
  254. data/lib/internal/binding.rb +1 -0
  255. data/lib/internal/classtree.rb +55 -0
  256. data/lib/internal/debug.rb +16 -0
  257. data/lib/internal/method.rb +1 -0
  258. data/lib/internal/method/as_code.rb +33 -0
  259. data/lib/internal/method/as_expression.rb +34 -0
  260. data/lib/internal/method/signature.rb +442 -0
  261. data/lib/internal/module.rb +1 -0
  262. data/lib/internal/module/as_code.rb +45 -0
  263. data/lib/internal/node.rb +3 -0
  264. data/lib/internal/node/as_code.rb +233 -0
  265. data/lib/internal/node/as_expression.rb +619 -0
  266. data/lib/internal/node/dump.rb +53 -0
  267. data/lib/internal/node/pp.rb +72 -0
  268. data/lib/internal/node/to_a.rb +52 -0
  269. data/lib/internal/noex.rb +1 -0
  270. data/lib/internal/obfusc.rb +57 -0
  271. data/lib/internal/object.rb +1 -0
  272. data/lib/internal/object/as_code.rb +10 -0
  273. data/lib/internal/proc.rb +1 -0
  274. data/lib/internal/proc/as_code.rb +21 -0
  275. data/lib/internal/proc/as_expression.rb +14 -0
  276. data/lib/internal/proc/signature.rb +184 -0
  277. data/lib/internal/tag.rb +1 -0
  278. data/lib/internal/thread.rb +1 -0
  279. data/lib/internal/vm.rb +1 -0
  280. data/lib/internal/vm/bytedecoder.rb +866 -0
  281. data/lib/internal/vm/constants.rb +1 -0
  282. data/lib/internal/vm/control_frame.rb +1 -0
  283. data/lib/internal/vm/inline_cache.rb +1 -0
  284. data/lib/internal/vm/instruction.rb +1 -0
  285. data/lib/internal/vm/iseq.rb +1 -0
  286. data/lib/internal/vm/iseq/as_code.rb +27 -0
  287. data/lib/internal/vm/iseq/as_expression.rb +26 -0
  288. data/metaconfig +19 -0
  289. data/post-config.rb +1 -0
  290. data/post-install.rb +4 -0
  291. data/post-setup.rb +7 -0
  292. data/pre-config.rb +96 -0
  293. data/pre-install.rb +13 -0
  294. data/pre-setup.rb +8 -0
  295. data/run_tests.rb +26 -0
  296. data/setup.rb +1599 -0
  297. data/test/expression_samples.rb +160 -0
  298. data/test/node_samples.rb +122 -0
  299. data/test/test_as_code.rb +261 -0
  300. data/test/test_as_expression.rb +229 -0
  301. data/test/test_dump_class.rb +187 -0
  302. data/test/test_dump_method.rb +144 -0
  303. data/test/test_dump_proc.rb +118 -0
  304. data/test/test_helpers.rb +61 -0
  305. data/test/test_method.rb +72 -0
  306. data/test/test_methodsig.rb +267 -0
  307. data/test/test_module.rb +49 -0
  308. data/test/test_node.rb +77 -0
  309. data/test/test_proc.rb +47 -0
  310. metadata +377 -0
@@ -0,0 +1,49 @@
1
+ require 'test/unit'
2
+ require 'rbconfig'
3
+
4
+ dir = File.dirname(__FILE__)
5
+ $:.unshift(dir) if not $:.include?(dir)
6
+ $:.unshift("#{dir}/../lib") if not $:.include?("#{dir}/../lib")
7
+ $:.unshift("#{dir}/../ext") if not $:.include?("#{dir}/../ext")
8
+
9
+ require 'internal/module'
10
+ require 'internal/method'
11
+ require 'internal/noex'
12
+
13
+ $stdout.sync = true
14
+ $stderr.sync = true
15
+
16
+ class TC_Module < Test::Unit::TestCase
17
+ module Foo
18
+ def foo(n=1)
19
+ # A fancy way to return 42
20
+ if false then
21
+ answer = 0
22
+ else
23
+ answer = 0
24
+ (1..42).each do |i|
25
+ answer += (i / i)
26
+ end
27
+ end
28
+ return n * answer
29
+ end
30
+ end
31
+
32
+ include Foo
33
+
34
+ def test_add_method
35
+ m = method(:foo)
36
+ n = m.body
37
+ klass = Class.new
38
+ klass.instance_eval do
39
+ add_method(:foo, n, Noex::PUBLIC)
40
+ end
41
+ obj = klass.new
42
+ assert_equal 42, obj.foo
43
+ end
44
+ end
45
+
46
+ if __FILE__ == $0 then
47
+ exit Test::Unit::AutoRunner.run
48
+ end
49
+
data/test/test_node.rb ADDED
@@ -0,0 +1,77 @@
1
+ require 'test/unit'
2
+ require 'rbconfig'
3
+
4
+ dir = File.dirname(__FILE__)
5
+ $:.unshift(dir) if not $:.include?(dir)
6
+ $:.unshift("#{dir}/../lib") if not $:.include?("#{dir}/../lib")
7
+ $:.unshift("#{dir}/../ext") if not $:.include?("#{dir}/../ext")
8
+
9
+ require 'internal/node'
10
+ require 'internal/method'
11
+ require 'internal/module'
12
+ require 'internal/noex'
13
+
14
+ $stdout.sync = true
15
+ $stderr.sync = true
16
+
17
+ class TC_Node < Test::Unit::TestCase
18
+ module Foo
19
+ def foo(n=1)
20
+ # A fancy way to return 42
21
+ if false then
22
+ answer = 0
23
+ else
24
+ answer = 0
25
+ (1..42).each do |i|
26
+ answer += (i / i)
27
+ end
28
+ end
29
+ return n * answer
30
+ end
31
+ end
32
+
33
+ include Foo
34
+
35
+ def test_node_eval
36
+ node = Node.compile_string('1 + 1')
37
+ assert_equal 2, node.eval(self)
38
+ end
39
+
40
+ def test_marshal_node
41
+ m = method(:foo)
42
+ n = m.body
43
+ d = Marshal.dump(n)
44
+ n2 = Marshal.load(d)
45
+ assert_equal n.nd_file, n2.nd_file
46
+ assert_equal n.nd_type, n2.nd_type
47
+ assert_equal n.flags, n2.flags
48
+ klass = Class.new;
49
+ klass.instance_eval do
50
+ add_method(:foo, n2, Noex::PUBLIC)
51
+ end
52
+ obj = klass.new
53
+ assert_equal 42, obj.foo
54
+ end
55
+
56
+ MAJOR = Config::CONFIG['MAJOR'].to_i
57
+ MINOR = Config::CONFIG['MINOR'].to_i
58
+ TEENY = Config::CONFIG['TEENY'].to_i
59
+ RUBY_VERSION_CODE = MAJOR * 100 + MINOR * 10 + TEENY
60
+
61
+ def test_ruby_eval_tree
62
+ if RUBY_VERSION_CODE < 190 then
63
+ assert Node === $ruby_eval_tree
64
+ end
65
+ end
66
+
67
+ def test_ruby_eval_tree_begin
68
+ if RUBY_VERSION_CODE < 190 then
69
+ assert_equal nil, $ruby_eval_tree_begin
70
+ end
71
+ end
72
+ end
73
+
74
+ if __FILE__ == $0 then
75
+ exit Test::Unit::AutoRunner.run
76
+ end
77
+
data/test/test_proc.rb ADDED
@@ -0,0 +1,47 @@
1
+ require 'test/unit'
2
+ require 'rbconfig'
3
+
4
+ dir = File.dirname(__FILE__)
5
+ $:.unshift(dir) if not $:.include?(dir)
6
+ $:.unshift("#{dir}/../lib") if not $:.include?("#{dir}/../lib")
7
+ $:.unshift("#{dir}/../ext") if not $:.include?("#{dir}/../ext")
8
+
9
+ require 'internal/proc'
10
+
11
+ $stdout.sync = true
12
+ $stderr.sync = true
13
+
14
+ class TC_Node < Test::Unit::TestCase
15
+ def initialize(test_method_name)
16
+ # TODO: This seems to be the only way to get tests defined with #
17
+ # define_method to run on 1.8.1 and earlier.
18
+ catch(:invalid_test) { super(test_method_name) }
19
+ end
20
+
21
+ def test_marshal_proc
22
+ p = proc { 1 + 1 }
23
+ d = Marshal.dump(p)
24
+ u = Marshal.load(d)
25
+ p2 = u.bind(binding)
26
+ assert_equal(p.call, p2.call)
27
+ end
28
+
29
+ def test_proc_unbind
30
+ p = proc { 1 + 1 }
31
+ u = p.unbind
32
+ p2 = u.bind(binding)
33
+ assert_equal(p.call, p2.call)
34
+ end
35
+
36
+ if not defined?(RubyVM) then
37
+ define_method(:test_proc_body) do
38
+ p = proc { 1 + 1 }
39
+ assert_equal p.call, p.body.eval(self)
40
+ end
41
+ end
42
+ end
43
+
44
+ if __FILE__ == $0 then
45
+ exit Test::Unit::AutoRunner.run
46
+ end
47
+
metadata ADDED
@@ -0,0 +1,377 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ruby-internal
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.6.0
5
+ platform: ruby
6
+ authors:
7
+ - Paul Brannan
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-12-01 00:00:00 -05:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description: |
17
+ Ruby-Internal is Ruby module that provides direct access to Ruby's
18
+ internal data structures.
19
+
20
+ email: curlypaul924@gmail.com
21
+ executables: []
22
+
23
+ extensions:
24
+ - Rakefile
25
+ extra_rdoc_files:
26
+ - README
27
+ files:
28
+ - lib/internal/vm/iseq/as_expression.rb
29
+ - lib/internal/vm/iseq/as_code.rb
30
+ - lib/internal/vm/iseq.rb
31
+ - lib/internal/vm/instruction.rb
32
+ - lib/internal/vm/bytedecoder.rb
33
+ - lib/internal/vm/control_frame.rb
34
+ - lib/internal/vm/inline_cache.rb
35
+ - lib/internal/vm/constants.rb
36
+ - lib/internal/vm.rb
37
+ - lib/internal/thread.rb
38
+ - lib/internal/tag.rb
39
+ - lib/internal/object/as_code.rb
40
+ - lib/internal/proc.rb
41
+ - lib/internal/classtree.rb
42
+ - lib/internal/node/dump.rb
43
+ - lib/internal/node/as_expression.rb
44
+ - lib/internal/node/as_code.rb
45
+ - lib/internal/node/pp.rb
46
+ - lib/internal/node/to_a.rb
47
+ - lib/internal/binding.rb
48
+ - lib/internal/method.rb
49
+ - lib/internal/module.rb
50
+ - lib/internal/proc/as_expression.rb
51
+ - lib/internal/proc/as_code.rb
52
+ - lib/internal/proc/signature.rb
53
+ - lib/internal/debug.rb
54
+ - lib/internal/noex.rb
55
+ - lib/internal/method/as_expression.rb
56
+ - lib/internal/method/as_code.rb
57
+ - lib/internal/method/signature.rb
58
+ - lib/internal/node.rb
59
+ - lib/internal/module/as_code.rb
60
+ - lib/internal/object.rb
61
+ - lib/internal/obfusc.rb
62
+ - ext/mkmf-ruby-internal.rb
63
+ - ext/ruby_source_dir.rb
64
+ - ext/rubypp.rb
65
+ - ext/internal/vm/iseq/insns_info.inc.rpp
66
+ - ext/internal/vm/instruction/insns_info.h.rpp
67
+ - ext/internal/vm/instruction/insns_info.c.rpp
68
+ - ext/internal/node/global_entry.h.rpp
69
+ - ext/internal/node/nodeinfo.c.rpp
70
+ - ext/internal/node/nodeinfo.h.rpp
71
+ - ext/internal/node/block.h.rpp
72
+ - ext/internal/node/node_type_descrip.c.rpp
73
+ - ext/internal/binding/block.h.rpp
74
+ - ext/internal/tag/tag.h.rpp
75
+ - ext/internal/proc/block.h.rpp
76
+ - ext/internal/method/method.h.rpp
77
+ - ext/internal/module/classpath.h.rpp
78
+ - ext/internal/module/classpath.c.rpp
79
+ - ext/internal/vm/inline_cache/inline_cache.c
80
+ - ext/internal/vm/vm.c
81
+ - ext/internal/vm/iseq/iseq.c
82
+ - ext/internal/vm/constants/constants.c
83
+ - ext/internal/vm/control_frame/control_frame.c
84
+ - ext/internal/vm/instruction/instruction.c
85
+ - ext/internal/thread/thread.c
86
+ - ext/internal/object/object.c
87
+ - ext/internal/node/node.c
88
+ - ext/internal/noex/noex.c
89
+ - ext/internal/binding/binding.c
90
+ - ext/internal/tag/tag.c
91
+ - ext/internal/proc/proc.c
92
+ - ext/internal/method/method.c
93
+ - ext/internal/module/module.c
94
+ - ext/internal/vm/iseq/internal_iseq.h
95
+ - ext/internal/vm/control_frame/control_frame.h
96
+ - ext/internal/vm/instruction/instruction.h
97
+ - ext/internal/node/ruby_internal_node.h
98
+ - ext/internal/node/node_type_descrip.h
99
+ - ext/internal/node/builtins.h
100
+ - ext/internal/module/module.h
101
+ - ext/internal/vm/inline_cache/extconf.rb
102
+ - ext/internal/vm/iseq/extconf.rb
103
+ - ext/internal/vm/constants/extconf.rb
104
+ - ext/internal/vm/control_frame/extconf.rb
105
+ - ext/internal/vm/extconf.rb
106
+ - ext/internal/vm/instruction/extconf.rb
107
+ - ext/internal/thread/extconf.rb
108
+ - ext/internal/object/extconf.rb
109
+ - ext/internal/node/nodes.rb
110
+ - ext/internal/node/node_type_descrip.rb
111
+ - ext/internal/node/read_node_h.rb
112
+ - ext/internal/node/extconf.rb
113
+ - ext/internal/noex/extconf.rb
114
+ - ext/internal/binding/extconf.rb
115
+ - ext/internal/tag/extconf.rb
116
+ - ext/internal/proc/extconf.rb
117
+ - ext/internal/method/extconf.rb
118
+ - ext/internal/module/extconf.rb
119
+ - ext/cached/ruby-1.8.7/internal/vm/iseq/insns_info.inc
120
+ - ext/cached/ruby-1.8.7/internal/vm/instruction/insns_info.h
121
+ - ext/cached/ruby-1.8.7/internal/vm/instruction/insns_info.c
122
+ - ext/cached/ruby-1.8.7/internal/node/nodeinfo.c
123
+ - ext/cached/ruby-1.8.7/internal/node/block.h
124
+ - ext/cached/ruby-1.8.7/internal/node/nodeinfo.h
125
+ - ext/cached/ruby-1.8.7/internal/node/global_entry.h
126
+ - ext/cached/ruby-1.8.7/internal/node/node_type_descrip.c
127
+ - ext/cached/ruby-1.8.7/internal/binding/block.h
128
+ - ext/cached/ruby-1.8.7/internal/tag/tag.h
129
+ - ext/cached/ruby-1.8.7/internal/proc/block.h
130
+ - ext/cached/ruby-1.8.7/internal/method/method.h
131
+ - ext/cached/ruby-1.8.7/internal/module/classpath.c
132
+ - ext/cached/ruby-1.8.7/internal/module/classpath.h
133
+ - ext/cached/ruby-1.8.6/internal/vm/iseq/insns_info.inc
134
+ - ext/cached/ruby-1.8.6/internal/vm/instruction/insns_info.h
135
+ - ext/cached/ruby-1.8.6/internal/vm/instruction/insns_info.c
136
+ - ext/cached/ruby-1.8.6/internal/node/nodeinfo.c
137
+ - ext/cached/ruby-1.8.6/internal/node/block.h
138
+ - ext/cached/ruby-1.8.6/internal/node/nodeinfo.h
139
+ - ext/cached/ruby-1.8.6/internal/node/global_entry.h
140
+ - ext/cached/ruby-1.8.6/internal/node/node_type_descrip.c
141
+ - ext/cached/ruby-1.8.6/internal/binding/block.h
142
+ - ext/cached/ruby-1.8.6/internal/tag/tag.h
143
+ - ext/cached/ruby-1.8.6/internal/proc/block.h
144
+ - ext/cached/ruby-1.8.6/internal/method/method.h
145
+ - ext/cached/ruby-1.8.6/internal/module/classpath.c
146
+ - ext/cached/ruby-1.8.6/internal/module/classpath.h
147
+ - ext/cached/ruby-1.9.1/internal/vm/iseq/insns_info.inc
148
+ - ext/cached/ruby-1.9.1/internal/vm/instruction/insns_info.h
149
+ - ext/cached/ruby-1.9.1/internal/vm/instruction/insns_info.c
150
+ - ext/cached/ruby-1.9.1/internal/node/nodeinfo.c
151
+ - ext/cached/ruby-1.9.1/internal/node/block.h
152
+ - ext/cached/ruby-1.9.1/internal/node/nodeinfo.h
153
+ - ext/cached/ruby-1.9.1/internal/node/global_entry.h
154
+ - ext/cached/ruby-1.9.1/internal/node/node_type_descrip.c
155
+ - ext/cached/ruby-1.9.1/internal/yarv-headers/thread_win32.h
156
+ - ext/cached/ruby-1.9.1/internal/yarv-headers/vm_insnhelper.h
157
+ - ext/cached/ruby-1.9.1/internal/yarv-headers/version.h
158
+ - ext/cached/ruby-1.9.1/internal/yarv-headers/regparse.h
159
+ - ext/cached/ruby-1.9.1/internal/yarv-headers/regenc.h
160
+ - ext/cached/ruby-1.9.1/internal/yarv-headers/id.h
161
+ - ext/cached/ruby-1.9.1/internal/yarv-headers/transcode_data.h
162
+ - ext/cached/ruby-1.9.1/internal/yarv-headers/transdb.h
163
+ - ext/cached/ruby-1.9.1/internal/yarv-headers/debug.h
164
+ - ext/cached/ruby-1.9.1/internal/yarv-headers/eval_intern.h
165
+ - ext/cached/ruby-1.9.1/internal/yarv-headers/node.h
166
+ - ext/cached/ruby-1.9.1/internal/yarv-headers/parse.h
167
+ - ext/cached/ruby-1.9.1/internal/yarv-headers/iseq.h
168
+ - ext/cached/ruby-1.9.1/internal/yarv-headers/regint.h
169
+ - ext/cached/ruby-1.9.1/internal/yarv-headers/gc.h
170
+ - ext/cached/ruby-1.9.1/internal/yarv-headers/vm_exec.h
171
+ - ext/cached/ruby-1.9.1/internal/yarv-headers/thread_pthread.h
172
+ - ext/cached/ruby-1.9.1/internal/yarv-headers/vm_core.h
173
+ - ext/cached/ruby-1.9.1/internal/yarv-headers/revision.h
174
+ - ext/cached/ruby-1.9.1/internal/yarv-headers/encdb.h
175
+ - ext/cached/ruby-1.9.1/internal/yarv-headers/dln.h
176
+ - ext/cached/ruby-1.9.1/internal/yarv-headers/vm_opts.h
177
+ - ext/cached/ruby-1.9.1/internal/binding/block.h
178
+ - ext/cached/ruby-1.9.1/internal/tag/tag.h
179
+ - ext/cached/ruby-1.9.1/internal/proc/block.h
180
+ - ext/cached/ruby-1.9.1/internal/method/method.h
181
+ - ext/cached/ruby-1.9.1/internal/module/classpath.c
182
+ - ext/cached/ruby-1.9.1/internal/module/classpath.h
183
+ - ext/cached/ruby-1.8.0/internal/vm/iseq/insns_info.inc
184
+ - ext/cached/ruby-1.8.0/internal/vm/instruction/insns_info.h
185
+ - ext/cached/ruby-1.8.0/internal/vm/instruction/insns_info.c
186
+ - ext/cached/ruby-1.8.0/internal/node/nodeinfo.c
187
+ - ext/cached/ruby-1.8.0/internal/node/block.h
188
+ - ext/cached/ruby-1.8.0/internal/node/nodeinfo.h
189
+ - ext/cached/ruby-1.8.0/internal/node/global_entry.h
190
+ - ext/cached/ruby-1.8.0/internal/node/node_type_descrip.c
191
+ - ext/cached/ruby-1.8.0/internal/binding/block.h
192
+ - ext/cached/ruby-1.8.0/internal/tag/tag.h
193
+ - ext/cached/ruby-1.8.0/internal/proc/block.h
194
+ - ext/cached/ruby-1.8.0/internal/method/method.h
195
+ - ext/cached/ruby-1.8.0/internal/module/classpath.c
196
+ - ext/cached/ruby-1.8.0/internal/module/classpath.h
197
+ - ext/cached/ruby-1.8.4/internal/vm/iseq/insns_info.inc
198
+ - ext/cached/ruby-1.8.4/internal/vm/instruction/insns_info.h
199
+ - ext/cached/ruby-1.8.4/internal/vm/instruction/insns_info.c
200
+ - ext/cached/ruby-1.8.4/internal/node/nodeinfo.c
201
+ - ext/cached/ruby-1.8.4/internal/node/block.h
202
+ - ext/cached/ruby-1.8.4/internal/node/nodeinfo.h
203
+ - ext/cached/ruby-1.8.4/internal/node/global_entry.h
204
+ - ext/cached/ruby-1.8.4/internal/node/node_type_descrip.c
205
+ - ext/cached/ruby-1.8.4/internal/binding/block.h
206
+ - ext/cached/ruby-1.8.4/internal/tag/tag.h
207
+ - ext/cached/ruby-1.8.4/internal/proc/block.h
208
+ - ext/cached/ruby-1.8.4/internal/method/method.h
209
+ - ext/cached/ruby-1.8.4/internal/module/classpath.c
210
+ - ext/cached/ruby-1.8.4/internal/module/classpath.h
211
+ - ext/cached/ruby-1.8.5/internal/vm/iseq/insns_info.inc
212
+ - ext/cached/ruby-1.8.5/internal/vm/instruction/insns_info.h
213
+ - ext/cached/ruby-1.8.5/internal/vm/instruction/insns_info.c
214
+ - ext/cached/ruby-1.8.5/internal/node/nodeinfo.c
215
+ - ext/cached/ruby-1.8.5/internal/node/block.h
216
+ - ext/cached/ruby-1.8.5/internal/node/nodeinfo.h
217
+ - ext/cached/ruby-1.8.5/internal/node/global_entry.h
218
+ - ext/cached/ruby-1.8.5/internal/node/node_type_descrip.c
219
+ - ext/cached/ruby-1.8.5/internal/binding/block.h
220
+ - ext/cached/ruby-1.8.5/internal/tag/tag.h
221
+ - ext/cached/ruby-1.8.5/internal/proc/block.h
222
+ - ext/cached/ruby-1.8.5/internal/method/method.h
223
+ - ext/cached/ruby-1.8.5/internal/module/classpath.c
224
+ - ext/cached/ruby-1.8.5/internal/module/classpath.h
225
+ - ext/cached/ruby-1.8.3/internal/vm/iseq/insns_info.inc
226
+ - ext/cached/ruby-1.8.3/internal/vm/instruction/insns_info.h
227
+ - ext/cached/ruby-1.8.3/internal/vm/instruction/insns_info.c
228
+ - ext/cached/ruby-1.8.3/internal/node/nodeinfo.c
229
+ - ext/cached/ruby-1.8.3/internal/node/block.h
230
+ - ext/cached/ruby-1.8.3/internal/node/nodeinfo.h
231
+ - ext/cached/ruby-1.8.3/internal/node/global_entry.h
232
+ - ext/cached/ruby-1.8.3/internal/node/node_type_descrip.c
233
+ - ext/cached/ruby-1.8.3/internal/binding/block.h
234
+ - ext/cached/ruby-1.8.3/internal/tag/tag.h
235
+ - ext/cached/ruby-1.8.3/internal/proc/block.h
236
+ - ext/cached/ruby-1.8.3/internal/method/method.h
237
+ - ext/cached/ruby-1.8.3/internal/module/classpath.c
238
+ - ext/cached/ruby-1.8.3/internal/module/classpath.h
239
+ - ext/cached/ruby-1.8.1/internal/vm/iseq/insns_info.inc
240
+ - ext/cached/ruby-1.8.1/internal/vm/instruction/insns_info.h
241
+ - ext/cached/ruby-1.8.1/internal/vm/instruction/insns_info.c
242
+ - ext/cached/ruby-1.8.1/internal/node/nodeinfo.c
243
+ - ext/cached/ruby-1.8.1/internal/node/block.h
244
+ - ext/cached/ruby-1.8.1/internal/node/nodeinfo.h
245
+ - ext/cached/ruby-1.8.1/internal/node/global_entry.h
246
+ - ext/cached/ruby-1.8.1/internal/node/node_type_descrip.c
247
+ - ext/cached/ruby-1.8.1/internal/binding/block.h
248
+ - ext/cached/ruby-1.8.1/internal/tag/tag.h
249
+ - ext/cached/ruby-1.8.1/internal/proc/block.h
250
+ - ext/cached/ruby-1.8.1/internal/method/method.h
251
+ - ext/cached/ruby-1.8.1/internal/module/classpath.c
252
+ - ext/cached/ruby-1.8.1/internal/module/classpath.h
253
+ - ext/cached/ruby-1.9.0/internal/vm/iseq/insns_info.inc
254
+ - ext/cached/ruby-1.9.0/internal/vm/instruction/insns_info.h
255
+ - ext/cached/ruby-1.9.0/internal/vm/instruction/insns_info.c
256
+ - ext/cached/ruby-1.9.0/internal/node/nodeinfo.c
257
+ - ext/cached/ruby-1.9.0/internal/node/block.h
258
+ - ext/cached/ruby-1.9.0/internal/node/nodeinfo.h
259
+ - ext/cached/ruby-1.9.0/internal/node/global_entry.h
260
+ - ext/cached/ruby-1.9.0/internal/node/node_type_descrip.c
261
+ - ext/cached/ruby-1.9.0/internal/yarv-headers/thread_win32.h
262
+ - ext/cached/ruby-1.9.0/internal/yarv-headers/vm_insnhelper.h
263
+ - ext/cached/ruby-1.9.0/internal/yarv-headers/version.h
264
+ - ext/cached/ruby-1.9.0/internal/yarv-headers/regparse.h
265
+ - ext/cached/ruby-1.9.0/internal/yarv-headers/regenc.h
266
+ - ext/cached/ruby-1.9.0/internal/yarv-headers/id.h
267
+ - ext/cached/ruby-1.9.0/internal/yarv-headers/transcode_data.h
268
+ - ext/cached/ruby-1.9.0/internal/yarv-headers/transdb.h
269
+ - ext/cached/ruby-1.9.0/internal/yarv-headers/debug.h
270
+ - ext/cached/ruby-1.9.0/internal/yarv-headers/eval_intern.h
271
+ - ext/cached/ruby-1.9.0/internal/yarv-headers/node.h
272
+ - ext/cached/ruby-1.9.0/internal/yarv-headers/parse.h
273
+ - ext/cached/ruby-1.9.0/internal/yarv-headers/iseq.h
274
+ - ext/cached/ruby-1.9.0/internal/yarv-headers/regint.h
275
+ - ext/cached/ruby-1.9.0/internal/yarv-headers/gc.h
276
+ - ext/cached/ruby-1.9.0/internal/yarv-headers/vm_exec.h
277
+ - ext/cached/ruby-1.9.0/internal/yarv-headers/thread_pthread.h
278
+ - ext/cached/ruby-1.9.0/internal/yarv-headers/vm_core.h
279
+ - ext/cached/ruby-1.9.0/internal/yarv-headers/revision.h
280
+ - ext/cached/ruby-1.9.0/internal/yarv-headers/encdb.h
281
+ - ext/cached/ruby-1.9.0/internal/yarv-headers/dln.h
282
+ - ext/cached/ruby-1.9.0/internal/yarv-headers/vm_opts.h
283
+ - ext/cached/ruby-1.9.0/internal/binding/block.h
284
+ - ext/cached/ruby-1.9.0/internal/tag/tag.h
285
+ - ext/cached/ruby-1.9.0/internal/proc/block.h
286
+ - ext/cached/ruby-1.9.0/internal/method/method.h
287
+ - ext/cached/ruby-1.9.0/internal/module/classpath.c
288
+ - ext/cached/ruby-1.9.0/internal/module/classpath.h
289
+ - ext/cached/ruby-1.8.2/internal/vm/iseq/insns_info.inc
290
+ - ext/cached/ruby-1.8.2/internal/vm/instruction/insns_info.h
291
+ - ext/cached/ruby-1.8.2/internal/vm/instruction/insns_info.c
292
+ - ext/cached/ruby-1.8.2/internal/node/nodeinfo.c
293
+ - ext/cached/ruby-1.8.2/internal/node/block.h
294
+ - ext/cached/ruby-1.8.2/internal/node/nodeinfo.h
295
+ - ext/cached/ruby-1.8.2/internal/node/global_entry.h
296
+ - ext/cached/ruby-1.8.2/internal/node/node_type_descrip.c
297
+ - ext/cached/ruby-1.8.2/internal/binding/block.h
298
+ - ext/cached/ruby-1.8.2/internal/tag/tag.h
299
+ - ext/cached/ruby-1.8.2/internal/proc/block.h
300
+ - ext/cached/ruby-1.8.2/internal/method/method.h
301
+ - ext/cached/ruby-1.8.2/internal/module/classpath.c
302
+ - ext/cached/ruby-1.8.2/internal/module/classpath.h
303
+ - example/triangle_server.rb
304
+ - example/simple_server.rb
305
+ - example/simple_client.rb
306
+ - example/triangle_client.rb
307
+ - example/README
308
+ - test/test_dump_proc.rb
309
+ - test/test_module.rb
310
+ - test/test_helpers.rb
311
+ - test/test_proc.rb
312
+ - test/expression_samples.rb
313
+ - test/test_node.rb
314
+ - test/node_samples.rb
315
+ - test/test_dump_class.rb
316
+ - test/test_method.rb
317
+ - test/test_as_code.rb
318
+ - test/test_methodsig.rb
319
+ - test/test_dump_method.rb
320
+ - test/test_as_expression.rb
321
+ - pre-setup.rb
322
+ - post-config.rb
323
+ - post-install.rb
324
+ - run_tests.rb
325
+ - generate_rdoc.rb
326
+ - post-setup.rb
327
+ - pre-install.rb
328
+ - setup.rb
329
+ - pre-config.rb
330
+ - COPYING
331
+ - LGPL
332
+ - LICENSE
333
+ - README
334
+ - TODO
335
+ - metaconfig
336
+ - Rakefile
337
+ has_rdoc: true
338
+ homepage: http://rubystuff.org/nodewrap/
339
+ licenses: []
340
+
341
+ post_install_message:
342
+ rdoc_options: []
343
+
344
+ require_paths:
345
+ - lib
346
+ - ext
347
+ required_ruby_version: !ruby/object:Gem::Requirement
348
+ requirements:
349
+ - - ">="
350
+ - !ruby/object:Gem::Version
351
+ version: "0"
352
+ version:
353
+ required_rubygems_version: !ruby/object:Gem::Requirement
354
+ requirements:
355
+ - - ">="
356
+ - !ruby/object:Gem::Version
357
+ version: "0"
358
+ version:
359
+ requirements: []
360
+
361
+ rubyforge_project: nodewrap
362
+ rubygems_version: 1.3.5
363
+ signing_key:
364
+ specification_version: 3
365
+ summary: A library that provides acccess to the internals of the ruby interpreter
366
+ test_files:
367
+ - test/test_dump_proc.rb
368
+ - test/test_module.rb
369
+ - test/test_helpers.rb
370
+ - test/test_proc.rb
371
+ - test/test_node.rb
372
+ - test/test_dump_class.rb
373
+ - test/test_method.rb
374
+ - test/test_as_code.rb
375
+ - test/test_methodsig.rb
376
+ - test/test_dump_method.rb
377
+ - test/test_as_expression.rb