rake-builder 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rake/builder.rb +15 -10
- data/lib/rake/builder/local_config.rb +2 -0
- data/lib/rake/builder/task_definers/builder_collection_task_definer.rb +1 -5
- data/lib/rake/builder/task_definers/builder_task_definer.rb +24 -21
- data/lib/rake/builder/version.rb +1 -1
- data/lib/rake/path.rb +7 -35
- data/spec/unit/rake/builder/local_config_spec.rb +27 -0
- data/spec/unit/rake/builder/task_definers/builder_task_definer_spec.rb +85 -0
- data/spec/unit/rake/builder_spec.rb +53 -6
- data/spec/unit/rake/path_spec.rb +29 -0
- metadata +41 -427
- data/examples/03_search_paths/vendor/bundle/gems/json-1.7.6/Rakefile +0 -412
- data/examples/03_search_paths/vendor/bundle/gems/json-1.7.6/ext/json/ext/fbuffer/fbuffer.h +0 -185
- data/examples/03_search_paths/vendor/bundle/gems/json-1.7.6/ext/json/ext/generator/generator.c +0 -1427
- data/examples/03_search_paths/vendor/bundle/gems/json-1.7.6/ext/json/ext/generator/generator.h +0 -149
- data/examples/03_search_paths/vendor/bundle/gems/json-1.7.6/ext/json/ext/parser/parser.c +0 -2204
- data/examples/03_search_paths/vendor/bundle/gems/json-1.7.6/ext/json/ext/parser/parser.h +0 -77
- data/examples/03_search_paths/vendor/bundle/gems/rake-10.0.3/Rakefile +0 -374
- data/examples/03_search_paths/vendor/bundle/gems/rake-10.0.3/doc/example/a.c +0 -6
- data/examples/03_search_paths/vendor/bundle/gems/rake-10.0.3/doc/example/b.c +0 -6
- data/examples/03_search_paths/vendor/bundle/gems/rake-10.0.3/doc/example/main.c +0 -11
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/Rakefile +0 -125
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/binding_of_caller.c +0 -224
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/debug.h +0 -36
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/dln.h +0 -41
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/eval_intern.h +0 -232
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/gc.h +0 -77
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/id.h +0 -173
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/iseq.h +0 -104
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/method.h +0 -103
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/node.h +0 -483
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/regenc.h +0 -211
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/regint.h +0 -841
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/regparse.h +0 -354
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/thread_pthread.h +0 -27
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/thread_win32.h +0 -33
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/timev.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/transcode_data.h +0 -109
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/version.h +0 -63
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/vm_core.h +0 -703
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/vm_exec.h +0 -184
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/vm_insnhelper.h +0 -208
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/vm_opts.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/addr2line.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/atomic.h +0 -56
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/constant.h +0 -34
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/debug.h +0 -41
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/dln.h +0 -50
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/encdb.h +0 -167
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/eval_intern.h +0 -234
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/gc.h +0 -98
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/id.h +0 -175
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/internal.h +0 -227
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/iseq.h +0 -125
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/method.h +0 -105
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/node.h +0 -503
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/parse.h +0 -186
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/regenc.h +0 -219
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/regint.h +0 -851
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/regparse.h +0 -362
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/revision.h +0 -1
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/thread_pthread.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/thread_win32.h +0 -40
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/timev.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/transcode_data.h +0 -117
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/transdb.h +0 -189
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/version.h +0 -52
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/vm_core.h +0 -755
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/vm_exec.h +0 -184
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/vm_insnhelper.h +0 -220
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/vm_opts.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/bond-0.4.3/Rakefile +0 -47
- data/examples/04_zlib/vendor/bundle/gems/bond-0.4.3/ext/readline_line_buffer/readline_line_buffer.c +0 -24
- data/examples/04_zlib/vendor/bundle/gems/coderay-1.0.8/Rakefile +0 -35
- data/examples/04_zlib/vendor/bundle/gems/columnize-0.3.6/Rakefile +0 -93
- data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/Rakefile +0 -130
- data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/192/breakpoint.c +0 -586
- data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/192/ruby_debug.c +0 -2645
- data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/192/ruby_debug.h +0 -148
- data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/193/breakpoint.c +0 -586
- data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/193/ruby_debug.c +0 -2626
- data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/193/ruby_debug.h +0 -148
- data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/breakpoint.c +0 -586
- data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/ruby_debug.c +0 -2626
- data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/ruby_debug.h +0 -148
- data/examples/04_zlib/vendor/bundle/gems/debugger-linecache-1.1.2/Rakefile +0 -71
- data/examples/04_zlib/vendor/bundle/gems/debugger-linecache-1.1.2/ext/trace_nums/trace_nums.c +0 -105
- data/examples/04_zlib/vendor/bundle/gems/debugger-linecache-1.1.2/ext/trace_nums/trace_nums.h +0 -111
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/Rakefile +0 -32
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/debug.h +0 -36
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/dln.h +0 -41
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/encdb.h +0 -163
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/eval_intern.h +0 -232
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/gc.h +0 -77
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/id.h +0 -170
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/iseq.h +0 -104
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/method.h +0 -103
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/node.h +0 -483
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/parse.h +0 -187
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/regenc.h +0 -211
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/regint.h +0 -841
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/regparse.h +0 -354
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/revision.h +0 -1
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/thread_pthread.h +0 -27
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/thread_win32.h +0 -33
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/timev.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/transcode_data.h +0 -109
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/transdb.h +0 -179
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/version.h +0 -55
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/vm_core.h +0 -707
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/vm_exec.h +0 -184
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/vm_insnhelper.h +0 -208
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/vm_opts.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/debug.h +0 -36
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/dln.h +0 -41
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/encdb.h +0 -163
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/eval_intern.h +0 -232
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/gc.h +0 -77
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/id.h +0 -170
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/iseq.h +0 -104
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/method.h +0 -103
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/node.h +0 -483
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/parse.h +0 -186
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/regenc.h +0 -211
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/regint.h +0 -841
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/regparse.h +0 -354
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/revision.h +0 -1
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/thread_pthread.h +0 -27
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/thread_win32.h +0 -33
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/timev.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/transcode_data.h +0 -109
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/transdb.h +0 -179
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/version.h +0 -55
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/vm_core.h +0 -706
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/vm_exec.h +0 -184
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/vm_insnhelper.h +0 -208
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/vm_opts.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/debug.h +0 -36
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/dln.h +0 -41
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/encdb.h +0 -163
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/eval_intern.h +0 -232
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/gc.h +0 -77
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/id.h +0 -170
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/iseq.h +0 -104
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/method.h +0 -103
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/node.h +0 -483
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/parse.h +0 -186
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/regenc.h +0 -211
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/regint.h +0 -841
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/regparse.h +0 -354
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/revision.h +0 -1
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/thread_pthread.h +0 -27
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/thread_win32.h +0 -33
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/timev.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/transcode_data.h +0 -109
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/transdb.h +0 -179
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/version.h +0 -55
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/vm_core.h +0 -706
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/vm_exec.h +0 -184
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/vm_insnhelper.h +0 -208
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/vm_opts.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/addr2line.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/atomic.h +0 -56
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/constant.h +0 -34
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/debug.h +0 -41
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/dln.h +0 -50
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/encdb.h +0 -167
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/eval_intern.h +0 -234
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/gc.h +0 -98
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/id.h +0 -175
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/internal.h +0 -227
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/iseq.h +0 -125
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/method.h +0 -105
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/node.h +0 -503
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/parse.h +0 -186
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/regenc.h +0 -219
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/regint.h +0 -851
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/regparse.h +0 -362
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/revision.h +0 -1
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/thread_pthread.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/thread_win32.h +0 -40
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/timev.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/transcode_data.h +0 -117
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/transdb.h +0 -189
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/version.h +0 -52
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/vm_core.h +0 -756
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/vm_exec.h +0 -184
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/vm_insnhelper.h +0 -220
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/vm_opts.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/addr2line.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/atomic.h +0 -56
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/constant.h +0 -34
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/debug.h +0 -41
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/dln.h +0 -50
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/encdb.h +0 -167
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/eval_intern.h +0 -234
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/gc.h +0 -98
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/id.h +0 -175
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/internal.h +0 -231
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/iseq.h +0 -125
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/method.h +0 -105
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/node.h +0 -503
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/parse.h +0 -186
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/regenc.h +0 -219
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/regint.h +0 -850
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/regparse.h +0 -362
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/revision.h +0 -1
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/thread_pthread.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/thread_win32.h +0 -40
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/timev.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/transcode_data.h +0 -117
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/transdb.h +0 -189
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/version.h +0 -52
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/vm_core.h +0 -756
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/vm_exec.h +0 -184
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/vm_insnhelper.h +0 -220
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/vm_opts.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/addr2line.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/atomic.h +0 -56
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/constant.h +0 -34
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/debug.h +0 -41
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/dln.h +0 -50
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/encdb.h +0 -167
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/eval_intern.h +0 -234
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/gc.h +0 -98
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/id.h +0 -175
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/internal.h +0 -232
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/iseq.h +0 -125
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/method.h +0 -105
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/node.h +0 -503
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/parse.h +0 -186
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/regenc.h +0 -219
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/regint.h +0 -850
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/regparse.h +0 -362
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/revision.h +0 -1
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/thread_pthread.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/thread_win32.h +0 -40
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/timev.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/transcode_data.h +0 -117
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/transdb.h +0 -189
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/version.h +0 -52
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/vm_core.h +0 -756
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/vm_exec.h +0 -184
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/vm_insnhelper.h +0 -220
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/vm_opts.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/addr2line.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/atomic.h +0 -56
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/constant.h +0 -34
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/debug.h +0 -41
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/dln.h +0 -50
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/encdb.h +0 -167
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/eval_intern.h +0 -234
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/gc.h +0 -99
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/id.h +0 -175
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/internal.h +0 -232
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/iseq.h +0 -125
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/method.h +0 -105
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/node.h +0 -503
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/parse.h +0 -302
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/regenc.h +0 -219
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/regint.h +0 -850
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/regparse.h +0 -362
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/revision.h +0 -1
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/thread_pthread.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/thread_win32.h +0 -40
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/timev.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/transcode_data.h +0 -117
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/transdb.h +0 -189
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/version.h +0 -52
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/vm_core.h +0 -756
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/vm_exec.h +0 -184
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/vm_insnhelper.h +0 -220
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/vm_opts.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/addr2line.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/atomic.h +0 -56
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/constant.h +0 -34
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/debug.h +0 -41
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/dln.h +0 -50
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/encdb.h +0 -167
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/eval_intern.h +0 -234
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/gc.h +0 -99
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/id.h +0 -175
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/internal.h +0 -239
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/iseq.h +0 -125
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/method.h +0 -105
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/node.h +0 -503
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/parse.h +0 -302
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/regenc.h +0 -219
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/regint.h +0 -850
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/regparse.h +0 -362
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/revision.h +0 -1
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/siphash.h +0 -48
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/thread_pthread.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/thread_win32.h +0 -40
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/timev.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/transcode_data.h +0 -117
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/transdb.h +0 -189
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/version.h +0 -52
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/vm_core.h +0 -756
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/vm_exec.h +0 -184
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/vm_insnhelper.h +0 -220
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/vm_opts.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/addr2line.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/constant.h +0 -34
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/debug.h +0 -41
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/dln.h +0 -50
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/encdb.h +0 -167
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/eval_intern.h +0 -234
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/gc.h +0 -99
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/id.h +0 -175
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/internal.h +0 -239
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/iseq.h +0 -127
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/method.h +0 -105
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/node.h +0 -503
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/parse.h +0 -302
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/regenc.h +0 -219
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/regint.h +0 -850
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/regparse.h +0 -362
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/revision.h +0 -1
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/ruby_atomic.h +0 -115
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/siphash.h +0 -48
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/thread_pthread.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/thread_win32.h +0 -40
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/timev.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/transcode_data.h +0 -117
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/transdb.h +0 -189
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/version.h +0 -52
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/vm_core.h +0 -756
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/vm_exec.h +0 -184
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/vm_insnhelper.h +0 -220
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/vm_opts.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/addr2line.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/constant.h +0 -34
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/debug.h +0 -41
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/dln.h +0 -50
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/encdb.h +0 -167
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/eval_intern.h +0 -234
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/gc.h +0 -99
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/id.h +0 -175
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/internal.h +0 -239
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/iseq.h +0 -126
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/method.h +0 -105
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/node.h +0 -503
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/parse.h +0 -302
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/regenc.h +0 -219
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/regint.h +0 -850
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/regparse.h +0 -362
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/revision.h +0 -1
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/ruby_atomic.h +0 -115
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/siphash.h +0 -48
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/thread_pthread.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/thread_win32.h +0 -40
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/timev.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/transcode_data.h +0 -117
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/transdb.h +0 -189
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/version.h +0 -52
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/vm_core.h +0 -763
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/vm_exec.h +0 -184
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/vm_insnhelper.h +0 -220
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/vm_opts.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/interception-0.3/Rakefile +0 -32
- data/examples/04_zlib/vendor/bundle/gems/interception-0.3/ext/interception.c +0 -73
- data/examples/04_zlib/vendor/bundle/gems/jist-1.3.1/Rakefile +0 -10
- data/examples/04_zlib/vendor/bundle/gems/json-1.7.6/Rakefile +0 -412
- data/examples/04_zlib/vendor/bundle/gems/json-1.7.6/ext/json/ext/fbuffer/fbuffer.h +0 -185
- data/examples/04_zlib/vendor/bundle/gems/json-1.7.6/ext/json/ext/generator/generator.c +0 -1427
- data/examples/04_zlib/vendor/bundle/gems/json-1.7.6/ext/json/ext/generator/generator.h +0 -149
- data/examples/04_zlib/vendor/bundle/gems/json-1.7.6/ext/json/ext/parser/parser.c +0 -2204
- data/examples/04_zlib/vendor/bundle/gems/json-1.7.6/ext/json/ext/parser/parser.h +0 -77
- data/examples/04_zlib/vendor/bundle/gems/method_source-0.8.1/Rakefile +0 -79
- data/examples/04_zlib/vendor/bundle/gems/pry-0.9.11.4/Rakefile +0 -136
- data/examples/04_zlib/vendor/bundle/gems/pry-debugger-0.2.1/Rakefile +0 -2
- data/examples/04_zlib/vendor/bundle/gems/pry-doc-0.4.4/Rakefile +0 -88
- data/examples/04_zlib/vendor/bundle/gems/pry-exception_explorer-0.2.3/Rakefile +0 -123
- data/examples/04_zlib/vendor/bundle/gems/pry-rescue-0.15/Rakefile +0 -22
- data/examples/04_zlib/vendor/bundle/gems/pry-stack_explorer-0.4.7/Rakefile +0 -109
- data/examples/04_zlib/vendor/bundle/gems/rake-10.0.3/Rakefile +0 -374
- data/examples/04_zlib/vendor/bundle/gems/rake-10.0.3/doc/example/a.c +0 -6
- data/examples/04_zlib/vendor/bundle/gems/rake-10.0.3/doc/example/b.c +0 -6
- data/examples/04_zlib/vendor/bundle/gems/rake-10.0.3/doc/example/main.c +0 -11
- data/examples/04_zlib/vendor/bundle/gems/slop-3.4.3/Rakefile +0 -29
- data/examples/04_zlib/vendor/bundle/gems/yard-0.8.3/Rakefile +0 -61
@@ -1,32 +0,0 @@
|
|
1
|
-
|
2
|
-
task :clean do
|
3
|
-
sh 'rm -f ext/*.o ext/*.so ext/*.dylib'
|
4
|
-
sh 'rm -f ext/org/pryrepl/*.class'
|
5
|
-
end
|
6
|
-
|
7
|
-
desc "Compile *.c files"
|
8
|
-
task :compile => [:clean] do
|
9
|
-
cd 'ext/' do
|
10
|
-
sh 'ruby extconf.rb'
|
11
|
-
sh 'make'
|
12
|
-
end
|
13
|
-
end
|
14
|
-
|
15
|
-
desc "Run example"
|
16
|
-
task :example do
|
17
|
-
sh "ruby -I./lib/ ./examples/example.rb "
|
18
|
-
end
|
19
|
-
|
20
|
-
desc "Run example 2"
|
21
|
-
task :example2 do
|
22
|
-
sh "ruby -I./lib/ ./examples/example2.rb "
|
23
|
-
end
|
24
|
-
|
25
|
-
desc "Run tests"
|
26
|
-
task :test do
|
27
|
-
sh 'rspec spec -r ./spec/spec_helpers.rb'
|
28
|
-
end
|
29
|
-
|
30
|
-
task :default => [:compile, :test]
|
31
|
-
|
32
|
-
|
@@ -1,73 +0,0 @@
|
|
1
|
-
#include "ruby.h"
|
2
|
-
|
3
|
-
static VALUE rb_mInterception;
|
4
|
-
|
5
|
-
extern struct FRAME {
|
6
|
-
VALUE self;
|
7
|
-
int argc;
|
8
|
-
ID last_func;
|
9
|
-
ID orig_func;
|
10
|
-
VALUE last_class;
|
11
|
-
struct FRAME *prev;
|
12
|
-
struct FRAME *tmp;
|
13
|
-
struct RNode *node;
|
14
|
-
int iter;
|
15
|
-
int flags;
|
16
|
-
unsigned long uniq;
|
17
|
-
} *ruby_frame;
|
18
|
-
|
19
|
-
#ifdef RUBY_18
|
20
|
-
|
21
|
-
#include "node.h"
|
22
|
-
|
23
|
-
void
|
24
|
-
interception_hook(rb_event_t event, NODE *node, VALUE self, ID mid, VALUE klass)
|
25
|
-
{
|
26
|
-
VALUE bself = ruby_frame->prev->self;
|
27
|
-
if (node == ruby_frame->node) {
|
28
|
-
bself = ruby_frame->prev->prev->self;
|
29
|
-
}
|
30
|
-
|
31
|
-
VALUE binding = rb_funcall(bself, rb_intern("binding"), 0, NULL);
|
32
|
-
rb_funcall(rb_mInterception, rb_intern("rescue"), 2, ruby_errinfo, binding);
|
33
|
-
}
|
34
|
-
|
35
|
-
VALUE
|
36
|
-
interception_start(VALUE self)
|
37
|
-
{
|
38
|
-
rb_add_event_hook(interception_hook, RUBY_EVENT_RAISE);
|
39
|
-
return Qnil;
|
40
|
-
}
|
41
|
-
|
42
|
-
#else
|
43
|
-
|
44
|
-
void
|
45
|
-
interception_hook(rb_event_flag_t evflag, VALUE data, VALUE self, ID mid, VALUE klass)
|
46
|
-
{
|
47
|
-
VALUE binding = rb_funcall(rb_mKernel, rb_intern("binding"), 0, NULL);
|
48
|
-
rb_funcall(rb_mInterception, rb_intern("rescue"), 2, rb_errinfo(), binding);
|
49
|
-
}
|
50
|
-
|
51
|
-
VALUE
|
52
|
-
interception_start(VALUE self)
|
53
|
-
{
|
54
|
-
rb_add_event_hook(interception_hook, RUBY_EVENT_RAISE, rb_mInterception);
|
55
|
-
return Qnil;
|
56
|
-
}
|
57
|
-
|
58
|
-
#endif
|
59
|
-
|
60
|
-
VALUE
|
61
|
-
interception_stop(VALUE self)
|
62
|
-
{
|
63
|
-
rb_remove_event_hook(interception_hook);
|
64
|
-
return Qnil;
|
65
|
-
}
|
66
|
-
|
67
|
-
void
|
68
|
-
Init_interception()
|
69
|
-
{
|
70
|
-
rb_mInterception = rb_define_module("Interception");
|
71
|
-
rb_define_singleton_method(rb_mInterception, "start", interception_start, 0);
|
72
|
-
rb_define_singleton_method(rb_mInterception, "stop", interception_stop, 0);
|
73
|
-
}
|
@@ -1,412 +0,0 @@
|
|
1
|
-
begin
|
2
|
-
require 'rubygems/package_task'
|
3
|
-
rescue LoadError
|
4
|
-
end
|
5
|
-
|
6
|
-
require 'rbconfig'
|
7
|
-
include\
|
8
|
-
begin
|
9
|
-
RbConfig
|
10
|
-
rescue NameError
|
11
|
-
Config
|
12
|
-
end
|
13
|
-
|
14
|
-
require 'rake/clean'
|
15
|
-
CLOBBER.include 'doc', 'Gemfile.lock'
|
16
|
-
CLEAN.include FileList['diagrams/*.*'], 'doc', 'coverage', 'tmp',
|
17
|
-
FileList["ext/**/{Makefile,mkmf.log}"], 'build', 'dist', FileList['**/*.rbc'],
|
18
|
-
FileList["{ext,lib}/**/*.{so,bundle,#{CONFIG['DLEXT']},o,obj,pdb,lib,manifest,exp,def,jar,class,dSYM}"],
|
19
|
-
FileList['java/src/**/*.class']
|
20
|
-
|
21
|
-
require 'rake/testtask'
|
22
|
-
class UndocumentedTestTask < Rake::TestTask
|
23
|
-
def desc(*) end
|
24
|
-
end
|
25
|
-
|
26
|
-
def skip_sdoc(src)
|
27
|
-
src.gsub(/^.*sdoc.*/) { |s| s + ' if RUBY_VERSION > "1.8.6"' }
|
28
|
-
end
|
29
|
-
|
30
|
-
MAKE = ENV['MAKE'] || %w[gmake make].find { |c| system(c, '-v') }
|
31
|
-
BUNDLE = ENV['BUNDLE'] || %w[bundle].find { |c| system(c, '-v') }
|
32
|
-
PKG_NAME = 'json'
|
33
|
-
PKG_TITLE = 'JSON Implementation for Ruby'
|
34
|
-
PKG_VERSION = File.read('VERSION').chomp
|
35
|
-
PKG_FILES = FileList[`git ls-files`.split(/\n/)]
|
36
|
-
|
37
|
-
EXT_ROOT_DIR = 'ext/json/ext'
|
38
|
-
EXT_PARSER_DIR = "#{EXT_ROOT_DIR}/parser"
|
39
|
-
EXT_PARSER_DL = "#{EXT_PARSER_DIR}/parser.#{CONFIG['DLEXT']}"
|
40
|
-
RAGEL_PATH = "#{EXT_PARSER_DIR}/parser.rl"
|
41
|
-
EXT_PARSER_SRC = "#{EXT_PARSER_DIR}/parser.c"
|
42
|
-
EXT_GENERATOR_DIR = "#{EXT_ROOT_DIR}/generator"
|
43
|
-
EXT_GENERATOR_DL = "#{EXT_GENERATOR_DIR}/generator.#{CONFIG['DLEXT']}"
|
44
|
-
EXT_GENERATOR_SRC = "#{EXT_GENERATOR_DIR}/generator.c"
|
45
|
-
|
46
|
-
JAVA_DIR = "java/src/json/ext"
|
47
|
-
JAVA_RAGEL_PATH = "#{JAVA_DIR}/Parser.rl"
|
48
|
-
JAVA_PARSER_SRC = "#{JAVA_DIR}/Parser.java"
|
49
|
-
JAVA_SOURCES = FileList["#{JAVA_DIR}/*.java"]
|
50
|
-
JAVA_CLASSES = []
|
51
|
-
JRUBY_PARSER_JAR = File.expand_path("lib/json/ext/parser.jar")
|
52
|
-
JRUBY_GENERATOR_JAR = File.expand_path("lib/json/ext/generator.jar")
|
53
|
-
|
54
|
-
RAGEL_CODEGEN = %w[rlcodegen rlgen-cd ragel].find { |c| system(c, '-v') }
|
55
|
-
RAGEL_DOTGEN = %w[rlgen-dot rlgen-cd ragel].find { |c| system(c, '-v') }
|
56
|
-
|
57
|
-
desc "Installing library (pure)"
|
58
|
-
task :install_pure => :version do
|
59
|
-
ruby 'install.rb'
|
60
|
-
end
|
61
|
-
|
62
|
-
task :install_ext_really do
|
63
|
-
sitearchdir = CONFIG["sitearchdir"]
|
64
|
-
cd 'ext' do
|
65
|
-
for file in Dir["json/ext/*.#{CONFIG['DLEXT']}"]
|
66
|
-
d = File.join(sitearchdir, file)
|
67
|
-
mkdir_p File.dirname(d)
|
68
|
-
install(file, d)
|
69
|
-
end
|
70
|
-
warn " *** Installed EXT ruby library."
|
71
|
-
end
|
72
|
-
end
|
73
|
-
|
74
|
-
desc "Installing library (extension)"
|
75
|
-
task :install_ext => [ :compile, :install_pure, :install_ext_really ]
|
76
|
-
|
77
|
-
desc "Installing library (extension)"
|
78
|
-
task :install => :install_ext
|
79
|
-
|
80
|
-
if defined?(Gem) and defined?(Gem::PackageTask)
|
81
|
-
spec_pure = Gem::Specification.new do |s|
|
82
|
-
s.name = 'json_pure'
|
83
|
-
s.version = PKG_VERSION
|
84
|
-
s.summary = PKG_TITLE
|
85
|
-
s.description = "This is a JSON implementation in pure Ruby."
|
86
|
-
|
87
|
-
s.files = PKG_FILES
|
88
|
-
|
89
|
-
s.require_path = 'lib'
|
90
|
-
s.add_development_dependency 'permutation'
|
91
|
-
s.add_development_dependency 'sdoc', '~> 0.3.16'
|
92
|
-
s.add_development_dependency 'rake', '~>0.9.2'
|
93
|
-
|
94
|
-
s.extra_rdoc_files << 'README.rdoc'
|
95
|
-
s.rdoc_options <<
|
96
|
-
'--title' << 'JSON implemention for ruby' << '--main' << 'README.rdoc'
|
97
|
-
s.test_files.concat Dir['./tests/test_*.rb']
|
98
|
-
|
99
|
-
s.author = "Florian Frank"
|
100
|
-
s.email = "flori@ping.de"
|
101
|
-
s.homepage = "http://flori.github.com/#{PKG_NAME}"
|
102
|
-
s.rubyforge_project = "json"
|
103
|
-
end
|
104
|
-
|
105
|
-
desc 'Creates a json_pure.gemspec file'
|
106
|
-
task :gemspec_pure => :version do
|
107
|
-
File.open('json_pure.gemspec', 'w') do |gemspec|
|
108
|
-
gemspec.write skip_sdoc(spec_pure.to_ruby)
|
109
|
-
end
|
110
|
-
end
|
111
|
-
|
112
|
-
Gem::PackageTask.new(spec_pure) do |pkg|
|
113
|
-
pkg.need_tar = true
|
114
|
-
pkg.package_files = PKG_FILES
|
115
|
-
end
|
116
|
-
|
117
|
-
spec_ext = Gem::Specification.new do |s|
|
118
|
-
s.name = 'json'
|
119
|
-
s.version = PKG_VERSION
|
120
|
-
s.summary = PKG_TITLE
|
121
|
-
s.description = "This is a JSON implementation as a Ruby extension in C."
|
122
|
-
|
123
|
-
s.files = PKG_FILES
|
124
|
-
|
125
|
-
s.extensions = FileList['ext/**/extconf.rb']
|
126
|
-
|
127
|
-
s.require_path = 'lib'
|
128
|
-
s.add_development_dependency 'permutation'
|
129
|
-
s.add_development_dependency 'sdoc', '~> 0.3.16'
|
130
|
-
|
131
|
-
s.extra_rdoc_files << 'README.rdoc'
|
132
|
-
s.rdoc_options <<
|
133
|
-
'--title' << 'JSON implemention for Ruby' << '--main' << 'README.rdoc'
|
134
|
-
s.test_files.concat Dir['./tests/test_*.rb']
|
135
|
-
|
136
|
-
s.author = "Florian Frank"
|
137
|
-
s.email = "flori@ping.de"
|
138
|
-
s.homepage = "http://flori.github.com/#{PKG_NAME}"
|
139
|
-
s.rubyforge_project = "json"
|
140
|
-
end
|
141
|
-
|
142
|
-
desc 'Creates a json.gemspec file'
|
143
|
-
task :gemspec_ext => :version do
|
144
|
-
File.open('json.gemspec', 'w') do |gemspec|
|
145
|
-
gemspec.write skip_sdoc(spec_ext.to_ruby)
|
146
|
-
end
|
147
|
-
end
|
148
|
-
|
149
|
-
Gem::PackageTask.new(spec_ext) do |pkg|
|
150
|
-
pkg.need_tar = true
|
151
|
-
pkg.package_files = PKG_FILES
|
152
|
-
end
|
153
|
-
|
154
|
-
|
155
|
-
desc 'Create all gemspec files'
|
156
|
-
task :gemspec => [ :gemspec_pure, :gemspec_ext ]
|
157
|
-
end
|
158
|
-
|
159
|
-
desc m = "Writing version information for #{PKG_VERSION}"
|
160
|
-
task :version do
|
161
|
-
puts m
|
162
|
-
File.open(File.join('lib', 'json', 'version.rb'), 'w') do |v|
|
163
|
-
v.puts <<EOT
|
164
|
-
module JSON
|
165
|
-
# JSON version
|
166
|
-
VERSION = '#{PKG_VERSION}'
|
167
|
-
VERSION_ARRAY = VERSION.split(/\\./).map { |x| x.to_i } # :nodoc:
|
168
|
-
VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
|
169
|
-
VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
|
170
|
-
VERSION_BUILD = VERSION_ARRAY[2] # :nodoc:
|
171
|
-
end
|
172
|
-
EOT
|
173
|
-
end
|
174
|
-
end
|
175
|
-
|
176
|
-
desc "Testing library (pure ruby)"
|
177
|
-
task :test_pure => [ :clean, :do_test_pure ]
|
178
|
-
|
179
|
-
UndocumentedTestTask.new do |t|
|
180
|
-
t.name = 'do_test_pure'
|
181
|
-
t.libs << 'lib'
|
182
|
-
t.test_files = FileList['tests/test_*.rb']
|
183
|
-
t.verbose = true
|
184
|
-
t.options = '-v'
|
185
|
-
end
|
186
|
-
|
187
|
-
desc "Testing library (pure ruby and extension)"
|
188
|
-
task :test do
|
189
|
-
sh "env JSON=pure #{BUNDLE} exec rake test_pure" or exit 1
|
190
|
-
sh "env JSON=ext #{BUNDLE} exec rake test_ext" or exit 1
|
191
|
-
end
|
192
|
-
|
193
|
-
namespace :gems do
|
194
|
-
desc 'Install all development gems'
|
195
|
-
task :install do
|
196
|
-
sh "#{BUNDLE}"
|
197
|
-
end
|
198
|
-
end
|
199
|
-
|
200
|
-
if defined?(RUBY_ENGINE) and RUBY_ENGINE == 'jruby'
|
201
|
-
if ENV.key?('JAVA_HOME')
|
202
|
-
warn " *** JAVA_HOME was set to #{ENV['JAVA_HOME'].inspect}"
|
203
|
-
elsif File.directory?(local_java = '/usr/local/java/jdk') ||
|
204
|
-
File.directory?(local_java = '/usr/lib/jvm/java-6-openjdk')
|
205
|
-
then
|
206
|
-
ENV['JAVA_HOME'] = local_java
|
207
|
-
end
|
208
|
-
if ENV['JAVA_HOME']
|
209
|
-
warn " *** JAVA_HOME is set to #{ENV['JAVA_HOME'].inspect}"
|
210
|
-
ENV['PATH'] = ENV['PATH'].split(/:/).unshift(java_path = "#{ENV['JAVA_HOME']}/bin") * ':'
|
211
|
-
warn " *** java binaries are assumed to be in #{java_path.inspect}"
|
212
|
-
else
|
213
|
-
warn " *** JAVA_HOME was not set or could not be guessed!"
|
214
|
-
exit 1
|
215
|
-
end
|
216
|
-
|
217
|
-
file JAVA_PARSER_SRC => JAVA_RAGEL_PATH do
|
218
|
-
cd JAVA_DIR do
|
219
|
-
if RAGEL_CODEGEN == 'ragel'
|
220
|
-
sh "ragel Parser.rl -J -o Parser.java"
|
221
|
-
else
|
222
|
-
sh "ragel -x Parser.rl | #{RAGEL_CODEGEN} -J"
|
223
|
-
end
|
224
|
-
end
|
225
|
-
end
|
226
|
-
|
227
|
-
desc "Generate parser for java with ragel"
|
228
|
-
task :ragel => JAVA_PARSER_SRC
|
229
|
-
|
230
|
-
desc "Delete the ragel generated Java source"
|
231
|
-
task :ragel_clean do
|
232
|
-
rm_rf JAVA_PARSER_SRC
|
233
|
-
end
|
234
|
-
|
235
|
-
JRUBY_JAR = File.join(CONFIG["libdir"], "jruby.jar")
|
236
|
-
if File.exist?(JRUBY_JAR)
|
237
|
-
JAVA_SOURCES.each do |src|
|
238
|
-
classpath = (Dir['java/lib/*.jar'] << 'java/src' << JRUBY_JAR) * ':'
|
239
|
-
obj = src.sub(/\.java\Z/, '.class')
|
240
|
-
file obj => src do
|
241
|
-
sh 'javac', '-classpath', classpath, '-source', '1.5', '-target', '1.5', src
|
242
|
-
end
|
243
|
-
JAVA_CLASSES << obj
|
244
|
-
end
|
245
|
-
else
|
246
|
-
warn "WARNING: Cannot find jruby in path => Cannot build jruby extension!"
|
247
|
-
end
|
248
|
-
|
249
|
-
desc "Compiling jruby extension"
|
250
|
-
task :compile => JAVA_CLASSES
|
251
|
-
|
252
|
-
desc "Package the jruby gem"
|
253
|
-
task :jruby_gem => :create_jar do
|
254
|
-
sh 'gem build json-java.gemspec'
|
255
|
-
mkdir_p 'pkg'
|
256
|
-
mv "json-#{PKG_VERSION}-java.gem", 'pkg'
|
257
|
-
end
|
258
|
-
|
259
|
-
desc "Testing library (jruby)"
|
260
|
-
task :test_ext => [ :create_jar, :do_test_ext ]
|
261
|
-
|
262
|
-
UndocumentedTestTask.new do |t|
|
263
|
-
t.name = 'do_test_ext'
|
264
|
-
t.libs << 'lib'
|
265
|
-
t.test_files = FileList['tests/test_*.rb']
|
266
|
-
t.verbose = true
|
267
|
-
t.options = '-v'
|
268
|
-
end
|
269
|
-
|
270
|
-
file JRUBY_PARSER_JAR => :compile do
|
271
|
-
cd 'java/src' do
|
272
|
-
parser_classes = FileList[
|
273
|
-
"json/ext/ByteListTranscoder*.class",
|
274
|
-
"json/ext/OptionsReader*.class",
|
275
|
-
"json/ext/Parser*.class",
|
276
|
-
"json/ext/RuntimeInfo*.class",
|
277
|
-
"json/ext/StringDecoder*.class",
|
278
|
-
"json/ext/Utils*.class"
|
279
|
-
]
|
280
|
-
sh 'jar', 'cf', File.basename(JRUBY_PARSER_JAR), *parser_classes
|
281
|
-
mv File.basename(JRUBY_PARSER_JAR), File.dirname(JRUBY_PARSER_JAR)
|
282
|
-
end
|
283
|
-
end
|
284
|
-
|
285
|
-
desc "Create parser jar"
|
286
|
-
task :create_parser_jar => JRUBY_PARSER_JAR
|
287
|
-
|
288
|
-
file JRUBY_GENERATOR_JAR => :compile do
|
289
|
-
cd 'java/src' do
|
290
|
-
generator_classes = FileList[
|
291
|
-
"json/ext/ByteListTranscoder*.class",
|
292
|
-
"json/ext/OptionsReader*.class",
|
293
|
-
"json/ext/Generator*.class",
|
294
|
-
"json/ext/RuntimeInfo*.class",
|
295
|
-
"json/ext/StringEncoder*.class",
|
296
|
-
"json/ext/Utils*.class"
|
297
|
-
]
|
298
|
-
sh 'jar', 'cf', File.basename(JRUBY_GENERATOR_JAR), *generator_classes
|
299
|
-
mv File.basename(JRUBY_GENERATOR_JAR), File.dirname(JRUBY_GENERATOR_JAR)
|
300
|
-
end
|
301
|
-
end
|
302
|
-
|
303
|
-
desc "Create generator jar"
|
304
|
-
task :create_generator_jar => JRUBY_GENERATOR_JAR
|
305
|
-
|
306
|
-
desc "Create parser and generator jars"
|
307
|
-
task :create_jar => [ :create_parser_jar, :create_generator_jar ]
|
308
|
-
|
309
|
-
desc "Build all gems and archives for a new release of the jruby extension."
|
310
|
-
task :build => [ :clean, :version, :jruby_gem ]
|
311
|
-
|
312
|
-
task :release => :build
|
313
|
-
else
|
314
|
-
desc "Compiling extension"
|
315
|
-
task :compile => [ EXT_PARSER_DL, EXT_GENERATOR_DL ]
|
316
|
-
|
317
|
-
file EXT_PARSER_DL => EXT_PARSER_SRC do
|
318
|
-
cd EXT_PARSER_DIR do
|
319
|
-
ruby 'extconf.rb'
|
320
|
-
sh MAKE
|
321
|
-
end
|
322
|
-
cp "#{EXT_PARSER_DIR}/parser.#{CONFIG['DLEXT']}", EXT_ROOT_DIR
|
323
|
-
end
|
324
|
-
|
325
|
-
file EXT_GENERATOR_DL => EXT_GENERATOR_SRC do
|
326
|
-
cd EXT_GENERATOR_DIR do
|
327
|
-
ruby 'extconf.rb'
|
328
|
-
sh MAKE
|
329
|
-
end
|
330
|
-
cp "#{EXT_GENERATOR_DIR}/generator.#{CONFIG['DLEXT']}", EXT_ROOT_DIR
|
331
|
-
end
|
332
|
-
|
333
|
-
desc "Testing library (extension)"
|
334
|
-
task :test_ext => [ :compile, :do_test_ext ]
|
335
|
-
|
336
|
-
UndocumentedTestTask.new do |t|
|
337
|
-
t.name = 'do_test_ext'
|
338
|
-
t.libs << 'ext' << 'lib'
|
339
|
-
t.test_files = FileList['tests/test_*.rb']
|
340
|
-
t.verbose = true
|
341
|
-
t.options = '-v'
|
342
|
-
end
|
343
|
-
|
344
|
-
desc "Create RDOC documentation"
|
345
|
-
task :doc => [ :version, EXT_PARSER_SRC ] do
|
346
|
-
sh "sdoc -o doc -t '#{PKG_TITLE}' -m README.rdoc README.rdoc lib/json.rb #{FileList['lib/json/**/*.rb']} #{EXT_PARSER_SRC} #{EXT_GENERATOR_SRC}"
|
347
|
-
end
|
348
|
-
|
349
|
-
desc "Generate parser with ragel"
|
350
|
-
task :ragel => EXT_PARSER_SRC
|
351
|
-
|
352
|
-
desc "Delete the ragel generated C source"
|
353
|
-
task :ragel_clean do
|
354
|
-
rm_rf EXT_PARSER_SRC
|
355
|
-
end
|
356
|
-
|
357
|
-
desc "Update the tags file"
|
358
|
-
task :tags do
|
359
|
-
system 'ctags', *Dir['**/*.{rb,c,h,java}']
|
360
|
-
end
|
361
|
-
|
362
|
-
file EXT_PARSER_SRC => RAGEL_PATH do
|
363
|
-
cd EXT_PARSER_DIR do
|
364
|
-
if RAGEL_CODEGEN == 'ragel'
|
365
|
-
sh "ragel parser.rl -G2 -o parser.c"
|
366
|
-
else
|
367
|
-
sh "ragel -x parser.rl | #{RAGEL_CODEGEN} -G2"
|
368
|
-
end
|
369
|
-
src = File.read("parser.c").gsub(/[ \t]+$/, '')
|
370
|
-
File.open("parser.c", "w") {|f| f.print src}
|
371
|
-
end
|
372
|
-
end
|
373
|
-
|
374
|
-
desc "Generate diagrams of ragel parser (ps)"
|
375
|
-
task :ragel_dot_ps do
|
376
|
-
root = 'diagrams'
|
377
|
-
specs = []
|
378
|
-
File.new(RAGEL_PATH).grep(/^\s*machine\s*(\S+);\s*$/) { specs << $1 }
|
379
|
-
for s in specs
|
380
|
-
if RAGEL_DOTGEN == 'ragel'
|
381
|
-
sh "ragel #{RAGEL_PATH} -S#{s} -p -V | dot -Tps -o#{root}/#{s}.ps"
|
382
|
-
else
|
383
|
-
sh "ragel -x #{RAGEL_PATH} -S#{s} | #{RAGEL_DOTGEN} -p|dot -Tps -o#{root}/#{s}.ps"
|
384
|
-
end
|
385
|
-
end
|
386
|
-
end
|
387
|
-
|
388
|
-
desc "Generate diagrams of ragel parser (png)"
|
389
|
-
task :ragel_dot_png do
|
390
|
-
root = 'diagrams'
|
391
|
-
specs = []
|
392
|
-
File.new(RAGEL_PATH).grep(/^\s*machine\s*(\S+);\s*$/) { specs << $1 }
|
393
|
-
for s in specs
|
394
|
-
if RAGEL_DOTGEN == 'ragel'
|
395
|
-
sh "ragel #{RAGEL_PATH} -S#{s} -p -V | dot -Tpng -o#{root}/#{s}.png"
|
396
|
-
else
|
397
|
-
sh "ragel -x #{RAGEL_PATH} -S#{s} | #{RAGEL_DOTGEN} -p|dot -Tpng -o#{root}/#{s}.png"
|
398
|
-
end
|
399
|
-
end
|
400
|
-
end
|
401
|
-
|
402
|
-
desc "Generate diagrams of ragel parser"
|
403
|
-
task :ragel_dot => [ :ragel_dot_png, :ragel_dot_ps ]
|
404
|
-
|
405
|
-
desc "Build all gems and archives for a new release of json and json_pure."
|
406
|
-
task :build => [ :clean, :gemspec, :package ]
|
407
|
-
|
408
|
-
task :release => :build
|
409
|
-
end
|
410
|
-
|
411
|
-
desc "Compile in the the source directory"
|
412
|
-
task :default => [ :clean, :gemspec, :test ]
|