ruby-internal 0.7.3 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (254) hide show
  1. data/bin/ruby-internal-node-dump +1 -1
  2. data/bin/ruby-internal-obfuscate +1 -1
  3. data/ext/cached/ruby-1.8.4/internal/method/{method.h → internal_method.h} +12 -0
  4. data/ext/cached/ruby-1.8.4/internal/module/getcfp.h +13 -0
  5. data/ext/cached/ruby-1.8.4/internal/node/global_entry.h +94 -0
  6. data/ext/cached/ruby-1.8.4/internal/node/node_type_descrip.c +41 -41
  7. data/ext/cached/ruby-1.8.4/internal/node/nodeinfo.c +288 -273
  8. data/ext/cached/ruby-1.8.4/internal/vm/instruction/insns_info.c +3 -0
  9. data/ext/cached/ruby-1.8.4/internal/vm/iseq/iseq_load.inc +21 -2
  10. data/ext/cached/{ruby-1.8.3/internal/method/method.h → ruby-1.8.5/internal/method/internal_method.h} +12 -0
  11. data/ext/cached/ruby-1.8.5/internal/module/getcfp.h +13 -0
  12. data/ext/cached/ruby-1.8.5/internal/node/global_entry.h +94 -0
  13. data/ext/cached/ruby-1.8.5/internal/node/node_type_descrip.c +45 -45
  14. data/ext/cached/ruby-1.8.5/internal/node/nodeinfo.c +310 -295
  15. data/ext/cached/ruby-1.8.5/internal/vm/instruction/insns_info.c +3 -0
  16. data/ext/cached/ruby-1.8.5/internal/vm/iseq/iseq_load.inc +21 -2
  17. data/ext/cached/{ruby-1.8.5/internal/method/method.h → ruby-1.8.6/internal/method/internal_method.h} +12 -0
  18. data/ext/cached/ruby-1.8.6/internal/module/getcfp.h +13 -0
  19. data/ext/cached/ruby-1.8.6/internal/node/global_entry.h +94 -0
  20. data/ext/cached/ruby-1.8.6/internal/node/node_type_descrip.c +48 -48
  21. data/ext/cached/ruby-1.8.6/internal/node/nodeinfo.c +323 -308
  22. data/ext/cached/ruby-1.8.6/internal/vm/instruction/insns_info.c +3 -0
  23. data/ext/cached/ruby-1.8.6/internal/vm/iseq/iseq_load.inc +21 -2
  24. data/ext/cached/{ruby-1.8.6/internal/method/method.h → ruby-1.8.7/internal/method/internal_method.h} +12 -0
  25. data/ext/cached/ruby-1.8.7/internal/module/getcfp.h +13 -0
  26. data/ext/cached/ruby-1.8.7/internal/node/global_entry.h +98 -0
  27. data/ext/cached/ruby-1.8.7/internal/node/node_type_descrip.c +42 -42
  28. data/ext/cached/ruby-1.8.7/internal/node/nodeinfo.c +276 -261
  29. data/ext/cached/ruby-1.8.7/internal/vm/instruction/insns_info.c +3 -0
  30. data/ext/cached/ruby-1.8.7/internal/vm/iseq/iseq_load.inc +21 -2
  31. data/ext/cached/{ruby-1.9.0/internal/method/method.h → ruby-1.9.1/internal/method/internal_method.h} +12 -0
  32. data/ext/cached/ruby-1.9.1/internal/module/classpath.c +12 -14
  33. data/ext/cached/ruby-1.9.1/internal/module/getcfp.h +25 -0
  34. data/ext/cached/ruby-1.9.1/internal/node/global_entry.h +86 -0
  35. data/ext/cached/ruby-1.9.1/internal/node/node_type_descrip.c +46 -48
  36. data/ext/cached/ruby-1.9.1/internal/node/nodeinfo.c +311 -412
  37. data/ext/cached/ruby-1.9.1/internal/vm/instruction/insns_info.c +3 -0
  38. data/ext/cached/ruby-1.9.1/internal/vm/iseq/iseq_load.inc +28 -6
  39. data/ext/cached/ruby-1.9.1/internal/yarv-headers/iseq.h +1 -0
  40. data/ext/cached/ruby-1.9.1/internal/yarv-headers/parse.h +6 -6
  41. data/ext/cached/ruby-1.9.1/internal/yarv-headers/revision.h +1 -1
  42. data/ext/cached/ruby-1.9.1/internal/yarv-headers/version.h +6 -5
  43. data/ext/cached/ruby-1.9.1/internal/yarv-headers/vm_core.h +3 -2
  44. data/ext/cached/ruby-1.9.1/internal/yarv-headers/vm_insnhelper.h +1 -0
  45. data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/binding/block.h +0 -0
  46. data/ext/cached/{ruby-1.9.1/internal/method/method.h → ruby-1.9.2/internal/method/internal_method.h} +16 -5
  47. data/ext/cached/ruby-1.9.2/internal/module/classpath.c +40 -0
  48. data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/module/classpath.h +0 -0
  49. data/ext/cached/ruby-1.9.2/internal/module/getcfp.h +25 -0
  50. data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/node/block.h +0 -0
  51. data/ext/cached/ruby-1.9.2/internal/node/global_entry.h +93 -0
  52. data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/node/node_type_descrip.c +44 -48
  53. data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/node/nodeinfo.c +291 -439
  54. data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/node/nodeinfo.h +0 -0
  55. data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/proc/block.h +0 -0
  56. data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/tag/tag.h +0 -0
  57. data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/vm/instruction/insns_info.c +141 -64
  58. data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/vm/instruction/insns_info.h +88 -80
  59. data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/vm/iseq/insns_info.inc +77 -70
  60. data/ext/cached/ruby-1.9.2/internal/vm/iseq/iseq_load.inc +426 -0
  61. data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/debug.h +1 -1
  62. data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/dln.h +3 -3
  63. data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/encdb.h +18 -2
  64. data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/eval_intern.h +39 -28
  65. data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/gc.h +7 -5
  66. data/ext/cached/ruby-1.9.2/internal/yarv-headers/id.h +170 -0
  67. data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/iseq.h +20 -10
  68. data/ext/cached/ruby-1.9.2/internal/yarv-headers/method.h +103 -0
  69. data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/node.h +14 -47
  70. data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/parse.h +31 -148
  71. data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/regenc.h +7 -3
  72. data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/regint.h +16 -17
  73. data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/regparse.h +4 -1
  74. data/ext/cached/ruby-1.9.2/internal/yarv-headers/revision.h +1 -0
  75. data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/thread_pthread.h +4 -1
  76. data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/thread_win32.h +1 -1
  77. data/ext/cached/ruby-1.9.2/internal/yarv-headers/timev.h +21 -0
  78. data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/transcode_data.h +20 -10
  79. data/ext/cached/ruby-1.9.2/internal/yarv-headers/transdb.h +179 -0
  80. data/ext/cached/ruby-1.9.2/internal/yarv-headers/version.h +55 -0
  81. data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/vm_core.h +127 -84
  82. data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/vm_exec.h +4 -7
  83. data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/vm_insnhelper.h +53 -36
  84. data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/vm_opts.h +1 -1
  85. data/ext/cached/ruby-1.9.3/internal/binding/block.h +12 -0
  86. data/ext/cached/ruby-1.9.3/internal/method/internal_method.h +32 -0
  87. data/ext/cached/ruby-1.9.3/internal/module/classpath.c +40 -0
  88. data/ext/cached/{ruby-1.8.0 → ruby-1.9.3}/internal/module/classpath.h +5 -2
  89. data/ext/cached/ruby-1.9.3/internal/module/getcfp.h +25 -0
  90. data/ext/cached/ruby-1.9.3/internal/node/block.h +12 -0
  91. data/ext/cached/ruby-1.9.3/internal/node/global_entry.h +93 -0
  92. data/ext/cached/{ruby-1.8.3 → ruby-1.9.3}/internal/node/node_type_descrip.c +48 -57
  93. data/ext/cached/{ruby-1.6.8 → ruby-1.9.3}/internal/node/nodeinfo.c +589 -740
  94. data/ext/cached/{ruby-1.8.0 → ruby-1.9.3}/internal/node/nodeinfo.h +4 -3
  95. data/ext/cached/ruby-1.9.3/internal/proc/block.h +12 -0
  96. data/ext/cached/ruby-1.9.3/internal/tag/tag.h +6 -0
  97. data/ext/cached/ruby-1.9.3/internal/vm/instruction/insns_info.c +6013 -0
  98. data/ext/cached/ruby-1.9.3/internal/vm/instruction/insns_info.h +899 -0
  99. data/ext/cached/ruby-1.9.3/internal/vm/iseq/insns_info.inc +707 -0
  100. data/ext/cached/ruby-1.9.3/internal/vm/iseq/iseq_load.inc +423 -0
  101. data/ext/cached/ruby-1.9.3/internal/yarv-headers/addr2line.h +21 -0
  102. data/ext/cached/ruby-1.9.3/internal/yarv-headers/atomic.h +56 -0
  103. data/ext/cached/ruby-1.9.3/internal/yarv-headers/constant.h +34 -0
  104. data/ext/cached/ruby-1.9.3/internal/yarv-headers/debug.h +41 -0
  105. data/ext/cached/ruby-1.9.3/internal/yarv-headers/dln.h +50 -0
  106. data/ext/cached/ruby-1.9.3/internal/yarv-headers/encdb.h +167 -0
  107. data/ext/cached/ruby-1.9.3/internal/yarv-headers/eval_intern.h +234 -0
  108. data/ext/cached/ruby-1.9.3/internal/yarv-headers/gc.h +98 -0
  109. data/ext/cached/ruby-1.9.3/internal/yarv-headers/id.h +175 -0
  110. data/ext/cached/ruby-1.9.3/internal/yarv-headers/internal.h +232 -0
  111. data/ext/cached/ruby-1.9.3/internal/yarv-headers/iseq.h +125 -0
  112. data/ext/cached/ruby-1.9.3/internal/yarv-headers/method.h +105 -0
  113. data/ext/cached/ruby-1.9.3/internal/yarv-headers/node.h +503 -0
  114. data/ext/cached/ruby-1.9.3/internal/yarv-headers/parse.h +186 -0
  115. data/ext/cached/ruby-1.9.3/internal/yarv-headers/regenc.h +219 -0
  116. data/ext/cached/ruby-1.9.3/internal/yarv-headers/regint.h +850 -0
  117. data/ext/cached/ruby-1.9.3/internal/yarv-headers/regparse.h +362 -0
  118. data/ext/cached/ruby-1.9.3/internal/yarv-headers/revision.h +1 -0
  119. data/ext/cached/ruby-1.9.3/internal/yarv-headers/thread_pthread.h +51 -0
  120. data/ext/cached/ruby-1.9.3/internal/yarv-headers/thread_win32.h +40 -0
  121. data/ext/cached/ruby-1.9.3/internal/yarv-headers/timev.h +21 -0
  122. data/ext/cached/ruby-1.9.3/internal/yarv-headers/transcode_data.h +117 -0
  123. data/ext/cached/ruby-1.9.3/internal/yarv-headers/transdb.h +189 -0
  124. data/ext/cached/ruby-1.9.3/internal/yarv-headers/version.h +52 -0
  125. data/ext/cached/ruby-1.9.3/internal/yarv-headers/vm_core.h +756 -0
  126. data/ext/cached/ruby-1.9.3/internal/yarv-headers/vm_exec.h +184 -0
  127. data/ext/cached/ruby-1.9.3/internal/yarv-headers/vm_insnhelper.h +220 -0
  128. data/ext/cached/ruby-1.9.3/internal/yarv-headers/vm_opts.h +51 -0
  129. data/ext/internal/binding/block.h +20 -0
  130. data/ext/internal/method/internal_method.h +5 -38
  131. data/ext/internal/method/internal_method.h.rpp +0 -7
  132. data/ext/internal/method/method.c +52 -32
  133. data/ext/internal/module/classpath.c +18 -13
  134. data/ext/internal/module/classpath.h +3 -3
  135. data/ext/internal/module/extconf.rb +3 -2
  136. data/ext/internal/module/getcfp.h +13 -0
  137. data/ext/internal/module/getcfp.h.rpp +44 -0
  138. data/ext/internal/module/module.c +58 -21
  139. data/ext/internal/node/block.h +20 -0
  140. data/ext/internal/node/extconf.rb +2 -0
  141. data/ext/internal/node/global_entry.h +69 -13
  142. data/ext/internal/node/global_entry.h.rpp +11 -2
  143. data/ext/internal/node/node.c +30 -3
  144. data/ext/internal/node/node_type_descrip.c +47 -38
  145. data/ext/internal/node/nodeinfo.c +622 -306
  146. data/ext/internal/node/nodeinfo.h +1 -4
  147. data/ext/internal/proc/block.h +20 -0
  148. data/ext/internal/tag/tag.h +10 -0
  149. data/ext/internal/thread/thread.c +9 -3
  150. data/ext/internal/vm/extconf.rb +1 -0
  151. data/ext/internal/vm/instruction/insns_info.c +3 -5974
  152. data/ext/internal/vm/instruction/insns_info.h +0 -878
  153. data/ext/internal/vm/iseq/extconf.rb +1 -0
  154. data/ext/internal/vm/iseq/iseq.c +38 -4
  155. data/ext/internal/vm/iseq/iseq_load.inc.rpp +23 -5
  156. data/ext/internal/vm/vm.c +28 -0
  157. data/lib/internal/classtree.rb +28 -0
  158. data/lib/internal/debug.rb +10 -2
  159. data/lib/internal/method/as_code.rb +25 -0
  160. data/lib/internal/method/as_expression.rb +2 -3
  161. data/lib/internal/method/origin.rb +29 -0
  162. data/lib/internal/method/signature.rb +5 -300
  163. data/lib/internal/method/signature/argument.rb +102 -0
  164. data/lib/internal/method/signature/iseq.rb +52 -0
  165. data/lib/internal/method/signature/node.rb +160 -0
  166. data/lib/internal/method/signature/signature.rb +23 -0
  167. data/lib/internal/proc/as_code.rb +2 -0
  168. data/lib/internal/proc/as_expression.rb +2 -0
  169. data/lib/internal/vm/bytedecoder.rb +5 -5
  170. data/lib/internal/vm/iseq/as_code.rb +2 -2
  171. data/lib/internal/vm/iseq/as_expression.rb +2 -2
  172. data/test/test_dump_method.rb +1 -1
  173. data/test/test_method.rb +21 -3
  174. data/test/test_node.rb +20 -4
  175. metadata +152 -155
  176. data/ext/cached/ruby-1.6.8/internal/binding/block.h +0 -35
  177. data/ext/cached/ruby-1.6.8/internal/method/method.h +0 -19
  178. data/ext/cached/ruby-1.6.8/internal/module/classpath.c +0 -3
  179. data/ext/cached/ruby-1.6.8/internal/module/classpath.h +0 -8
  180. data/ext/cached/ruby-1.6.8/internal/node/block.h +0 -35
  181. data/ext/cached/ruby-1.6.8/internal/node/global_entry.h +0 -15
  182. data/ext/cached/ruby-1.6.8/internal/node/node_type_descrip.c +0 -149
  183. data/ext/cached/ruby-1.6.8/internal/node/nodeinfo.h +0 -69
  184. data/ext/cached/ruby-1.6.8/internal/proc/block.h +0 -35
  185. data/ext/cached/ruby-1.6.8/internal/tag/tag.h +0 -15
  186. data/ext/cached/ruby-1.6.8/internal/vm/instruction/insns_info.c +0 -39
  187. data/ext/cached/ruby-1.6.8/internal/vm/instruction/insns_info.h +0 -21
  188. data/ext/cached/ruby-1.6.8/internal/vm/iseq/insns_info.inc +0 -12
  189. data/ext/cached/ruby-1.6.8/internal/vm/iseq/iseq_load.inc +0 -9
  190. data/ext/cached/ruby-1.8.0/internal/binding/block.h +0 -37
  191. data/ext/cached/ruby-1.8.0/internal/method/method.h +0 -19
  192. data/ext/cached/ruby-1.8.0/internal/module/classpath.c +0 -27
  193. data/ext/cached/ruby-1.8.0/internal/node/block.h +0 -37
  194. data/ext/cached/ruby-1.8.0/internal/node/global_entry.h +0 -10
  195. data/ext/cached/ruby-1.8.0/internal/node/node_type_descrip.c +0 -155
  196. data/ext/cached/ruby-1.8.0/internal/node/nodeinfo.c +0 -5744
  197. data/ext/cached/ruby-1.8.0/internal/proc/block.h +0 -37
  198. data/ext/cached/ruby-1.8.0/internal/tag/tag.h +0 -15
  199. data/ext/cached/ruby-1.8.0/internal/vm/instruction/insns_info.c +0 -39
  200. data/ext/cached/ruby-1.8.0/internal/vm/instruction/insns_info.h +0 -21
  201. data/ext/cached/ruby-1.8.0/internal/vm/iseq/insns_info.inc +0 -12
  202. data/ext/cached/ruby-1.8.0/internal/vm/iseq/iseq_load.inc +0 -9
  203. data/ext/cached/ruby-1.8.1/internal/binding/block.h +0 -31
  204. data/ext/cached/ruby-1.8.1/internal/method/method.h +0 -19
  205. data/ext/cached/ruby-1.8.1/internal/module/classpath.c +0 -27
  206. data/ext/cached/ruby-1.8.1/internal/module/classpath.h +0 -14
  207. data/ext/cached/ruby-1.8.1/internal/node/block.h +0 -31
  208. data/ext/cached/ruby-1.8.1/internal/node/global_entry.h +0 -10
  209. data/ext/cached/ruby-1.8.1/internal/node/node_type_descrip.c +0 -154
  210. data/ext/cached/ruby-1.8.1/internal/node/nodeinfo.c +0 -5736
  211. data/ext/cached/ruby-1.8.1/internal/node/nodeinfo.h +0 -69
  212. data/ext/cached/ruby-1.8.1/internal/proc/block.h +0 -31
  213. data/ext/cached/ruby-1.8.1/internal/tag/tag.h +0 -16
  214. data/ext/cached/ruby-1.8.1/internal/vm/instruction/insns_info.c +0 -39
  215. data/ext/cached/ruby-1.8.1/internal/vm/instruction/insns_info.h +0 -21
  216. data/ext/cached/ruby-1.8.1/internal/vm/iseq/insns_info.inc +0 -12
  217. data/ext/cached/ruby-1.8.1/internal/vm/iseq/iseq_load.inc +0 -9
  218. data/ext/cached/ruby-1.8.2/internal/binding/block.h +0 -32
  219. data/ext/cached/ruby-1.8.2/internal/method/method.h +0 -19
  220. data/ext/cached/ruby-1.8.2/internal/module/classpath.c +0 -45
  221. data/ext/cached/ruby-1.8.2/internal/module/classpath.h +0 -17
  222. data/ext/cached/ruby-1.8.2/internal/node/block.h +0 -32
  223. data/ext/cached/ruby-1.8.2/internal/node/global_entry.h +0 -10
  224. data/ext/cached/ruby-1.8.2/internal/node/node_type_descrip.c +0 -154
  225. data/ext/cached/ruby-1.8.2/internal/node/nodeinfo.c +0 -5736
  226. data/ext/cached/ruby-1.8.2/internal/node/nodeinfo.h +0 -69
  227. data/ext/cached/ruby-1.8.2/internal/proc/block.h +0 -32
  228. data/ext/cached/ruby-1.8.2/internal/tag/tag.h +0 -16
  229. data/ext/cached/ruby-1.8.2/internal/vm/instruction/insns_info.c +0 -39
  230. data/ext/cached/ruby-1.8.2/internal/vm/instruction/insns_info.h +0 -21
  231. data/ext/cached/ruby-1.8.2/internal/vm/iseq/insns_info.inc +0 -12
  232. data/ext/cached/ruby-1.8.2/internal/vm/iseq/iseq_load.inc +0 -9
  233. data/ext/cached/ruby-1.8.3/internal/binding/block.h +0 -32
  234. data/ext/cached/ruby-1.8.3/internal/module/classpath.c +0 -45
  235. data/ext/cached/ruby-1.8.3/internal/module/classpath.h +0 -17
  236. data/ext/cached/ruby-1.8.3/internal/node/block.h +0 -32
  237. data/ext/cached/ruby-1.8.3/internal/node/global_entry.h +0 -10
  238. data/ext/cached/ruby-1.8.3/internal/node/nodeinfo.c +0 -5736
  239. data/ext/cached/ruby-1.8.3/internal/node/nodeinfo.h +0 -69
  240. data/ext/cached/ruby-1.8.3/internal/proc/block.h +0 -32
  241. data/ext/cached/ruby-1.8.3/internal/tag/tag.h +0 -16
  242. data/ext/cached/ruby-1.8.3/internal/vm/instruction/insns_info.c +0 -39
  243. data/ext/cached/ruby-1.8.3/internal/vm/instruction/insns_info.h +0 -21
  244. data/ext/cached/ruby-1.8.3/internal/vm/iseq/insns_info.inc +0 -12
  245. data/ext/cached/ruby-1.8.3/internal/vm/iseq/iseq_load.inc +0 -9
  246. data/ext/cached/ruby-1.8.7/internal/method/method.h +0 -20
  247. data/ext/cached/ruby-1.9.0/internal/module/classpath.c +0 -42
  248. data/ext/cached/ruby-1.9.0/internal/node/global_entry.h +0 -10
  249. data/ext/cached/ruby-1.9.0/internal/vm/iseq/iseq_load.inc +0 -13
  250. data/ext/cached/ruby-1.9.0/internal/yarv-headers/id.h +0 -83
  251. data/ext/cached/ruby-1.9.0/internal/yarv-headers/revision.h +0 -1
  252. data/ext/cached/ruby-1.9.0/internal/yarv-headers/transdb.h +0 -67
  253. data/ext/cached/ruby-1.9.0/internal/yarv-headers/version.h +0 -57
  254. data/ext/internal/module/cfp.h +0 -13
data/test/test_method.rb CHANGED
@@ -40,14 +40,21 @@ class TC_Method < Test::Unit::TestCase
40
40
  n = m.body
41
41
  if defined?(RubyVM::InstructionSequence) then
42
42
  # YARV
43
- assert_equal Node::METHOD, n.class
43
+ assert n.class == RubyVM::InstructionSequence || # 1.9.2 and later
44
+ n.class == Node::METHOD # 1.9.1 and earlier
44
45
  else
45
46
  # pre-YARV
46
47
  assert_equal Node::SCOPE, n.class
47
48
  end
48
49
  end
49
50
 
50
- def test_marshal_method
51
+ def test_dump_method
52
+ o = MarshalMethodHelper.new
53
+ m = o.method(:foo)
54
+ d = Marshal.dump(m)
55
+ end
56
+
57
+ def test_load_method
51
58
  o = MarshalMethodHelper.new
52
59
  m = o.method(:foo)
53
60
  d = Marshal.dump(m)
@@ -55,7 +62,13 @@ class TC_Method < Test::Unit::TestCase
55
62
  assert_equal m.call, m2.call
56
63
  end
57
64
 
58
- def test_marshal_unbound_method
65
+ def test_dump_unbound_method
66
+ o = MarshalMethodHelper.new
67
+ u = o.method(:foo).unbind
68
+ d = Marshal.dump(u)
69
+ end
70
+
71
+ def test_load_unbound_method
59
72
  o = MarshalMethodHelper.new
60
73
  u = o.method(:foo).unbind
61
74
  d = Marshal.dump(u)
@@ -64,6 +77,11 @@ class TC_Method < Test::Unit::TestCase
64
77
  m2 = u.bind(o)
65
78
  assert_equal m.call, m2.call
66
79
  end
80
+
81
+ def test_method_oid
82
+ m = method(:foo)
83
+ oid = m.method_oid
84
+ end
67
85
  end
68
86
 
69
87
  if __FILE__ == $0 then
data/test/test_node.rb CHANGED
@@ -42,9 +42,23 @@ class TC_Node < Test::Unit::TestCase
42
42
  n = m.body
43
43
  d = Marshal.dump(n)
44
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
45
+ case n2
46
+ when Node
47
+ # 1.9.1 and earlier
48
+ assert_equal n.nd_file, n2.nd_file
49
+ assert_equal n.nd_type, n2.nd_type
50
+ assert_equal n.flags, n2.flags
51
+ when RubyVM::InstructionSequence
52
+ # 1.9.2 and later
53
+ assert_equal n.name, n2.name
54
+ assert_equal n.filename, n2.filename
55
+ assert_equal n.argc, n2.argc
56
+ assert_equal n.arg_simple, n2.arg_simple
57
+ assert_equal n.arg_rest, n2.arg_rest
58
+ assert_equal n.arg_block, n2.arg_block
59
+ else
60
+ fail "Unexpeced type #{n2.class}"
61
+ end
48
62
  klass = Class.new;
49
63
  klass.instance_eval do
50
64
  add_method(:foo, n2, Noex::PUBLIC)
@@ -72,6 +86,8 @@ class TC_Node < Test::Unit::TestCase
72
86
  end
73
87
 
74
88
  if __FILE__ == $0 then
75
- exit Test::Unit::AutoRunner.run
89
+ $: << '.' # TODO: hack
90
+ require 'test_helpers'
91
+ run_all_tests
76
92
  end
77
93
 
metadata CHANGED
@@ -1,46 +1,51 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: ruby-internal
3
- version: !ruby/object:Gem::Version
4
- version: 0.7.3
3
+ version: !ruby/object:Gem::Version
4
+ hash: 63
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 8
9
+ - 0
10
+ version: 0.8.0
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Paul Brannan
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2012-05-04 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2012-05-11 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
15
21
  name: rubypp
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: 0.0.1
22
- type: :runtime
23
22
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
23
+ requirement: &id001 !ruby/object:Gem::Requirement
25
24
  none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ hash: 29
29
+ segments:
30
+ - 0
31
+ - 0
32
+ - 1
29
33
  version: 0.0.1
30
- description: ! 'Ruby-Internal is Ruby module that provides direct access to Ruby''s
31
-
34
+ type: :runtime
35
+ version_requirements: *id001
36
+ description: |
37
+ Ruby-Internal is Ruby module that provides direct access to Ruby's
32
38
  internal data structures.
33
39
 
34
- '
35
40
  email: curlypaul924@gmail.com
36
- executables:
41
+ executables:
37
42
  - ruby-internal-node-dump
38
43
  - ruby-internal-obfuscate
39
- extensions:
44
+ extensions:
40
45
  - Rakefile
41
- extra_rdoc_files:
46
+ extra_rdoc_files:
42
47
  - README
43
- files:
48
+ files:
44
49
  - lib/internal/node/to_a.rb
45
50
  - lib/internal/node/as_code.rb
46
51
  - lib/internal/node/obfusc.rb
@@ -59,7 +64,12 @@ files:
59
64
  - lib/internal/vm/bytedecoder.rb
60
65
  - lib/internal/vm/constants.rb
61
66
  - lib/internal/object.rb
67
+ - lib/internal/method/origin.rb
62
68
  - lib/internal/method/signature.rb
69
+ - lib/internal/method/signature/signature.rb
70
+ - lib/internal/method/signature/argument.rb
71
+ - lib/internal/method/signature/iseq.rb
72
+ - lib/internal/method/signature/node.rb
63
73
  - lib/internal/method/as_code.rb
64
74
  - lib/internal/method/as_expression.rb
65
75
  - lib/internal/vm.rb
@@ -90,6 +100,7 @@ files:
90
100
  - ext/internal/method/internal_method.h.rpp
91
101
  - ext/internal/binding/block.h.rpp
92
102
  - ext/internal/module/classpath.h.rpp
103
+ - ext/internal/module/getcfp.h.rpp
93
104
  - ext/internal/module/classpath.c.rpp
94
105
  - ext/internal/proc/block.h.rpp
95
106
  - ext/internal/tag/tag.h.rpp
@@ -125,8 +136,8 @@ files:
125
136
  - ext/internal/method/internal_method.h
126
137
  - ext/internal/binding/block.h
127
138
  - ext/internal/module/classpath.h
128
- - ext/internal/module/cfp.h
129
139
  - ext/internal/module/module.h
140
+ - ext/internal/module/getcfp.h
130
141
  - ext/internal/proc/block.h
131
142
  - ext/internal/tag/tag.h
132
143
  - ext/internal/node/read_node_h.rb
@@ -147,21 +158,6 @@ files:
147
158
  - ext/internal/thread/extconf.rb
148
159
  - ext/internal/proc/extconf.rb
149
160
  - ext/internal/tag/extconf.rb
150
- - ext/cached/ruby-1.8.1/internal/node/global_entry.h
151
- - ext/cached/ruby-1.8.1/internal/node/block.h
152
- - ext/cached/ruby-1.8.1/internal/node/nodeinfo.h
153
- - ext/cached/ruby-1.8.1/internal/node/node_type_descrip.c
154
- - ext/cached/ruby-1.8.1/internal/node/nodeinfo.c
155
- - ext/cached/ruby-1.8.1/internal/vm/iseq/insns_info.inc
156
- - ext/cached/ruby-1.8.1/internal/vm/iseq/iseq_load.inc
157
- - ext/cached/ruby-1.8.1/internal/vm/instruction/insns_info.h
158
- - ext/cached/ruby-1.8.1/internal/vm/instruction/insns_info.c
159
- - ext/cached/ruby-1.8.1/internal/method/method.h
160
- - ext/cached/ruby-1.8.1/internal/binding/block.h
161
- - ext/cached/ruby-1.8.1/internal/module/classpath.c
162
- - ext/cached/ruby-1.8.1/internal/module/classpath.h
163
- - ext/cached/ruby-1.8.1/internal/proc/block.h
164
- - ext/cached/ruby-1.8.1/internal/tag/tag.h
165
161
  - ext/cached/ruby-1.8.5/internal/node/global_entry.h
166
162
  - ext/cached/ruby-1.8.5/internal/node/block.h
167
163
  - ext/cached/ruby-1.8.5/internal/node/nodeinfo.h
@@ -171,79 +167,97 @@ files:
171
167
  - ext/cached/ruby-1.8.5/internal/vm/iseq/iseq_load.inc
172
168
  - ext/cached/ruby-1.8.5/internal/vm/instruction/insns_info.h
173
169
  - ext/cached/ruby-1.8.5/internal/vm/instruction/insns_info.c
174
- - ext/cached/ruby-1.8.5/internal/method/method.h
170
+ - ext/cached/ruby-1.8.5/internal/method/internal_method.h
175
171
  - ext/cached/ruby-1.8.5/internal/binding/block.h
176
172
  - ext/cached/ruby-1.8.5/internal/module/classpath.c
177
173
  - ext/cached/ruby-1.8.5/internal/module/classpath.h
174
+ - ext/cached/ruby-1.8.5/internal/module/getcfp.h
178
175
  - ext/cached/ruby-1.8.5/internal/proc/block.h
179
176
  - ext/cached/ruby-1.8.5/internal/tag/tag.h
180
- - ext/cached/ruby-1.9.0/internal/node/global_entry.h
181
- - ext/cached/ruby-1.9.0/internal/node/block.h
182
- - ext/cached/ruby-1.9.0/internal/node/nodeinfo.h
183
- - ext/cached/ruby-1.9.0/internal/node/node_type_descrip.c
184
- - ext/cached/ruby-1.9.0/internal/node/nodeinfo.c
185
- - ext/cached/ruby-1.9.0/internal/yarv-headers/eval_intern.h
186
- - ext/cached/ruby-1.9.0/internal/yarv-headers/debug.h
187
- - ext/cached/ruby-1.9.0/internal/yarv-headers/thread_pthread.h
188
- - ext/cached/ruby-1.9.0/internal/yarv-headers/vm_insnhelper.h
189
- - ext/cached/ruby-1.9.0/internal/yarv-headers/thread_win32.h
190
- - ext/cached/ruby-1.9.0/internal/yarv-headers/regparse.h
191
- - ext/cached/ruby-1.9.0/internal/yarv-headers/vm_exec.h
192
- - ext/cached/ruby-1.9.0/internal/yarv-headers/regint.h
193
- - ext/cached/ruby-1.9.0/internal/yarv-headers/gc.h
194
- - ext/cached/ruby-1.9.0/internal/yarv-headers/transcode_data.h
195
- - ext/cached/ruby-1.9.0/internal/yarv-headers/id.h
196
- - ext/cached/ruby-1.9.0/internal/yarv-headers/iseq.h
197
- - ext/cached/ruby-1.9.0/internal/yarv-headers/dln.h
198
- - ext/cached/ruby-1.9.0/internal/yarv-headers/version.h
199
- - ext/cached/ruby-1.9.0/internal/yarv-headers/vm_core.h
200
- - ext/cached/ruby-1.9.0/internal/yarv-headers/node.h
201
- - ext/cached/ruby-1.9.0/internal/yarv-headers/transdb.h
202
- - ext/cached/ruby-1.9.0/internal/yarv-headers/regenc.h
203
- - ext/cached/ruby-1.9.0/internal/yarv-headers/parse.h
204
- - ext/cached/ruby-1.9.0/internal/yarv-headers/encdb.h
205
- - ext/cached/ruby-1.9.0/internal/yarv-headers/revision.h
206
- - ext/cached/ruby-1.9.0/internal/yarv-headers/vm_opts.h
207
- - ext/cached/ruby-1.9.0/internal/vm/iseq/insns_info.inc
208
- - ext/cached/ruby-1.9.0/internal/vm/iseq/iseq_load.inc
209
- - ext/cached/ruby-1.9.0/internal/vm/instruction/insns_info.h
210
- - ext/cached/ruby-1.9.0/internal/vm/instruction/insns_info.c
211
- - ext/cached/ruby-1.9.0/internal/method/method.h
212
- - ext/cached/ruby-1.9.0/internal/binding/block.h
213
- - ext/cached/ruby-1.9.0/internal/module/classpath.c
214
- - ext/cached/ruby-1.9.0/internal/module/classpath.h
215
- - ext/cached/ruby-1.9.0/internal/proc/block.h
216
- - ext/cached/ruby-1.9.0/internal/tag/tag.h
217
- - ext/cached/ruby-1.6.8/internal/node/global_entry.h
218
- - ext/cached/ruby-1.6.8/internal/node/block.h
219
- - ext/cached/ruby-1.6.8/internal/node/nodeinfo.h
220
- - ext/cached/ruby-1.6.8/internal/node/node_type_descrip.c
221
- - ext/cached/ruby-1.6.8/internal/node/nodeinfo.c
222
- - ext/cached/ruby-1.6.8/internal/vm/iseq/insns_info.inc
223
- - ext/cached/ruby-1.6.8/internal/vm/iseq/iseq_load.inc
224
- - ext/cached/ruby-1.6.8/internal/vm/instruction/insns_info.h
225
- - ext/cached/ruby-1.6.8/internal/vm/instruction/insns_info.c
226
- - ext/cached/ruby-1.6.8/internal/method/method.h
227
- - ext/cached/ruby-1.6.8/internal/binding/block.h
228
- - ext/cached/ruby-1.6.8/internal/module/classpath.c
229
- - ext/cached/ruby-1.6.8/internal/module/classpath.h
230
- - ext/cached/ruby-1.6.8/internal/proc/block.h
231
- - ext/cached/ruby-1.6.8/internal/tag/tag.h
232
- - ext/cached/ruby-1.8.0/internal/node/global_entry.h
233
- - ext/cached/ruby-1.8.0/internal/node/block.h
234
- - ext/cached/ruby-1.8.0/internal/node/nodeinfo.h
235
- - ext/cached/ruby-1.8.0/internal/node/node_type_descrip.c
236
- - ext/cached/ruby-1.8.0/internal/node/nodeinfo.c
237
- - ext/cached/ruby-1.8.0/internal/vm/iseq/insns_info.inc
238
- - ext/cached/ruby-1.8.0/internal/vm/iseq/iseq_load.inc
239
- - ext/cached/ruby-1.8.0/internal/vm/instruction/insns_info.h
240
- - ext/cached/ruby-1.8.0/internal/vm/instruction/insns_info.c
241
- - ext/cached/ruby-1.8.0/internal/method/method.h
242
- - ext/cached/ruby-1.8.0/internal/binding/block.h
243
- - ext/cached/ruby-1.8.0/internal/module/classpath.c
244
- - ext/cached/ruby-1.8.0/internal/module/classpath.h
245
- - ext/cached/ruby-1.8.0/internal/proc/block.h
246
- - ext/cached/ruby-1.8.0/internal/tag/tag.h
177
+ - ext/cached/ruby-1.9.2/internal/node/global_entry.h
178
+ - ext/cached/ruby-1.9.2/internal/node/block.h
179
+ - ext/cached/ruby-1.9.2/internal/node/nodeinfo.h
180
+ - ext/cached/ruby-1.9.2/internal/node/node_type_descrip.c
181
+ - ext/cached/ruby-1.9.2/internal/node/nodeinfo.c
182
+ - ext/cached/ruby-1.9.2/internal/yarv-headers/eval_intern.h
183
+ - ext/cached/ruby-1.9.2/internal/yarv-headers/debug.h
184
+ - ext/cached/ruby-1.9.2/internal/yarv-headers/thread_pthread.h
185
+ - ext/cached/ruby-1.9.2/internal/yarv-headers/vm_insnhelper.h
186
+ - ext/cached/ruby-1.9.2/internal/yarv-headers/thread_win32.h
187
+ - ext/cached/ruby-1.9.2/internal/yarv-headers/regparse.h
188
+ - ext/cached/ruby-1.9.2/internal/yarv-headers/vm_exec.h
189
+ - ext/cached/ruby-1.9.2/internal/yarv-headers/regint.h
190
+ - ext/cached/ruby-1.9.2/internal/yarv-headers/gc.h
191
+ - ext/cached/ruby-1.9.2/internal/yarv-headers/transcode_data.h
192
+ - ext/cached/ruby-1.9.2/internal/yarv-headers/id.h
193
+ - ext/cached/ruby-1.9.2/internal/yarv-headers/iseq.h
194
+ - ext/cached/ruby-1.9.2/internal/yarv-headers/method.h
195
+ - ext/cached/ruby-1.9.2/internal/yarv-headers/dln.h
196
+ - ext/cached/ruby-1.9.2/internal/yarv-headers/version.h
197
+ - ext/cached/ruby-1.9.2/internal/yarv-headers/vm_core.h
198
+ - ext/cached/ruby-1.9.2/internal/yarv-headers/node.h
199
+ - ext/cached/ruby-1.9.2/internal/yarv-headers/transdb.h
200
+ - ext/cached/ruby-1.9.2/internal/yarv-headers/regenc.h
201
+ - ext/cached/ruby-1.9.2/internal/yarv-headers/parse.h
202
+ - ext/cached/ruby-1.9.2/internal/yarv-headers/timev.h
203
+ - ext/cached/ruby-1.9.2/internal/yarv-headers/encdb.h
204
+ - ext/cached/ruby-1.9.2/internal/yarv-headers/revision.h
205
+ - ext/cached/ruby-1.9.2/internal/yarv-headers/vm_opts.h
206
+ - ext/cached/ruby-1.9.2/internal/vm/iseq/insns_info.inc
207
+ - ext/cached/ruby-1.9.2/internal/vm/iseq/iseq_load.inc
208
+ - ext/cached/ruby-1.9.2/internal/vm/instruction/insns_info.h
209
+ - ext/cached/ruby-1.9.2/internal/vm/instruction/insns_info.c
210
+ - ext/cached/ruby-1.9.2/internal/method/internal_method.h
211
+ - ext/cached/ruby-1.9.2/internal/binding/block.h
212
+ - ext/cached/ruby-1.9.2/internal/module/classpath.c
213
+ - ext/cached/ruby-1.9.2/internal/module/classpath.h
214
+ - ext/cached/ruby-1.9.2/internal/module/getcfp.h
215
+ - ext/cached/ruby-1.9.2/internal/proc/block.h
216
+ - ext/cached/ruby-1.9.2/internal/tag/tag.h
217
+ - ext/cached/ruby-1.9.3/internal/node/global_entry.h
218
+ - ext/cached/ruby-1.9.3/internal/node/block.h
219
+ - ext/cached/ruby-1.9.3/internal/node/nodeinfo.h
220
+ - ext/cached/ruby-1.9.3/internal/node/node_type_descrip.c
221
+ - ext/cached/ruby-1.9.3/internal/node/nodeinfo.c
222
+ - ext/cached/ruby-1.9.3/internal/yarv-headers/eval_intern.h
223
+ - ext/cached/ruby-1.9.3/internal/yarv-headers/constant.h
224
+ - ext/cached/ruby-1.9.3/internal/yarv-headers/debug.h
225
+ - ext/cached/ruby-1.9.3/internal/yarv-headers/thread_pthread.h
226
+ - ext/cached/ruby-1.9.3/internal/yarv-headers/vm_insnhelper.h
227
+ - ext/cached/ruby-1.9.3/internal/yarv-headers/thread_win32.h
228
+ - ext/cached/ruby-1.9.3/internal/yarv-headers/regparse.h
229
+ - ext/cached/ruby-1.9.3/internal/yarv-headers/vm_exec.h
230
+ - ext/cached/ruby-1.9.3/internal/yarv-headers/regint.h
231
+ - ext/cached/ruby-1.9.3/internal/yarv-headers/gc.h
232
+ - ext/cached/ruby-1.9.3/internal/yarv-headers/transcode_data.h
233
+ - ext/cached/ruby-1.9.3/internal/yarv-headers/id.h
234
+ - ext/cached/ruby-1.9.3/internal/yarv-headers/iseq.h
235
+ - ext/cached/ruby-1.9.3/internal/yarv-headers/addr2line.h
236
+ - ext/cached/ruby-1.9.3/internal/yarv-headers/method.h
237
+ - ext/cached/ruby-1.9.3/internal/yarv-headers/dln.h
238
+ - ext/cached/ruby-1.9.3/internal/yarv-headers/version.h
239
+ - ext/cached/ruby-1.9.3/internal/yarv-headers/vm_core.h
240
+ - ext/cached/ruby-1.9.3/internal/yarv-headers/node.h
241
+ - ext/cached/ruby-1.9.3/internal/yarv-headers/transdb.h
242
+ - ext/cached/ruby-1.9.3/internal/yarv-headers/regenc.h
243
+ - ext/cached/ruby-1.9.3/internal/yarv-headers/atomic.h
244
+ - ext/cached/ruby-1.9.3/internal/yarv-headers/parse.h
245
+ - ext/cached/ruby-1.9.3/internal/yarv-headers/timev.h
246
+ - ext/cached/ruby-1.9.3/internal/yarv-headers/encdb.h
247
+ - ext/cached/ruby-1.9.3/internal/yarv-headers/revision.h
248
+ - ext/cached/ruby-1.9.3/internal/yarv-headers/vm_opts.h
249
+ - ext/cached/ruby-1.9.3/internal/yarv-headers/internal.h
250
+ - ext/cached/ruby-1.9.3/internal/vm/iseq/insns_info.inc
251
+ - ext/cached/ruby-1.9.3/internal/vm/iseq/iseq_load.inc
252
+ - ext/cached/ruby-1.9.3/internal/vm/instruction/insns_info.h
253
+ - ext/cached/ruby-1.9.3/internal/vm/instruction/insns_info.c
254
+ - ext/cached/ruby-1.9.3/internal/method/internal_method.h
255
+ - ext/cached/ruby-1.9.3/internal/binding/block.h
256
+ - ext/cached/ruby-1.9.3/internal/module/classpath.c
257
+ - ext/cached/ruby-1.9.3/internal/module/classpath.h
258
+ - ext/cached/ruby-1.9.3/internal/module/getcfp.h
259
+ - ext/cached/ruby-1.9.3/internal/proc/block.h
260
+ - ext/cached/ruby-1.9.3/internal/tag/tag.h
247
261
  - ext/cached/ruby-1.8.6/internal/node/global_entry.h
248
262
  - ext/cached/ruby-1.8.6/internal/node/block.h
249
263
  - ext/cached/ruby-1.8.6/internal/node/nodeinfo.h
@@ -253,10 +267,11 @@ files:
253
267
  - ext/cached/ruby-1.8.6/internal/vm/iseq/iseq_load.inc
254
268
  - ext/cached/ruby-1.8.6/internal/vm/instruction/insns_info.h
255
269
  - ext/cached/ruby-1.8.6/internal/vm/instruction/insns_info.c
256
- - ext/cached/ruby-1.8.6/internal/method/method.h
270
+ - ext/cached/ruby-1.8.6/internal/method/internal_method.h
257
271
  - ext/cached/ruby-1.8.6/internal/binding/block.h
258
272
  - ext/cached/ruby-1.8.6/internal/module/classpath.c
259
273
  - ext/cached/ruby-1.8.6/internal/module/classpath.h
274
+ - ext/cached/ruby-1.8.6/internal/module/getcfp.h
260
275
  - ext/cached/ruby-1.8.6/internal/proc/block.h
261
276
  - ext/cached/ruby-1.8.6/internal/tag/tag.h
262
277
  - ext/cached/ruby-1.8.4/internal/node/global_entry.h
@@ -268,27 +283,13 @@ files:
268
283
  - ext/cached/ruby-1.8.4/internal/vm/iseq/iseq_load.inc
269
284
  - ext/cached/ruby-1.8.4/internal/vm/instruction/insns_info.h
270
285
  - ext/cached/ruby-1.8.4/internal/vm/instruction/insns_info.c
271
- - ext/cached/ruby-1.8.4/internal/method/method.h
286
+ - ext/cached/ruby-1.8.4/internal/method/internal_method.h
272
287
  - ext/cached/ruby-1.8.4/internal/binding/block.h
273
288
  - ext/cached/ruby-1.8.4/internal/module/classpath.c
274
289
  - ext/cached/ruby-1.8.4/internal/module/classpath.h
290
+ - ext/cached/ruby-1.8.4/internal/module/getcfp.h
275
291
  - ext/cached/ruby-1.8.4/internal/proc/block.h
276
292
  - ext/cached/ruby-1.8.4/internal/tag/tag.h
277
- - ext/cached/ruby-1.8.3/internal/node/global_entry.h
278
- - ext/cached/ruby-1.8.3/internal/node/block.h
279
- - ext/cached/ruby-1.8.3/internal/node/nodeinfo.h
280
- - ext/cached/ruby-1.8.3/internal/node/node_type_descrip.c
281
- - ext/cached/ruby-1.8.3/internal/node/nodeinfo.c
282
- - ext/cached/ruby-1.8.3/internal/vm/iseq/insns_info.inc
283
- - ext/cached/ruby-1.8.3/internal/vm/iseq/iseq_load.inc
284
- - ext/cached/ruby-1.8.3/internal/vm/instruction/insns_info.h
285
- - ext/cached/ruby-1.8.3/internal/vm/instruction/insns_info.c
286
- - ext/cached/ruby-1.8.3/internal/method/method.h
287
- - ext/cached/ruby-1.8.3/internal/binding/block.h
288
- - ext/cached/ruby-1.8.3/internal/module/classpath.c
289
- - ext/cached/ruby-1.8.3/internal/module/classpath.h
290
- - ext/cached/ruby-1.8.3/internal/proc/block.h
291
- - ext/cached/ruby-1.8.3/internal/tag/tag.h
292
293
  - ext/cached/ruby-1.8.7/internal/node/global_entry.h
293
294
  - ext/cached/ruby-1.8.7/internal/node/block.h
294
295
  - ext/cached/ruby-1.8.7/internal/node/nodeinfo.h
@@ -298,10 +299,11 @@ files:
298
299
  - ext/cached/ruby-1.8.7/internal/vm/iseq/iseq_load.inc
299
300
  - ext/cached/ruby-1.8.7/internal/vm/instruction/insns_info.h
300
301
  - ext/cached/ruby-1.8.7/internal/vm/instruction/insns_info.c
301
- - ext/cached/ruby-1.8.7/internal/method/method.h
302
+ - ext/cached/ruby-1.8.7/internal/method/internal_method.h
302
303
  - ext/cached/ruby-1.8.7/internal/binding/block.h
303
304
  - ext/cached/ruby-1.8.7/internal/module/classpath.c
304
305
  - ext/cached/ruby-1.8.7/internal/module/classpath.h
306
+ - ext/cached/ruby-1.8.7/internal/module/getcfp.h
305
307
  - ext/cached/ruby-1.8.7/internal/proc/block.h
306
308
  - ext/cached/ruby-1.8.7/internal/tag/tag.h
307
309
  - ext/cached/ruby-1.9.1/internal/node/global_entry.h
@@ -335,27 +337,13 @@ files:
335
337
  - ext/cached/ruby-1.9.1/internal/vm/iseq/iseq_load.inc
336
338
  - ext/cached/ruby-1.9.1/internal/vm/instruction/insns_info.h
337
339
  - ext/cached/ruby-1.9.1/internal/vm/instruction/insns_info.c
338
- - ext/cached/ruby-1.9.1/internal/method/method.h
340
+ - ext/cached/ruby-1.9.1/internal/method/internal_method.h
339
341
  - ext/cached/ruby-1.9.1/internal/binding/block.h
340
342
  - ext/cached/ruby-1.9.1/internal/module/classpath.c
341
343
  - ext/cached/ruby-1.9.1/internal/module/classpath.h
344
+ - ext/cached/ruby-1.9.1/internal/module/getcfp.h
342
345
  - ext/cached/ruby-1.9.1/internal/proc/block.h
343
346
  - ext/cached/ruby-1.9.1/internal/tag/tag.h
344
- - ext/cached/ruby-1.8.2/internal/node/global_entry.h
345
- - ext/cached/ruby-1.8.2/internal/node/block.h
346
- - ext/cached/ruby-1.8.2/internal/node/nodeinfo.h
347
- - ext/cached/ruby-1.8.2/internal/node/node_type_descrip.c
348
- - ext/cached/ruby-1.8.2/internal/node/nodeinfo.c
349
- - ext/cached/ruby-1.8.2/internal/vm/iseq/insns_info.inc
350
- - ext/cached/ruby-1.8.2/internal/vm/iseq/iseq_load.inc
351
- - ext/cached/ruby-1.8.2/internal/vm/instruction/insns_info.h
352
- - ext/cached/ruby-1.8.2/internal/vm/instruction/insns_info.c
353
- - ext/cached/ruby-1.8.2/internal/method/method.h
354
- - ext/cached/ruby-1.8.2/internal/binding/block.h
355
- - ext/cached/ruby-1.8.2/internal/module/classpath.c
356
- - ext/cached/ruby-1.8.2/internal/module/classpath.h
357
- - ext/cached/ruby-1.8.2/internal/proc/block.h
358
- - ext/cached/ruby-1.8.2/internal/tag/tag.h
359
347
  - example/simple_server.rb
360
348
  - example/triangle_server.rb
361
349
  - example/simple_client.rb
@@ -397,30 +385,39 @@ files:
397
385
  - sample/irbrc
398
386
  homepage: http://rubystuff.org/nodewrap/
399
387
  licenses: []
388
+
400
389
  post_install_message:
401
390
  rdoc_options: []
402
- require_paths:
391
+
392
+ require_paths:
403
393
  - lib
404
394
  - ext
405
- required_ruby_version: !ruby/object:Gem::Requirement
395
+ required_ruby_version: !ruby/object:Gem::Requirement
406
396
  none: false
407
- requirements:
408
- - - ! '>='
409
- - !ruby/object:Gem::Version
410
- version: '0'
411
- required_rubygems_version: !ruby/object:Gem::Requirement
397
+ requirements:
398
+ - - ">="
399
+ - !ruby/object:Gem::Version
400
+ hash: 3
401
+ segments:
402
+ - 0
403
+ version: "0"
404
+ required_rubygems_version: !ruby/object:Gem::Requirement
412
405
  none: false
413
- requirements:
414
- - - ! '>='
415
- - !ruby/object:Gem::Version
416
- version: '0'
406
+ requirements:
407
+ - - ">="
408
+ - !ruby/object:Gem::Version
409
+ hash: 3
410
+ segments:
411
+ - 0
412
+ version: "0"
417
413
  requirements: []
414
+
418
415
  rubyforge_project: nodewrap
419
416
  rubygems_version: 1.8.24
420
417
  signing_key:
421
418
  specification_version: 3
422
419
  summary: A library that provides acccess to the internals of the ruby interpreter
423
- test_files:
420
+ test_files:
424
421
  - test/test_methodsig.rb
425
422
  - test/test_dump_method.rb
426
423
  - test/test_dump_proc.rb