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.
- data/bin/ruby-internal-node-dump +1 -1
- data/bin/ruby-internal-obfuscate +1 -1
- data/ext/cached/ruby-1.8.4/internal/method/{method.h → internal_method.h} +12 -0
- data/ext/cached/ruby-1.8.4/internal/module/getcfp.h +13 -0
- data/ext/cached/ruby-1.8.4/internal/node/global_entry.h +94 -0
- data/ext/cached/ruby-1.8.4/internal/node/node_type_descrip.c +41 -41
- data/ext/cached/ruby-1.8.4/internal/node/nodeinfo.c +288 -273
- data/ext/cached/ruby-1.8.4/internal/vm/instruction/insns_info.c +3 -0
- data/ext/cached/ruby-1.8.4/internal/vm/iseq/iseq_load.inc +21 -2
- data/ext/cached/{ruby-1.8.3/internal/method/method.h → ruby-1.8.5/internal/method/internal_method.h} +12 -0
- data/ext/cached/ruby-1.8.5/internal/module/getcfp.h +13 -0
- data/ext/cached/ruby-1.8.5/internal/node/global_entry.h +94 -0
- data/ext/cached/ruby-1.8.5/internal/node/node_type_descrip.c +45 -45
- data/ext/cached/ruby-1.8.5/internal/node/nodeinfo.c +310 -295
- data/ext/cached/ruby-1.8.5/internal/vm/instruction/insns_info.c +3 -0
- data/ext/cached/ruby-1.8.5/internal/vm/iseq/iseq_load.inc +21 -2
- data/ext/cached/{ruby-1.8.5/internal/method/method.h → ruby-1.8.6/internal/method/internal_method.h} +12 -0
- data/ext/cached/ruby-1.8.6/internal/module/getcfp.h +13 -0
- data/ext/cached/ruby-1.8.6/internal/node/global_entry.h +94 -0
- data/ext/cached/ruby-1.8.6/internal/node/node_type_descrip.c +48 -48
- data/ext/cached/ruby-1.8.6/internal/node/nodeinfo.c +323 -308
- data/ext/cached/ruby-1.8.6/internal/vm/instruction/insns_info.c +3 -0
- data/ext/cached/ruby-1.8.6/internal/vm/iseq/iseq_load.inc +21 -2
- data/ext/cached/{ruby-1.8.6/internal/method/method.h → ruby-1.8.7/internal/method/internal_method.h} +12 -0
- data/ext/cached/ruby-1.8.7/internal/module/getcfp.h +13 -0
- data/ext/cached/ruby-1.8.7/internal/node/global_entry.h +98 -0
- data/ext/cached/ruby-1.8.7/internal/node/node_type_descrip.c +42 -42
- data/ext/cached/ruby-1.8.7/internal/node/nodeinfo.c +276 -261
- data/ext/cached/ruby-1.8.7/internal/vm/instruction/insns_info.c +3 -0
- data/ext/cached/ruby-1.8.7/internal/vm/iseq/iseq_load.inc +21 -2
- data/ext/cached/{ruby-1.9.0/internal/method/method.h → ruby-1.9.1/internal/method/internal_method.h} +12 -0
- data/ext/cached/ruby-1.9.1/internal/module/classpath.c +12 -14
- data/ext/cached/ruby-1.9.1/internal/module/getcfp.h +25 -0
- data/ext/cached/ruby-1.9.1/internal/node/global_entry.h +86 -0
- data/ext/cached/ruby-1.9.1/internal/node/node_type_descrip.c +46 -48
- data/ext/cached/ruby-1.9.1/internal/node/nodeinfo.c +311 -412
- data/ext/cached/ruby-1.9.1/internal/vm/instruction/insns_info.c +3 -0
- data/ext/cached/ruby-1.9.1/internal/vm/iseq/iseq_load.inc +28 -6
- data/ext/cached/ruby-1.9.1/internal/yarv-headers/iseq.h +1 -0
- data/ext/cached/ruby-1.9.1/internal/yarv-headers/parse.h +6 -6
- data/ext/cached/ruby-1.9.1/internal/yarv-headers/revision.h +1 -1
- data/ext/cached/ruby-1.9.1/internal/yarv-headers/version.h +6 -5
- data/ext/cached/ruby-1.9.1/internal/yarv-headers/vm_core.h +3 -2
- data/ext/cached/ruby-1.9.1/internal/yarv-headers/vm_insnhelper.h +1 -0
- data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/binding/block.h +0 -0
- data/ext/cached/{ruby-1.9.1/internal/method/method.h → ruby-1.9.2/internal/method/internal_method.h} +16 -5
- data/ext/cached/ruby-1.9.2/internal/module/classpath.c +40 -0
- data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/module/classpath.h +0 -0
- data/ext/cached/ruby-1.9.2/internal/module/getcfp.h +25 -0
- data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/node/block.h +0 -0
- data/ext/cached/ruby-1.9.2/internal/node/global_entry.h +93 -0
- data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/node/node_type_descrip.c +44 -48
- data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/node/nodeinfo.c +291 -439
- data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/node/nodeinfo.h +0 -0
- data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/proc/block.h +0 -0
- data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/tag/tag.h +0 -0
- data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/vm/instruction/insns_info.c +141 -64
- data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/vm/instruction/insns_info.h +88 -80
- data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/vm/iseq/insns_info.inc +77 -70
- data/ext/cached/ruby-1.9.2/internal/vm/iseq/iseq_load.inc +426 -0
- data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/debug.h +1 -1
- data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/dln.h +3 -3
- data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/encdb.h +18 -2
- data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/eval_intern.h +39 -28
- data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/gc.h +7 -5
- data/ext/cached/ruby-1.9.2/internal/yarv-headers/id.h +170 -0
- data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/iseq.h +20 -10
- data/ext/cached/ruby-1.9.2/internal/yarv-headers/method.h +103 -0
- data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/node.h +14 -47
- data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/parse.h +31 -148
- data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/regenc.h +7 -3
- data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/regint.h +16 -17
- data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/regparse.h +4 -1
- data/ext/cached/ruby-1.9.2/internal/yarv-headers/revision.h +1 -0
- data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/thread_pthread.h +4 -1
- data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/thread_win32.h +1 -1
- data/ext/cached/ruby-1.9.2/internal/yarv-headers/timev.h +21 -0
- data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/transcode_data.h +20 -10
- data/ext/cached/ruby-1.9.2/internal/yarv-headers/transdb.h +179 -0
- data/ext/cached/ruby-1.9.2/internal/yarv-headers/version.h +55 -0
- data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/vm_core.h +127 -84
- data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/vm_exec.h +4 -7
- data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/vm_insnhelper.h +53 -36
- data/ext/cached/{ruby-1.9.0 → ruby-1.9.2}/internal/yarv-headers/vm_opts.h +1 -1
- data/ext/cached/ruby-1.9.3/internal/binding/block.h +12 -0
- data/ext/cached/ruby-1.9.3/internal/method/internal_method.h +32 -0
- data/ext/cached/ruby-1.9.3/internal/module/classpath.c +40 -0
- data/ext/cached/{ruby-1.8.0 → ruby-1.9.3}/internal/module/classpath.h +5 -2
- data/ext/cached/ruby-1.9.3/internal/module/getcfp.h +25 -0
- data/ext/cached/ruby-1.9.3/internal/node/block.h +12 -0
- data/ext/cached/ruby-1.9.3/internal/node/global_entry.h +93 -0
- data/ext/cached/{ruby-1.8.3 → ruby-1.9.3}/internal/node/node_type_descrip.c +48 -57
- data/ext/cached/{ruby-1.6.8 → ruby-1.9.3}/internal/node/nodeinfo.c +589 -740
- data/ext/cached/{ruby-1.8.0 → ruby-1.9.3}/internal/node/nodeinfo.h +4 -3
- data/ext/cached/ruby-1.9.3/internal/proc/block.h +12 -0
- data/ext/cached/ruby-1.9.3/internal/tag/tag.h +6 -0
- data/ext/cached/ruby-1.9.3/internal/vm/instruction/insns_info.c +6013 -0
- data/ext/cached/ruby-1.9.3/internal/vm/instruction/insns_info.h +899 -0
- data/ext/cached/ruby-1.9.3/internal/vm/iseq/insns_info.inc +707 -0
- data/ext/cached/ruby-1.9.3/internal/vm/iseq/iseq_load.inc +423 -0
- data/ext/cached/ruby-1.9.3/internal/yarv-headers/addr2line.h +21 -0
- data/ext/cached/ruby-1.9.3/internal/yarv-headers/atomic.h +56 -0
- data/ext/cached/ruby-1.9.3/internal/yarv-headers/constant.h +34 -0
- data/ext/cached/ruby-1.9.3/internal/yarv-headers/debug.h +41 -0
- data/ext/cached/ruby-1.9.3/internal/yarv-headers/dln.h +50 -0
- data/ext/cached/ruby-1.9.3/internal/yarv-headers/encdb.h +167 -0
- data/ext/cached/ruby-1.9.3/internal/yarv-headers/eval_intern.h +234 -0
- data/ext/cached/ruby-1.9.3/internal/yarv-headers/gc.h +98 -0
- data/ext/cached/ruby-1.9.3/internal/yarv-headers/id.h +175 -0
- data/ext/cached/ruby-1.9.3/internal/yarv-headers/internal.h +232 -0
- data/ext/cached/ruby-1.9.3/internal/yarv-headers/iseq.h +125 -0
- data/ext/cached/ruby-1.9.3/internal/yarv-headers/method.h +105 -0
- data/ext/cached/ruby-1.9.3/internal/yarv-headers/node.h +503 -0
- data/ext/cached/ruby-1.9.3/internal/yarv-headers/parse.h +186 -0
- data/ext/cached/ruby-1.9.3/internal/yarv-headers/regenc.h +219 -0
- data/ext/cached/ruby-1.9.3/internal/yarv-headers/regint.h +850 -0
- data/ext/cached/ruby-1.9.3/internal/yarv-headers/regparse.h +362 -0
- data/ext/cached/ruby-1.9.3/internal/yarv-headers/revision.h +1 -0
- data/ext/cached/ruby-1.9.3/internal/yarv-headers/thread_pthread.h +51 -0
- data/ext/cached/ruby-1.9.3/internal/yarv-headers/thread_win32.h +40 -0
- data/ext/cached/ruby-1.9.3/internal/yarv-headers/timev.h +21 -0
- data/ext/cached/ruby-1.9.3/internal/yarv-headers/transcode_data.h +117 -0
- data/ext/cached/ruby-1.9.3/internal/yarv-headers/transdb.h +189 -0
- data/ext/cached/ruby-1.9.3/internal/yarv-headers/version.h +52 -0
- data/ext/cached/ruby-1.9.3/internal/yarv-headers/vm_core.h +756 -0
- data/ext/cached/ruby-1.9.3/internal/yarv-headers/vm_exec.h +184 -0
- data/ext/cached/ruby-1.9.3/internal/yarv-headers/vm_insnhelper.h +220 -0
- data/ext/cached/ruby-1.9.3/internal/yarv-headers/vm_opts.h +51 -0
- data/ext/internal/binding/block.h +20 -0
- data/ext/internal/method/internal_method.h +5 -38
- data/ext/internal/method/internal_method.h.rpp +0 -7
- data/ext/internal/method/method.c +52 -32
- data/ext/internal/module/classpath.c +18 -13
- data/ext/internal/module/classpath.h +3 -3
- data/ext/internal/module/extconf.rb +3 -2
- data/ext/internal/module/getcfp.h +13 -0
- data/ext/internal/module/getcfp.h.rpp +44 -0
- data/ext/internal/module/module.c +58 -21
- data/ext/internal/node/block.h +20 -0
- data/ext/internal/node/extconf.rb +2 -0
- data/ext/internal/node/global_entry.h +69 -13
- data/ext/internal/node/global_entry.h.rpp +11 -2
- data/ext/internal/node/node.c +30 -3
- data/ext/internal/node/node_type_descrip.c +47 -38
- data/ext/internal/node/nodeinfo.c +622 -306
- data/ext/internal/node/nodeinfo.h +1 -4
- data/ext/internal/proc/block.h +20 -0
- data/ext/internal/tag/tag.h +10 -0
- data/ext/internal/thread/thread.c +9 -3
- data/ext/internal/vm/extconf.rb +1 -0
- data/ext/internal/vm/instruction/insns_info.c +3 -5974
- data/ext/internal/vm/instruction/insns_info.h +0 -878
- data/ext/internal/vm/iseq/extconf.rb +1 -0
- data/ext/internal/vm/iseq/iseq.c +38 -4
- data/ext/internal/vm/iseq/iseq_load.inc.rpp +23 -5
- data/ext/internal/vm/vm.c +28 -0
- data/lib/internal/classtree.rb +28 -0
- data/lib/internal/debug.rb +10 -2
- data/lib/internal/method/as_code.rb +25 -0
- data/lib/internal/method/as_expression.rb +2 -3
- data/lib/internal/method/origin.rb +29 -0
- data/lib/internal/method/signature.rb +5 -300
- data/lib/internal/method/signature/argument.rb +102 -0
- data/lib/internal/method/signature/iseq.rb +52 -0
- data/lib/internal/method/signature/node.rb +160 -0
- data/lib/internal/method/signature/signature.rb +23 -0
- data/lib/internal/proc/as_code.rb +2 -0
- data/lib/internal/proc/as_expression.rb +2 -0
- data/lib/internal/vm/bytedecoder.rb +5 -5
- data/lib/internal/vm/iseq/as_code.rb +2 -2
- data/lib/internal/vm/iseq/as_expression.rb +2 -2
- data/test/test_dump_method.rb +1 -1
- data/test/test_method.rb +21 -3
- data/test/test_node.rb +20 -4
- metadata +152 -155
- data/ext/cached/ruby-1.6.8/internal/binding/block.h +0 -35
- data/ext/cached/ruby-1.6.8/internal/method/method.h +0 -19
- data/ext/cached/ruby-1.6.8/internal/module/classpath.c +0 -3
- data/ext/cached/ruby-1.6.8/internal/module/classpath.h +0 -8
- data/ext/cached/ruby-1.6.8/internal/node/block.h +0 -35
- data/ext/cached/ruby-1.6.8/internal/node/global_entry.h +0 -15
- data/ext/cached/ruby-1.6.8/internal/node/node_type_descrip.c +0 -149
- data/ext/cached/ruby-1.6.8/internal/node/nodeinfo.h +0 -69
- data/ext/cached/ruby-1.6.8/internal/proc/block.h +0 -35
- data/ext/cached/ruby-1.6.8/internal/tag/tag.h +0 -15
- data/ext/cached/ruby-1.6.8/internal/vm/instruction/insns_info.c +0 -39
- data/ext/cached/ruby-1.6.8/internal/vm/instruction/insns_info.h +0 -21
- data/ext/cached/ruby-1.6.8/internal/vm/iseq/insns_info.inc +0 -12
- data/ext/cached/ruby-1.6.8/internal/vm/iseq/iseq_load.inc +0 -9
- data/ext/cached/ruby-1.8.0/internal/binding/block.h +0 -37
- data/ext/cached/ruby-1.8.0/internal/method/method.h +0 -19
- data/ext/cached/ruby-1.8.0/internal/module/classpath.c +0 -27
- data/ext/cached/ruby-1.8.0/internal/node/block.h +0 -37
- data/ext/cached/ruby-1.8.0/internal/node/global_entry.h +0 -10
- data/ext/cached/ruby-1.8.0/internal/node/node_type_descrip.c +0 -155
- data/ext/cached/ruby-1.8.0/internal/node/nodeinfo.c +0 -5744
- data/ext/cached/ruby-1.8.0/internal/proc/block.h +0 -37
- data/ext/cached/ruby-1.8.0/internal/tag/tag.h +0 -15
- data/ext/cached/ruby-1.8.0/internal/vm/instruction/insns_info.c +0 -39
- data/ext/cached/ruby-1.8.0/internal/vm/instruction/insns_info.h +0 -21
- data/ext/cached/ruby-1.8.0/internal/vm/iseq/insns_info.inc +0 -12
- data/ext/cached/ruby-1.8.0/internal/vm/iseq/iseq_load.inc +0 -9
- data/ext/cached/ruby-1.8.1/internal/binding/block.h +0 -31
- data/ext/cached/ruby-1.8.1/internal/method/method.h +0 -19
- data/ext/cached/ruby-1.8.1/internal/module/classpath.c +0 -27
- data/ext/cached/ruby-1.8.1/internal/module/classpath.h +0 -14
- data/ext/cached/ruby-1.8.1/internal/node/block.h +0 -31
- data/ext/cached/ruby-1.8.1/internal/node/global_entry.h +0 -10
- data/ext/cached/ruby-1.8.1/internal/node/node_type_descrip.c +0 -154
- data/ext/cached/ruby-1.8.1/internal/node/nodeinfo.c +0 -5736
- data/ext/cached/ruby-1.8.1/internal/node/nodeinfo.h +0 -69
- data/ext/cached/ruby-1.8.1/internal/proc/block.h +0 -31
- data/ext/cached/ruby-1.8.1/internal/tag/tag.h +0 -16
- data/ext/cached/ruby-1.8.1/internal/vm/instruction/insns_info.c +0 -39
- data/ext/cached/ruby-1.8.1/internal/vm/instruction/insns_info.h +0 -21
- data/ext/cached/ruby-1.8.1/internal/vm/iseq/insns_info.inc +0 -12
- data/ext/cached/ruby-1.8.1/internal/vm/iseq/iseq_load.inc +0 -9
- data/ext/cached/ruby-1.8.2/internal/binding/block.h +0 -32
- data/ext/cached/ruby-1.8.2/internal/method/method.h +0 -19
- data/ext/cached/ruby-1.8.2/internal/module/classpath.c +0 -45
- data/ext/cached/ruby-1.8.2/internal/module/classpath.h +0 -17
- data/ext/cached/ruby-1.8.2/internal/node/block.h +0 -32
- data/ext/cached/ruby-1.8.2/internal/node/global_entry.h +0 -10
- data/ext/cached/ruby-1.8.2/internal/node/node_type_descrip.c +0 -154
- data/ext/cached/ruby-1.8.2/internal/node/nodeinfo.c +0 -5736
- data/ext/cached/ruby-1.8.2/internal/node/nodeinfo.h +0 -69
- data/ext/cached/ruby-1.8.2/internal/proc/block.h +0 -32
- data/ext/cached/ruby-1.8.2/internal/tag/tag.h +0 -16
- data/ext/cached/ruby-1.8.2/internal/vm/instruction/insns_info.c +0 -39
- data/ext/cached/ruby-1.8.2/internal/vm/instruction/insns_info.h +0 -21
- data/ext/cached/ruby-1.8.2/internal/vm/iseq/insns_info.inc +0 -12
- data/ext/cached/ruby-1.8.2/internal/vm/iseq/iseq_load.inc +0 -9
- data/ext/cached/ruby-1.8.3/internal/binding/block.h +0 -32
- data/ext/cached/ruby-1.8.3/internal/module/classpath.c +0 -45
- data/ext/cached/ruby-1.8.3/internal/module/classpath.h +0 -17
- data/ext/cached/ruby-1.8.3/internal/node/block.h +0 -32
- data/ext/cached/ruby-1.8.3/internal/node/global_entry.h +0 -10
- data/ext/cached/ruby-1.8.3/internal/node/nodeinfo.c +0 -5736
- data/ext/cached/ruby-1.8.3/internal/node/nodeinfo.h +0 -69
- data/ext/cached/ruby-1.8.3/internal/proc/block.h +0 -32
- data/ext/cached/ruby-1.8.3/internal/tag/tag.h +0 -16
- data/ext/cached/ruby-1.8.3/internal/vm/instruction/insns_info.c +0 -39
- data/ext/cached/ruby-1.8.3/internal/vm/instruction/insns_info.h +0 -21
- data/ext/cached/ruby-1.8.3/internal/vm/iseq/insns_info.inc +0 -12
- data/ext/cached/ruby-1.8.3/internal/vm/iseq/iseq_load.inc +0 -9
- data/ext/cached/ruby-1.8.7/internal/method/method.h +0 -20
- data/ext/cached/ruby-1.9.0/internal/module/classpath.c +0 -42
- data/ext/cached/ruby-1.9.0/internal/node/global_entry.h +0 -10
- data/ext/cached/ruby-1.9.0/internal/vm/iseq/iseq_load.inc +0 -13
- data/ext/cached/ruby-1.9.0/internal/yarv-headers/id.h +0 -83
- data/ext/cached/ruby-1.9.0/internal/yarv-headers/revision.h +0 -1
- data/ext/cached/ruby-1.9.0/internal/yarv-headers/transdb.h +0 -67
- data/ext/cached/ruby-1.9.0/internal/yarv-headers/version.h +0 -57
- 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
|
-
|
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
|
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
|
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
|
-
|
46
|
-
|
47
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
13
|
-
|
14
|
-
|
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
|
-
|
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
|
-
|
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/
|
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.
|
181
|
-
- ext/cached/ruby-1.9.
|
182
|
-
- ext/cached/ruby-1.9.
|
183
|
-
- ext/cached/ruby-1.9.
|
184
|
-
- ext/cached/ruby-1.9.
|
185
|
-
- ext/cached/ruby-1.9.
|
186
|
-
- ext/cached/ruby-1.9.
|
187
|
-
- ext/cached/ruby-1.9.
|
188
|
-
- ext/cached/ruby-1.9.
|
189
|
-
- ext/cached/ruby-1.9.
|
190
|
-
- ext/cached/ruby-1.9.
|
191
|
-
- ext/cached/ruby-1.9.
|
192
|
-
- ext/cached/ruby-1.9.
|
193
|
-
- ext/cached/ruby-1.9.
|
194
|
-
- ext/cached/ruby-1.9.
|
195
|
-
- ext/cached/ruby-1.9.
|
196
|
-
- ext/cached/ruby-1.9.
|
197
|
-
- ext/cached/ruby-1.9.
|
198
|
-
- ext/cached/ruby-1.9.
|
199
|
-
- ext/cached/ruby-1.9.
|
200
|
-
- ext/cached/ruby-1.9.
|
201
|
-
- ext/cached/ruby-1.9.
|
202
|
-
- ext/cached/ruby-1.9.
|
203
|
-
- ext/cached/ruby-1.9.
|
204
|
-
- ext/cached/ruby-1.9.
|
205
|
-
- ext/cached/ruby-1.9.
|
206
|
-
- ext/cached/ruby-1.9.
|
207
|
-
- ext/cached/ruby-1.9.
|
208
|
-
- ext/cached/ruby-1.9.
|
209
|
-
- ext/cached/ruby-1.9.
|
210
|
-
- ext/cached/ruby-1.9.
|
211
|
-
- ext/cached/ruby-1.9.
|
212
|
-
- ext/cached/ruby-1.9.
|
213
|
-
- ext/cached/ruby-1.9.
|
214
|
-
- ext/cached/ruby-1.9.
|
215
|
-
- ext/cached/ruby-1.9.
|
216
|
-
- ext/cached/ruby-1.9.
|
217
|
-
- ext/cached/ruby-1.
|
218
|
-
- ext/cached/ruby-1.
|
219
|
-
- ext/cached/ruby-1.
|
220
|
-
- ext/cached/ruby-1.
|
221
|
-
- ext/cached/ruby-1.
|
222
|
-
- ext/cached/ruby-1.
|
223
|
-
- ext/cached/ruby-1.
|
224
|
-
- ext/cached/ruby-1.
|
225
|
-
- ext/cached/ruby-1.
|
226
|
-
- ext/cached/ruby-1.
|
227
|
-
- ext/cached/ruby-1.
|
228
|
-
- ext/cached/ruby-1.
|
229
|
-
- ext/cached/ruby-1.
|
230
|
-
- ext/cached/ruby-1.
|
231
|
-
- ext/cached/ruby-1.
|
232
|
-
- ext/cached/ruby-1.
|
233
|
-
- ext/cached/ruby-1.
|
234
|
-
- ext/cached/ruby-1.
|
235
|
-
- ext/cached/ruby-1.
|
236
|
-
- ext/cached/ruby-1.
|
237
|
-
- ext/cached/ruby-1.
|
238
|
-
- ext/cached/ruby-1.
|
239
|
-
- ext/cached/ruby-1.
|
240
|
-
- ext/cached/ruby-1.
|
241
|
-
- ext/cached/ruby-1.
|
242
|
-
- ext/cached/ruby-1.
|
243
|
-
- ext/cached/ruby-1.
|
244
|
-
- ext/cached/ruby-1.
|
245
|
-
- ext/cached/ruby-1.
|
246
|
-
- ext/cached/ruby-1.
|
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/
|
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/
|
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/
|
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/
|
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
|
-
|
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
|
-
|
411
|
-
|
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
|
-
|
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
|