vagrant-shell 0.2.9 → 0.2.11
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- metadata +20 -1878
- data/.gitignore +0 -8
- data/.gitsetup.yml +0 -4
- data/Gemfile +0 -3
- data/Gemfile.lock +0 -14
- data/demo/.gitignore +0 -5
- data/demo/docker/Gemfile +0 -6
- data/demo/docker/Gemfile.lock +0 -33
- data/demo/docker/Makefile +0 -25
- data/demo/docker/Vagrantfile +0 -19
- data/demo/docker/libexec/init-docker +0 -7
- data/demo/docker/metadata.json +0 -3
- data/demo/docker/vagrant-shell.box +0 -0
- data/demo/ec2/Gemfile +0 -6
- data/demo/ec2/Gemfile.lock +0 -33
- data/demo/ec2/Makefile +0 -25
- data/demo/ec2/Vagrantfile +0 -14
- data/demo/ec2/metadata.json +0 -3
- data/demo/self/Gemfile +0 -6
- data/demo/self/Gemfile.lock +0 -33
- data/demo/self/Makefile +0 -25
- data/demo/self/Vagrantfile +0 -14
- data/demo/self/metadata.json +0 -3
- data/demo/templates/Gemfile +0 -6
- data/demo/templates/Gemfile.lock +0 -33
- data/demo/templates/Makefile +0 -25
- data/demo/templates/vendor/bundle/ruby/1.9.1/bin/erubis +0 -23
- data/demo/templates/vendor/bundle/ruby/1.9.1/bin/vagrant +0 -23
- data/demo/templates/vendor/bundle/ruby/1.9.1/cache/childprocess-0.3.9.gem +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/cache/erubis-2.7.0.gem +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/cache/ffi-1.8.1.gem +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/cache/i18n-0.6.4.gem +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/cache/json-1.7.7.gem +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/cache/log4r-1.1.10.gem +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/cache/net-scp-1.1.1.gem +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/cache/net-ssh-2.6.7.gem +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/cache/tnargav-1.2.2.gem +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/.document +0 -6
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/.gitignore +0 -23
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/.rspec +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/.travis.yml +0 -16
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/Gemfile +0 -4
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/LICENSE +0 -20
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/README.md +0 -150
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/Rakefile +0 -61
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/childprocess.gemspec +0 -27
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/lib/childprocess/abstract_io.rb +0 -36
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/lib/childprocess/abstract_process.rb +0 -173
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/lib/childprocess/errors.rb +0 -26
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/lib/childprocess/jruby/io.rb +0 -16
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/lib/childprocess/jruby/process.rb +0 -143
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/lib/childprocess/jruby/pump.rb +0 -52
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/lib/childprocess/jruby.rb +0 -56
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/lib/childprocess/tools/generator.rb +0 -146
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/lib/childprocess/unix/fork_exec_process.rb +0 -66
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/lib/childprocess/unix/io.rb +0 -21
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/lib/childprocess/unix/lib.rb +0 -181
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/lib/childprocess/unix/platform/i386-linux.rb +0 -12
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/lib/childprocess/unix/platform/i386-solaris.rb +0 -11
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/lib/childprocess/unix/platform/x86_64-linux.rb +0 -12
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/lib/childprocess/unix/platform/x86_64-macosx.rb +0 -11
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/lib/childprocess/unix/posix_spawn_process.rb +0 -140
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/lib/childprocess/unix/process.rb +0 -70
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/lib/childprocess/unix.rb +0 -9
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/lib/childprocess/version.rb +0 -3
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/lib/childprocess/windows/handle.rb +0 -89
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/lib/childprocess/windows/io.rb +0 -25
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/lib/childprocess/windows/lib.rb +0 -363
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/lib/childprocess/windows/process.rb +0 -76
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/lib/childprocess/windows/process_builder.rb +0 -179
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/lib/childprocess/windows/structs.rb +0 -83
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/lib/childprocess/windows.rb +0 -33
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/lib/childprocess.rb +0 -177
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/spec/abstract_io_spec.rb +0 -12
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/spec/childprocess_spec.rb +0 -206
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/spec/io_spec.rb +0 -217
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/spec/jruby_spec.rb +0 -24
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/spec/pid_behavior.rb +0 -13
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/spec/spec_helper.rb +0 -216
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/spec/unix_spec.rb +0 -53
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.9/spec/windows_spec.rb +0 -23
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/CHANGES.txt +0 -828
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/MIT-LICENSE +0 -20
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/README.txt +0 -102
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/benchmark/Makefile +0 -6
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/benchmark/bench.rb +0 -313
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/benchmark/bench_context.yaml +0 -141
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/benchmark/templates/_footer.html +0 -4
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/benchmark/templates/_header.html +0 -52
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/benchmark/templates/bench_erb.rhtml +0 -29
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/benchmark/templates/bench_erubis.rhtml +0 -29
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/benchmark/templates/bench_eruby.rhtml +0 -29
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/bin/erubis +0 -10
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/contrib/erubis +0 -3468
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/contrib/erubis-run.rb +0 -132
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/contrib/inline-require +0 -179
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc/docstyle.css +0 -209
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc/users-guide.html +0 -3551
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/ActionView/TemplateHandlers/ErubisHandler.html +0 -209
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/ActionView.html +0 -105
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/ERB.html +0 -101
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayBufferEnhancer.html +0 -175
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayBufferEruby.html +0 -120
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayEnhancer.html +0 -174
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayEruby.html +0 -120
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic/Converter.html +0 -327
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic/Engine.html +0 -130
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic.html +0 -112
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/BiPatternEnhancer.html +0 -215
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/BiPatternEruby.html +0 -120
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/CGenerator.html +0 -386
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/CommandOptionError.html +0 -113
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Context.html +0 -344
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Converter.html +0 -283
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/CppGenerator.html +0 -382
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/DeleteIndentEnhancer.html +0 -150
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/DeleteIndentEruby.html +0 -120
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Ec.html +0 -126
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Ecpp.html +0 -126
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Ejava.html +0 -126
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Ejavascript.html +0 -126
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Engine.html +0 -305
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Eperl.html +0 -126
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Ephp.html +0 -126
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/ErboutEnhancer.html +0 -175
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/ErboutEruby.html +0 -120
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/ErubisError.html +0 -117
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Eruby.html +0 -132
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapeEnhancer.html +0 -165
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEc.html +0 -120
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEcpp.html +0 -120
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEjava.html +0 -120
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEjavascript.html +0 -120
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEperl.html +0 -120
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEphp.html +0 -120
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEruby.html +0 -127
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEscheme.html +0 -120
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Escheme.html +0 -126
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Evaluator.html +0 -212
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/FastEruby.html +0 -131
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Generator.html +0 -416
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/HeaderFooterEnhancer.html +0 -267
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/HeaderFooterEruby.html +0 -120
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsFormHelper.html +0 -787
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsHelper/TemplateConverter.html +0 -213
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsHelper.html +0 -349
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers.html +0 -116
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/InterpolationEnhancer.html +0 -305
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/InterpolationEruby.html +0 -120
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/JavaGenerator.html +0 -359
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/JavascriptGenerator.html +0 -386
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Main.html +0 -341
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/NoCodeEnhancer.html +0 -249
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/NoCodeEruby.html +0 -120
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/NoTextEnhancer.html +0 -159
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/NoTextEruby.html +0 -120
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/NotSupportedError.html +0 -119
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedEruby.html +0 -163
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedGenerator.html +0 -439
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedXmlEruby.html +0 -163
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Converter.html +0 -266
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ec.html +0 -166
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ecpp.html +0 -166
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ejava.html +0 -166
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ejavascript.html +0 -166
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Engine.html +0 -122
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Eperl.html +0 -166
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ephp.html +0 -166
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Eruby.html +0 -155
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Escheme.html +0 -166
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/TinyEruby.html +0 -293
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI.html +0 -125
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PercentLineEnhancer.html +0 -163
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PercentLineEruby.html +0 -120
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PerlGenerator.html +0 -344
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PhpGenerator.html +0 -350
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PrefixedLineEnhancer.html +0 -210
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PrefixedLineEruby.html +0 -120
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PreprocessingEruby.html +0 -183
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PreprocessingHelper.html +0 -212
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintEnabledEnhancer.html +0 -212
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintEnabledEruby.html +0 -120
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutEnhancer.html +0 -244
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutEruby.html +0 -120
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutSimplifiedEruby.html +0 -121
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/RubyEvaluator.html +0 -227
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/RubyGenerator.html +0 -328
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/SchemeGenerator.html +0 -382
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/SimplifiedEruby.html +0 -120
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/SimplifyEnhancer.html +0 -191
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutEnhancer.html +0 -173
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutEruby.html +0 -120
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutSimplifiedEruby.html +0 -121
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/StringBufferEnhancer.html +0 -174
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/StringBufferEruby.html +0 -120
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/StringIOEruby.html +0 -120
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/TinyEruby.html +0 -298
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/XmlEruby.html +0 -130
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/XmlHelper.html +0 -255
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis.html +0 -362
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Kernel.html +0 -155
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/created.rid +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/README_txt.html +0 -247
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/context_rb.html +0 -107
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/converter_rb.html +0 -114
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/engine/ec_rb.html +0 -115
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/engine/ecpp_rb.html +0 -115
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/engine/ejava_rb.html +0 -115
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/engine/ejavascript_rb.html +0 -115
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/engine/enhanced_rb.html +0 -115
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/engine/eperl_rb.html +0 -115
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/engine/ephp_rb.html +0 -115
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/engine/eruby_rb.html +0 -115
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/engine/escheme_rb.html +0 -115
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/engine/optimized_rb.html +0 -114
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/engine_rb.html +0 -117
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/enhancer_rb.html +0 -107
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/error_rb.html +0 -107
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/evaluator_rb.html +0 -115
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/generator_rb.html +0 -114
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/helper_rb.html +0 -107
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/helpers/rails_form_helper_rb.html +0 -107
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/helpers/rails_helper_rb.html +0 -116
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/local-setting_rb.html +0 -107
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/main_rb.html +0 -129
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/preprocessing_rb.html +0 -114
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/tiny_rb.html +0 -107
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/util_rb.html +0 -107
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis_rb.html +0 -118
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/fr_class_index.html +0 -129
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/fr_file_index.html +0 -53
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/fr_method_index.html +0 -265
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/index.html +0 -24
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/rdoc-style.css +0 -208
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/basic/Makefile +0 -58
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/basic/example.ec +0 -42
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/basic/example.ecpp +0 -33
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/basic/example.ejava +0 -45
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/basic/example.ejs +0 -16
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/basic/example.eperl +0 -16
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/basic/example.ephp +0 -17
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/basic/example.eruby +0 -15
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/basic/example.escheme +0 -26
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/pi/Makefile +0 -54
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/pi/example.ec +0 -42
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/pi/example.ejava +0 -45
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/pi/example.ejs +0 -16
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/pi/example.eperl +0 -16
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/pi/example.ephp +0 -17
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/pi/example.eruby +0 -15
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/pi/example.escheme +0 -26
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/context.rb +0 -83
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/converter.rb +0 -357
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/engine/ec.rb +0 -117
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/engine/ecpp.rb +0 -113
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/engine/ejava.rb +0 -110
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/engine/ejavascript.rb +0 -119
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/engine/enhanced.rb +0 -126
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/engine/eperl.rb +0 -95
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/engine/ephp.rb +0 -99
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/engine/eruby.rb +0 -125
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/engine/escheme.rb +0 -114
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/engine/optimized.rb +0 -127
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/engine.rb +0 -120
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/enhancer.rb +0 -723
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/error.rb +0 -23
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/evaluator.rb +0 -88
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/generator.rb +0 -85
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/helper.rb +0 -47
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/helpers/rails_form_helper.rb +0 -197
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/helpers/rails_helper.rb +0 -353
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/local-setting.rb +0 -9
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/main.rb +0 -516
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/preprocessing.rb +0 -58
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/tiny.rb +0 -144
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/util.rb +0 -22
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis.rb +0 -73
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/setup.rb +0 -1331
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/assert-text-equal.rb +0 -44
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/Example.ejava +0 -55
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/array_example.result +0 -9
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/arraybuffer_example.result +0 -9
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/bipattern-example.rhtml +0 -4
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/bipattern_example.result +0 -6
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/bufvar-example.rb +0 -10
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/bufvar-example.result +0 -17
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/context.rb +0 -6
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/context.yaml +0 -8
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/def_method.rb +0 -14
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/def_method.result +0 -3
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/escape_example.result +0 -9
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example.ec +0 -27
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example.ecpp +0 -30
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example.ejs +0 -20
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example.eperl +0 -18
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example.ephp +0 -18
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example.eruby +0 -6
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example.escheme +0 -28
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example1.eruby +0 -6
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example1.rb +0 -17
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example1.result +0 -16
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example10.rb +0 -4
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example10.result +0 -17
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example10.xhtml +0 -14
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example10_x.result +0 -17
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example11.php +0 -20
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example11.result +0 -23
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example11.rhtml +0 -21
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example11_C.result +0 -10
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example11_N.result +0 -16
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example11_U.result +0 -16
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example11_php.result +0 -15
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example1_x.result +0 -9
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example2.eruby +0 -7
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example2.rb +0 -10
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example2.result +0 -27
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example2_trim.result +0 -10
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example2_x.result +0 -10
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example3.eruby +0 -6
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example3.rb +0 -10
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example31.result +0 -22
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example32.result +0 -4
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example3_e.result +0 -8
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example4.eruby +0 -3
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example4.rb +0 -11
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example4.result +0 -10
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example4_x.result +0 -5
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example5.eruby +0 -6
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example5.rb +0 -16
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example5.result +0 -7
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example6.rb +0 -12
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example6.result +0 -7
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example7.eruby +0 -8
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example71.result +0 -13
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example72.result +0 -13
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example8.eruby +0 -6
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example8_ruby.result +0 -7
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example8_yaml.result +0 -7
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example9.eruby +0 -3
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example9.rb +0 -8
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example9.result +0 -9
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example91.result +0 -5
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example92.result +0 -4
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example_c.result +0 -32
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example_java.result +0 -56
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example_js.result +0 -22
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example_perl.result +0 -20
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example_php.result +0 -19
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example_scheme.result +0 -30
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example_scheme_display.result +0 -29
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/fasteruby-example.rb +0 -8
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/fasteruby-example.result +0 -18
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/fasteruby.rb +0 -11
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/fasteruby.result +0 -38
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/fasteruby.rhtml +0 -15
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example.eruby +0 -9
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example2.rb +0 -8
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example2.rhtml +0 -10
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/headerfooter_example.result +0 -11
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/headerfooter_example2.result +0 -13
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/interpolation_example.result +0 -9
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/main_program1.rb +0 -8
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/main_program1.result +0 -6
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/main_program2.rb +0 -8
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/main_program2.result +0 -6
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/nocode-example.eruby +0 -14
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/nocode-php.result +0 -20
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/nocode_example.result +0 -15
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/normal-eruby-test.eruby +0 -9
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/normal_eruby_test.result +0 -11
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/notext-example.eruby +0 -14
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/notext-example.php +0 -19
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/notext-php.result +0 -20
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/notext_example.result +0 -16
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/percentline-example.rhtml +0 -6
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/percentline_example.result +0 -9
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/prefixedline-example.rb +0 -9
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/prefixedline-example.rhtml +0 -6
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/prefixedline_example.result +0 -9
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/printenable_example.result +0 -4
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.eruby +0 -3
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb +0 -8
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/printstatement_example.result +0 -8
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/simplify_example.result +0 -9
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/stderr.log +0 -3
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/stdout_exmple.result +0 -9
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/stringbuffer_example.result +0 -9
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/tail_260.result +0 -4
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/tailnewline.rhtml +0 -3
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/template1.rhtml +0 -4
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/template2.rhtml +0 -4
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/test-engines.rb +0 -425
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/test-enhancers.rb +0 -646
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/test-erubis.rb +0 -887
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/test-index-cgi.rb +0 -191
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/test-main.rb +0 -752
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/test-users-guide.rb +0 -73
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/test.rb +0 -45
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/testutil.rb +0 -111
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/COPYING +0 -674
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/COPYING.LESSER +0 -165
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/History.txt +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/LICENSE +0 -14
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/README.md +0 -109
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/Rakefile +0 -219
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/AbstractMemory.c +0 -1021
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/AbstractMemory.h +0 -166
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/AbstractMemory.o +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/ArrayType.c +0 -153
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/ArrayType.h +0 -50
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/ArrayType.o +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Buffer.c +0 -355
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Buffer.o +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Call.c +0 -456
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Call.h +0 -84
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Call.o +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/ClosurePool.c +0 -274
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/ClosurePool.h +0 -48
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/ClosurePool.o +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/DataConverter.c +0 -91
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/DataConverter.o +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/DynamicLibrary.c +0 -324
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/DynamicLibrary.h +0 -40
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/DynamicLibrary.o +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Function.c +0 -990
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Function.h +0 -78
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Function.o +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/FunctionInfo.c +0 -261
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/FunctionInfo.o +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/LastError.c +0 -174
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/LastError.h +0 -38
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/LastError.o +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/LongDouble.c +0 -63
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/LongDouble.h +0 -42
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/LongDouble.o +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Makefile +0 -220
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/MappedType.c +0 -159
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/MappedType.h +0 -50
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/MappedType.o +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/MemoryPointer.c +0 -188
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/MemoryPointer.h +0 -44
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/MemoryPointer.o +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/MethodHandle.c +0 -351
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/MethodHandle.h +0 -46
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/MethodHandle.o +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Platform.c +0 -112
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Platform.h +0 -36
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Platform.o +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Pointer.c +0 -499
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Pointer.h +0 -54
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Pointer.o +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Struct.c +0 -819
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Struct.h +0 -97
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Struct.o +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/StructByReference.c +0 -190
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/StructByReference.h +0 -50
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/StructByReference.o +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/StructByValue.c +0 -141
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/StructByValue.h +0 -46
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/StructByValue.o +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/StructLayout.c +0 -689
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/StructLayout.o +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Thread.c +0 -343
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Thread.h +0 -86
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Thread.o +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Type.c +0 -386
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Type.h +0 -47
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Type.o +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Types.c +0 -130
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Types.h +0 -80
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Types.o +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Variadic.c +0 -266
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Variadic.o +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/compat.h +0 -74
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/cruby-ext.iml +0 -12
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/extconf.h +0 -12
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/extconf.rb +0 -65
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/ffi.c +0 -88
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/ffi.o +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/ffi_c.so +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/ChangeLog +0 -4600
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/ChangeLog.libffi +0 -584
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/ChangeLog.libgcj +0 -40
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/ChangeLog.v1 +0 -764
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/LICENSE +0 -21
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/Makefile.am +0 -196
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/Makefile.in +0 -1820
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/Makefile.vc +0 -141
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/Makefile.vc64 +0 -141
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/README +0 -342
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/acinclude.m4 +0 -92
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/aclocal.m4 +0 -1873
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/build-ios.sh +0 -67
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/compile +0 -143
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/config.guess +0 -1501
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/config.sub +0 -1705
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/configure +0 -17191
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/configure.ac +0 -496
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/configure.host +0 -11
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/depcomp +0 -630
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/doc/libffi.info +0 -593
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/doc/libffi.texi +0 -600
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/doc/stamp-vti +0 -4
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/doc/version.texi +0 -4
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/fficonfig.h.in +0 -199
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/fficonfig.hw +0 -57
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/include/Makefile.am +0 -9
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/include/Makefile.in +0 -487
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/include/ffi.h.in +0 -427
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/include/ffi.h.vc +0 -427
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/include/ffi.h.vc64 +0 -427
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/include/ffi_common.h +0 -126
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/install-sh +0 -520
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/libffi.pc.in +0 -10
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/libtool-version +0 -29
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/ltmain.sh +0 -9636
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/m4/ax_cc_maxopt.m4 +0 -176
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/m4/ax_cflags_warn_all.m4 +0 -195
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/m4/ax_check_compiler_flags.m4 +0 -76
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/m4/ax_compiler_vendor.m4 +0 -63
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/m4/ax_configure_args.m4 +0 -70
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/m4/ax_enable_builddir.m4 +0 -300
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/m4/ax_gcc_archflag.m4 +0 -215
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/m4/ax_gcc_x86_cpuid.m4 +0 -79
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/m4/libtool.m4 +0 -7831
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/m4/ltoptions.m4 +0 -369
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/m4/ltsugar.m4 +0 -123
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/m4/ltversion.m4 +0 -23
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/m4/lt~obsolete.m4 +0 -98
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/man/Makefile.am +0 -8
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/man/Makefile.in +0 -466
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/man/ffi.3 +0 -31
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/man/ffi_call.3 +0 -103
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/man/ffi_prep_cif.3 +0 -66
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/mdate-sh +0 -201
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/missing +0 -376
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/msvcc.sh +0 -197
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/alpha/ffi.c +0 -284
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/alpha/ffitarget.h +0 -48
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/alpha/osf.S +0 -387
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/arm/ffi.c +0 -728
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/arm/ffitarget.h +0 -65
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/arm/gentramp.sh +0 -118
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/arm/sysv.S +0 -497
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/arm/trampoline.S +0 -4450
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/avr32/ffi.c +0 -423
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/avr32/ffitarget.h +0 -50
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/avr32/sysv.S +0 -208
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/closures.c +0 -615
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/cris/ffi.c +0 -383
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/cris/ffitarget.h +0 -51
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/cris/sysv.S +0 -215
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/debug.c +0 -59
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/dlmalloc.c +0 -5161
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/frv/eabi.S +0 -128
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/frv/ffi.c +0 -292
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/frv/ffitarget.h +0 -57
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/ia64/ffi.c +0 -582
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/ia64/ffitarget.h +0 -50
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/ia64/ia64_flags.h +0 -40
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/ia64/unix.S +0 -560
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/java_raw_api.c +0 -356
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/m32r/ffi.c +0 -232
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/m32r/ffitarget.h +0 -48
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/m32r/sysv.S +0 -121
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/m68k/ffi.c +0 -288
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/m68k/ffitarget.h +0 -49
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/m68k/sysv.S +0 -270
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/mips/ffi.c +0 -1036
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/mips/ffitarget.h +0 -242
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/mips/n32.S +0 -591
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/mips/o32.S +0 -381
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/moxie/eabi.S +0 -128
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/moxie/ffi.c +0 -276
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/pa/ffi.c +0 -719
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/pa/ffitarget.h +0 -78
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/pa/hpux32.S +0 -368
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/pa/linux.S +0 -357
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/powerpc/aix.S +0 -328
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/powerpc/aix_closure.S +0 -445
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/powerpc/asm.h +0 -125
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/powerpc/darwin.S +0 -383
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/powerpc/darwin_closure.S +0 -575
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/powerpc/ffi.c +0 -1448
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c +0 -1359
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/powerpc/ffitarget.h +0 -139
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/powerpc/linux64.S +0 -187
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/powerpc/linux64_closure.S +0 -236
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/powerpc/ppc_closure.S +0 -327
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/powerpc/sysv.S +0 -219
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/prep_cif.c +0 -177
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/raw_api.c +0 -254
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/s390/ffi.c +0 -780
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/s390/ffitarget.h +0 -62
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/s390/sysv.S +0 -434
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/sh/ffi.c +0 -716
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/sh/ffitarget.h +0 -49
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/sh/sysv.S +0 -850
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/sh64/ffi.c +0 -468
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/sh64/ffitarget.h +0 -53
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/sh64/sysv.S +0 -539
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/sparc/ffi.c +0 -669
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/sparc/ffitarget.h +0 -68
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/sparc/v8.S +0 -313
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/sparc/v9.S +0 -307
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/types.c +0 -77
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/x86/darwin.S +0 -444
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/x86/darwin64.S +0 -416
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/x86/ffi.c +0 -644
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/x86/ffi64.c +0 -635
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/x86/ffitarget.h +0 -121
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/x86/freebsd.S +0 -458
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/x86/sysv.S +0 -468
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/x86/unix64.S +0 -426
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/x86/win32.S +0 -1065
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/x86/win64.S +0 -468
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/Makefile.am +0 -80
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/Makefile.in +0 -500
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/config/default.exp +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/lib/libffi-dg.exp +0 -300
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/lib/libffi.exp +0 -350
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/lib/target-libpath.exp +0 -263
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/lib/wrapper.exp +0 -45
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/call.exp +0 -32
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn0.c +0 -89
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn1.c +0 -81
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn2.c +0 -81
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn3.c +0 -82
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn4.c +0 -89
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn5.c +0 -92
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn6.c +0 -90
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/closure_loc_fn0.c +0 -95
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/closure_stdcall.c +0 -64
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_12byte.c +0 -94
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_16byte.c +0 -95
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_18byte.c +0 -96
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_19byte.c +0 -102
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_1_1byte.c +0 -89
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_20byte.c +0 -91
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_20byte1.c +0 -93
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_24byte.c +0 -113
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_2byte.c +0 -90
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_3_1byte.c +0 -95
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_3byte1.c +0 -90
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_3byte2.c +0 -90
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_4_1byte.c +0 -98
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_4byte.c +0 -90
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_5_1_byte.c +0 -109
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_5byte.c +0 -98
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_64byte.c +0 -124
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_6_1_byte.c +0 -113
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_6byte.c +0 -99
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_7_1_byte.c +0 -117
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_7byte.c +0 -97
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_8byte.c +0 -88
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_9byte1.c +0 -90
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_9byte2.c +0 -91
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_double.c +0 -93
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_float.c +0 -91
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble.c +0 -92
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split.c +0 -134
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c +0 -117
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_pointer.c +0 -95
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint16.c +0 -91
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint32.c +0 -91
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint64.c +0 -92
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint16.c +0 -91
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint32.c +0 -91
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint64.c +0 -93
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_dbls_struct.c +0 -66
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_double.c +0 -43
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_double_va.c +0 -60
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_float.c +0 -42
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble.c +0 -105
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble_va.c +0 -60
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_schar.c +0 -74
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_sshort.c +0 -74
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_sshortchar.c +0 -86
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_uchar.c +0 -91
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_ushort.c +0 -74
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_ushortchar.c +0 -86
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer.c +0 -74
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer_stack.c +0 -140
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_schar.c +0 -44
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_sint.c +0 -42
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_sshort.c +0 -42
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_uchar.c +0 -42
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_uint.c +0 -43
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_ulonglong.c +0 -47
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_ushort.c +0 -43
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_abi.c +0 -36
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c +0 -26
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/ffitest.h +0 -153
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/float.c +0 -59
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/float1.c +0 -58
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/float2.c +0 -58
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/float3.c +0 -72
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/float4.c +0 -62
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/huge_struct.c +0 -342
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/many.c +0 -69
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/many_win32.c +0 -63
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/negint.c +0 -53
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct.c +0 -152
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct1.c +0 -161
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct10.c +0 -133
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct2.c +0 -110
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct3.c +0 -111
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct4.c +0 -111
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct5.c +0 -112
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct6.c +0 -131
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct7.c +0 -111
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct8.c +0 -131
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct9.c +0 -131
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/problem1.c +0 -90
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/promotion.c +0 -59
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/pyobjc-tc.c +0 -114
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl.c +0 -35
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl1.c +0 -43
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl2.c +0 -42
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/return_fl.c +0 -35
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/return_fl1.c +0 -36
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/return_fl2.c +0 -49
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/return_fl3.c +0 -42
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/return_ldl.c +0 -34
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/return_ll.c +0 -41
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/return_ll1.c +0 -43
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/return_sc.c +0 -36
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/return_sl.c +0 -38
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/return_uc.c +0 -38
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/return_ul.c +0 -38
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/stret_large.c +0 -145
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/stret_large2.c +0 -148
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium.c +0 -124
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium2.c +0 -125
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/strlen.c +0 -44
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/strlen_win32.c +0 -44
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/struct1.c +0 -65
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/struct2.c +0 -67
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/struct3.c +0 -59
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/struct4.c +0 -63
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/struct5.c +0 -65
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/struct6.c +0 -64
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/struct7.c +0 -74
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/struct8.c +0 -80
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/struct9.c +0 -67
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/testclosure.c +0 -70
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.special/ffitestcxx.h +0 -96
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.special/special.exp +0 -35
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.special/unwindtest.cc +0 -124
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.special/unwindtest_ffi_call.cc +0 -53
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/texinfo.tex +0 -7210
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi.bsd.mk +0 -34
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi.darwin.mk +0 -95
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi.gnu.mk +0 -31
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi.mk +0 -13
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi.vc.mk +0 -26
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi.vc64.mk +0 -26
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/mkmf.log +0 -344
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/rbffi.h +0 -48
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/rbffi_endian.h +0 -59
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/win32/stdbool.h +0 -8
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/win32/stdint.h +0 -201
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ffi.gemspec +0 -22
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/gen/Rakefile +0 -30
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/gen/log +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/autopointer.rb +0 -184
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/buffer.rb +0 -4
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/callback.rb +0 -4
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/enum.rb +0 -162
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/errno.rb +0 -33
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/ffi.iml +0 -11
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/ffi.rb +0 -33
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/io.rb +0 -52
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/library.rb +0 -489
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/managedstruct.rb +0 -55
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/memorypointer.rb +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/arm-linux/types.conf +0 -104
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/i386-cygwin/types.conf +0 -3
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/i386-darwin/types.conf +0 -100
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/i386-freebsd/types.conf +0 -152
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/i386-linux/types.conf +0 -103
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/i386-netbsd/types.conf +0 -126
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/i386-openbsd/types.conf +0 -126
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/i386-solaris/types.conf +0 -122
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/i386-windows/types.conf +0 -105
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/i486-gnu/types.conf +0 -107
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/ia64-linux/types.conf +0 -104
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/mips-linux/types.conf +0 -102
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/mipsel-linux/types.conf +0 -102
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/powerpc-aix/types.conf +0 -180
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/powerpc-darwin/types.conf +0 -100
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/powerpc-linux/types.conf +0 -100
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/s390-linux/types.conf +0 -102
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/s390x-linux/types.conf +0 -102
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/sparc-linux/types.conf +0 -102
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/sparc-solaris/types.conf +0 -128
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/sparcv9-solaris/types.conf +0 -128
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/x86_64-darwin/types.conf +0 -100
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/x86_64-freebsd/types.conf +0 -128
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/x86_64-linux/types.conf +0 -102
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/x86_64-netbsd/types.conf +0 -126
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/x86_64-openbsd/types.conf +0 -126
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/x86_64-solaris/types.conf +0 -122
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/x86_64-windows/types.conf +0 -27
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform.rb +0 -139
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/pointer.rb +0 -122
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/struct.rb +0 -356
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/struct_layout_builder.rb +0 -211
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/tools/const_generator.rb +0 -229
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/tools/generator.rb +0 -60
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/tools/generator_task.rb +0 -36
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/tools/struct_generator.rb +0 -194
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/tools/types_generator.rb +0 -135
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/types.rb +0 -177
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/union.rb +0 -32
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/variadic.rb +0 -65
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/version.rb +0 -4
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi.rb +0 -28
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi_c.so +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/libtest/Benchmark.c +0 -52
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/libtest/BoolTest.c +0 -31
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/libtest/BufferTest.c +0 -31
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/libtest/ClosureTest.c +0 -190
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/libtest/EnumTest.c +0 -34
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/libtest/FunctionTest.c +0 -58
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/libtest/GNUmakefile +0 -149
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/libtest/GlobalVariable.c +0 -62
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/libtest/LastErrorTest.c +0 -21
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/libtest/NumberTest.c +0 -132
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/libtest/PointerTest.c +0 -63
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/libtest/ReferenceTest.c +0 -23
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/libtest/StringTest.c +0 -34
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/libtest/StructTest.c +0 -240
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/libtest/UnionTest.c +0 -43
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/libtest/VariadicTest.c +0 -62
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/async_callback_spec.rb +0 -35
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/bool_spec.rb +0 -29
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/buffer_spec.rb +0 -251
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/callback_spec.rb +0 -667
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/custom_param_type.rb +0 -36
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/custom_type_spec.rb +0 -74
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/dup_spec.rb +0 -54
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/enum_spec.rb +0 -220
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/errno_spec.rb +0 -18
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/ffi_spec.rb +0 -29
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/function_spec.rb +0 -76
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/library_spec.rb +0 -216
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/long_double.rb +0 -30
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/managed_struct_spec.rb +0 -57
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/number_spec.rb +0 -236
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/pointer_spec.rb +0 -265
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/rbx/attach_function_spec.rb +0 -28
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/rbx/memory_pointer_spec.rb +0 -123
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/rbx/spec_helper.rb +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/rbx/struct_spec.rb +0 -13
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/spec.iml +0 -12
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/spec_helper.rb +0 -33
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/string_spec.rb +0 -108
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/strptr_spec.rb +0 -50
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/struct_by_ref_spec.rb +0 -43
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/struct_callback_spec.rb +0 -69
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/struct_initialize_spec.rb +0 -35
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/struct_packed_spec.rb +0 -51
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/struct_spec.rb +0 -748
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/typedef_spec.rb +0 -78
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/union_spec.rb +0 -65
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/variadic_spec.rb +0 -92
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/spec/spec.opts +0 -4
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/CHANGELOG.textile +0 -152
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/MIT-LICENSE +0 -20
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/README.textile +0 -105
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/ci/Gemfile.no-rails +0 -5
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/ci/Gemfile.no-rails.lock +0 -14
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/ci/Gemfile.rails-2.3.x +0 -9
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/ci/Gemfile.rails-2.3.x.lock +0 -23
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/ci/Gemfile.rails-3.x +0 -9
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/ci/Gemfile.rails-3.x.lock +0 -23
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/backend/base.rb +0 -185
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/backend/cache.rb +0 -96
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/backend/cascade.rb +0 -54
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/backend/chain.rb +0 -77
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/backend/fallbacks.rb +0 -65
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/backend/flatten.rb +0 -113
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/backend/gettext.rb +0 -72
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/backend/interpolation_compiler.rb +0 -121
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/backend/key_value.rb +0 -101
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/backend/memoize.rb +0 -46
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/backend/metadata.rb +0 -65
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/backend/pluralization.rb +0 -53
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/backend/simple.rb +0 -87
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/backend/transliterator.rb +0 -99
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/backend.rb +0 -18
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/config.rb +0 -86
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/core_ext/hash.rb +0 -29
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/core_ext/kernel/surpress_warnings.rb +0 -9
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/core_ext/string/interpolate.rb +0 -105
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/exceptions.rb +0 -106
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/gettext/helpers.rb +0 -64
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/gettext/po_parser.rb +0 -329
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/gettext.rb +0 -25
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/interpolate/ruby.rb +0 -31
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/locale/fallbacks.rb +0 -96
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/locale/tag/parents.rb +0 -22
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/locale/tag/rfc4646.rb +0 -74
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/locale/tag/simple.rb +0 -39
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/locale/tag.rb +0 -28
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/locale.rb +0 -6
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/tests/basics.rb +0 -54
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/tests/defaults.rb +0 -40
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/tests/interpolation.rb +0 -133
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/tests/link.rb +0 -56
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/tests/localization/date.rb +0 -91
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/tests/localization/date_time.rb +0 -77
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/tests/localization/procs.rb +0 -116
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/tests/localization/time.rb +0 -76
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/tests/localization.rb +0 -19
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/tests/lookup.rb +0 -81
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/tests/pluralization.rb +0 -35
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/tests/procs.rb +0 -55
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/tests.rb +0 -12
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n/version.rb +0 -3
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/lib/i18n.rb +0 -333
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/all.rb +0 -8
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/api/all_features_test.rb +0 -58
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/api/cascade_test.rb +0 -28
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/api/chain_test.rb +0 -24
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/api/fallbacks_test.rb +0 -30
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/api/key_value_test.rb +0 -28
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/api/memoize_test.rb +0 -60
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/api/override_test.rb +0 -48
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/api/pluralization_test.rb +0 -30
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/api/simple_test.rb +0 -28
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/backend/cache_test.rb +0 -85
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/backend/cascade_test.rb +0 -85
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/backend/chain_test.rb +0 -76
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/backend/exceptions_test.rb +0 -30
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/backend/fallbacks_test.rb +0 -125
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/backend/interpolation_compiler_test.rb +0 -102
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/backend/key_value_test.rb +0 -46
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/backend/memoize_test.rb +0 -47
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/backend/metadata_test.rb +0 -47
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/backend/pluralization_test.rb +0 -44
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/backend/simple_test.rb +0 -83
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/backend/transliterator_test.rb +0 -85
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/core_ext/hash_test.rb +0 -30
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/core_ext/string/interpolate_test.rb +0 -99
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/gettext/api_test.rb +0 -206
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/gettext/backend_test.rb +0 -101
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/i18n/exceptions_test.rb +0 -116
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/i18n/interpolate_test.rb +0 -61
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/i18n/load_path_test.rb +0 -33
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/i18n_test.rb +0 -254
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/locale/fallbacks_test.rb +0 -136
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/locale/tag/rfc4646_test.rb +0 -142
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/locale/tag/simple_test.rb +0 -32
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/run_all.rb +0 -21
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/test_data/locales/de.po +0 -82
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/test_data/locales/en.rb +0 -3
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/test_data/locales/en.yml +0 -3
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/test_data/locales/invalid/empty.yml +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/test_data/locales/invalid/syntax.yml +0 -4
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/test_data/locales/plurals.rb +0 -113
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/test_helper.rb +0 -56
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/.gitignore +0 -12
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/.travis.yml +0 -19
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/CHANGES +0 -272
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/COPYING +0 -58
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/COPYING-json-jruby +0 -57
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/GPL +0 -340
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/Gemfile +0 -11
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/README-json-jruby.markdown +0 -33
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/README.rdoc +0 -358
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/Rakefile +0 -412
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/TODO +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/VERSION +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/data/example.json +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/data/index.html +0 -38
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/data/prototype.js +0 -4184
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/diagrams/.keep +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/ext/json/ext/fbuffer/fbuffer.h +0 -181
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/ext/json/ext/generator/Makefile +0 -221
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/ext/json/ext/generator/depend +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/ext/json/ext/generator/extconf.rb +0 -14
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/ext/json/ext/generator/generator.c +0 -1427
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/ext/json/ext/generator/generator.h +0 -148
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/ext/json/ext/generator/generator.o +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/ext/json/ext/generator/generator.so +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/ext/json/ext/parser/Makefile +0 -221
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/ext/json/ext/parser/depend +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/ext/json/ext/parser/extconf.rb +0 -13
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/ext/json/ext/parser/parser.c +0 -2204
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/ext/json/ext/parser/parser.h +0 -77
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/ext/json/ext/parser/parser.o +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/ext/json/ext/parser/parser.rl +0 -927
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/ext/json/ext/parser/parser.so +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/install.rb +0 -23
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/java/src/json/ext/ByteListTranscoder.java +0 -167
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/java/src/json/ext/Generator.java +0 -444
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/java/src/json/ext/GeneratorMethods.java +0 -232
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/java/src/json/ext/GeneratorService.java +0 -43
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/java/src/json/ext/GeneratorState.java +0 -543
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/java/src/json/ext/OptionsReader.java +0 -113
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/java/src/json/ext/Parser.java +0 -2644
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/java/src/json/ext/Parser.rl +0 -968
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/java/src/json/ext/ParserService.java +0 -35
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/java/src/json/ext/RuntimeInfo.java +0 -121
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/java/src/json/ext/StringDecoder.java +0 -167
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/java/src/json/ext/StringEncoder.java +0 -106
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/java/src/json/ext/Utils.java +0 -89
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/json-java.gemspec +0 -23
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/json.gemspec +0 -37
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/json_pure.gemspec +0 -39
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/lib/json/add/bigdecimal.rb +0 -28
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/lib/json/add/complex.rb +0 -22
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/lib/json/add/core.rb +0 -11
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/lib/json/add/date.rb +0 -34
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/lib/json/add/date_time.rb +0 -50
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/lib/json/add/exception.rb +0 -31
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/lib/json/add/ostruct.rb +0 -31
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/lib/json/add/range.rb +0 -29
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/lib/json/add/rational.rb +0 -22
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/lib/json/add/regexp.rb +0 -30
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/lib/json/add/struct.rb +0 -30
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/lib/json/add/symbol.rb +0 -25
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/lib/json/add/time.rb +0 -38
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/lib/json/common.rb +0 -487
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/lib/json/ext/.keep +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/lib/json/ext/generator.so +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/lib/json/ext/parser.so +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/lib/json/ext.rb +0 -21
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/lib/json/generic_object.rb +0 -61
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/lib/json/pure/generator.rb +0 -492
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/lib/json/pure/parser.rb +0 -359
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/lib/json/pure.rb +0 -21
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/lib/json/version.rb +0 -8
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/lib/json.rb +0 -62
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/fixtures/fail1.json +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/fixtures/fail10.json +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/fixtures/fail11.json +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/fixtures/fail12.json +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/fixtures/fail13.json +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/fixtures/fail14.json +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/fixtures/fail18.json +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/fixtures/fail19.json +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/fixtures/fail2.json +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/fixtures/fail20.json +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/fixtures/fail21.json +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/fixtures/fail22.json +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/fixtures/fail23.json +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/fixtures/fail24.json +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/fixtures/fail25.json +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/fixtures/fail27.json +0 -2
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/fixtures/fail28.json +0 -2
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/fixtures/fail3.json +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/fixtures/fail4.json +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/fixtures/fail5.json +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/fixtures/fail6.json +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/fixtures/fail7.json +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/fixtures/fail8.json +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/fixtures/fail9.json +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/fixtures/pass1.json +0 -56
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/fixtures/pass15.json +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/fixtures/pass16.json +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/fixtures/pass17.json +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/fixtures/pass2.json +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/fixtures/pass26.json +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/fixtures/pass3.json +0 -6
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/setup_variant.rb +0 -11
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/test_json.rb +0 -545
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/test_json_addition.rb +0 -196
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/test_json_encoding.rb +0 -65
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/test_json_fixtures.rb +0 -35
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/test_json_generate.rb +0 -300
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/test_json_generic_object.rb +0 -60
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/test_json_string_matching.rb +0 -39
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tests/test_json_unicode.rb +0 -72
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tools/fuzz.rb +0 -139
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/json-1.7.7/tools/server.rb +0 -62
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/doc/content/contact.html +0 -22
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/doc/content/contribute.html +0 -21
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/doc/content/index.html +0 -90
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/doc/content/license.html +0 -56
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/doc/content/manual.html +0 -449
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/doc/dev/README.developers +0 -55
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/doc/dev/checklist +0 -23
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/doc/dev/things-to-do +0 -5
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/doc/images/log4r-logo.png +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/doc/images/logo2.png +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/doc/log4r.css +0 -111
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/doc/rdoc-log4r.css +0 -696
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/doc/templates/main.html +0 -147
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/README +0 -19
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/ancestors.rb +0 -53
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/chainsaw_settings.xml +0 -7
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/customlevels.rb +0 -34
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/filelog.rb +0 -25
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/fileroll.rb +0 -40
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/gmail.rb +0 -30
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/gmail.yaml +0 -95
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/log4r_yaml.yaml +0 -0
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/logclient.rb +0 -25
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/logserver.rb +0 -18
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/moderate.xml +0 -29
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/moderateconfig.rb +0 -66
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/myformatter.rb +0 -23
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/outofthebox.rb +0 -21
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/rdoc-gen +0 -2
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/rrconfig.xml +0 -63
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/rrsetup.rb +0 -42
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/simpleconfig.rb +0 -39
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/syslogcustom.rb +0 -52
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/xmlconfig.rb +0 -25
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/yaml.rb +0 -30
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/GDC.rb +0 -41
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/MDC.rb +0 -59
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/NDC.rb +0 -86
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/base.rb +0 -74
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/config.rb +0 -9
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/configurator.rb +0 -224
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/formatter/formatter.rb +0 -105
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/formatter/log4jxmlformatter.rb +0 -65
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/formatter/patternformatter.rb +0 -145
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/lib/drbloader.rb +0 -52
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/lib/xmlloader.rb +0 -24
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/logevent.rb +0 -28
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/logger.rb +0 -199
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/loggerfactory.rb +0 -89
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/logserver.rb +0 -28
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/outputter/consoleoutputters.rb +0 -18
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/outputter/datefileoutputter.rb +0 -117
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/outputter/emailoutputter.rb +0 -143
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/outputter/fileoutputter.rb +0 -56
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/outputter/iooutputter.rb +0 -55
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/outputter/outputter.rb +0 -134
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/outputter/outputterfactory.rb +0 -61
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/outputter/remoteoutputter.rb +0 -40
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/outputter/rollingfileoutputter.rb +0 -234
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/outputter/scribeoutputter.rb +0 -37
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/outputter/staticoutputter.rb +0 -30
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/outputter/syslogoutputter.rb +0 -130
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/outputter/udpoutputter.rb +0 -53
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/rdoc/GDC +0 -14
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/rdoc/MDC +0 -16
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/rdoc/NDC +0 -41
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/rdoc/configurator +0 -243
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/rdoc/emailoutputter +0 -103
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/rdoc/formatter +0 -39
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/rdoc/log4jxmlformatter +0 -21
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/rdoc/log4r +0 -89
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/rdoc/logger +0 -175
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/rdoc/logserver +0 -85
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/rdoc/outputter +0 -108
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/rdoc/patternformatter +0 -128
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/rdoc/scribeoutputter +0 -16
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/rdoc/syslogoutputter +0 -29
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/rdoc/win32eventoutputter +0 -7
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/rdoc/yamlconfigurator +0 -20
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/repository.rb +0 -88
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/staticlogger.rb +0 -49
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/version.rb +0 -4
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/yamlconfigurator.rb +0 -198
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r.rb +0 -17
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/README +0 -10
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testGDC.rb +0 -24
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testMDC.rb +0 -40
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testNDC.rb +0 -25
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/test_helper.rb +0 -12
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testall.rb +0 -6
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testbase.rb +0 -48
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testchainsaw.rb +0 -42
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testconf.xml +0 -37
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testcustom.rb +0 -30
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testformatter.rb +0 -31
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testlogger.rb +0 -200
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testoutputter.rb +0 -143
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testpatternformatter.rb +0 -76
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testthreads.rb +0 -31
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testxmlconf.rb +0 -48
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testyaml.rb +0 -39
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testyaml_arrays.yaml +0 -25
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testyaml_injection.yaml +0 -22
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-scp-1.1.1/CHANGES.txt +0 -38
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-scp-1.1.1/LICENSE.txt +0 -19
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-scp-1.1.1/Manifest +0 -17
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-scp-1.1.1/README.rdoc +0 -118
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-scp-1.1.1/Rakefile +0 -60
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-scp-1.1.1/gem-public_cert.pem +0 -20
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-scp-1.1.1/lib/net/scp/download.rb +0 -150
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-scp-1.1.1/lib/net/scp/errors.rb +0 -5
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-scp-1.1.1/lib/net/scp/upload.rb +0 -142
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-scp-1.1.1/lib/net/scp/version.rb +0 -18
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-scp-1.1.1/lib/net/scp.rb +0 -439
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-scp-1.1.1/lib/uri/open-scp.rb +0 -18
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-scp-1.1.1/lib/uri/scp.rb +0 -35
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-scp-1.1.1/net-scp.gemspec +0 -68
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-scp-1.1.1/setup.rb +0 -1331
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-scp-1.1.1/test/common.rb +0 -153
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-scp-1.1.1/test/test_all.rb +0 -3
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-scp-1.1.1/test/test_download.rb +0 -170
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-scp-1.1.1/test/test_scp.rb +0 -60
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-scp-1.1.1/test/test_upload.rb +0 -269
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/CHANGES.txt +0 -343
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/LICENSE.txt +0 -19
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/Manifest +0 -133
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/README.rdoc +0 -216
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/Rakefile +0 -62
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/Rudyfile +0 -96
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/THANKS.txt +0 -85
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/gem-public_cert.pem +0 -20
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/authentication/agent/java_pageant.rb +0 -85
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/authentication/agent/socket.rb +0 -170
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/authentication/agent.rb +0 -23
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/authentication/constants.rb +0 -18
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/authentication/key_manager.rb +0 -253
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/authentication/methods/abstract.rb +0 -60
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/authentication/methods/hostbased.rb +0 -75
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/authentication/methods/keyboard_interactive.rb +0 -70
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/authentication/methods/none.rb +0 -37
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/authentication/methods/password.rb +0 -43
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/authentication/methods/publickey.rb +0 -96
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/authentication/pageant.rb +0 -260
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/authentication/session.rb +0 -154
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/buffer.rb +0 -350
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/buffered_io.rb +0 -198
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/config.rb +0 -207
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/connection/channel.rb +0 -630
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/connection/constants.rb +0 -33
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/connection/session.rb +0 -601
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/connection/term.rb +0 -178
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/errors.rb +0 -100
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/key_factory.rb +0 -120
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/known_hosts.rb +0 -141
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/loggable.rb +0 -61
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/packet.rb +0 -102
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/prompt.rb +0 -93
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/proxy/command.rb +0 -75
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/proxy/errors.rb +0 -14
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/proxy/http.rb +0 -94
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/proxy/socks4.rb +0 -70
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/proxy/socks5.rb +0 -142
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/ruby_compat.rb +0 -51
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/service/forward.rb +0 -298
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/test/channel.rb +0 -138
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/test/extensions.rb +0 -152
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/test/kex.rb +0 -44
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/test/local_packet.rb +0 -51
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/test/packet.rb +0 -82
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/test/remote_packet.rb +0 -38
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/test/script.rb +0 -166
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/test/socket.rb +0 -64
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/test.rb +0 -89
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/transport/algorithms.rb +0 -407
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/transport/cipher_factory.rb +0 -106
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/transport/constants.rb +0 -32
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/transport/ctr.rb +0 -95
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/transport/hmac/abstract.rb +0 -79
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/transport/hmac/md5.rb +0 -12
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/transport/hmac/md5_96.rb +0 -11
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/transport/hmac/none.rb +0 -15
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/transport/hmac/ripemd160.rb +0 -13
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/transport/hmac/sha1.rb +0 -13
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/transport/hmac/sha1_96.rb +0 -11
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/transport/hmac/sha2_256.rb +0 -15
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/transport/hmac/sha2_256_96.rb +0 -13
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/transport/hmac/sha2_512.rb +0 -14
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/transport/hmac/sha2_512_96.rb +0 -13
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/transport/hmac.rb +0 -45
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/transport/identity_cipher.rb +0 -55
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/transport/kex/diffie_hellman_group14_sha1.rb +0 -44
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb +0 -216
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha1.rb +0 -80
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb +0 -15
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/transport/kex/ecdh_sha2_nistp256.rb +0 -93
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/transport/kex/ecdh_sha2_nistp384.rb +0 -13
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/transport/kex/ecdh_sha2_nistp521.rb +0 -13
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/transport/kex.rb +0 -28
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/transport/key_expander.rb +0 -26
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/transport/openssl.rb +0 -237
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/transport/packet_stream.rb +0 -238
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/transport/server_version.rb +0 -71
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/transport/session.rb +0 -282
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/transport/state.rb +0 -206
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/verifiers/lenient.rb +0 -30
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/verifiers/null.rb +0 -12
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/verifiers/secure.rb +0 -54
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/verifiers/strict.rb +0 -24
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh/version.rb +0 -62
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/lib/net/ssh.rb +0 -230
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/net-ssh.gemspec +0 -191
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/setup.rb +0 -1585
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/support/arcfour_check.rb +0 -20
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/support/ssh_tunnel_bug.rb +0 -65
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/README.txt +0 -47
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/authentication/methods/common.rb +0 -28
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/authentication/methods/test_abstract.rb +0 -51
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/authentication/methods/test_hostbased.rb +0 -114
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/authentication/methods/test_keyboard_interactive.rb +0 -100
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/authentication/methods/test_none.rb +0 -41
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/authentication/methods/test_password.rb +0 -52
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/authentication/methods/test_publickey.rb +0 -148
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/authentication/test_agent.rb +0 -205
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/authentication/test_key_manager.rb +0 -218
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/authentication/test_session.rb +0 -108
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/common.rb +0 -108
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/configs/eqsign +0 -3
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/configs/exact_match +0 -8
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/configs/host_plus +0 -10
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/configs/multihost +0 -4
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/configs/nohost +0 -19
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/configs/numeric_host +0 -4
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/configs/wild_cards +0 -14
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/connection/test_channel.rb +0 -467
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/connection/test_session.rb +0 -488
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/known_hosts/github +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/manual/test_forward.rb +0 -223
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/start/test_transport.rb +0 -28
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/test_all.rb +0 -11
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/test_buffer.rb +0 -431
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/test_buffered_io.rb +0 -63
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/test_config.rb +0 -120
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/test_key_factory.rb +0 -173
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/test_known_hosts.rb +0 -13
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/transport/hmac/test_md5.rb +0 -39
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/transport/hmac/test_md5_96.rb +0 -25
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/transport/hmac/test_none.rb +0 -34
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/transport/hmac/test_ripemd160.rb +0 -34
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/transport/hmac/test_sha1.rb +0 -34
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/transport/hmac/test_sha1_96.rb +0 -25
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/transport/hmac/test_sha2_256.rb +0 -35
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/transport/hmac/test_sha2_256_96.rb +0 -25
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/transport/hmac/test_sha2_512.rb +0 -35
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/transport/hmac/test_sha2_512_96.rb +0 -25
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/transport/kex/test_diffie_hellman_group14_sha1.rb +0 -13
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/transport/kex/test_diffie_hellman_group1_sha1.rb +0 -146
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/transport/kex/test_diffie_hellman_group_exchange_sha1.rb +0 -92
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/transport/kex/test_diffie_hellman_group_exchange_sha256.rb +0 -33
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/transport/kex/test_ecdh_sha2_nistp256.rb +0 -161
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/transport/kex/test_ecdh_sha2_nistp384.rb +0 -37
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/transport/kex/test_ecdh_sha2_nistp521.rb +0 -37
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/transport/test_algorithms.rb +0 -330
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/transport/test_cipher_factory.rb +0 -441
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/transport/test_hmac.rb +0 -34
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/transport/test_identity_cipher.rb +0 -40
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/transport/test_packet_stream.rb +0 -1753
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/transport/test_server_version.rb +0 -78
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/transport/test_session.rb +0 -319
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.6.7/test/transport/test_state.rb +0 -179
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/.gitignore +0 -31
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/.gitsetup.yml +0 -5
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/.travis.yml +0 -7
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/.yardopts +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/CHANGELOG.md +0 -1067
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/Gemfile +0 -3
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/LICENSE +0 -21
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/README.md +0 -89
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/Rakefile +0 -18
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/bin/vagrant +0 -106
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/config/default.rb +0 -36
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/contrib/README.md +0 -12
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/contrib/bash/completion.sh +0 -3
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/contrib/emacs/vagrant.el +0 -8
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/contrib/vim/vagrantfile.vim +0 -9
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/keys/README.md +0 -17
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/keys/vagrant +0 -27
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/keys/vagrant.pub +0 -1
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/action/builder.rb +0 -174
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/action/builtin/box_add.rb +0 -81
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/action/builtin/call.rb +0 -67
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/action/builtin/config_validate.rb +0 -30
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/action/builtin/confirm.rb +0 -38
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/action/builtin/destroy_confirm.rb +0 -21
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/action/builtin/env_set.rb +0 -24
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/action/builtin/graceful_halt.rb +0 -73
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/action/builtin/handle_box_url.rb +0 -77
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/action/builtin/handle_forwarded_port_collisions.rb +0 -134
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/action/builtin/lock.rb +0 -57
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/action/builtin/nfs.rb +0 -118
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/action/builtin/provision.rb +0 -70
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/action/builtin/set_hostname.rb +0 -27
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/action/builtin/ssh_exec.rb +0 -42
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/action/builtin/ssh_run.rb +0 -43
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/action/general/package.rb +0 -103
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/action/hook.rb +0 -107
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/action/runner.rb +0 -69
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/action/warden.rb +0 -103
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/action.rb +0 -43
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/batch_action.rb +0 -113
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/box.rb +0 -97
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/box_collection.rb +0 -375
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/cli.rb +0 -82
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/config/loader.rb +0 -222
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/config/v1/dummy_config.rb +0 -13
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/config/v1/loader.rb +0 -105
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/config/v1/root.rb +0 -60
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/config/v1.rb +0 -9
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/config/v2/dummy_config.rb +0 -13
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/config/v2/loader.rb +0 -141
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/config/v2/root.rb +0 -105
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/config/v2/util.rb +0 -21
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/config/v2.rb +0 -9
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/config/version_base.rb +0 -80
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/config.rb +0 -61
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/environment.rb +0 -843
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/errors.rb +0 -570
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/guest.rb +0 -163
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/hosts.rb +0 -28
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/machine.rb +0 -325
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/machine_state.rb +0 -45
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/plugin/v1/command.rb +0 -169
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/plugin/v1/communicator.rb +0 -98
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/plugin/v1/config.rb +0 -112
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/plugin/v1/errors.rb +0 -15
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/plugin/v1/guest.rb +0 -92
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/plugin/v1/host.rb +0 -66
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/plugin/v1/manager.rb +0 -131
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/plugin/v1/plugin.rb +0 -229
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/plugin/v1/provider.rb +0 -68
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/plugin/v1/provisioner.rb +0 -50
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/plugin/v1.rb +0 -19
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/plugin/v2/command.rb +0 -234
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/plugin/v2/communicator.rb +0 -98
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/plugin/v2/components.rb +0 -47
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/plugin/v2/config.rb +0 -136
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/plugin/v2/errors.rb +0 -15
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/plugin/v2/guest.rb +0 -78
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/plugin/v2/host.rb +0 -66
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/plugin/v2/manager.rb +0 -173
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/plugin/v2/plugin.rb +0 -226
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/plugin/v2/provider.rb +0 -69
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/plugin/v2/provisioner.rb +0 -47
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/plugin/v2.rb +0 -22
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/plugin.rb +0 -6
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/registry.rb +0 -78
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/ui.rb +0 -215
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/util/ansi_escape_code_remover.rb +0 -34
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/util/busy.rb +0 -59
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/util/counter.rb +0 -24
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/util/downloader.rb +0 -146
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/util/file_checksum.rb +0 -38
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/util/file_mode.rb +0 -12
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/util/hash_with_indifferent_access.rb +0 -63
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/util/is_port_open.rb +0 -38
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/util/line_ending_helpers.rb +0 -14
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/util/network_ip.rb +0 -28
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/util/platform.rb +0 -58
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/util/retryable.rb +0 -31
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/util/safe_chdir.rb +0 -33
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/util/safe_exec.rb +0 -36
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/util/safe_puts.rb +0 -31
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/util/scoped_hash_override.rb +0 -45
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/util/ssh.rb +0 -150
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/util/stacked_proc_runner.rb +0 -35
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/util/string_block_editor.rb +0 -77
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/util/subprocess.rb +0 -273
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/util/template_renderer.rb +0 -83
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/util/which.rb +0 -43
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/util.rb +0 -12
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant/version.rb +0 -6
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/lib/vagrant.rb +0 -258
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/README.md +0 -5
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/box/command/add.rb +0 -51
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/box/command/list.rb +0 -41
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/box/command/remove.rb +0 -37
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/box/command/repackage.rb +0 -43
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/box/command/root.rb +0 -75
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/box/plugin.rb +0 -15
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/destroy/command.rb +0 -31
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/destroy/plugin.rb +0 -18
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/halt/command.rb +0 -33
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/halt/plugin.rb +0 -18
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/init/command.rb +0 -40
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/init/plugin.rb +0 -18
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/package/command.rb +0 -83
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/package/plugin.rb +0 -18
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/plugin/action/bundler_check.rb +0 -25
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/plugin/action/install_gem.rb +0 -81
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/plugin/action/license_plugin.rb +0 -54
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/plugin/action/list_plugins.rb +0 -54
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/plugin/action/prune_gems.rb +0 -149
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/plugin/action/uninstall_plugin.rb +0 -23
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/plugin/action.rb +0 -52
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/plugin/command/base.rb +0 -22
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/plugin/command/install.rb +0 -58
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/plugin/command/license.rb +0 -31
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/plugin/command/list.rb +0 -28
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/plugin/command/root.rb +0 -75
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/plugin/command/uninstall.rb +0 -28
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/plugin/gem_helper.rb +0 -74
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/plugin/plugin.rb +0 -22
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/plugin/state_file.rb +0 -57
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/provision/command.rb +0 -34
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/provision/plugin.rb +0 -18
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/reload/command.rb +0 -37
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/reload/plugin.rb +0 -18
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/resume/command.rb +0 -25
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/resume/plugin.rb +0 -17
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/ssh/command.rb +0 -63
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/ssh/plugin.rb +0 -17
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/ssh_config/command.rb +0 -49
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/ssh_config/plugin.rb +0 -18
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/status/command.rb +0 -39
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/status/plugin.rb +0 -18
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/suspend/command.rb +0 -25
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/suspend/plugin.rb +0 -18
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/up/command.rb +0 -57
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/up/plugin.rb +0 -17
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/commands/up/start_mixins.rb +0 -26
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/communicators/ssh/communicator.rb +0 -342
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/communicators/ssh/plugin.rb +0 -19
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/arch/cap/change_host_name.rb +0 -18
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/arch/cap/configure_networks.rb +0 -23
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/arch/guest.rb +0 -11
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/arch/plugin.rb +0 -25
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/debian/cap/change_host_name.rb +0 -18
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/debian/cap/configure_networks.rb +0 -61
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/debian/guest.rb +0 -9
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/debian/plugin.rb +0 -25
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/fedora/cap/configure_networks.rb +0 -59
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/fedora/cap/network_scripts_dir.rb +0 -15
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/fedora/guest.rb +0 -11
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/fedora/plugin.rb +0 -25
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/freebsd/cap/change_host_name.rb +0 -14
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/freebsd/cap/configure_networks.rb +0 -39
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/freebsd/cap/halt.rb +0 -16
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/freebsd/cap/mount_nfs_folder.rb +0 -14
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/freebsd/guest.rb +0 -14
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/freebsd/plugin.rb +0 -35
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/gentoo/cap/change_host_name.rb +0 -17
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/gentoo/cap/configure_networks.rb +0 -43
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/gentoo/guest.rb +0 -9
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/gentoo/plugin.rb +0 -25
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/linux/cap/halt.rb +0 -16
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/linux/cap/mount_nfs.rb +0 -30
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/linux/cap/mount_virtualbox_shared_folder.rb +0 -40
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/linux/cap/read_ip_address.rb +0 -17
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/linux/cap/shell_expand_guest_path.rb +0 -26
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/linux/guest.rb +0 -11
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/linux/plugin.rb +0 -40
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/openbsd/cap/halt.rb +0 -16
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/openbsd/guest.rb +0 -11
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/openbsd/plugin.rb +0 -20
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/pld/cap/network_scripts_dir.rb +0 -11
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/pld/guest.rb +0 -11
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/pld/plugin.rb +0 -20
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/redhat/cap/change_host_name.rb +0 -18
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/redhat/cap/configure_networks.rb +0 -60
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/redhat/cap/network_scripts_dir.rb +0 -11
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/redhat/guest.rb +0 -11
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/redhat/plugin.rb +0 -30
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/solaris/cap/change_host_name.rb +0 -17
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/solaris/cap/configure_networks.rb +0 -25
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/solaris/cap/halt.rb +0 -21
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/solaris/cap/mount_virtualbox_shared_folder.rb +0 -28
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/solaris/config.rb +0 -18
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/solaris/guest.rb +0 -14
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/solaris/plugin.rb +0 -40
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/suse/cap/change_host_name.rb +0 -18
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/suse/cap/network_scripts_dir.rb +0 -11
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/suse/guest.rb +0 -11
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/suse/plugin.rb +0 -25
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/ubuntu/cap/change_host_name.rb +0 -23
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/ubuntu/guest.rb +0 -32
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/ubuntu/plugin.rb +0 -20
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/hosts/arch/host.rb +0 -68
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/hosts/arch/plugin.rb +0 -15
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/hosts/bsd/host.rb +0 -102
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/hosts/bsd/plugin.rb +0 -15
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/hosts/fedora/host.rb +0 -51
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/hosts/fedora/plugin.rb +0 -15
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/hosts/freebsd/host.rb +0 -43
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/hosts/freebsd/plugin.rb +0 -15
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/hosts/gentoo/host.rb +0 -24
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/hosts/gentoo/plugin.rb +0 -15
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/hosts/linux/host.rb +0 -95
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/hosts/linux/plugin.rb +0 -15
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/hosts/opensuse/host.rb +0 -34
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/hosts/opensuse/plugin.rb +0 -15
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/hosts/windows/host.rb +0 -17
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/hosts/windows/plugin.rb +0 -15
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/kernel_v1/config/nfs.rb +0 -20
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/kernel_v1/config/package.rb +0 -17
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/kernel_v1/config/ssh.rb +0 -46
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/kernel_v1/config/vagrant.rb +0 -31
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/kernel_v1/config/vm.rb +0 -184
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/kernel_v1/plugin.rb +0 -44
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/kernel_v2/config/nfs.rb +0 -14
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/kernel_v2/config/package.rb +0 -13
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/kernel_v2/config/ssh.rb +0 -76
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/kernel_v2/config/ssh_connect.rb +0 -40
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/kernel_v2/config/vagrant.rb +0 -13
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/kernel_v2/config/vm.rb +0 -416
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/kernel_v2/config/vm_provisioner.rb +0 -55
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/kernel_v2/config/vm_subvm.rb +0 -30
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/kernel_v2/plugin.rb +0 -44
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/boot.rb +0 -49
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/check_accessible.rb +0 -23
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/check_created.rb +0 -21
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/check_guest_additions.rb +0 -45
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/check_running.rb +0 -21
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/check_virtualbox.rb +0 -22
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/clean_machine_folder.rb +0 -43
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/clear_forwarded_ports.rb +0 -18
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/clear_network_interfaces.rb +0 -31
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/clear_shared_folders.rb +0 -17
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/created.rb +0 -20
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/customize.rb +0 -36
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/destroy.rb +0 -19
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/destroy_unused_network_interfaces.rb +0 -16
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/discard_state.rb +0 -20
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/export.rb +0 -57
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/forced_halt.rb +0 -25
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/forward_ports.rb +0 -87
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/import.rb +0 -51
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/is_paused.rb +0 -20
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/is_running.rb +0 -20
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/is_saved.rb +0 -20
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/match_mac_address.rb +0 -21
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/message_already_running.rb +0 -16
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/message_not_created.rb +0 -16
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/message_not_running.rb +0 -16
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/message_will_not_destroy.rb +0 -17
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/network.rb +0 -410
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/package.rb +0 -20
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/package_vagrantfile.rb +0 -33
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/prepare_forwarded_port_collision_params.rb +0 -35
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/prepare_nfs_settings.rb +0 -64
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/prune_nfs_exports.rb +0 -20
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/resume.rb +0 -25
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/sane_defaults.rb +0 -91
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/set_name.rb +0 -40
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/setup_package_files.rb +0 -51
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/share_folders.rb +0 -128
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/suspend.rb +0 -20
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action.rb +0 -311
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/config.rb +0 -86
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/driver/base.rb +0 -360
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/driver/meta.rb +0 -142
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/driver/version_4_0.rb +0 -485
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/driver/version_4_1.rb +0 -485
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/driver/version_4_2.rb +0 -482
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/model/forwarded_port.rb +0 -58
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/plugin.rb +0 -42
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/provider.rb +0 -92
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/util/compile_forwarded_ports.rb +0 -31
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/provisioners/ansible/config.rb +0 -72
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/provisioners/ansible/plugin.rb +0 -23
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/provisioners/ansible/provisioner.rb +0 -45
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/provisioners/cfengine/cap/debian/cfengine_install.rb +0 -19
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/provisioners/cfengine/cap/linux/cfengine_installed.rb +0 -14
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/provisioners/cfengine/cap/linux/cfengine_needs_bootstrap.rb +0 -34
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/provisioners/cfengine/cap/redhat/cfengine_install.rb +0 -24
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/provisioners/cfengine/config.rb +0 -120
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/provisioners/cfengine/plugin.rb +0 -42
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/provisioners/cfengine/provisioner.rb +0 -136
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/provisioners/chef/config/base.rb +0 -85
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/provisioners/chef/config/chef_client.rb +0 -57
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/provisioners/chef/config/chef_solo.rb +0 -87
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/provisioners/chef/plugin.rb +0 -33
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/provisioners/chef/provisioner/base.rb +0 -93
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/provisioners/chef/provisioner/chef_client.rb +0 -107
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/provisioners/chef/provisioner/chef_solo.rb +0 -192
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/provisioners/puppet/config/puppet.rb +0 -70
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/provisioners/puppet/config/puppet_server.rb +0 -16
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/provisioners/puppet/plugin.rb +0 -33
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/provisioners/puppet/provisioner/puppet.rb +0 -117
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/provisioners/puppet/provisioner/puppet_server.rb +0 -67
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/provisioners/shell/config.rb +0 -56
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/provisioners/shell/plugin.rb +0 -23
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/provisioners/shell/provisioner.rb +0 -86
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/tasks/acceptance.rake +0 -113
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/tasks/bundler.rake +0 -3
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/tasks/test.rake +0 -20
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/templates/commands/init/Vagrantfile.erb +0 -111
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/templates/commands/ssh_config/config.erb +0 -16
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/templates/config/messages.erb +0 -14
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/templates/config/validation_failed.erb +0 -7
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/templates/guests/arch/network_dhcp.erb +0 -4
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/templates/guests/arch/network_static.erb +0 -6
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/templates/guests/debian/network_dhcp.erb +0 -11
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/templates/guests/debian/network_static.erb +0 -7
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/templates/guests/fedora/network_dhcp.erb +0 -6
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/templates/guests/fedora/network_static.erb +0 -13
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/templates/guests/freebsd/network_dhcp.erb +0 -3
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/templates/guests/freebsd/network_static.erb +0 -3
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/templates/guests/gentoo/network_dhcp.erb +0 -4
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/templates/guests/gentoo/network_static.erb +0 -4
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/templates/guests/redhat/network_dhcp.erb +0 -6
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/templates/guests/redhat/network_static.erb +0 -8
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/templates/locales/en.yml +0 -1126
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/templates/nfs/exports.erb +0 -5
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/templates/nfs/exports_freebsd.erb +0 -5
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/templates/nfs/exports_linux.erb +0 -5
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/templates/package_Vagrantfile.erb +0 -11
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/templates/provisioners/chef_client/client.erb +0 -32
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/templates/provisioners/chef_solo/solo.erb +0 -25
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/templates/rgloader.rb +0 -9
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/base.rb +0 -48
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/box_test.rb +0 -99
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/destroy_test.rb +0 -37
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/halt_test.rb +0 -72
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/init_test.rb +0 -33
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/networking/host_only_test.rb +0 -37
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/networking/port_forward_test.rb +0 -125
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/package_test.rb +0 -46
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/provisioning/basic_test.rb +0 -61
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/provisioning/chef_solo_test.rb +0 -37
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/provisioning/shell_test.rb +0 -53
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/resume_test.rb +0 -17
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/shared_folders_test.rb +0 -84
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/skeletons/chef_solo_basic/README.md +0 -3
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/skeletons/chef_solo_basic/cookbooks/basic/recipes/default.rb +0 -5
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/skeletons/chef_solo_json/README.md +0 -3
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/skeletons/chef_solo_json/cookbooks/basic/recipes/default.rb +0 -6
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/skeletons/provisioner_multi/README.md +0 -3
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/skeletons/provisioner_multi/cookbooks/basic/recipes/default.rb +0 -5
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/ssh_test.rb +0 -46
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/support/config.rb +0 -42
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/support/isolated_environment.rb +0 -118
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/support/matchers/have_color.rb +0 -9
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/support/matchers/match_output.rb +0 -14
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/support/matchers/succeed.rb +0 -14
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/support/network_tests.rb +0 -29
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/support/output.rb +0 -95
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/support/shared/base_context.rb +0 -72
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/support/shared/command_examples.rb +0 -33
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/support/virtualbox.rb +0 -36
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/suspend_test.rb +0 -56
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/up_basic_test.rb +0 -33
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/up_with_box_url.rb +0 -40
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/vagrant_test.rb +0 -47
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/version_test.rb +0 -15
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/config/acceptance_boxes.yml +0 -7
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/support/isolated_environment.rb +0 -46
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/support/tempdir.rb +0 -43
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/base.rb +0 -27
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/support/dummy_provider.rb +0 -16
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/support/isolated_environment.rb +0 -179
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/support/shared/base_context.rb +0 -104
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/action/builder_test.rb +0 -242
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/action/builtin/call_test.rb +0 -145
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/action/builtin/confirm_test.rb +0 -36
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/action/builtin/env_set_test.rb +0 -20
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/action/builtin/graceful_halt_test.rb +0 -61
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/action/builtin/lock_test.rb +0 -98
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/action/builtin/ssh_exec_test.rb +0 -57
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/action/hook_test.rb +0 -120
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/action/runner_test.rb +0 -71
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/action/warden_test.rb +0 -92
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/batch_action_test.rb +0 -36
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/box_collection_test.rb +0 -237
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/box_test.rb +0 -122
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/cli_test.rb +0 -27
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/config/loader_test.rb +0 -184
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/config/v1/dummy_config_test.rb +0 -24
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/config/v1/loader_test.rb +0 -145
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/config/v1/root_test.rb +0 -40
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/config/v2/dummy_config_test.rb +0 -24
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/config/v2/loader_test.rb +0 -151
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/config/v2/root_test.rb +0 -97
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/config/v2/util_test.rb +0 -21
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/config_test.rb +0 -66
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/environment_test.rb +0 -721
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/guest_test.rb +0 -166
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/hosts_test.rb +0 -37
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/machine_state_test.rb +0 -26
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/machine_test.rb +0 -384
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/plugin/v1/command_test.rb +0 -143
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/plugin/v1/communicator_test.rb +0 -9
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/plugin/v1/config_test.rb +0 -50
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/plugin/v1/host_test.rb +0 -5
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/plugin/v1/manager_test.rb +0 -114
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/plugin/v1/plugin_test.rb +0 -267
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/plugin/v1/provider_test.rb +0 -18
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/plugin/v2/command_test.rb +0 -238
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/plugin/v2/communicator_test.rb +0 -9
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/plugin/v2/components_test.rb +0 -17
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/plugin/v2/config_test.rb +0 -60
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/plugin/v2/host_test.rb +0 -5
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/plugin/v2/manager_test.rb +0 -174
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/plugin/v2/plugin_test.rb +0 -305
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/plugin/v2/provider_test.rb +0 -18
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/registry_test.rb +0 -128
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/util/ansi_escape_code_remover_test.rb +0 -16
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/util/downloader_test.rb +0 -57
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/util/file_checksum_test.rb +0 -23
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/util/hash_with_indifferent_access_test.rb +0 -38
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/util/is_port_open_test.rb +0 -53
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/util/line_endings_helper_test.rb +0 -16
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/util/network_ip_test.rb +0 -17
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/util/retryable_test.rb +0 -106
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/util/safe_chdir_test.rb +0 -43
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/util/scoped_hash_override_test.rb +0 -48
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/util/ssh_test.rb +0 -30
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/util/string_block_editor_test.rb +0 -106
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/util/which_test.rb +0 -43
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant_test.rb +0 -56
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/tnargav.gemspec +0 -69
- data/demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/vagrant.gemspec +0 -69
- data/demo/templates/vendor/bundle/ruby/1.9.1/specifications/childprocess-0.3.9.gemspec +0 -38
- data/demo/templates/vendor/bundle/ruby/1.9.1/specifications/erubis-2.7.0.gemspec +0 -28
- data/demo/templates/vendor/bundle/ruby/1.9.1/specifications/ffi-1.8.1.gemspec +0 -42
- data/demo/templates/vendor/bundle/ruby/1.9.1/specifications/i18n-0.6.4.gemspec +0 -39
- data/demo/templates/vendor/bundle/ruby/1.9.1/specifications/json-1.7.7.gemspec +0 -36
- data/demo/templates/vendor/bundle/ruby/1.9.1/specifications/log4r-1.1.10.gemspec +0 -31
- data/demo/templates/vendor/bundle/ruby/1.9.1/specifications/net-scp-1.1.1.gemspec +0 -39
- data/demo/templates/vendor/bundle/ruby/1.9.1/specifications/net-ssh-2.6.7.gemspec +0 -36
- data/demo/templates/vendor/bundle/ruby/1.9.1/specifications/tnargav-1.2.2.gemspec +0 -70
- data/demo/templates/vendor/cache/childprocess-0.3.9.gem +0 -0
- data/demo/templates/vendor/cache/erubis-2.7.0.gem +0 -0
- data/demo/templates/vendor/cache/ffi-1.8.1.gem +0 -0
- data/demo/templates/vendor/cache/i18n-0.6.4.gem +0 -0
- data/demo/templates/vendor/cache/json-1.7.7.gem +0 -0
- data/demo/templates/vendor/cache/log4r-1.1.10.gem +0 -0
- data/demo/templates/vendor/cache/net-scp-1.1.1.gem +0 -0
- data/demo/templates/vendor/cache/net-ssh-2.6.7.gem +0 -0
- data/demo/templates/vendor/cache/tnargav-1.2.2.gem +0 -0
- data/lib/vagrant-shell/action/is_created.rb +0 -18
- data/lib/vagrant-shell/action/message_already_created.rb +0 -16
- data/lib/vagrant-shell/action/message_not_created.rb +0 -16
- data/lib/vagrant-shell/action/read_ssh_info.rb +0 -38
- data/lib/vagrant-shell/action/read_state.rb +0 -33
- data/lib/vagrant-shell/action/run_instance.rb +0 -110
- data/lib/vagrant-shell/action/terminate_instance.rb +0 -30
- data/lib/vagrant-shell/action/timed_provision.rb +0 -21
- data/lib/vagrant-shell/action.rb +0 -111
- data/lib/vagrant-shell/config.rb +0 -95
- data/lib/vagrant-shell/errors.rb +0 -27
- data/lib/vagrant-shell/plugin.rb +0 -77
- data/lib/vagrant-shell/provider.rb +0 -50
- data/lib/vagrant-shell/ssh-agent.rb +0 -23
- data/lib/vagrant-shell/util/timer.rb +0 -17
- data/lib/vagrant-shell/version.rb +0 -5
- data/libexec/shell-docker +0 -28
- data/libexec/shell-ec2 +0 -36
- data/libexec/shell-static +0 -39
- data/vagrant-shell-0.2.8.gem +0 -0
- data/vagrant-shell.gemspec +0 -51
@@ -1,3468 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
###
|
4
|
-
### $Release: 2.7.0 $
|
5
|
-
### copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
|
6
|
-
###
|
7
|
-
|
8
|
-
#--begin of require 'erubis/main'
|
9
|
-
###
|
10
|
-
### $Release: 2.7.0 $
|
11
|
-
### copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
|
12
|
-
###
|
13
|
-
|
14
|
-
require 'yaml'
|
15
|
-
#--begin of require 'erubis'
|
16
|
-
##
|
17
|
-
## $Release: 2.7.0 $
|
18
|
-
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
|
19
|
-
##
|
20
|
-
|
21
|
-
##
|
22
|
-
## an implementation of eRuby
|
23
|
-
##
|
24
|
-
## ex.
|
25
|
-
## input = <<'END'
|
26
|
-
## <ul>
|
27
|
-
## <% for item in @list %>
|
28
|
-
## <li><%= item %>
|
29
|
-
## <%== item %></li>
|
30
|
-
## <% end %>
|
31
|
-
## </ul>
|
32
|
-
## END
|
33
|
-
## list = ['<aaa>', 'b&b', '"ccc"']
|
34
|
-
## eruby = Erubis::Eruby.new(input)
|
35
|
-
## puts "--- code ---"
|
36
|
-
## puts eruby.src
|
37
|
-
## puts "--- result ---"
|
38
|
-
## context = Erubis::Context.new() # or new(:list=>list)
|
39
|
-
## context[:list] = list
|
40
|
-
## puts eruby.evaluate(context)
|
41
|
-
##
|
42
|
-
## result:
|
43
|
-
## --- source ---
|
44
|
-
## _buf = ''; _buf << '<ul>
|
45
|
-
## '; for item in @list
|
46
|
-
## _buf << ' <li>'; _buf << ( item ).to_s; _buf << '
|
47
|
-
## '; _buf << ' '; _buf << Erubis::XmlHelper.escape_xml( item ); _buf << '</li>
|
48
|
-
## '; end
|
49
|
-
## _buf << '</ul>
|
50
|
-
## ';
|
51
|
-
## _buf.to_s
|
52
|
-
## --- result ---
|
53
|
-
## <ul>
|
54
|
-
## <li><aaa>
|
55
|
-
## <aaa></li>
|
56
|
-
## <li>b&b
|
57
|
-
## b&b</li>
|
58
|
-
## <li>"ccc"
|
59
|
-
## "ccc"</li>
|
60
|
-
## </ul>
|
61
|
-
##
|
62
|
-
|
63
|
-
|
64
|
-
module Erubis
|
65
|
-
VERSION = ('$Release: 2.7.0 $' =~ /([.\d]+)/) && $1
|
66
|
-
end
|
67
|
-
|
68
|
-
#--begin of require 'erubis/engine'
|
69
|
-
##
|
70
|
-
## $Release: 2.7.0 $
|
71
|
-
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
|
72
|
-
##
|
73
|
-
|
74
|
-
|
75
|
-
#--begin of require 'erubis/generator'
|
76
|
-
##
|
77
|
-
## $Release: 2.7.0 $
|
78
|
-
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
|
79
|
-
##
|
80
|
-
|
81
|
-
#--begin of require 'erubis/util'
|
82
|
-
##
|
83
|
-
## $Release: 2.7.0 $
|
84
|
-
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
|
85
|
-
##
|
86
|
-
|
87
|
-
module Kernel
|
88
|
-
|
89
|
-
##
|
90
|
-
## raise NotImplementedError
|
91
|
-
##
|
92
|
-
def not_implemented #:doc:
|
93
|
-
backtrace = caller()
|
94
|
-
method_name = (backtrace.shift =~ /`(\w+)'$/) && $1
|
95
|
-
mesg = "class #{self.class.name} must implement abstract method '#{method_name}()'."
|
96
|
-
#mesg = "#{self.class.name}##{method_name}() is not implemented."
|
97
|
-
err = NotImplementedError.new mesg
|
98
|
-
err.set_backtrace backtrace
|
99
|
-
raise err
|
100
|
-
end
|
101
|
-
private :not_implemented
|
102
|
-
|
103
|
-
end
|
104
|
-
#--end of require 'erubis/util'
|
105
|
-
|
106
|
-
module Erubis
|
107
|
-
|
108
|
-
|
109
|
-
##
|
110
|
-
## code generator, called by Converter module
|
111
|
-
##
|
112
|
-
module Generator
|
113
|
-
|
114
|
-
def self.supported_properties() # :nodoc:
|
115
|
-
return [
|
116
|
-
[:escapefunc, nil, "escape function name"],
|
117
|
-
]
|
118
|
-
end
|
119
|
-
|
120
|
-
attr_accessor :escapefunc
|
121
|
-
|
122
|
-
def init_generator(properties={})
|
123
|
-
@escapefunc = properties[:escapefunc]
|
124
|
-
end
|
125
|
-
|
126
|
-
|
127
|
-
## (abstract) escape text string
|
128
|
-
##
|
129
|
-
## ex.
|
130
|
-
## def escape_text(text)
|
131
|
-
## return text.dump
|
132
|
-
## # or return "'" + text.gsub(/['\\]/, '\\\\\&') + "'"
|
133
|
-
## end
|
134
|
-
def escape_text(text)
|
135
|
-
not_implemented
|
136
|
-
end
|
137
|
-
|
138
|
-
## return escaped expression code (ex. 'h(...)' or 'htmlspecialchars(...)')
|
139
|
-
def escaped_expr(code)
|
140
|
-
code.strip!
|
141
|
-
return "#{@escapefunc}(#{code})"
|
142
|
-
end
|
143
|
-
|
144
|
-
## (abstract) add @preamble to src
|
145
|
-
def add_preamble(src)
|
146
|
-
not_implemented
|
147
|
-
end
|
148
|
-
|
149
|
-
## (abstract) add text string to src
|
150
|
-
def add_text(src, text)
|
151
|
-
not_implemented
|
152
|
-
end
|
153
|
-
|
154
|
-
## (abstract) add statement code to src
|
155
|
-
def add_stmt(src, code)
|
156
|
-
not_implemented
|
157
|
-
end
|
158
|
-
|
159
|
-
## (abstract) add expression literal code to src. this is called by add_expr().
|
160
|
-
def add_expr_literal(src, code)
|
161
|
-
not_implemented
|
162
|
-
end
|
163
|
-
|
164
|
-
## (abstract) add escaped expression code to src. this is called by add_expr().
|
165
|
-
def add_expr_escaped(src, code)
|
166
|
-
not_implemented
|
167
|
-
end
|
168
|
-
|
169
|
-
## (abstract) add expression code to src for debug. this is called by add_expr().
|
170
|
-
def add_expr_debug(src, code)
|
171
|
-
not_implemented
|
172
|
-
end
|
173
|
-
|
174
|
-
## (abstract) add @postamble to src
|
175
|
-
def add_postamble(src)
|
176
|
-
not_implemented
|
177
|
-
end
|
178
|
-
|
179
|
-
|
180
|
-
end
|
181
|
-
|
182
|
-
|
183
|
-
end
|
184
|
-
#--end of require 'erubis/generator'
|
185
|
-
#--begin of require 'erubis/converter'
|
186
|
-
##
|
187
|
-
## $Release: 2.7.0 $
|
188
|
-
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
|
189
|
-
##
|
190
|
-
|
191
|
-
#--already included require 'erubis/util'
|
192
|
-
|
193
|
-
module Erubis
|
194
|
-
|
195
|
-
|
196
|
-
##
|
197
|
-
## convert
|
198
|
-
##
|
199
|
-
module Converter
|
200
|
-
|
201
|
-
attr_accessor :preamble, :postamble, :escape
|
202
|
-
|
203
|
-
def self.supported_properties # :nodoc:
|
204
|
-
return [
|
205
|
-
[:preamble, nil, "preamble (no preamble when false)"],
|
206
|
-
[:postamble, nil, "postamble (no postamble when false)"],
|
207
|
-
[:escape, nil, "escape expression or not in default"],
|
208
|
-
]
|
209
|
-
end
|
210
|
-
|
211
|
-
def init_converter(properties={})
|
212
|
-
@preamble = properties[:preamble]
|
213
|
-
@postamble = properties[:postamble]
|
214
|
-
@escape = properties[:escape]
|
215
|
-
end
|
216
|
-
|
217
|
-
## convert input string into target language
|
218
|
-
def convert(input)
|
219
|
-
codebuf = "" # or []
|
220
|
-
@preamble.nil? ? add_preamble(codebuf) : (@preamble && (codebuf << @preamble))
|
221
|
-
convert_input(codebuf, input)
|
222
|
-
@postamble.nil? ? add_postamble(codebuf) : (@postamble && (codebuf << @postamble))
|
223
|
-
@_proc = nil # clear cached proc object
|
224
|
-
return codebuf # or codebuf.join()
|
225
|
-
end
|
226
|
-
|
227
|
-
protected
|
228
|
-
|
229
|
-
##
|
230
|
-
## detect spaces at beginning of line
|
231
|
-
##
|
232
|
-
def detect_spaces_at_bol(text, is_bol)
|
233
|
-
lspace = nil
|
234
|
-
if text.empty?
|
235
|
-
lspace = "" if is_bol
|
236
|
-
elsif text[-1] == ?\n
|
237
|
-
lspace = ""
|
238
|
-
else
|
239
|
-
rindex = text.rindex(?\n)
|
240
|
-
if rindex
|
241
|
-
s = text[rindex+1..-1]
|
242
|
-
if s =~ /\A[ \t]*\z/
|
243
|
-
lspace = s
|
244
|
-
#text = text[0..rindex]
|
245
|
-
text[rindex+1..-1] = ''
|
246
|
-
end
|
247
|
-
else
|
248
|
-
if is_bol && text =~ /\A[ \t]*\z/
|
249
|
-
#lspace = text
|
250
|
-
#text = nil
|
251
|
-
lspace = text.dup
|
252
|
-
text[0..-1] = ''
|
253
|
-
end
|
254
|
-
end
|
255
|
-
end
|
256
|
-
return lspace
|
257
|
-
end
|
258
|
-
|
259
|
-
##
|
260
|
-
## (abstract) convert input to code
|
261
|
-
##
|
262
|
-
def convert_input(codebuf, input)
|
263
|
-
not_implemented
|
264
|
-
end
|
265
|
-
|
266
|
-
end
|
267
|
-
|
268
|
-
|
269
|
-
module Basic
|
270
|
-
end
|
271
|
-
|
272
|
-
|
273
|
-
##
|
274
|
-
## basic converter which supports '<% ... %>' notation.
|
275
|
-
##
|
276
|
-
module Basic::Converter
|
277
|
-
include Erubis::Converter
|
278
|
-
|
279
|
-
def self.supported_properties # :nodoc:
|
280
|
-
return [
|
281
|
-
[:pattern, '<% %>', "embed pattern"],
|
282
|
-
[:trim, true, "trim spaces around <% ... %>"],
|
283
|
-
]
|
284
|
-
end
|
285
|
-
|
286
|
-
attr_accessor :pattern, :trim
|
287
|
-
|
288
|
-
def init_converter(properties={})
|
289
|
-
super(properties)
|
290
|
-
@pattern = properties[:pattern]
|
291
|
-
@trim = properties[:trim] != false
|
292
|
-
end
|
293
|
-
|
294
|
-
protected
|
295
|
-
|
296
|
-
## return regexp of pattern to parse eRuby script
|
297
|
-
def pattern_regexp(pattern)
|
298
|
-
@prefix, @postfix = pattern.split() # '<% %>' => '<%', '%>'
|
299
|
-
#return /(.*?)(^[ \t]*)?#{@prefix}(=+|\#)?(.*?)-?#{@postfix}([ \t]*\r?\n)?/m
|
300
|
-
#return /(^[ \t]*)?#{@prefix}(=+|\#)?(.*?)-?#{@postfix}([ \t]*\r?\n)?/m
|
301
|
-
return /#{@prefix}(=+|-|\#|%)?(.*?)([-=])?#{@postfix}([ \t]*\r?\n)?/m
|
302
|
-
end
|
303
|
-
module_function :pattern_regexp
|
304
|
-
|
305
|
-
#DEFAULT_REGEXP = /(.*?)(^[ \t]*)?<%(=+|\#)?(.*?)-?%>([ \t]*\r?\n)?/m
|
306
|
-
#DEFAULT_REGEXP = /(^[ \t]*)?<%(=+|\#)?(.*?)-?%>([ \t]*\r?\n)?/m
|
307
|
-
#DEFAULT_REGEXP = /<%(=+|\#)?(.*?)-?%>([ \t]*\r?\n)?/m
|
308
|
-
DEFAULT_REGEXP = pattern_regexp('<% %>')
|
309
|
-
|
310
|
-
public
|
311
|
-
|
312
|
-
def convert_input(src, input)
|
313
|
-
pat = @pattern
|
314
|
-
regexp = pat.nil? || pat == '<% %>' ? DEFAULT_REGEXP : pattern_regexp(pat)
|
315
|
-
pos = 0
|
316
|
-
is_bol = true # is beginning of line
|
317
|
-
input.scan(regexp) do |indicator, code, tailch, rspace|
|
318
|
-
match = Regexp.last_match()
|
319
|
-
len = match.begin(0) - pos
|
320
|
-
text = input[pos, len]
|
321
|
-
pos = match.end(0)
|
322
|
-
ch = indicator ? indicator[0] : nil
|
323
|
-
lspace = ch == ?= ? nil : detect_spaces_at_bol(text, is_bol)
|
324
|
-
is_bol = rspace ? true : false
|
325
|
-
add_text(src, text) if text && !text.empty?
|
326
|
-
## * when '<%= %>', do nothing
|
327
|
-
## * when '<% %>' or '<%# %>', delete spaces iff only spaces are around '<% %>'
|
328
|
-
if ch == ?= # <%= %>
|
329
|
-
rspace = nil if tailch && !tailch.empty?
|
330
|
-
add_text(src, lspace) if lspace
|
331
|
-
add_expr(src, code, indicator)
|
332
|
-
add_text(src, rspace) if rspace
|
333
|
-
elsif ch == ?\# # <%# %>
|
334
|
-
n = code.count("\n") + (rspace ? 1 : 0)
|
335
|
-
if @trim && lspace && rspace
|
336
|
-
add_stmt(src, "\n" * n)
|
337
|
-
else
|
338
|
-
add_text(src, lspace) if lspace
|
339
|
-
add_stmt(src, "\n" * n)
|
340
|
-
add_text(src, rspace) if rspace
|
341
|
-
end
|
342
|
-
elsif ch == ?% # <%% %>
|
343
|
-
s = "#{lspace}#{@prefix||='<%'}#{code}#{tailch}#{@postfix||='%>'}#{rspace}"
|
344
|
-
add_text(src, s)
|
345
|
-
else # <% %>
|
346
|
-
if @trim && lspace && rspace
|
347
|
-
add_stmt(src, "#{lspace}#{code}#{rspace}")
|
348
|
-
else
|
349
|
-
add_text(src, lspace) if lspace
|
350
|
-
add_stmt(src, code)
|
351
|
-
add_text(src, rspace) if rspace
|
352
|
-
end
|
353
|
-
end
|
354
|
-
end
|
355
|
-
#rest = $' || input # ruby1.8
|
356
|
-
rest = pos == 0 ? input : input[pos..-1] # ruby1.9
|
357
|
-
add_text(src, rest)
|
358
|
-
end
|
359
|
-
|
360
|
-
## add expression code to src
|
361
|
-
def add_expr(src, code, indicator)
|
362
|
-
case indicator
|
363
|
-
when '='
|
364
|
-
@escape ? add_expr_escaped(src, code) : add_expr_literal(src, code)
|
365
|
-
when '=='
|
366
|
-
@escape ? add_expr_literal(src, code) : add_expr_escaped(src, code)
|
367
|
-
when '==='
|
368
|
-
add_expr_debug(src, code)
|
369
|
-
end
|
370
|
-
end
|
371
|
-
|
372
|
-
end
|
373
|
-
|
374
|
-
|
375
|
-
module PI
|
376
|
-
end
|
377
|
-
|
378
|
-
##
|
379
|
-
## Processing Instructions (PI) converter for XML.
|
380
|
-
## this class converts '<?rb ... ?>' and '${...}' notation.
|
381
|
-
##
|
382
|
-
module PI::Converter
|
383
|
-
include Erubis::Converter
|
384
|
-
|
385
|
-
def self.desc # :nodoc:
|
386
|
-
"use processing instructions (PI) instead of '<% %>'"
|
387
|
-
end
|
388
|
-
|
389
|
-
def self.supported_properties # :nodoc:
|
390
|
-
return [
|
391
|
-
[:trim, true, "trim spaces around <% ... %>"],
|
392
|
-
[:pi, 'rb', "PI (Processing Instrunctions) name"],
|
393
|
-
[:embchar, '@', "char for embedded expression pattern('@{...}@')"],
|
394
|
-
[:pattern, '<% %>', "embed pattern"],
|
395
|
-
]
|
396
|
-
end
|
397
|
-
|
398
|
-
attr_accessor :pi, :prefix
|
399
|
-
|
400
|
-
def init_converter(properties={})
|
401
|
-
super(properties)
|
402
|
-
@trim = properties.fetch(:trim, true)
|
403
|
-
@pi = properties[:pi] if properties[:pi]
|
404
|
-
@embchar = properties[:embchar] || '@'
|
405
|
-
@pattern = properties[:pattern]
|
406
|
-
@pattern = '<% %>' if @pattern.nil? #|| @pattern == true
|
407
|
-
end
|
408
|
-
|
409
|
-
def convert(input)
|
410
|
-
code = super(input)
|
411
|
-
return @header || @footer ? "#{@header}#{code}#{@footer}" : code
|
412
|
-
end
|
413
|
-
|
414
|
-
protected
|
415
|
-
|
416
|
-
def convert_input(codebuf, input)
|
417
|
-
unless @regexp
|
418
|
-
@pi ||= 'e'
|
419
|
-
ch = Regexp.escape(@embchar)
|
420
|
-
if @pattern
|
421
|
-
left, right = @pattern.split(' ')
|
422
|
-
@regexp = /<\?#{@pi}(?:-(\w+))?(\s.*?)\?>([ \t]*\r?\n)?|#{ch}(!*)?\{(.*?)\}#{ch}|#{left}(=+)(.*?)#{right}/m
|
423
|
-
else
|
424
|
-
@regexp = /<\?#{@pi}(?:-(\w+))?(\s.*?)\?>([ \t]*\r?\n)?|#{ch}(!*)?\{(.*?)\}#{ch}/m
|
425
|
-
end
|
426
|
-
end
|
427
|
-
#
|
428
|
-
is_bol = true
|
429
|
-
pos = 0
|
430
|
-
input.scan(@regexp) do |pi_arg, stmt, rspace,
|
431
|
-
indicator1, expr1, indicator2, expr2|
|
432
|
-
match = Regexp.last_match
|
433
|
-
len = match.begin(0) - pos
|
434
|
-
text = input[pos, len]
|
435
|
-
pos = match.end(0)
|
436
|
-
lspace = stmt ? detect_spaces_at_bol(text, is_bol) : nil
|
437
|
-
is_bol = stmt && rspace ? true : false
|
438
|
-
add_text(codebuf, text) # unless text.empty?
|
439
|
-
#
|
440
|
-
if stmt
|
441
|
-
if @trim && lspace && rspace
|
442
|
-
add_pi_stmt(codebuf, "#{lspace}#{stmt}#{rspace}", pi_arg)
|
443
|
-
else
|
444
|
-
add_text(codebuf, lspace) if lspace
|
445
|
-
add_pi_stmt(codebuf, stmt, pi_arg)
|
446
|
-
add_text(codebuf, rspace) if rspace
|
447
|
-
end
|
448
|
-
else
|
449
|
-
add_pi_expr(codebuf, expr1 || expr2, indicator1 || indicator2)
|
450
|
-
end
|
451
|
-
end
|
452
|
-
#rest = $' || input # ruby1.8
|
453
|
-
rest = pos == 0 ? input : input[pos..-1] # ruby1.9
|
454
|
-
add_text(codebuf, rest)
|
455
|
-
end
|
456
|
-
|
457
|
-
#--
|
458
|
-
#def convert_input(codebuf, input)
|
459
|
-
# parse_stmts(codebuf, input)
|
460
|
-
# #parse_stmts2(codebuf, input)
|
461
|
-
#end
|
462
|
-
#
|
463
|
-
#def parse_stmts(codebuf, input)
|
464
|
-
# #regexp = pattern_regexp(@pattern)
|
465
|
-
# @pi ||= 'e'
|
466
|
-
# @stmt_pattern ||= /<\?#{@pi}(?:-(\w+))?(\s.*?)\?>([ \t]*\r?\n)?/m
|
467
|
-
# is_bol = true
|
468
|
-
# pos = 0
|
469
|
-
# input.scan(@stmt_pattern) do |pi_arg, code, rspace|
|
470
|
-
# match = Regexp.last_match
|
471
|
-
# len = match.begin(0) - pos
|
472
|
-
# text = input[pos, len]
|
473
|
-
# pos = match.end(0)
|
474
|
-
# lspace = detect_spaces_at_bol(text, is_bol)
|
475
|
-
# is_bol = rspace ? true : false
|
476
|
-
# parse_exprs(codebuf, text) # unless text.empty?
|
477
|
-
# if @trim && lspace && rspace
|
478
|
-
# add_pi_stmt(codebuf, "#{lspace}#{code}#{rspace}", pi_arg)
|
479
|
-
# else
|
480
|
-
# add_text(codebuf, lspace)
|
481
|
-
# add_pi_stmt(codebuf, code, pi_arg)
|
482
|
-
# add_text(codebuf, rspace)
|
483
|
-
# end
|
484
|
-
# end
|
485
|
-
# rest = $' || input
|
486
|
-
# parse_exprs(codebuf, rest)
|
487
|
-
#end
|
488
|
-
#
|
489
|
-
#def parse_exprs(codebuf, input)
|
490
|
-
# unless @expr_pattern
|
491
|
-
# ch = Regexp.escape(@embchar)
|
492
|
-
# if @pattern
|
493
|
-
# left, right = @pattern.split(' ')
|
494
|
-
# @expr_pattern = /#{ch}(!*)?\{(.*?)\}#{ch}|#{left}(=+)(.*?)#{right}/
|
495
|
-
# else
|
496
|
-
# @expr_pattern = /#{ch}(!*)?\{(.*?)\}#{ch}/
|
497
|
-
# end
|
498
|
-
# end
|
499
|
-
# pos = 0
|
500
|
-
# input.scan(@expr_pattern) do |indicator1, code1, indicator2, code2|
|
501
|
-
# indicator = indicator1 || indicator2
|
502
|
-
# code = code1 || code2
|
503
|
-
# match = Regexp.last_match
|
504
|
-
# len = match.begin(0) - pos
|
505
|
-
# text = input[pos, len]
|
506
|
-
# pos = match.end(0)
|
507
|
-
# add_text(codebuf, text) # unless text.empty?
|
508
|
-
# add_pi_expr(codebuf, code, indicator)
|
509
|
-
# end
|
510
|
-
# rest = $' || input
|
511
|
-
# add_text(codebuf, rest)
|
512
|
-
#end
|
513
|
-
#++
|
514
|
-
|
515
|
-
def add_pi_stmt(codebuf, code, pi_arg) # :nodoc:
|
516
|
-
case pi_arg
|
517
|
-
when nil ; add_stmt(codebuf, code)
|
518
|
-
when 'header' ; @header = code
|
519
|
-
when 'footer' ; @footer = code
|
520
|
-
when 'comment'; add_stmt(codebuf, "\n" * code.count("\n"))
|
521
|
-
when 'value' ; add_expr_literal(codebuf, code)
|
522
|
-
else ; add_stmt(codebuf, code)
|
523
|
-
end
|
524
|
-
end
|
525
|
-
|
526
|
-
def add_pi_expr(codebuf, code, indicator) # :nodoc:
|
527
|
-
case indicator
|
528
|
-
when nil, '', '==' # @{...}@ or <%== ... %>
|
529
|
-
@escape == false ? add_expr_literal(codebuf, code) : add_expr_escaped(codebuf, code)
|
530
|
-
when '!', '=' # @!{...}@ or <%= ... %>
|
531
|
-
@escape == false ? add_expr_escaped(codebuf, code) : add_expr_literal(codebuf, code)
|
532
|
-
when '!!', '===' # @!!{...}@ or <%=== ... %>
|
533
|
-
add_expr_debug(codebuf, code)
|
534
|
-
else
|
535
|
-
# ignore
|
536
|
-
end
|
537
|
-
end
|
538
|
-
|
539
|
-
end
|
540
|
-
|
541
|
-
|
542
|
-
end
|
543
|
-
#--end of require 'erubis/converter'
|
544
|
-
#--begin of require 'erubis/evaluator'
|
545
|
-
##
|
546
|
-
## $Release: 2.7.0 $
|
547
|
-
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
|
548
|
-
##
|
549
|
-
|
550
|
-
#--begin of require 'erubis/error'
|
551
|
-
##
|
552
|
-
## $Release: 2.7.0 $
|
553
|
-
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
|
554
|
-
##
|
555
|
-
|
556
|
-
module Erubis
|
557
|
-
|
558
|
-
|
559
|
-
##
|
560
|
-
## base error class
|
561
|
-
##
|
562
|
-
class ErubisError < StandardError
|
563
|
-
end
|
564
|
-
|
565
|
-
|
566
|
-
##
|
567
|
-
## raised when method or function is not supported
|
568
|
-
##
|
569
|
-
class NotSupportedError < ErubisError
|
570
|
-
end
|
571
|
-
|
572
|
-
|
573
|
-
end
|
574
|
-
#--end of require 'erubis/error'
|
575
|
-
#--begin of require 'erubis/context'
|
576
|
-
##
|
577
|
-
## $Release: 2.7.0 $
|
578
|
-
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
|
579
|
-
##
|
580
|
-
|
581
|
-
|
582
|
-
module Erubis
|
583
|
-
|
584
|
-
|
585
|
-
##
|
586
|
-
## context object for Engine#evaluate
|
587
|
-
##
|
588
|
-
## ex.
|
589
|
-
## template = <<'END'
|
590
|
-
## Hello <%= @user %>!
|
591
|
-
## <% for item in @list %>
|
592
|
-
## - <%= item %>
|
593
|
-
## <% end %>
|
594
|
-
## END
|
595
|
-
##
|
596
|
-
## context = Erubis::Context.new(:user=>'World', :list=>['a','b','c'])
|
597
|
-
## # or
|
598
|
-
## # context = Erubis::Context.new
|
599
|
-
## # context[:user] = 'World'
|
600
|
-
## # context[:list] = ['a', 'b', 'c']
|
601
|
-
##
|
602
|
-
## eruby = Erubis::Eruby.new(template)
|
603
|
-
## print eruby.evaluate(context)
|
604
|
-
##
|
605
|
-
class Context
|
606
|
-
include Enumerable
|
607
|
-
|
608
|
-
def initialize(hash=nil)
|
609
|
-
hash.each do |name, value|
|
610
|
-
self[name] = value
|
611
|
-
end if hash
|
612
|
-
end
|
613
|
-
|
614
|
-
def [](key)
|
615
|
-
return instance_variable_get("@#{key}")
|
616
|
-
end
|
617
|
-
|
618
|
-
def []=(key, value)
|
619
|
-
return instance_variable_set("@#{key}", value)
|
620
|
-
end
|
621
|
-
|
622
|
-
def keys
|
623
|
-
return instance_variables.collect { |name| name[1..-1] }
|
624
|
-
end
|
625
|
-
|
626
|
-
def each
|
627
|
-
instance_variables.each do |name|
|
628
|
-
key = name[1..-1]
|
629
|
-
value = instance_variable_get(name)
|
630
|
-
yield(key, value)
|
631
|
-
end
|
632
|
-
end
|
633
|
-
|
634
|
-
def to_hash
|
635
|
-
hash = {}
|
636
|
-
self.keys.each { |key| hash[key] = self[key] }
|
637
|
-
return hash
|
638
|
-
end
|
639
|
-
|
640
|
-
def update(context_or_hash)
|
641
|
-
arg = context_or_hash
|
642
|
-
if arg.is_a?(Hash)
|
643
|
-
arg.each do |key, val|
|
644
|
-
self[key] = val
|
645
|
-
end
|
646
|
-
else
|
647
|
-
arg.instance_variables.each do |varname|
|
648
|
-
key = varname[1..-1]
|
649
|
-
val = arg.instance_variable_get(varname)
|
650
|
-
self[key] = val
|
651
|
-
end
|
652
|
-
end
|
653
|
-
end
|
654
|
-
|
655
|
-
end
|
656
|
-
|
657
|
-
|
658
|
-
end
|
659
|
-
#--end of require 'erubis/context'
|
660
|
-
|
661
|
-
|
662
|
-
module Erubis
|
663
|
-
|
664
|
-
EMPTY_BINDING = binding()
|
665
|
-
|
666
|
-
|
667
|
-
##
|
668
|
-
## evaluate code
|
669
|
-
##
|
670
|
-
module Evaluator
|
671
|
-
|
672
|
-
def self.supported_properties # :nodoc:
|
673
|
-
return []
|
674
|
-
end
|
675
|
-
|
676
|
-
attr_accessor :src, :filename
|
677
|
-
|
678
|
-
def init_evaluator(properties)
|
679
|
-
@filename = properties[:filename]
|
680
|
-
end
|
681
|
-
|
682
|
-
def result(*args)
|
683
|
-
raise NotSupportedError.new("evaluation of code except Ruby is not supported.")
|
684
|
-
end
|
685
|
-
|
686
|
-
def evaluate(*args)
|
687
|
-
raise NotSupportedError.new("evaluation of code except Ruby is not supported.")
|
688
|
-
end
|
689
|
-
|
690
|
-
end
|
691
|
-
|
692
|
-
|
693
|
-
##
|
694
|
-
## evaluator for Ruby
|
695
|
-
##
|
696
|
-
module RubyEvaluator
|
697
|
-
include Evaluator
|
698
|
-
|
699
|
-
def self.supported_properties # :nodoc:
|
700
|
-
list = Evaluator.supported_properties
|
701
|
-
return list
|
702
|
-
end
|
703
|
-
|
704
|
-
## eval(@src) with binding object
|
705
|
-
def result(_binding_or_hash=TOPLEVEL_BINDING)
|
706
|
-
_arg = _binding_or_hash
|
707
|
-
if _arg.is_a?(Hash)
|
708
|
-
_b = binding()
|
709
|
-
eval _arg.collect{|k,v| "#{k} = _arg[#{k.inspect}]; "}.join, _b
|
710
|
-
elsif _arg.is_a?(Binding)
|
711
|
-
_b = _arg
|
712
|
-
elsif _arg.nil?
|
713
|
-
_b = binding()
|
714
|
-
else
|
715
|
-
raise ArgumentError.new("#{self.class.name}#result(): argument should be Binding or Hash but passed #{_arg.class.name} object.")
|
716
|
-
end
|
717
|
-
return eval(@src, _b, (@filename || '(erubis'))
|
718
|
-
end
|
719
|
-
|
720
|
-
## invoke context.instance_eval(@src)
|
721
|
-
def evaluate(_context=Context.new)
|
722
|
-
_context = Context.new(_context) if _context.is_a?(Hash)
|
723
|
-
#return _context.instance_eval(@src, @filename || '(erubis)')
|
724
|
-
#@_proc ||= eval("proc { #{@src} }", Erubis::EMPTY_BINDING, @filename || '(erubis)')
|
725
|
-
@_proc ||= eval("proc { #{@src} }", binding(), @filename || '(erubis)')
|
726
|
-
return _context.instance_eval(&@_proc)
|
727
|
-
end
|
728
|
-
|
729
|
-
## if object is an Class or Module then define instance method to it,
|
730
|
-
## else define singleton method to it.
|
731
|
-
def def_method(object, method_name, filename=nil)
|
732
|
-
m = object.is_a?(Module) ? :module_eval : :instance_eval
|
733
|
-
object.__send__(m, "def #{method_name}; #{@src}; end", filename || @filename || '(erubis)')
|
734
|
-
end
|
735
|
-
|
736
|
-
|
737
|
-
end
|
738
|
-
|
739
|
-
|
740
|
-
end
|
741
|
-
#--end of require 'erubis/evaluator'
|
742
|
-
#--already included require 'erubis/context'
|
743
|
-
|
744
|
-
|
745
|
-
module Erubis
|
746
|
-
|
747
|
-
|
748
|
-
##
|
749
|
-
## (abstract) abstract engine class.
|
750
|
-
## subclass must include evaluator and converter module.
|
751
|
-
##
|
752
|
-
class Engine
|
753
|
-
#include Evaluator
|
754
|
-
#include Converter
|
755
|
-
#include Generator
|
756
|
-
|
757
|
-
def initialize(input=nil, properties={})
|
758
|
-
#@input = input
|
759
|
-
init_generator(properties)
|
760
|
-
init_converter(properties)
|
761
|
-
init_evaluator(properties)
|
762
|
-
@src = convert(input) if input
|
763
|
-
end
|
764
|
-
|
765
|
-
|
766
|
-
##
|
767
|
-
## convert input string and set it to @src
|
768
|
-
##
|
769
|
-
def convert!(input)
|
770
|
-
@src = convert(input)
|
771
|
-
end
|
772
|
-
|
773
|
-
|
774
|
-
##
|
775
|
-
## load file, write cache file, and return engine object.
|
776
|
-
## this method create code cache file automatically.
|
777
|
-
## cachefile name can be specified with properties[:cachename],
|
778
|
-
## or filname + 'cache' is used as default.
|
779
|
-
##
|
780
|
-
def self.load_file(filename, properties={})
|
781
|
-
cachename = properties[:cachename] || (filename + '.cache')
|
782
|
-
properties[:filename] = filename
|
783
|
-
timestamp = File.mtime(filename)
|
784
|
-
if test(?f, cachename) && timestamp == File.mtime(cachename)
|
785
|
-
engine = self.new(nil, properties)
|
786
|
-
engine.src = File.read(cachename)
|
787
|
-
else
|
788
|
-
input = File.open(filename, 'rb') {|f| f.read }
|
789
|
-
engine = self.new(input, properties)
|
790
|
-
tmpname = cachename + rand().to_s[1,8]
|
791
|
-
File.open(tmpname, 'wb') {|f| f.write(engine.src) }
|
792
|
-
File.rename(tmpname, cachename)
|
793
|
-
File.utime(timestamp, timestamp, cachename)
|
794
|
-
end
|
795
|
-
engine.src.untaint # ok?
|
796
|
-
return engine
|
797
|
-
end
|
798
|
-
|
799
|
-
|
800
|
-
##
|
801
|
-
## helper method to convert and evaluate input text with context object.
|
802
|
-
## context may be Binding, Hash, or Object.
|
803
|
-
##
|
804
|
-
def process(input, context=nil, filename=nil)
|
805
|
-
code = convert(input)
|
806
|
-
filename ||= '(erubis)'
|
807
|
-
if context.is_a?(Binding)
|
808
|
-
return eval(code, context, filename)
|
809
|
-
else
|
810
|
-
context = Context.new(context) if context.is_a?(Hash)
|
811
|
-
return context.instance_eval(code, filename)
|
812
|
-
end
|
813
|
-
end
|
814
|
-
|
815
|
-
|
816
|
-
##
|
817
|
-
## helper method evaluate Proc object with contect object.
|
818
|
-
## context may be Binding, Hash, or Object.
|
819
|
-
##
|
820
|
-
def process_proc(proc_obj, context=nil, filename=nil)
|
821
|
-
if context.is_a?(Binding)
|
822
|
-
filename ||= '(erubis)'
|
823
|
-
return eval(proc_obj, context, filename)
|
824
|
-
else
|
825
|
-
context = Context.new(context) if context.is_a?(Hash)
|
826
|
-
return context.instance_eval(&proc_obj)
|
827
|
-
end
|
828
|
-
end
|
829
|
-
|
830
|
-
|
831
|
-
end # end of class Engine
|
832
|
-
|
833
|
-
|
834
|
-
##
|
835
|
-
## (abstract) base engine class for Eruby, Eperl, Ejava, and so on.
|
836
|
-
## subclass must include generator.
|
837
|
-
##
|
838
|
-
class Basic::Engine < Engine
|
839
|
-
include Evaluator
|
840
|
-
include Basic::Converter
|
841
|
-
include Generator
|
842
|
-
end
|
843
|
-
|
844
|
-
|
845
|
-
class PI::Engine < Engine
|
846
|
-
include Evaluator
|
847
|
-
include PI::Converter
|
848
|
-
include Generator
|
849
|
-
end
|
850
|
-
|
851
|
-
|
852
|
-
end
|
853
|
-
#--end of require 'erubis/engine'
|
854
|
-
#require 'erubis/generator'
|
855
|
-
#require 'erubis/converter'
|
856
|
-
#require 'erubis/evaluator'
|
857
|
-
#require 'erubis/error'
|
858
|
-
#require 'erubis/context'
|
859
|
-
#requier 'erubis/util'
|
860
|
-
#--begin of require 'erubis/helper'
|
861
|
-
##
|
862
|
-
## $Release: 2.7.0 $
|
863
|
-
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
|
864
|
-
##
|
865
|
-
|
866
|
-
|
867
|
-
module Erubis
|
868
|
-
|
869
|
-
##
|
870
|
-
## helper for xml
|
871
|
-
##
|
872
|
-
module XmlHelper
|
873
|
-
|
874
|
-
module_function
|
875
|
-
|
876
|
-
ESCAPE_TABLE = {
|
877
|
-
'&' => '&',
|
878
|
-
'<' => '<',
|
879
|
-
'>' => '>',
|
880
|
-
'"' => '"',
|
881
|
-
"'" => ''',
|
882
|
-
}
|
883
|
-
|
884
|
-
def escape_xml(value)
|
885
|
-
value.to_s.gsub(/[&<>"]/) { |s| ESCAPE_TABLE[s] } # or /[&<>"']/
|
886
|
-
#value.to_s.gsub(/[&<>"]/) { ESCAPE_TABLE[$&] }
|
887
|
-
end
|
888
|
-
|
889
|
-
def escape_xml2(value)
|
890
|
-
return value.to_s.gsub(/\&/,'&').gsub(/</,'<').gsub(/>/,'>').gsub(/"/,'"')
|
891
|
-
end
|
892
|
-
|
893
|
-
alias h escape_xml
|
894
|
-
alias html_escape escape_xml
|
895
|
-
|
896
|
-
def url_encode(str)
|
897
|
-
return str.gsub(/[^-_.a-zA-Z0-9]+/) { |s|
|
898
|
-
s.unpack('C*').collect { |i| "%%%02X" % i }.join
|
899
|
-
}
|
900
|
-
end
|
901
|
-
|
902
|
-
alias u url_encode
|
903
|
-
|
904
|
-
end
|
905
|
-
|
906
|
-
|
907
|
-
end
|
908
|
-
#--end of require 'erubis/helper'
|
909
|
-
#--begin of require 'erubis/enhancer'
|
910
|
-
##
|
911
|
-
## $Release: 2.7.0 $
|
912
|
-
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
|
913
|
-
##
|
914
|
-
|
915
|
-
|
916
|
-
module Erubis
|
917
|
-
|
918
|
-
|
919
|
-
##
|
920
|
-
## switch '<%= ... %>' to escaped and '<%== ... %>' to unescaped
|
921
|
-
##
|
922
|
-
## ex.
|
923
|
-
## class XmlEruby < Eruby
|
924
|
-
## include EscapeEnhancer
|
925
|
-
## end
|
926
|
-
##
|
927
|
-
## this is language-indenedent.
|
928
|
-
##
|
929
|
-
module EscapeEnhancer
|
930
|
-
|
931
|
-
def self.desc # :nodoc:
|
932
|
-
"switch '<%= %>' to escaped and '<%== %>' to unescaped"
|
933
|
-
end
|
934
|
-
|
935
|
-
#--
|
936
|
-
#def self.included(klass)
|
937
|
-
# klass.class_eval <<-END
|
938
|
-
# alias _add_expr_literal add_expr_literal
|
939
|
-
# alias _add_expr_escaped add_expr_escaped
|
940
|
-
# alias add_expr_literal _add_expr_escaped
|
941
|
-
# alias add_expr_escaped _add_expr_literal
|
942
|
-
# END
|
943
|
-
#end
|
944
|
-
#++
|
945
|
-
|
946
|
-
def add_expr(src, code, indicator)
|
947
|
-
case indicator
|
948
|
-
when '='
|
949
|
-
@escape ? add_expr_literal(src, code) : add_expr_escaped(src, code)
|
950
|
-
when '=='
|
951
|
-
@escape ? add_expr_escaped(src, code) : add_expr_literal(src, code)
|
952
|
-
when '==='
|
953
|
-
add_expr_debug(src, code)
|
954
|
-
end
|
955
|
-
end
|
956
|
-
|
957
|
-
end
|
958
|
-
|
959
|
-
|
960
|
-
#--
|
961
|
-
## (obsolete)
|
962
|
-
#module FastEnhancer
|
963
|
-
#end
|
964
|
-
#++
|
965
|
-
|
966
|
-
|
967
|
-
##
|
968
|
-
## use $stdout instead of string
|
969
|
-
##
|
970
|
-
## this is only for Eruby.
|
971
|
-
##
|
972
|
-
module StdoutEnhancer
|
973
|
-
|
974
|
-
def self.desc # :nodoc:
|
975
|
-
"use $stdout instead of array buffer or string buffer"
|
976
|
-
end
|
977
|
-
|
978
|
-
def add_preamble(src)
|
979
|
-
src << "#{@bufvar} = $stdout;"
|
980
|
-
end
|
981
|
-
|
982
|
-
def add_postamble(src)
|
983
|
-
src << "\n''\n"
|
984
|
-
end
|
985
|
-
|
986
|
-
end
|
987
|
-
|
988
|
-
|
989
|
-
##
|
990
|
-
## use print statement instead of '_buf << ...'
|
991
|
-
##
|
992
|
-
## this is only for Eruby.
|
993
|
-
##
|
994
|
-
module PrintOutEnhancer
|
995
|
-
|
996
|
-
def self.desc # :nodoc:
|
997
|
-
"use print statement instead of '_buf << ...'"
|
998
|
-
end
|
999
|
-
|
1000
|
-
def add_preamble(src)
|
1001
|
-
end
|
1002
|
-
|
1003
|
-
def add_text(src, text)
|
1004
|
-
src << " print '#{escape_text(text)}';" unless text.empty?
|
1005
|
-
end
|
1006
|
-
|
1007
|
-
def add_expr_literal(src, code)
|
1008
|
-
src << " print((#{code}).to_s);"
|
1009
|
-
end
|
1010
|
-
|
1011
|
-
def add_expr_escaped(src, code)
|
1012
|
-
src << " print #{escaped_expr(code)};"
|
1013
|
-
end
|
1014
|
-
|
1015
|
-
def add_postamble(src)
|
1016
|
-
src << "\n" unless src[-1] == ?\n
|
1017
|
-
end
|
1018
|
-
|
1019
|
-
end
|
1020
|
-
|
1021
|
-
|
1022
|
-
##
|
1023
|
-
## enable print function
|
1024
|
-
##
|
1025
|
-
## Notice: use Eruby#evaluate() and don't use Eruby#result()
|
1026
|
-
## to be enable print function.
|
1027
|
-
##
|
1028
|
-
## this is only for Eruby.
|
1029
|
-
##
|
1030
|
-
module PrintEnabledEnhancer
|
1031
|
-
|
1032
|
-
def self.desc # :nodoc:
|
1033
|
-
"enable to use print function in '<% %>'"
|
1034
|
-
end
|
1035
|
-
|
1036
|
-
def add_preamble(src)
|
1037
|
-
src << "@_buf = "
|
1038
|
-
super
|
1039
|
-
end
|
1040
|
-
|
1041
|
-
def print(*args)
|
1042
|
-
args.each do |arg|
|
1043
|
-
@_buf << arg.to_s
|
1044
|
-
end
|
1045
|
-
end
|
1046
|
-
|
1047
|
-
def evaluate(context=nil)
|
1048
|
-
_src = @src
|
1049
|
-
if context.is_a?(Hash)
|
1050
|
-
context.each do |key, val| instance_variable_set("@#{key}", val) end
|
1051
|
-
elsif context
|
1052
|
-
context.instance_variables.each do |name|
|
1053
|
-
instance_variable_set(name, context.instance_variable_get(name))
|
1054
|
-
end
|
1055
|
-
end
|
1056
|
-
return instance_eval(_src, (@filename || '(erubis)'))
|
1057
|
-
end
|
1058
|
-
|
1059
|
-
end
|
1060
|
-
|
1061
|
-
|
1062
|
-
##
|
1063
|
-
## return array instead of string
|
1064
|
-
##
|
1065
|
-
## this is only for Eruby.
|
1066
|
-
##
|
1067
|
-
module ArrayEnhancer
|
1068
|
-
|
1069
|
-
def self.desc # :nodoc:
|
1070
|
-
"return array instead of string"
|
1071
|
-
end
|
1072
|
-
|
1073
|
-
def add_preamble(src)
|
1074
|
-
src << "#{@bufvar} = [];"
|
1075
|
-
end
|
1076
|
-
|
1077
|
-
def add_postamble(src)
|
1078
|
-
src << "\n" unless src[-1] == ?\n
|
1079
|
-
src << "#{@bufvar}\n"
|
1080
|
-
end
|
1081
|
-
|
1082
|
-
end
|
1083
|
-
|
1084
|
-
|
1085
|
-
##
|
1086
|
-
## use an Array object as buffer (included in Eruby by default)
|
1087
|
-
##
|
1088
|
-
## this is only for Eruby.
|
1089
|
-
##
|
1090
|
-
module ArrayBufferEnhancer
|
1091
|
-
|
1092
|
-
def self.desc # :nodoc:
|
1093
|
-
"use an Array object for buffering (included in Eruby class)"
|
1094
|
-
end
|
1095
|
-
|
1096
|
-
def add_preamble(src)
|
1097
|
-
src << "_buf = [];"
|
1098
|
-
end
|
1099
|
-
|
1100
|
-
def add_postamble(src)
|
1101
|
-
src << "\n" unless src[-1] == ?\n
|
1102
|
-
src << "_buf.join\n"
|
1103
|
-
end
|
1104
|
-
|
1105
|
-
end
|
1106
|
-
|
1107
|
-
|
1108
|
-
##
|
1109
|
-
## use String class for buffering
|
1110
|
-
##
|
1111
|
-
## this is only for Eruby.
|
1112
|
-
##
|
1113
|
-
module StringBufferEnhancer
|
1114
|
-
|
1115
|
-
def self.desc # :nodoc:
|
1116
|
-
"use a String object for buffering"
|
1117
|
-
end
|
1118
|
-
|
1119
|
-
def add_preamble(src)
|
1120
|
-
src << "#{@bufvar} = '';"
|
1121
|
-
end
|
1122
|
-
|
1123
|
-
def add_postamble(src)
|
1124
|
-
src << "\n" unless src[-1] == ?\n
|
1125
|
-
src << "#{@bufvar}.to_s\n"
|
1126
|
-
end
|
1127
|
-
|
1128
|
-
end
|
1129
|
-
|
1130
|
-
|
1131
|
-
##
|
1132
|
-
## use StringIO class for buffering
|
1133
|
-
##
|
1134
|
-
## this is only for Eruby.
|
1135
|
-
##
|
1136
|
-
module StringIOEnhancer # :nodoc:
|
1137
|
-
|
1138
|
-
def self.desc # :nodoc:
|
1139
|
-
"use a StringIO object for buffering"
|
1140
|
-
end
|
1141
|
-
|
1142
|
-
def add_preamble(src)
|
1143
|
-
src << "#{@bufvar} = StringIO.new;"
|
1144
|
-
end
|
1145
|
-
|
1146
|
-
def add_postamble(src)
|
1147
|
-
src << "\n" unless src[-1] == ?\n
|
1148
|
-
src << "#{@bufvar}.string\n"
|
1149
|
-
end
|
1150
|
-
|
1151
|
-
end
|
1152
|
-
|
1153
|
-
|
1154
|
-
##
|
1155
|
-
## set buffer variable name to '_erbout' as well as '_buf'
|
1156
|
-
##
|
1157
|
-
## this is only for Eruby.
|
1158
|
-
##
|
1159
|
-
module ErboutEnhancer
|
1160
|
-
|
1161
|
-
def self.desc # :nodoc:
|
1162
|
-
"set '_erbout = _buf = \"\";' to be compatible with ERB."
|
1163
|
-
end
|
1164
|
-
|
1165
|
-
def add_preamble(src)
|
1166
|
-
src << "_erbout = #{@bufvar} = '';"
|
1167
|
-
end
|
1168
|
-
|
1169
|
-
def add_postamble(src)
|
1170
|
-
src << "\n" unless src[-1] == ?\n
|
1171
|
-
src << "#{@bufvar}.to_s\n"
|
1172
|
-
end
|
1173
|
-
|
1174
|
-
end
|
1175
|
-
|
1176
|
-
|
1177
|
-
##
|
1178
|
-
## remove text and leave code, especially useful when debugging.
|
1179
|
-
##
|
1180
|
-
## ex.
|
1181
|
-
## $ erubis -s -E NoText file.eruby | more
|
1182
|
-
##
|
1183
|
-
## this is language independent.
|
1184
|
-
##
|
1185
|
-
module NoTextEnhancer
|
1186
|
-
|
1187
|
-
def self.desc # :nodoc:
|
1188
|
-
"remove text and leave code (useful when debugging)"
|
1189
|
-
end
|
1190
|
-
|
1191
|
-
def add_text(src, text)
|
1192
|
-
src << ("\n" * text.count("\n"))
|
1193
|
-
if text[-1] != ?\n
|
1194
|
-
text =~ /^(.*?)\z/
|
1195
|
-
src << (' ' * $1.length)
|
1196
|
-
end
|
1197
|
-
end
|
1198
|
-
|
1199
|
-
end
|
1200
|
-
|
1201
|
-
|
1202
|
-
##
|
1203
|
-
## remove code and leave text, especially useful when validating HTML tags.
|
1204
|
-
##
|
1205
|
-
## ex.
|
1206
|
-
## $ erubis -s -E NoCode file.eruby | tidy -errors
|
1207
|
-
##
|
1208
|
-
## this is language independent.
|
1209
|
-
##
|
1210
|
-
module NoCodeEnhancer
|
1211
|
-
|
1212
|
-
def self.desc # :nodoc:
|
1213
|
-
"remove code and leave text (useful when validating HTML)"
|
1214
|
-
end
|
1215
|
-
|
1216
|
-
def add_preamble(src)
|
1217
|
-
end
|
1218
|
-
|
1219
|
-
def add_postamble(src)
|
1220
|
-
end
|
1221
|
-
|
1222
|
-
def add_text(src, text)
|
1223
|
-
src << text
|
1224
|
-
end
|
1225
|
-
|
1226
|
-
def add_expr(src, code, indicator)
|
1227
|
-
src << "\n" * code.count("\n")
|
1228
|
-
end
|
1229
|
-
|
1230
|
-
def add_stmt(src, code)
|
1231
|
-
src << "\n" * code.count("\n")
|
1232
|
-
end
|
1233
|
-
|
1234
|
-
end
|
1235
|
-
|
1236
|
-
|
1237
|
-
##
|
1238
|
-
## get convert faster, but spaces around '<%...%>' are not trimmed.
|
1239
|
-
##
|
1240
|
-
## this is language-independent.
|
1241
|
-
##
|
1242
|
-
module SimplifyEnhancer
|
1243
|
-
|
1244
|
-
def self.desc # :nodoc:
|
1245
|
-
"get convert faster but leave spaces around '<% %>'"
|
1246
|
-
end
|
1247
|
-
|
1248
|
-
#DEFAULT_REGEXP = /(^[ \t]*)?<%(=+|\#)?(.*?)-?%>([ \t]*\r?\n)?/m
|
1249
|
-
SIMPLE_REGEXP = /<%(=+|\#)?(.*?)-?%>/m
|
1250
|
-
|
1251
|
-
def convert(input)
|
1252
|
-
src = ""
|
1253
|
-
add_preamble(src)
|
1254
|
-
#regexp = pattern_regexp(@pattern)
|
1255
|
-
pos = 0
|
1256
|
-
input.scan(SIMPLE_REGEXP) do |indicator, code|
|
1257
|
-
match = Regexp.last_match
|
1258
|
-
index = match.begin(0)
|
1259
|
-
text = input[pos, index - pos]
|
1260
|
-
pos = match.end(0)
|
1261
|
-
add_text(src, text)
|
1262
|
-
if !indicator # <% %>
|
1263
|
-
add_stmt(src, code)
|
1264
|
-
elsif indicator[0] == ?\# # <%# %>
|
1265
|
-
n = code.count("\n")
|
1266
|
-
add_stmt(src, "\n" * n)
|
1267
|
-
else # <%= %>
|
1268
|
-
add_expr(src, code, indicator)
|
1269
|
-
end
|
1270
|
-
end
|
1271
|
-
#rest = $' || input # ruby1.8
|
1272
|
-
rest = pos == 0 ? input : input[pos..-1] # ruby1.9
|
1273
|
-
add_text(src, rest)
|
1274
|
-
add_postamble(src)
|
1275
|
-
return src
|
1276
|
-
end
|
1277
|
-
|
1278
|
-
end
|
1279
|
-
|
1280
|
-
|
1281
|
-
##
|
1282
|
-
## enable to use other embedded expression pattern (default is '\[= =\]').
|
1283
|
-
##
|
1284
|
-
## notice! this is an experimental. spec may change in the future.
|
1285
|
-
##
|
1286
|
-
## ex.
|
1287
|
-
## input = <<END
|
1288
|
-
## <% for item in list %>
|
1289
|
-
## <%= item %> : <%== item %>
|
1290
|
-
## [= item =] : [== item =]
|
1291
|
-
## <% end %>
|
1292
|
-
## END
|
1293
|
-
##
|
1294
|
-
## class BiPatternEruby
|
1295
|
-
## include BiPatternEnhancer
|
1296
|
-
## end
|
1297
|
-
## eruby = BiPatternEruby.new(input, :bipattern=>'\[= =\]')
|
1298
|
-
## list = ['<a>', 'b&b', '"c"']
|
1299
|
-
## print eruby.result(binding())
|
1300
|
-
##
|
1301
|
-
## ## output
|
1302
|
-
## <a> : <a>
|
1303
|
-
## <a> : <a>
|
1304
|
-
## b&b : b&b
|
1305
|
-
## b&b : b&b
|
1306
|
-
## "c" : "c"
|
1307
|
-
## "c" : "c"
|
1308
|
-
##
|
1309
|
-
## this is language independent.
|
1310
|
-
##
|
1311
|
-
module BiPatternEnhancer
|
1312
|
-
|
1313
|
-
def self.desc # :nodoc:
|
1314
|
-
"another embedded expression pattern (default '\[= =\]')."
|
1315
|
-
end
|
1316
|
-
|
1317
|
-
def initialize(input, properties={})
|
1318
|
-
self.bipattern = properties[:bipattern] # or '\$\{ \}'
|
1319
|
-
super
|
1320
|
-
end
|
1321
|
-
|
1322
|
-
## when pat is nil then '\[= =\]' is used
|
1323
|
-
def bipattern=(pat) # :nodoc:
|
1324
|
-
@bipattern = pat || '\[= =\]'
|
1325
|
-
pre, post = @bipattern.split()
|
1326
|
-
@bipattern_regexp = /(.*?)#{pre}(=*)(.*?)#{post}/m
|
1327
|
-
end
|
1328
|
-
|
1329
|
-
def add_text(src, text)
|
1330
|
-
return unless text
|
1331
|
-
m = nil
|
1332
|
-
text.scan(@bipattern_regexp) do |txt, indicator, code|
|
1333
|
-
m = Regexp.last_match
|
1334
|
-
super(src, txt)
|
1335
|
-
add_expr(src, code, '=' + indicator)
|
1336
|
-
end
|
1337
|
-
#rest = $' || text # ruby1.8
|
1338
|
-
rest = m ? text[m.end(0)..-1] : text # ruby1.9
|
1339
|
-
super(src, rest)
|
1340
|
-
end
|
1341
|
-
|
1342
|
-
end
|
1343
|
-
|
1344
|
-
|
1345
|
-
##
|
1346
|
-
## regards lines starting with '^[ \t]*%' as program code
|
1347
|
-
##
|
1348
|
-
## in addition you can specify prefix character (default '%')
|
1349
|
-
##
|
1350
|
-
## this is language-independent.
|
1351
|
-
##
|
1352
|
-
module PrefixedLineEnhancer
|
1353
|
-
|
1354
|
-
def self.desc # :nodoc:
|
1355
|
-
"regard lines matched to '^[ \t]*%' as program code"
|
1356
|
-
end
|
1357
|
-
|
1358
|
-
def init_generator(properties={})
|
1359
|
-
super
|
1360
|
-
@prefixchar = properties[:prefixchar]
|
1361
|
-
end
|
1362
|
-
|
1363
|
-
def add_text(src, text)
|
1364
|
-
unless @prefixrexp
|
1365
|
-
@prefixchar ||= '%'
|
1366
|
-
@prefixrexp = Regexp.compile("^([ \\t]*)\\#{@prefixchar}(.*?\\r?\\n)")
|
1367
|
-
end
|
1368
|
-
pos = 0
|
1369
|
-
text2 = ''
|
1370
|
-
text.scan(@prefixrexp) do
|
1371
|
-
space = $1
|
1372
|
-
line = $2
|
1373
|
-
space, line = '', $1 unless $2
|
1374
|
-
match = Regexp.last_match
|
1375
|
-
len = match.begin(0) - pos
|
1376
|
-
str = text[pos, len]
|
1377
|
-
pos = match.end(0)
|
1378
|
-
if text2.empty?
|
1379
|
-
text2 = str
|
1380
|
-
else
|
1381
|
-
text2 << str
|
1382
|
-
end
|
1383
|
-
if line[0, 1] == @prefixchar
|
1384
|
-
text2 << space << line
|
1385
|
-
else
|
1386
|
-
super(src, text2)
|
1387
|
-
text2 = ''
|
1388
|
-
add_stmt(src, space + line)
|
1389
|
-
end
|
1390
|
-
end
|
1391
|
-
#rest = pos == 0 ? text : $' # ruby1.8
|
1392
|
-
rest = pos == 0 ? text : text[pos..-1] # ruby1.9
|
1393
|
-
unless text2.empty?
|
1394
|
-
text2 << rest if rest
|
1395
|
-
rest = text2
|
1396
|
-
end
|
1397
|
-
super(src, rest)
|
1398
|
-
end
|
1399
|
-
|
1400
|
-
end
|
1401
|
-
|
1402
|
-
|
1403
|
-
##
|
1404
|
-
## regards lines starting with '%' as program code
|
1405
|
-
##
|
1406
|
-
## this is for compatibility to eruby and ERB.
|
1407
|
-
##
|
1408
|
-
## this is language-independent.
|
1409
|
-
##
|
1410
|
-
module PercentLineEnhancer
|
1411
|
-
include PrefixedLineEnhancer
|
1412
|
-
|
1413
|
-
def self.desc # :nodoc:
|
1414
|
-
"regard lines starting with '%' as program code"
|
1415
|
-
end
|
1416
|
-
|
1417
|
-
#--
|
1418
|
-
#def init_generator(properties={})
|
1419
|
-
# super
|
1420
|
-
# @prefixchar = '%'
|
1421
|
-
# @prefixrexp = /^\%(.*?\r?\n)/
|
1422
|
-
#end
|
1423
|
-
#++
|
1424
|
-
|
1425
|
-
def add_text(src, text)
|
1426
|
-
unless @prefixrexp
|
1427
|
-
@prefixchar = '%'
|
1428
|
-
@prefixrexp = /^\%(.*?\r?\n)/
|
1429
|
-
end
|
1430
|
-
super(src, text)
|
1431
|
-
end
|
1432
|
-
|
1433
|
-
end
|
1434
|
-
|
1435
|
-
|
1436
|
-
##
|
1437
|
-
## [experimental] allow header and footer in eRuby script
|
1438
|
-
##
|
1439
|
-
## ex.
|
1440
|
-
## ====================
|
1441
|
-
## ## without header and footer
|
1442
|
-
## $ cat ex1.eruby
|
1443
|
-
## <% def list_items(list) %>
|
1444
|
-
## <% for item in list %>
|
1445
|
-
## <li><%= item %></li>
|
1446
|
-
## <% end %>
|
1447
|
-
## <% end %>
|
1448
|
-
##
|
1449
|
-
## $ erubis -s ex1.eruby
|
1450
|
-
## _buf = []; def list_items(list)
|
1451
|
-
## ; for item in list
|
1452
|
-
## ; _buf << '<li>'; _buf << ( item ).to_s; _buf << '</li>
|
1453
|
-
## '; end
|
1454
|
-
## ; end
|
1455
|
-
## ;
|
1456
|
-
## _buf.join
|
1457
|
-
##
|
1458
|
-
## ## with header and footer
|
1459
|
-
## $ cat ex2.eruby
|
1460
|
-
## <!--#header:
|
1461
|
-
## def list_items(list)
|
1462
|
-
## #-->
|
1463
|
-
## <% for item in list %>
|
1464
|
-
## <li><%= item %></li>
|
1465
|
-
## <% end %>
|
1466
|
-
## <!--#footer:
|
1467
|
-
## end
|
1468
|
-
## #-->
|
1469
|
-
##
|
1470
|
-
## $ erubis -s -c HeaderFooterEruby ex4.eruby
|
1471
|
-
##
|
1472
|
-
## def list_items(list)
|
1473
|
-
## _buf = []; _buf << '
|
1474
|
-
## '; for item in list
|
1475
|
-
## ; _buf << '<li>'; _buf << ( item ).to_s; _buf << '</li>
|
1476
|
-
## '; end
|
1477
|
-
## ; _buf << '
|
1478
|
-
## ';
|
1479
|
-
## _buf.join
|
1480
|
-
## end
|
1481
|
-
##
|
1482
|
-
## ====================
|
1483
|
-
##
|
1484
|
-
## this is language-independent.
|
1485
|
-
##
|
1486
|
-
module HeaderFooterEnhancer
|
1487
|
-
|
1488
|
-
def self.desc # :nodoc:
|
1489
|
-
"allow header/footer in document (ex. '<!--#header: #-->')"
|
1490
|
-
end
|
1491
|
-
|
1492
|
-
HEADER_FOOTER_PATTERN = /(.*?)(^[ \t]*)?<!--\#(\w+):(.*?)\#-->([ \t]*\r?\n)?/m
|
1493
|
-
|
1494
|
-
def add_text(src, text)
|
1495
|
-
m = nil
|
1496
|
-
text.scan(HEADER_FOOTER_PATTERN) do |txt, lspace, word, content, rspace|
|
1497
|
-
m = Regexp.last_match
|
1498
|
-
flag_trim = @trim && lspace && rspace
|
1499
|
-
super(src, txt)
|
1500
|
-
content = "#{lspace}#{content}#{rspace}" if flag_trim
|
1501
|
-
super(src, lspace) if !flag_trim && lspace
|
1502
|
-
instance_variable_set("@#{word}", content)
|
1503
|
-
super(src, rspace) if !flag_trim && rspace
|
1504
|
-
end
|
1505
|
-
#rest = $' || text # ruby1.8
|
1506
|
-
rest = m ? text[m.end(0)..-1] : text # ruby1.9
|
1507
|
-
super(src, rest)
|
1508
|
-
end
|
1509
|
-
|
1510
|
-
attr_accessor :header, :footer
|
1511
|
-
|
1512
|
-
def convert(input)
|
1513
|
-
source = super
|
1514
|
-
return @src = "#{@header}#{source}#{@footer}"
|
1515
|
-
end
|
1516
|
-
|
1517
|
-
end
|
1518
|
-
|
1519
|
-
|
1520
|
-
##
|
1521
|
-
## delete indentation of HTML.
|
1522
|
-
##
|
1523
|
-
## this is language-independent.
|
1524
|
-
##
|
1525
|
-
module DeleteIndentEnhancer
|
1526
|
-
|
1527
|
-
def self.desc # :nodoc:
|
1528
|
-
"delete indentation of HTML."
|
1529
|
-
end
|
1530
|
-
|
1531
|
-
def convert_input(src, input)
|
1532
|
-
input = input.gsub(/^[ \t]+</, '<')
|
1533
|
-
super(src, input)
|
1534
|
-
end
|
1535
|
-
|
1536
|
-
end
|
1537
|
-
|
1538
|
-
|
1539
|
-
##
|
1540
|
-
## convert "<h1><%=title%></h1>" into "_buf << %Q`<h1>#{title}</h1>`"
|
1541
|
-
##
|
1542
|
-
## this is only for Eruby.
|
1543
|
-
##
|
1544
|
-
module InterpolationEnhancer
|
1545
|
-
|
1546
|
-
def self.desc # :nodoc:
|
1547
|
-
"convert '<p><%=text%></p>' into '_buf << %Q`<p>\#{text}</p>`'"
|
1548
|
-
end
|
1549
|
-
|
1550
|
-
def convert_input(src, input)
|
1551
|
-
pat = @pattern
|
1552
|
-
regexp = pat.nil? || pat == '<% %>' ? Basic::Converter::DEFAULT_REGEXP : pattern_regexp(pat)
|
1553
|
-
pos = 0
|
1554
|
-
is_bol = true # is beginning of line
|
1555
|
-
str = ''
|
1556
|
-
input.scan(regexp) do |indicator, code, tailch, rspace|
|
1557
|
-
match = Regexp.last_match()
|
1558
|
-
len = match.begin(0) - pos
|
1559
|
-
text = input[pos, len]
|
1560
|
-
pos = match.end(0)
|
1561
|
-
ch = indicator ? indicator[0] : nil
|
1562
|
-
lspace = ch == ?= ? nil : detect_spaces_at_bol(text, is_bol)
|
1563
|
-
is_bol = rspace ? true : false
|
1564
|
-
_add_text_to_str(str, text)
|
1565
|
-
## * when '<%= %>', do nothing
|
1566
|
-
## * when '<% %>' or '<%# %>', delete spaces iff only spaces are around '<% %>'
|
1567
|
-
if ch == ?= # <%= %>
|
1568
|
-
rspace = nil if tailch && !tailch.empty?
|
1569
|
-
str << lspace if lspace
|
1570
|
-
add_expr(str, code, indicator)
|
1571
|
-
str << rspace if rspace
|
1572
|
-
elsif ch == ?\# # <%# %>
|
1573
|
-
n = code.count("\n") + (rspace ? 1 : 0)
|
1574
|
-
if @trim && lspace && rspace
|
1575
|
-
add_text(src, str)
|
1576
|
-
str = ''
|
1577
|
-
add_stmt(src, "\n" * n)
|
1578
|
-
else
|
1579
|
-
str << lspace if lspace
|
1580
|
-
add_text(src, str)
|
1581
|
-
str = ''
|
1582
|
-
add_stmt(src, "\n" * n)
|
1583
|
-
str << rspace if rspace
|
1584
|
-
end
|
1585
|
-
else # <% %>
|
1586
|
-
if @trim && lspace && rspace
|
1587
|
-
add_text(src, str)
|
1588
|
-
str = ''
|
1589
|
-
add_stmt(src, "#{lspace}#{code}#{rspace}")
|
1590
|
-
else
|
1591
|
-
str << lspace if lspace
|
1592
|
-
add_text(src, str)
|
1593
|
-
str = ''
|
1594
|
-
add_stmt(src, code)
|
1595
|
-
str << rspace if rspace
|
1596
|
-
end
|
1597
|
-
end
|
1598
|
-
end
|
1599
|
-
#rest = $' || input # ruby1.8
|
1600
|
-
rest = pos == 0 ? input : input[pos..-1] # ruby1.9
|
1601
|
-
_add_text_to_str(str, rest)
|
1602
|
-
add_text(src, str)
|
1603
|
-
end
|
1604
|
-
|
1605
|
-
def add_text(src, text)
|
1606
|
-
return if !text || text.empty?
|
1607
|
-
#src << " _buf << %Q`" << text << "`;"
|
1608
|
-
if text[-1] == ?\n
|
1609
|
-
text[-1] = "\\n"
|
1610
|
-
src << " #{@bufvar} << %Q`#{text}`\n"
|
1611
|
-
else
|
1612
|
-
src << " #{@bufvar} << %Q`#{text}`;"
|
1613
|
-
end
|
1614
|
-
end
|
1615
|
-
|
1616
|
-
def _add_text_to_str(str, text)
|
1617
|
-
return if !text || text.empty?
|
1618
|
-
str << text.gsub(/[`\#\\]/, '\\\\\&')
|
1619
|
-
end
|
1620
|
-
|
1621
|
-
def add_expr_escaped(str, code)
|
1622
|
-
str << "\#{#{escaped_expr(code)}}"
|
1623
|
-
end
|
1624
|
-
|
1625
|
-
def add_expr_literal(str, code)
|
1626
|
-
str << "\#{#{code}}"
|
1627
|
-
end
|
1628
|
-
|
1629
|
-
end
|
1630
|
-
|
1631
|
-
|
1632
|
-
end
|
1633
|
-
#--end of require 'erubis/enhancer'
|
1634
|
-
#require 'erubis/tiny'
|
1635
|
-
#--begin of require 'erubis/engine/eruby'
|
1636
|
-
##
|
1637
|
-
## $Release: 2.7.0 $
|
1638
|
-
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
|
1639
|
-
##
|
1640
|
-
|
1641
|
-
#--already included require 'erubis/engine'
|
1642
|
-
#--already included require 'erubis/enhancer'
|
1643
|
-
|
1644
|
-
|
1645
|
-
module Erubis
|
1646
|
-
|
1647
|
-
|
1648
|
-
##
|
1649
|
-
## code generator for Ruby
|
1650
|
-
##
|
1651
|
-
module RubyGenerator
|
1652
|
-
include Generator
|
1653
|
-
#include ArrayBufferEnhancer
|
1654
|
-
include StringBufferEnhancer
|
1655
|
-
|
1656
|
-
def init_generator(properties={})
|
1657
|
-
super
|
1658
|
-
@escapefunc ||= "Erubis::XmlHelper.escape_xml"
|
1659
|
-
@bufvar = properties[:bufvar] || "_buf"
|
1660
|
-
end
|
1661
|
-
|
1662
|
-
def self.supported_properties() # :nodoc:
|
1663
|
-
return []
|
1664
|
-
end
|
1665
|
-
|
1666
|
-
def escape_text(text)
|
1667
|
-
text.gsub(/['\\]/, '\\\\\&') # "'" => "\\'", '\\' => '\\\\'
|
1668
|
-
end
|
1669
|
-
|
1670
|
-
def escaped_expr(code)
|
1671
|
-
return "#{@escapefunc}(#{code})"
|
1672
|
-
end
|
1673
|
-
|
1674
|
-
#--
|
1675
|
-
#def add_preamble(src)
|
1676
|
-
# src << "#{@bufvar} = [];"
|
1677
|
-
#end
|
1678
|
-
#++
|
1679
|
-
|
1680
|
-
def add_text(src, text)
|
1681
|
-
src << " #{@bufvar} << '" << escape_text(text) << "';" unless text.empty?
|
1682
|
-
end
|
1683
|
-
|
1684
|
-
def add_stmt(src, code)
|
1685
|
-
#src << code << ';'
|
1686
|
-
src << code
|
1687
|
-
src << ';' unless code[-1] == ?\n
|
1688
|
-
end
|
1689
|
-
|
1690
|
-
def add_expr_literal(src, code)
|
1691
|
-
src << " #{@bufvar} << (" << code << ').to_s;'
|
1692
|
-
end
|
1693
|
-
|
1694
|
-
def add_expr_escaped(src, code)
|
1695
|
-
src << " #{@bufvar} << " << escaped_expr(code) << ';'
|
1696
|
-
end
|
1697
|
-
|
1698
|
-
def add_expr_debug(src, code)
|
1699
|
-
code.strip!
|
1700
|
-
s = (code.dump =~ /\A"(.*)"\z/) && $1
|
1701
|
-
src << ' $stderr.puts("*** debug: ' << s << '=#{(' << code << ').inspect}");'
|
1702
|
-
end
|
1703
|
-
|
1704
|
-
#--
|
1705
|
-
#def add_postamble(src)
|
1706
|
-
# src << "\n#{@bufvar}.join\n"
|
1707
|
-
#end
|
1708
|
-
#++
|
1709
|
-
|
1710
|
-
end
|
1711
|
-
|
1712
|
-
|
1713
|
-
##
|
1714
|
-
## engine for Ruby
|
1715
|
-
##
|
1716
|
-
class Eruby < Basic::Engine
|
1717
|
-
include RubyEvaluator
|
1718
|
-
include RubyGenerator
|
1719
|
-
end
|
1720
|
-
|
1721
|
-
|
1722
|
-
##
|
1723
|
-
## fast engine for Ruby
|
1724
|
-
##
|
1725
|
-
class FastEruby < Eruby
|
1726
|
-
include InterpolationEnhancer
|
1727
|
-
end
|
1728
|
-
|
1729
|
-
|
1730
|
-
##
|
1731
|
-
## swtich '<%= %>' to escaped and '<%== %>' to not escaped
|
1732
|
-
##
|
1733
|
-
class EscapedEruby < Eruby
|
1734
|
-
include EscapeEnhancer
|
1735
|
-
end
|
1736
|
-
|
1737
|
-
|
1738
|
-
##
|
1739
|
-
## sanitize expression (<%= ... %>) by default
|
1740
|
-
##
|
1741
|
-
## this is equivalent to EscapedEruby and is prepared only for compatibility.
|
1742
|
-
##
|
1743
|
-
class XmlEruby < Eruby
|
1744
|
-
include EscapeEnhancer
|
1745
|
-
end
|
1746
|
-
|
1747
|
-
|
1748
|
-
class PI::Eruby < PI::Engine
|
1749
|
-
include RubyEvaluator
|
1750
|
-
include RubyGenerator
|
1751
|
-
|
1752
|
-
def init_converter(properties={})
|
1753
|
-
@pi = 'rb'
|
1754
|
-
super(properties)
|
1755
|
-
end
|
1756
|
-
|
1757
|
-
end
|
1758
|
-
|
1759
|
-
|
1760
|
-
end
|
1761
|
-
#--end of require 'erubis/engine/eruby'
|
1762
|
-
#require 'erubis/engine/enhanced' # enhanced eruby engines
|
1763
|
-
#require 'erubis/engine/optimized' # generates optimized ruby code
|
1764
|
-
#require 'erubis/engine/ephp'
|
1765
|
-
#require 'erubis/engine/ec'
|
1766
|
-
#require 'erubis/engine/ejava'
|
1767
|
-
#require 'erubis/engine/escheme'
|
1768
|
-
#require 'erubis/engine/eperl'
|
1769
|
-
#require 'erubis/engine/ejavascript'
|
1770
|
-
|
1771
|
-
#--begin of require 'erubis/local-setting'
|
1772
|
-
##
|
1773
|
-
## $Release: 2.7.0 $
|
1774
|
-
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
|
1775
|
-
##
|
1776
|
-
|
1777
|
-
##
|
1778
|
-
## you can add site-local settings here.
|
1779
|
-
## this files is required by erubis.rb
|
1780
|
-
##
|
1781
|
-
#--end of require 'erubis/local-setting'
|
1782
|
-
#--end of require 'erubis'
|
1783
|
-
#--begin of require 'erubis/tiny'
|
1784
|
-
##
|
1785
|
-
## $Release: 2.7.0 $
|
1786
|
-
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
|
1787
|
-
##
|
1788
|
-
|
1789
|
-
module Erubis
|
1790
|
-
|
1791
|
-
##
|
1792
|
-
## tiny and the simplest implementation of eRuby
|
1793
|
-
##
|
1794
|
-
## ex.
|
1795
|
-
## eruby = TinyEruby.new(File.read('example.rhtml'))
|
1796
|
-
## print eruby.src # print ruby code
|
1797
|
-
## print eruby.result(binding()) # eval ruby code with Binding object
|
1798
|
-
## print eruby.evalute(context) # eval ruby code with context object
|
1799
|
-
##
|
1800
|
-
class TinyEruby
|
1801
|
-
|
1802
|
-
def initialize(input=nil)
|
1803
|
-
@src = convert(input) if input
|
1804
|
-
end
|
1805
|
-
attr_reader :src
|
1806
|
-
|
1807
|
-
EMBEDDED_PATTERN = /<%(=+|\#)?(.*?)-?%>/m
|
1808
|
-
|
1809
|
-
def convert(input)
|
1810
|
-
src = "_buf = '';" # preamble
|
1811
|
-
pos = 0
|
1812
|
-
input.scan(EMBEDDED_PATTERN) do |indicator, code|
|
1813
|
-
m = Regexp.last_match
|
1814
|
-
text = input[pos...m.begin(0)]
|
1815
|
-
pos = m.end(0)
|
1816
|
-
#src << " _buf << '" << escape_text(text) << "';"
|
1817
|
-
text.gsub!(/['\\]/, '\\\\\&')
|
1818
|
-
src << " _buf << '" << text << "';" unless text.empty?
|
1819
|
-
if !indicator # <% %>
|
1820
|
-
src << code << ";"
|
1821
|
-
elsif indicator == '#' # <%# %>
|
1822
|
-
src << ("\n" * code.count("\n"))
|
1823
|
-
else # <%= %>
|
1824
|
-
src << " _buf << (" << code << ").to_s;"
|
1825
|
-
end
|
1826
|
-
end
|
1827
|
-
#rest = $' || input # ruby1.8
|
1828
|
-
rest = pos == 0 ? input : input[pos..-1] # ruby1.9
|
1829
|
-
#src << " _buf << '" << escape_text(rest) << "';"
|
1830
|
-
rest.gsub!(/['\\]/, '\\\\\&')
|
1831
|
-
src << " _buf << '" << rest << "';" unless rest.empty?
|
1832
|
-
src << "\n_buf.to_s\n" # postamble
|
1833
|
-
return src
|
1834
|
-
end
|
1835
|
-
|
1836
|
-
#def escape_text(text)
|
1837
|
-
# return text.gsub!(/['\\]/, '\\\\\&') || text
|
1838
|
-
#end
|
1839
|
-
|
1840
|
-
def result(_binding=TOPLEVEL_BINDING)
|
1841
|
-
eval @src, _binding
|
1842
|
-
end
|
1843
|
-
|
1844
|
-
def evaluate(_context=Object.new)
|
1845
|
-
if _context.is_a?(Hash)
|
1846
|
-
_obj = Object.new
|
1847
|
-
_context.each do |k, v| _obj.instance_variable_set("@#{k}", v) end
|
1848
|
-
_context = _obj
|
1849
|
-
end
|
1850
|
-
_context.instance_eval @src
|
1851
|
-
end
|
1852
|
-
|
1853
|
-
end
|
1854
|
-
|
1855
|
-
|
1856
|
-
|
1857
|
-
module PI
|
1858
|
-
end
|
1859
|
-
|
1860
|
-
class PI::TinyEruby
|
1861
|
-
|
1862
|
-
def initialize(input=nil, options={})
|
1863
|
-
@escape = options[:escape] || 'Erubis::XmlHelper.escape_xml'
|
1864
|
-
@src = convert(input) if input
|
1865
|
-
end
|
1866
|
-
|
1867
|
-
attr_reader :src
|
1868
|
-
|
1869
|
-
EMBEDDED_PATTERN = /(^[ \t]*)?<\?rb(\s.*?)\?>([ \t]*\r?\n)?|@(!+)?\{(.*?)\}@/m
|
1870
|
-
|
1871
|
-
def convert(input)
|
1872
|
-
src = "_buf = '';" # preamble
|
1873
|
-
pos = 0
|
1874
|
-
input.scan(EMBEDDED_PATTERN) do |lspace, stmt, rspace, indicator, expr|
|
1875
|
-
match = Regexp.last_match
|
1876
|
-
len = match.begin(0) - pos
|
1877
|
-
text = input[pos, len]
|
1878
|
-
pos = match.end(0)
|
1879
|
-
#src << " _buf << '" << escape_text(text) << "';"
|
1880
|
-
text.gsub!(/['\\]/, '\\\\\&')
|
1881
|
-
src << " _buf << '" << text << "';" unless text.empty?
|
1882
|
-
if stmt # <?rb ... ?>
|
1883
|
-
if lspace && rspace
|
1884
|
-
src << "#{lspace}#{stmt}#{rspace}"
|
1885
|
-
else
|
1886
|
-
src << " _buf << '" << lspace << "';" if lspace
|
1887
|
-
src << stmt << ";"
|
1888
|
-
src << " _buf << '" << rspace << "';" if rspace
|
1889
|
-
end
|
1890
|
-
else # ${...}, $!{...}
|
1891
|
-
if !indicator
|
1892
|
-
src << " _buf << " << @escape << "(" << expr << ");"
|
1893
|
-
elsif indicator == '!'
|
1894
|
-
src << " _buf << (" << expr << ").to_s;"
|
1895
|
-
end
|
1896
|
-
end
|
1897
|
-
end
|
1898
|
-
#rest = $' || input # ruby1.8
|
1899
|
-
rest = pos == 0 ? input : input[pos..-1] # ruby1.9
|
1900
|
-
#src << " _buf << '" << escape_text(rest) << "';"
|
1901
|
-
rest.gsub!(/['\\]/, '\\\\\&')
|
1902
|
-
src << " _buf << '" << rest << "';" unless rest.empty?
|
1903
|
-
src << "\n_buf.to_s\n" # postamble
|
1904
|
-
return src
|
1905
|
-
end
|
1906
|
-
|
1907
|
-
#def escape_text(text)
|
1908
|
-
# return text.gsub!(/['\\]/, '\\\\\&') || text
|
1909
|
-
#end
|
1910
|
-
|
1911
|
-
def result(_binding=TOPLEVEL_BINDING)
|
1912
|
-
eval @src, _binding
|
1913
|
-
end
|
1914
|
-
|
1915
|
-
def evaluate(_context=Object.new)
|
1916
|
-
if _context.is_a?(Hash)
|
1917
|
-
_obj = Object.new
|
1918
|
-
_context.each do |k, v| _obj.instance_variable_set("@#{k}", v) end
|
1919
|
-
_context = _obj
|
1920
|
-
end
|
1921
|
-
_context.instance_eval @src
|
1922
|
-
end
|
1923
|
-
|
1924
|
-
end
|
1925
|
-
|
1926
|
-
|
1927
|
-
end
|
1928
|
-
#--end of require 'erubis/tiny'
|
1929
|
-
#--begin of require 'erubis/engine/enhanced'
|
1930
|
-
##
|
1931
|
-
## $Release: 2.7.0 $
|
1932
|
-
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
|
1933
|
-
##
|
1934
|
-
|
1935
|
-
#--already included require 'erubis/enhancer'
|
1936
|
-
#--already included require 'erubis/engine/eruby'
|
1937
|
-
|
1938
|
-
|
1939
|
-
module Erubis
|
1940
|
-
|
1941
|
-
|
1942
|
-
#--
|
1943
|
-
## moved to engine/ruby.rb
|
1944
|
-
#class EscapedEruby < Eruby
|
1945
|
-
# include EscapeEnhancer
|
1946
|
-
#end
|
1947
|
-
#++
|
1948
|
-
|
1949
|
-
|
1950
|
-
#--
|
1951
|
-
### (obsolete)
|
1952
|
-
#class FastEruby < Eruby
|
1953
|
-
# include FastEnhancer
|
1954
|
-
#end
|
1955
|
-
#++
|
1956
|
-
|
1957
|
-
|
1958
|
-
class StdoutEruby < Eruby
|
1959
|
-
include StdoutEnhancer
|
1960
|
-
end
|
1961
|
-
|
1962
|
-
|
1963
|
-
class PrintOutEruby < Eruby
|
1964
|
-
include PrintOutEnhancer
|
1965
|
-
end
|
1966
|
-
|
1967
|
-
|
1968
|
-
class PrintEnabledEruby < Eruby
|
1969
|
-
include PrintEnabledEnhancer
|
1970
|
-
end
|
1971
|
-
|
1972
|
-
|
1973
|
-
class ArrayEruby < Eruby
|
1974
|
-
include ArrayEnhancer
|
1975
|
-
end
|
1976
|
-
|
1977
|
-
|
1978
|
-
class ArrayBufferEruby < Eruby
|
1979
|
-
include ArrayBufferEnhancer
|
1980
|
-
end
|
1981
|
-
|
1982
|
-
|
1983
|
-
class StringBufferEruby < Eruby
|
1984
|
-
include StringBufferEnhancer
|
1985
|
-
end
|
1986
|
-
|
1987
|
-
|
1988
|
-
class StringIOEruby < Eruby
|
1989
|
-
include StringIOEnhancer
|
1990
|
-
end
|
1991
|
-
|
1992
|
-
|
1993
|
-
class ErboutEruby < Eruby
|
1994
|
-
include ErboutEnhancer
|
1995
|
-
end
|
1996
|
-
|
1997
|
-
|
1998
|
-
class NoTextEruby < Eruby
|
1999
|
-
include NoTextEnhancer
|
2000
|
-
end
|
2001
|
-
|
2002
|
-
|
2003
|
-
class NoCodeEruby < Eruby
|
2004
|
-
include NoCodeEnhancer
|
2005
|
-
end
|
2006
|
-
|
2007
|
-
|
2008
|
-
class SimplifiedEruby < Eruby
|
2009
|
-
include SimplifyEnhancer
|
2010
|
-
end
|
2011
|
-
|
2012
|
-
|
2013
|
-
class StdoutSimplifiedEruby < Eruby
|
2014
|
-
include StdoutEnhancer
|
2015
|
-
include SimplifyEnhancer
|
2016
|
-
end
|
2017
|
-
|
2018
|
-
|
2019
|
-
class PrintOutSimplifiedEruby < Eruby
|
2020
|
-
include PrintOutEnhancer
|
2021
|
-
include SimplifyEnhancer
|
2022
|
-
end
|
2023
|
-
|
2024
|
-
|
2025
|
-
class BiPatternEruby < Eruby
|
2026
|
-
include BiPatternEnhancer
|
2027
|
-
end
|
2028
|
-
|
2029
|
-
|
2030
|
-
class PercentLineEruby < Eruby
|
2031
|
-
include PercentLineEnhancer
|
2032
|
-
end
|
2033
|
-
|
2034
|
-
|
2035
|
-
class PrefixedLineEruby < Eruby
|
2036
|
-
include PrefixedLineEnhancer
|
2037
|
-
end
|
2038
|
-
|
2039
|
-
|
2040
|
-
class HeaderFooterEruby < Eruby
|
2041
|
-
include HeaderFooterEnhancer
|
2042
|
-
end
|
2043
|
-
|
2044
|
-
|
2045
|
-
class DeleteIndentEruby < Eruby
|
2046
|
-
include DeleteIndentEnhancer
|
2047
|
-
end
|
2048
|
-
|
2049
|
-
|
2050
|
-
class InterpolationEruby < Eruby
|
2051
|
-
include InterpolationEnhancer
|
2052
|
-
end
|
2053
|
-
|
2054
|
-
|
2055
|
-
end
|
2056
|
-
#--end of require 'erubis/engine/enhanced'
|
2057
|
-
#--begin of require 'erubis/engine/optimized'
|
2058
|
-
##
|
2059
|
-
## $Release: 2.7.0 $
|
2060
|
-
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
|
2061
|
-
##
|
2062
|
-
|
2063
|
-
|
2064
|
-
#--already included require 'erubis/engine/eruby'
|
2065
|
-
|
2066
|
-
|
2067
|
-
module Erubis
|
2068
|
-
|
2069
|
-
|
2070
|
-
module OptimizedGenerator
|
2071
|
-
include Generator
|
2072
|
-
|
2073
|
-
def self.supported_properties() # :nodoc:
|
2074
|
-
return []
|
2075
|
-
end
|
2076
|
-
|
2077
|
-
def init_generator(properties={})
|
2078
|
-
super
|
2079
|
-
@escapefunc ||= "Erubis::XmlHelper.escape_xml"
|
2080
|
-
@initialized = false
|
2081
|
-
@prev_is_expr = false
|
2082
|
-
end
|
2083
|
-
|
2084
|
-
protected
|
2085
|
-
|
2086
|
-
def escape_text(text)
|
2087
|
-
text.gsub(/['\\]/, '\\\\\&') # "'" => "\\'", '\\' => '\\\\'
|
2088
|
-
end
|
2089
|
-
|
2090
|
-
def escaped_expr(code)
|
2091
|
-
@escapefunc ||= 'Erubis::XmlHelper.escape_xml'
|
2092
|
-
return "#{@escapefunc}(#{code})"
|
2093
|
-
end
|
2094
|
-
|
2095
|
-
def switch_to_expr(src)
|
2096
|
-
return if @prev_is_expr
|
2097
|
-
@prev_is_expr = true
|
2098
|
-
src << ' _buf'
|
2099
|
-
end
|
2100
|
-
|
2101
|
-
def switch_to_stmt(src)
|
2102
|
-
return unless @prev_is_expr
|
2103
|
-
@prev_is_expr = false
|
2104
|
-
src << ';'
|
2105
|
-
end
|
2106
|
-
|
2107
|
-
def add_preamble(src)
|
2108
|
-
#@initialized = false
|
2109
|
-
#@prev_is_expr = false
|
2110
|
-
end
|
2111
|
-
|
2112
|
-
def add_text(src, text)
|
2113
|
-
return if text.empty?
|
2114
|
-
if @initialized
|
2115
|
-
switch_to_expr(src)
|
2116
|
-
src << " << '" << escape_text(text) << "'"
|
2117
|
-
else
|
2118
|
-
src << "_buf = '" << escape_text(text) << "';"
|
2119
|
-
@initialized = true
|
2120
|
-
end
|
2121
|
-
end
|
2122
|
-
|
2123
|
-
def add_stmt(src, code)
|
2124
|
-
switch_to_stmt(src) if @initialized
|
2125
|
-
#super
|
2126
|
-
src << code
|
2127
|
-
src << ';' unless code[-1] == ?\n
|
2128
|
-
end
|
2129
|
-
|
2130
|
-
def add_expr_literal(src, code)
|
2131
|
-
unless @initialized; src << "_buf = ''"; @initialized = true; end
|
2132
|
-
switch_to_expr(src)
|
2133
|
-
src << " << (" << code << ").to_s"
|
2134
|
-
end
|
2135
|
-
|
2136
|
-
def add_expr_escaped(src, code)
|
2137
|
-
unless @initialized; src << "_buf = ''"; @initialized = true; end
|
2138
|
-
switch_to_expr(src)
|
2139
|
-
src << " << " << escaped_expr(code)
|
2140
|
-
end
|
2141
|
-
|
2142
|
-
def add_expr_debug(src, code)
|
2143
|
-
code.strip!
|
2144
|
-
s = (code.dump =~ /\A"(.*)"\z/) && $1
|
2145
|
-
src << ' $stderr.puts("*** debug: ' << s << '=#{(' << code << ').inspect}");'
|
2146
|
-
end
|
2147
|
-
|
2148
|
-
def add_postamble(src)
|
2149
|
-
#super if @initialized
|
2150
|
-
src << "\n_buf\n" if @initialized
|
2151
|
-
end
|
2152
|
-
|
2153
|
-
end # end of class OptimizedEruby
|
2154
|
-
|
2155
|
-
|
2156
|
-
##
|
2157
|
-
## Eruby class which generates optimized ruby code
|
2158
|
-
##
|
2159
|
-
class OptimizedEruby < Basic::Engine # Eruby
|
2160
|
-
include RubyEvaluator
|
2161
|
-
include OptimizedGenerator
|
2162
|
-
|
2163
|
-
def init_converter(properties={})
|
2164
|
-
@pi = 'rb'
|
2165
|
-
super(properties)
|
2166
|
-
end
|
2167
|
-
|
2168
|
-
end
|
2169
|
-
|
2170
|
-
|
2171
|
-
##
|
2172
|
-
## XmlEruby class which generates optimized ruby code
|
2173
|
-
##
|
2174
|
-
class OptimizedXmlEruby < OptimizedEruby
|
2175
|
-
include EscapeEnhancer
|
2176
|
-
|
2177
|
-
def add_expr_debug(src, code)
|
2178
|
-
switch_to_stmt(src) if indicator == '===' && !@initialized
|
2179
|
-
super
|
2180
|
-
end
|
2181
|
-
|
2182
|
-
end # end of class OptimizedXmlEruby
|
2183
|
-
|
2184
|
-
end
|
2185
|
-
#--end of require 'erubis/engine/optimized'
|
2186
|
-
#--already included require 'erubis/engine/eruby'
|
2187
|
-
#--begin of require 'erubis/engine/ephp'
|
2188
|
-
##
|
2189
|
-
## $Release: 2.7.0 $
|
2190
|
-
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
|
2191
|
-
##
|
2192
|
-
|
2193
|
-
#--already included require 'erubis/engine'
|
2194
|
-
#--already included require 'erubis/enhancer'
|
2195
|
-
|
2196
|
-
|
2197
|
-
module Erubis
|
2198
|
-
|
2199
|
-
|
2200
|
-
module PhpGenerator
|
2201
|
-
include Generator
|
2202
|
-
|
2203
|
-
def self.supported_properties() # :nodoc:
|
2204
|
-
return []
|
2205
|
-
end
|
2206
|
-
|
2207
|
-
def init_generator(properties={})
|
2208
|
-
super
|
2209
|
-
@escapefunc ||= 'htmlspecialchars'
|
2210
|
-
end
|
2211
|
-
|
2212
|
-
def add_preamble(src)
|
2213
|
-
# empty
|
2214
|
-
end
|
2215
|
-
|
2216
|
-
def escape_text(text)
|
2217
|
-
return text.gsub!(/<\?xml\b/, '<<?php ?>?xml') || text
|
2218
|
-
end
|
2219
|
-
|
2220
|
-
def add_text(src, text)
|
2221
|
-
src << escape_text(text)
|
2222
|
-
end
|
2223
|
-
|
2224
|
-
def add_expr_literal(src, code)
|
2225
|
-
code.strip!
|
2226
|
-
src << "<?php echo #{code}; ?>"
|
2227
|
-
end
|
2228
|
-
|
2229
|
-
def add_expr_escaped(src, code)
|
2230
|
-
add_expr_literal(src, escaped_expr(code))
|
2231
|
-
end
|
2232
|
-
|
2233
|
-
def add_expr_debug(src, code)
|
2234
|
-
code.strip!
|
2235
|
-
s = code.gsub(/\'/, "\\'")
|
2236
|
-
src << "<?php error_log('*** debug: #{s}='.(#{code}), 0); ?>"
|
2237
|
-
end
|
2238
|
-
|
2239
|
-
def add_stmt(src, code)
|
2240
|
-
src << "<?php"
|
2241
|
-
src << " " if code[0] != ?\ #
|
2242
|
-
if code[-1] == ?\n
|
2243
|
-
code.chomp!
|
2244
|
-
src << code << "?>\n"
|
2245
|
-
else
|
2246
|
-
src << code << "?>"
|
2247
|
-
end
|
2248
|
-
end
|
2249
|
-
|
2250
|
-
def add_postamble(src)
|
2251
|
-
# empty
|
2252
|
-
end
|
2253
|
-
|
2254
|
-
end
|
2255
|
-
|
2256
|
-
|
2257
|
-
##
|
2258
|
-
## engine for PHP
|
2259
|
-
##
|
2260
|
-
class Ephp < Basic::Engine
|
2261
|
-
include PhpGenerator
|
2262
|
-
end
|
2263
|
-
|
2264
|
-
|
2265
|
-
class EscapedEphp < Ephp
|
2266
|
-
include EscapeEnhancer
|
2267
|
-
end
|
2268
|
-
|
2269
|
-
|
2270
|
-
#class XmlEphp < Ephp
|
2271
|
-
# include EscapeEnhancer
|
2272
|
-
#end
|
2273
|
-
|
2274
|
-
|
2275
|
-
class PI::Ephp < PI::Engine
|
2276
|
-
include PhpGenerator
|
2277
|
-
|
2278
|
-
def init_converter(properties={})
|
2279
|
-
@pi = 'php'
|
2280
|
-
super(properties)
|
2281
|
-
end
|
2282
|
-
|
2283
|
-
end
|
2284
|
-
|
2285
|
-
|
2286
|
-
end
|
2287
|
-
#--end of require 'erubis/engine/ephp'
|
2288
|
-
#--begin of require 'erubis/engine/ec'
|
2289
|
-
##
|
2290
|
-
## $Release: 2.7.0 $
|
2291
|
-
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
|
2292
|
-
##
|
2293
|
-
|
2294
|
-
#--already included require 'erubis/engine'
|
2295
|
-
#--already included require 'erubis/enhancer'
|
2296
|
-
|
2297
|
-
|
2298
|
-
module Erubis
|
2299
|
-
|
2300
|
-
|
2301
|
-
module CGenerator
|
2302
|
-
include Generator
|
2303
|
-
|
2304
|
-
def self.supported_properties() # :nodoc:
|
2305
|
-
return [
|
2306
|
-
[:indent, '', "indent spaces (ex. ' ')"],
|
2307
|
-
[:out, 'stdout', "output file pointer name"],
|
2308
|
-
]
|
2309
|
-
end
|
2310
|
-
|
2311
|
-
def init_generator(properties={})
|
2312
|
-
super
|
2313
|
-
@escapefunc ||= "escape"
|
2314
|
-
@indent = properties[:indent] || ''
|
2315
|
-
@out = properties[:out] || 'stdout'
|
2316
|
-
end
|
2317
|
-
|
2318
|
-
def add_preamble(src)
|
2319
|
-
src << "#line 1 \"#{self.filename}\"\n" if self.filename
|
2320
|
-
end
|
2321
|
-
|
2322
|
-
def escape_text(text)
|
2323
|
-
@@table_ ||= { "\r"=>"\\r", "\n"=>"\\n", "\t"=>"\\t", '"'=>'\\"', "\\"=>"\\\\" }
|
2324
|
-
text.gsub!(/[\r\n\t"\\]/) { |m| @@table_[m] }
|
2325
|
-
return text
|
2326
|
-
end
|
2327
|
-
|
2328
|
-
def escaped_expr(code)
|
2329
|
-
return "#{@escapefunc}(#{code.strip}, #{@out})"
|
2330
|
-
end
|
2331
|
-
|
2332
|
-
def add_text(src, text)
|
2333
|
-
return if text.empty?
|
2334
|
-
src << (src.empty? || src[-1] == ?\n ? @indent : ' ')
|
2335
|
-
src << "fputs("
|
2336
|
-
i = 0
|
2337
|
-
text.each_line do |line|
|
2338
|
-
src << "\n" << @indent << ' ' if i > 0
|
2339
|
-
i += 1
|
2340
|
-
src << '"' << escape_text(line) << '"'
|
2341
|
-
end
|
2342
|
-
src << ", #{@out});" #<< (text[-1] == ?\n ? "\n" : "")
|
2343
|
-
src << "\n" if text[-1] == ?\n
|
2344
|
-
end
|
2345
|
-
|
2346
|
-
def add_stmt(src, code)
|
2347
|
-
src << code
|
2348
|
-
end
|
2349
|
-
|
2350
|
-
def add_expr_literal(src, code)
|
2351
|
-
src << @indent if src.empty? || src[-1] == ?\n
|
2352
|
-
src << " fprintf(#{@out}, " << code.strip << ');'
|
2353
|
-
end
|
2354
|
-
|
2355
|
-
def add_expr_escaped(src, code)
|
2356
|
-
src << @indent if src.empty? || src[-1] == ?\n
|
2357
|
-
src << ' ' << escaped_expr(code) << ';'
|
2358
|
-
end
|
2359
|
-
|
2360
|
-
def add_expr_debug(src, code)
|
2361
|
-
code.strip!
|
2362
|
-
s = nil
|
2363
|
-
if code =~ /\A\".*?\"\s*,\s*(.*)/
|
2364
|
-
s = $1.gsub(/[%"]/, '\\\1') + '='
|
2365
|
-
end
|
2366
|
-
src << @indent if src.empty? || src[-1] == ?\n
|
2367
|
-
src << " fprintf(stderr, \"*** debug: #{s}\" #{code});"
|
2368
|
-
end
|
2369
|
-
|
2370
|
-
def add_postamble(src)
|
2371
|
-
# empty
|
2372
|
-
end
|
2373
|
-
|
2374
|
-
end
|
2375
|
-
|
2376
|
-
|
2377
|
-
##
|
2378
|
-
## engine for C
|
2379
|
-
##
|
2380
|
-
class Ec < Basic::Engine
|
2381
|
-
include CGenerator
|
2382
|
-
end
|
2383
|
-
|
2384
|
-
|
2385
|
-
class EscapedEc < Ec
|
2386
|
-
include EscapeEnhancer
|
2387
|
-
end
|
2388
|
-
|
2389
|
-
|
2390
|
-
#class XmlEc < Ec
|
2391
|
-
# include EscapeEnhancer
|
2392
|
-
#end
|
2393
|
-
|
2394
|
-
class PI::Ec < PI::Engine
|
2395
|
-
include CGenerator
|
2396
|
-
|
2397
|
-
def init_converter(properties={})
|
2398
|
-
@pi = 'c'
|
2399
|
-
super(properties)
|
2400
|
-
end
|
2401
|
-
|
2402
|
-
end
|
2403
|
-
|
2404
|
-
|
2405
|
-
end
|
2406
|
-
#--end of require 'erubis/engine/ec'
|
2407
|
-
#--begin of require 'erubis/engine/ecpp'
|
2408
|
-
##
|
2409
|
-
## $Release: 2.7.0 $
|
2410
|
-
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
|
2411
|
-
##
|
2412
|
-
|
2413
|
-
#--already included require 'erubis/engine'
|
2414
|
-
#--already included require 'erubis/enhancer'
|
2415
|
-
|
2416
|
-
|
2417
|
-
module Erubis
|
2418
|
-
|
2419
|
-
|
2420
|
-
module CppGenerator
|
2421
|
-
include Generator
|
2422
|
-
|
2423
|
-
def self.supported_properties() # :nodoc:
|
2424
|
-
return [
|
2425
|
-
[:indent, '', "indent spaces (ex. ' ')"],
|
2426
|
-
[:bufvar, '_buf', "buffer variable name"],
|
2427
|
-
]
|
2428
|
-
end
|
2429
|
-
|
2430
|
-
def init_generator(properties={})
|
2431
|
-
super
|
2432
|
-
@escapefunc ||= "escape"
|
2433
|
-
@indent = properties[:indent] || ''
|
2434
|
-
@bufvar = properties[:bufvar] || '_buf'
|
2435
|
-
end
|
2436
|
-
|
2437
|
-
def add_preamble(src)
|
2438
|
-
src << "#line 1 \"#{self.filename}\"\n" if self.filename
|
2439
|
-
end
|
2440
|
-
|
2441
|
-
def escape_text(text)
|
2442
|
-
@@table_ ||= { "\r"=>"\\r", "\n"=>"\\n", "\t"=>"\\t", '"'=>'\\"', "\\"=>"\\\\" }
|
2443
|
-
text.gsub!(/[\r\n\t"\\]/) { |m| @@table_[m] }
|
2444
|
-
return text
|
2445
|
-
end
|
2446
|
-
|
2447
|
-
def escaped_expr(code)
|
2448
|
-
return "#{@escapefunc}(#{code.strip})"
|
2449
|
-
end
|
2450
|
-
|
2451
|
-
def add_text(src, text)
|
2452
|
-
return if text.empty?
|
2453
|
-
src << (src.empty? || src[-1] == ?\n ? @indent : ' ')
|
2454
|
-
src << "_buf << "
|
2455
|
-
i = 0
|
2456
|
-
text.each_line do |line|
|
2457
|
-
src << "\n" << @indent << " " if i > 0
|
2458
|
-
i += 1
|
2459
|
-
src << '"' << escape_text(line) << '"'
|
2460
|
-
end
|
2461
|
-
src << ";" #<< (text[-1] == ?\n ? "\n" : "")
|
2462
|
-
src << "\n" if text[-1] == ?\n
|
2463
|
-
end
|
2464
|
-
|
2465
|
-
def add_stmt(src, code)
|
2466
|
-
src << code
|
2467
|
-
end
|
2468
|
-
|
2469
|
-
def add_expr_literal(src, code)
|
2470
|
-
src << @indent if src.empty? || src[-1] == ?\n
|
2471
|
-
src << " _buf << (" << code.strip << ");"
|
2472
|
-
end
|
2473
|
-
|
2474
|
-
def add_expr_escaped(src, code)
|
2475
|
-
src << @indent if src.empty? || src[-1] == ?\n
|
2476
|
-
src << ' ' << escaped_expr(code) << ';'
|
2477
|
-
end
|
2478
|
-
|
2479
|
-
def add_expr_debug(src, code)
|
2480
|
-
code.strip!
|
2481
|
-
src << @indent if src.empty? || src[-1] == ?\n
|
2482
|
-
src << " std::cerr << \"*** debug: #{code.gsub(/(")/, '\\\&')}=\" << (#{code});"
|
2483
|
-
end
|
2484
|
-
|
2485
|
-
def add_postamble(src)
|
2486
|
-
# empty
|
2487
|
-
end
|
2488
|
-
|
2489
|
-
end
|
2490
|
-
|
2491
|
-
|
2492
|
-
##
|
2493
|
-
## engine for C
|
2494
|
-
##
|
2495
|
-
class Ecpp < Basic::Engine
|
2496
|
-
include CppGenerator
|
2497
|
-
end
|
2498
|
-
|
2499
|
-
|
2500
|
-
class EscapedEcpp < Ecpp
|
2501
|
-
include EscapeEnhancer
|
2502
|
-
end
|
2503
|
-
|
2504
|
-
|
2505
|
-
#class XmlEcpp < Ecpp
|
2506
|
-
# include EscapeEnhancer
|
2507
|
-
#end
|
2508
|
-
|
2509
|
-
class PI::Ecpp < PI::Engine
|
2510
|
-
include CppGenerator
|
2511
|
-
|
2512
|
-
def init_converter(properties={})
|
2513
|
-
@pi = 'cpp'
|
2514
|
-
super(properties)
|
2515
|
-
end
|
2516
|
-
|
2517
|
-
end
|
2518
|
-
|
2519
|
-
|
2520
|
-
end
|
2521
|
-
#--end of require 'erubis/engine/ecpp'
|
2522
|
-
#--begin of require 'erubis/engine/ejava'
|
2523
|
-
##
|
2524
|
-
## $Release: 2.7.0 $
|
2525
|
-
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
|
2526
|
-
##
|
2527
|
-
|
2528
|
-
#--already included require 'erubis/engine'
|
2529
|
-
#--already included require 'erubis/enhancer'
|
2530
|
-
|
2531
|
-
|
2532
|
-
module Erubis
|
2533
|
-
|
2534
|
-
|
2535
|
-
module JavaGenerator
|
2536
|
-
include Generator
|
2537
|
-
|
2538
|
-
def self.supported_properties() # :nodoc:
|
2539
|
-
return [
|
2540
|
-
[:indent, '', "indent spaces (ex. ' ')"],
|
2541
|
-
[:bufvar, '_buf', "output buffer variable name"],
|
2542
|
-
[:bufclass, 'StringBuffer', "output buffer class (ex. 'StringBuilder')"],
|
2543
|
-
]
|
2544
|
-
end
|
2545
|
-
|
2546
|
-
def init_generator(properties={})
|
2547
|
-
super
|
2548
|
-
@escapefunc ||= 'escape'
|
2549
|
-
@indent = properties[:indent] || ''
|
2550
|
-
@bufvar = properties[:bufvar] || '_buf'
|
2551
|
-
@bufclass = properties[:bufclass] || 'StringBuffer'
|
2552
|
-
end
|
2553
|
-
|
2554
|
-
def add_preamble(src)
|
2555
|
-
src << "#{@indent}#{@bufclass} #{@bufvar} = new #{@bufclass}();"
|
2556
|
-
end
|
2557
|
-
|
2558
|
-
def escape_text(text)
|
2559
|
-
@@table_ ||= { "\r"=>"\\r", "\n"=>"\\n", "\t"=>"\\t", '"'=>'\\"', "\\"=>"\\\\" }
|
2560
|
-
return text.gsub!(/[\r\n\t"\\]/) { |m| @@table_[m] } || text
|
2561
|
-
end
|
2562
|
-
|
2563
|
-
def add_text(src, text)
|
2564
|
-
return if text.empty?
|
2565
|
-
src << (src.empty? || src[-1] == ?\n ? @indent : ' ')
|
2566
|
-
src << @bufvar << ".append("
|
2567
|
-
i = 0
|
2568
|
-
text.each_line do |line|
|
2569
|
-
src << "\n" << @indent << ' + ' if i > 0
|
2570
|
-
i += 1
|
2571
|
-
src << '"' << escape_text(line) << '"'
|
2572
|
-
end
|
2573
|
-
src << ");" << (text[-1] == ?\n ? "\n" : "")
|
2574
|
-
end
|
2575
|
-
|
2576
|
-
def add_stmt(src, code)
|
2577
|
-
src << code
|
2578
|
-
end
|
2579
|
-
|
2580
|
-
def add_expr_literal(src, code)
|
2581
|
-
src << @indent if src.empty? || src[-1] == ?\n
|
2582
|
-
code.strip!
|
2583
|
-
src << " #{@bufvar}.append(#{code});"
|
2584
|
-
end
|
2585
|
-
|
2586
|
-
def add_expr_escaped(src, code)
|
2587
|
-
add_expr_literal(src, escaped_expr(code))
|
2588
|
-
end
|
2589
|
-
|
2590
|
-
def add_expr_debug(src, code)
|
2591
|
-
code.strip!
|
2592
|
-
src << @indent if src.empty? || src[-1] == ?\n
|
2593
|
-
src << " System.err.println(\"*** debug: #{code}=\"+(#{code}));"
|
2594
|
-
end
|
2595
|
-
|
2596
|
-
def add_postamble(src)
|
2597
|
-
src << "\n" if src[-1] == ?;
|
2598
|
-
src << @indent << "return " << @bufvar << ".toString();\n"
|
2599
|
-
#src << @indent << "System.out.print(" << @bufvar << ".toString());\n"
|
2600
|
-
end
|
2601
|
-
|
2602
|
-
end
|
2603
|
-
|
2604
|
-
|
2605
|
-
##
|
2606
|
-
## engine for Java
|
2607
|
-
##
|
2608
|
-
class Ejava < Basic::Engine
|
2609
|
-
include JavaGenerator
|
2610
|
-
end
|
2611
|
-
|
2612
|
-
|
2613
|
-
class EscapedEjava < Ejava
|
2614
|
-
include EscapeEnhancer
|
2615
|
-
end
|
2616
|
-
|
2617
|
-
|
2618
|
-
#class XmlEjava < Ejava
|
2619
|
-
# include EscapeEnhancer
|
2620
|
-
#end
|
2621
|
-
|
2622
|
-
class PI::Ejava < PI::Engine
|
2623
|
-
include JavaGenerator
|
2624
|
-
|
2625
|
-
def init_converter(properties={})
|
2626
|
-
@pi = 'java'
|
2627
|
-
super(properties)
|
2628
|
-
end
|
2629
|
-
|
2630
|
-
end
|
2631
|
-
|
2632
|
-
end
|
2633
|
-
#--end of require 'erubis/engine/ejava'
|
2634
|
-
#--begin of require 'erubis/engine/escheme'
|
2635
|
-
##
|
2636
|
-
## $Release: 2.7.0 $
|
2637
|
-
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
|
2638
|
-
##
|
2639
|
-
|
2640
|
-
#--already included require 'erubis/engine'
|
2641
|
-
#--already included require 'erubis/enhancer'
|
2642
|
-
|
2643
|
-
|
2644
|
-
module Erubis
|
2645
|
-
|
2646
|
-
|
2647
|
-
module SchemeGenerator
|
2648
|
-
include Generator
|
2649
|
-
|
2650
|
-
def self.supported_properties() # :nodoc:
|
2651
|
-
return [
|
2652
|
-
[:func, '_add', "function name (ex. 'display')"],
|
2653
|
-
]
|
2654
|
-
end
|
2655
|
-
|
2656
|
-
def init_generator(properties={})
|
2657
|
-
super
|
2658
|
-
@escapefunc ||= 'escape'
|
2659
|
-
@func = properties[:func] || '_add' # or 'display'
|
2660
|
-
end
|
2661
|
-
|
2662
|
-
def add_preamble(src)
|
2663
|
-
return unless @func == '_add'
|
2664
|
-
src << "(let ((_buf '())) " + \
|
2665
|
-
"(define (_add x) (set! _buf (cons x _buf))) "
|
2666
|
-
#src << "(let* ((_buf '())" + \
|
2667
|
-
# " (_add (lambda (x) (set! _buf (cons x _buf))))) "
|
2668
|
-
end
|
2669
|
-
|
2670
|
-
def escape_text(text)
|
2671
|
-
@table_ ||= { '"'=>'\\"', '\\'=>'\\\\' }
|
2672
|
-
text.gsub!(/["\\]/) { |m| @table_[m] }
|
2673
|
-
return text
|
2674
|
-
end
|
2675
|
-
|
2676
|
-
def escaped_expr(code)
|
2677
|
-
code.strip!
|
2678
|
-
return "(#{@escapefunc} #{code})"
|
2679
|
-
end
|
2680
|
-
|
2681
|
-
def add_text(src, text)
|
2682
|
-
return if text.empty?
|
2683
|
-
t = escape_text(text)
|
2684
|
-
if t[-1] == ?\n
|
2685
|
-
t[-1, 1] = ''
|
2686
|
-
src << "(#{@func} \"" << t << "\\n\")\n"
|
2687
|
-
else
|
2688
|
-
src << "(#{@func} \"" << t << '")'
|
2689
|
-
end
|
2690
|
-
end
|
2691
|
-
|
2692
|
-
def add_stmt(src, code)
|
2693
|
-
src << code
|
2694
|
-
end
|
2695
|
-
|
2696
|
-
def add_expr_literal(src, code)
|
2697
|
-
code.strip!
|
2698
|
-
src << "(#{@func} #{code})"
|
2699
|
-
end
|
2700
|
-
|
2701
|
-
def add_expr_escaped(src, code)
|
2702
|
-
add_expr_literal(src, escaped_expr(code))
|
2703
|
-
end
|
2704
|
-
|
2705
|
-
def add_expr_debug(src, code)
|
2706
|
-
s = (code.strip! || code).gsub(/\"/, '\\"')
|
2707
|
-
src << "(display \"*** debug: #{s}=\")(display #{code.strip})(display \"\\n\")"
|
2708
|
-
end
|
2709
|
-
|
2710
|
-
def add_postamble(src)
|
2711
|
-
return unless @func == '_add'
|
2712
|
-
src << "\n" unless src[-1] == ?\n
|
2713
|
-
src << " (reverse _buf))\n"
|
2714
|
-
end
|
2715
|
-
|
2716
|
-
end
|
2717
|
-
|
2718
|
-
|
2719
|
-
##
|
2720
|
-
## engine for Scheme
|
2721
|
-
##
|
2722
|
-
class Escheme < Basic::Engine
|
2723
|
-
include SchemeGenerator
|
2724
|
-
end
|
2725
|
-
|
2726
|
-
|
2727
|
-
class EscapedEscheme < Escheme
|
2728
|
-
include EscapeEnhancer
|
2729
|
-
end
|
2730
|
-
|
2731
|
-
|
2732
|
-
#class XmlEscheme < Escheme
|
2733
|
-
# include EscapeEnhancer
|
2734
|
-
#end
|
2735
|
-
|
2736
|
-
|
2737
|
-
class PI::Escheme < PI::Engine
|
2738
|
-
include SchemeGenerator
|
2739
|
-
|
2740
|
-
def init_converter(properties={})
|
2741
|
-
@pi = 'scheme'
|
2742
|
-
super(properties)
|
2743
|
-
end
|
2744
|
-
|
2745
|
-
end
|
2746
|
-
|
2747
|
-
|
2748
|
-
end
|
2749
|
-
#--end of require 'erubis/engine/escheme'
|
2750
|
-
#--begin of require 'erubis/engine/eperl'
|
2751
|
-
##
|
2752
|
-
## $Release: 2.7.0 $
|
2753
|
-
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
|
2754
|
-
##
|
2755
|
-
|
2756
|
-
#--already included require 'erubis/engine'
|
2757
|
-
#--already included require 'erubis/enhancer'
|
2758
|
-
|
2759
|
-
|
2760
|
-
module Erubis
|
2761
|
-
|
2762
|
-
|
2763
|
-
module PerlGenerator
|
2764
|
-
include Generator
|
2765
|
-
|
2766
|
-
def self.supported_properties() # :nodoc:
|
2767
|
-
return [
|
2768
|
-
[:func, 'print', "function name"],
|
2769
|
-
]
|
2770
|
-
end
|
2771
|
-
|
2772
|
-
def init_generator(properties={})
|
2773
|
-
super
|
2774
|
-
@escapefunc ||= 'encode_entities'
|
2775
|
-
@func = properties[:func] || 'print'
|
2776
|
-
end
|
2777
|
-
|
2778
|
-
def add_preamble(src)
|
2779
|
-
src << "use HTML::Entities; ";
|
2780
|
-
end
|
2781
|
-
|
2782
|
-
def escape_text(text)
|
2783
|
-
return text.gsub!(/['\\]/, '\\\\\&') || text
|
2784
|
-
end
|
2785
|
-
|
2786
|
-
def add_text(src, text)
|
2787
|
-
src << @func << "('" << escape_text(text) << "'); " unless text.empty?
|
2788
|
-
end
|
2789
|
-
|
2790
|
-
def add_expr_literal(src, code)
|
2791
|
-
code.strip!
|
2792
|
-
src << @func << "(" << code << "); "
|
2793
|
-
end
|
2794
|
-
|
2795
|
-
def add_expr_escaped(src, code)
|
2796
|
-
add_expr_literal(src, escaped_expr(code))
|
2797
|
-
end
|
2798
|
-
|
2799
|
-
def add_expr_debug(src, code)
|
2800
|
-
code.strip!
|
2801
|
-
s = code.gsub(/\'/, "\\'")
|
2802
|
-
src << @func << "('*** debug: #{code}=', #{code}, \"\\n\");"
|
2803
|
-
end
|
2804
|
-
|
2805
|
-
def add_stmt(src, code)
|
2806
|
-
src << code
|
2807
|
-
end
|
2808
|
-
|
2809
|
-
def add_postamble(src)
|
2810
|
-
src << "\n" unless src[-1] == ?\n
|
2811
|
-
end
|
2812
|
-
|
2813
|
-
end
|
2814
|
-
|
2815
|
-
|
2816
|
-
##
|
2817
|
-
## engine for Perl
|
2818
|
-
##
|
2819
|
-
class Eperl < Basic::Engine
|
2820
|
-
include PerlGenerator
|
2821
|
-
end
|
2822
|
-
|
2823
|
-
|
2824
|
-
class EscapedEperl < Eperl
|
2825
|
-
include EscapeEnhancer
|
2826
|
-
end
|
2827
|
-
|
2828
|
-
|
2829
|
-
#class XmlEperl < Eperl
|
2830
|
-
# include EscapeEnhancer
|
2831
|
-
#end
|
2832
|
-
|
2833
|
-
|
2834
|
-
class PI::Eperl < PI::Engine
|
2835
|
-
include PerlGenerator
|
2836
|
-
|
2837
|
-
def init_converter(properties={})
|
2838
|
-
@pi = 'perl'
|
2839
|
-
super(properties)
|
2840
|
-
end
|
2841
|
-
|
2842
|
-
end
|
2843
|
-
|
2844
|
-
|
2845
|
-
end
|
2846
|
-
#--end of require 'erubis/engine/eperl'
|
2847
|
-
#--begin of require 'erubis/engine/ejavascript'
|
2848
|
-
##
|
2849
|
-
## $Release: 2.7.0 $
|
2850
|
-
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
|
2851
|
-
##
|
2852
|
-
|
2853
|
-
#--already included require 'erubis/engine'
|
2854
|
-
#--already included require 'erubis/enhancer'
|
2855
|
-
|
2856
|
-
|
2857
|
-
module Erubis
|
2858
|
-
|
2859
|
-
|
2860
|
-
module JavascriptGenerator
|
2861
|
-
include Generator
|
2862
|
-
|
2863
|
-
def self.supported_properties() # :nodoc:
|
2864
|
-
list = []
|
2865
|
-
#list << [:indent, '', "indent spaces (ex. ' ')"]
|
2866
|
-
#list << [:bufvar, '_buf', "output buffer variable name"]
|
2867
|
-
list << [:docwrite, true, "use 'document.write()' when true"]
|
2868
|
-
return list
|
2869
|
-
end
|
2870
|
-
|
2871
|
-
def init_generator(properties={})
|
2872
|
-
super
|
2873
|
-
@escapefunc ||= 'escape'
|
2874
|
-
@indent = properties[:indent] || ''
|
2875
|
-
@bufvar = properties[:bufvar] || '_buf'
|
2876
|
-
@docwrite = properties[:docwrite] != false # '!= false' will be removed in the next release
|
2877
|
-
end
|
2878
|
-
|
2879
|
-
def add_preamble(src)
|
2880
|
-
src << "#{@indent}var #{@bufvar} = [];"
|
2881
|
-
end
|
2882
|
-
|
2883
|
-
def escape_text(text)
|
2884
|
-
@@table_ ||= { "\r"=>"\\r", "\n"=>"\\n\\\n", "\t"=>"\\t", '"'=>'\\"', "\\"=>"\\\\" }
|
2885
|
-
return text.gsub!(/[\r\n\t"\\]/) { |m| @@table_[m] } || text
|
2886
|
-
end
|
2887
|
-
|
2888
|
-
def add_indent(src, indent)
|
2889
|
-
src << (src.empty? || src[-1] == ?\n ? indent : ' ')
|
2890
|
-
end
|
2891
|
-
|
2892
|
-
def add_text(src, text)
|
2893
|
-
return if text.empty?
|
2894
|
-
add_indent(src, @indent)
|
2895
|
-
src << @bufvar << '.push("'
|
2896
|
-
s = escape_text(text)
|
2897
|
-
if s[-1] == ?\n
|
2898
|
-
s[-2, 2] = ''
|
2899
|
-
src << s << "\");\n"
|
2900
|
-
else
|
2901
|
-
src << s << "\");"
|
2902
|
-
end
|
2903
|
-
end
|
2904
|
-
|
2905
|
-
def add_stmt(src, code)
|
2906
|
-
src << code
|
2907
|
-
end
|
2908
|
-
|
2909
|
-
def add_expr_literal(src, code)
|
2910
|
-
add_indent(src, @indent)
|
2911
|
-
code.strip!
|
2912
|
-
src << "#{@bufvar}.push(#{code});"
|
2913
|
-
end
|
2914
|
-
|
2915
|
-
def add_expr_escaped(src, code)
|
2916
|
-
add_expr_literal(src, escaped_expr(code))
|
2917
|
-
end
|
2918
|
-
|
2919
|
-
def add_expr_debug(src, code)
|
2920
|
-
add_indent(src, @indent)
|
2921
|
-
code.strip!
|
2922
|
-
src << "alert(\"*** debug: #{code}=\"+(#{code}));"
|
2923
|
-
end
|
2924
|
-
|
2925
|
-
def add_postamble(src)
|
2926
|
-
src << "\n" if src[-1] == ?;
|
2927
|
-
if @docwrite
|
2928
|
-
src << @indent << 'document.write(' << @bufvar << ".join(\"\"));\n"
|
2929
|
-
else
|
2930
|
-
src << @indent << @bufvar << ".join(\"\");\n"
|
2931
|
-
end
|
2932
|
-
end
|
2933
|
-
|
2934
|
-
end
|
2935
|
-
|
2936
|
-
|
2937
|
-
##
|
2938
|
-
## engine for JavaScript
|
2939
|
-
##
|
2940
|
-
class Ejavascript < Basic::Engine
|
2941
|
-
include JavascriptGenerator
|
2942
|
-
end
|
2943
|
-
|
2944
|
-
|
2945
|
-
class EscapedEjavascript < Ejavascript
|
2946
|
-
include EscapeEnhancer
|
2947
|
-
end
|
2948
|
-
|
2949
|
-
|
2950
|
-
#class XmlEjavascript < Ejavascript
|
2951
|
-
# include EscapeEnhancer
|
2952
|
-
#end
|
2953
|
-
|
2954
|
-
|
2955
|
-
class PI::Ejavascript < PI::Engine
|
2956
|
-
include JavascriptGenerator
|
2957
|
-
|
2958
|
-
def init_converter(properties={})
|
2959
|
-
@pi = 'js'
|
2960
|
-
super(properties)
|
2961
|
-
end
|
2962
|
-
|
2963
|
-
end
|
2964
|
-
|
2965
|
-
|
2966
|
-
end
|
2967
|
-
#--end of require 'erubis/engine/ejavascript'
|
2968
|
-
|
2969
|
-
|
2970
|
-
module Erubis
|
2971
|
-
|
2972
|
-
|
2973
|
-
Ejs = Ejavascript
|
2974
|
-
EscapedEjs = EscapedEjavascript
|
2975
|
-
|
2976
|
-
|
2977
|
-
class CommandOptionError < ErubisError
|
2978
|
-
end
|
2979
|
-
|
2980
|
-
|
2981
|
-
##
|
2982
|
-
## main class of command
|
2983
|
-
##
|
2984
|
-
## ex.
|
2985
|
-
## Main.main(ARGV)
|
2986
|
-
##
|
2987
|
-
class Main
|
2988
|
-
|
2989
|
-
def self.main(argv=ARGV)
|
2990
|
-
status = 0
|
2991
|
-
begin
|
2992
|
-
Main.new.execute(ARGV)
|
2993
|
-
rescue CommandOptionError => ex
|
2994
|
-
$stderr.puts ex.message
|
2995
|
-
status = 1
|
2996
|
-
end
|
2997
|
-
exit(status)
|
2998
|
-
end
|
2999
|
-
|
3000
|
-
def initialize
|
3001
|
-
@single_options = "hvxztTSbeBXNUC"
|
3002
|
-
@arg_options = "pcrfKIlaE" #C
|
3003
|
-
@option_names = {
|
3004
|
-
'h' => :help,
|
3005
|
-
'v' => :version,
|
3006
|
-
'x' => :source,
|
3007
|
-
'z' => :syntax,
|
3008
|
-
'T' => :unexpand,
|
3009
|
-
't' => :untabify, # obsolete
|
3010
|
-
'S' => :intern,
|
3011
|
-
'b' => :bodyonly,
|
3012
|
-
'B' => :binding,
|
3013
|
-
'p' => :pattern,
|
3014
|
-
'c' => :context,
|
3015
|
-
#'C' => :class,
|
3016
|
-
'e' => :escape,
|
3017
|
-
'r' => :requires,
|
3018
|
-
'f' => :datafiles,
|
3019
|
-
'K' => :kanji,
|
3020
|
-
'I' => :includes,
|
3021
|
-
'l' => :lang,
|
3022
|
-
'a' => :action,
|
3023
|
-
'E' => :enhancers,
|
3024
|
-
'X' => :notext,
|
3025
|
-
'N' => :linenum,
|
3026
|
-
'U' => :unique,
|
3027
|
-
'C' => :compact,
|
3028
|
-
}
|
3029
|
-
assert unless @single_options.length + @arg_options.length == @option_names.length
|
3030
|
-
(@single_options + @arg_options).each_byte do |ch|
|
3031
|
-
assert unless @option_names.key?(ch.chr)
|
3032
|
-
end
|
3033
|
-
end
|
3034
|
-
|
3035
|
-
|
3036
|
-
def execute(argv=ARGV)
|
3037
|
-
## parse command-line options
|
3038
|
-
options, properties = parse_argv(argv, @single_options, @arg_options)
|
3039
|
-
filenames = argv
|
3040
|
-
options['h'] = true if properties[:help]
|
3041
|
-
opts = Object.new
|
3042
|
-
arr = @option_names.collect {|ch, name| "def #{name}; @#{name}; end\n" }
|
3043
|
-
opts.instance_eval arr.join
|
3044
|
-
options.each do |ch, val|
|
3045
|
-
name = @option_names[ch]
|
3046
|
-
opts.instance_variable_set("@#{name}", val)
|
3047
|
-
end
|
3048
|
-
|
3049
|
-
## help, version, enhancer list
|
3050
|
-
if opts.help || opts.version
|
3051
|
-
puts version() if opts.version
|
3052
|
-
puts usage() if opts.help
|
3053
|
-
puts show_properties() if opts.help
|
3054
|
-
puts show_enhancers() if opts.help
|
3055
|
-
return
|
3056
|
-
end
|
3057
|
-
|
3058
|
-
## include path
|
3059
|
-
opts.includes.split(/,/).each do |path|
|
3060
|
-
$: << path
|
3061
|
-
end if opts.includes
|
3062
|
-
|
3063
|
-
## require library
|
3064
|
-
opts.requires.split(/,/).each do |library|
|
3065
|
-
require library
|
3066
|
-
end if opts.requires
|
3067
|
-
|
3068
|
-
## action
|
3069
|
-
action = opts.action
|
3070
|
-
action ||= 'syntax' if opts.syntax
|
3071
|
-
action ||= 'convert' if opts.source || opts.notext
|
3072
|
-
|
3073
|
-
## lang
|
3074
|
-
lang = opts.lang || 'ruby'
|
3075
|
-
action ||= 'convert' if opts.lang
|
3076
|
-
|
3077
|
-
## class name of Eruby
|
3078
|
-
#classname = opts.class
|
3079
|
-
classname = nil
|
3080
|
-
klass = get_classobj(classname, lang, properties[:pi])
|
3081
|
-
|
3082
|
-
## kanji code
|
3083
|
-
$KCODE = opts.kanji if opts.kanji
|
3084
|
-
|
3085
|
-
## read context values from yaml file
|
3086
|
-
datafiles = opts.datafiles
|
3087
|
-
context = load_datafiles(datafiles, opts)
|
3088
|
-
|
3089
|
-
## parse context data
|
3090
|
-
if opts.context
|
3091
|
-
context = parse_context_data(opts.context, opts)
|
3092
|
-
end
|
3093
|
-
|
3094
|
-
## properties for engine
|
3095
|
-
properties[:escape] = true if opts.escape && !properties.key?(:escape)
|
3096
|
-
properties[:pattern] = opts.pattern if opts.pattern
|
3097
|
-
#properties[:trim] = false if opts.notrim
|
3098
|
-
properties[:preamble] = properties[:postamble] = false if opts.bodyonly
|
3099
|
-
properties[:pi] = nil if properties[:pi] == true
|
3100
|
-
|
3101
|
-
## create engine and extend enhancers
|
3102
|
-
engine = klass.new(nil, properties)
|
3103
|
-
enhancers = get_enhancers(opts.enhancers)
|
3104
|
-
#enhancers.push(Erubis::EscapeEnhancer) if opts.escape
|
3105
|
-
enhancers.each do |enhancer|
|
3106
|
-
engine.extend(enhancer)
|
3107
|
-
engine.bipattern = properties[:bipattern] if enhancer == Erubis::BiPatternEnhancer
|
3108
|
-
end
|
3109
|
-
|
3110
|
-
## no-text
|
3111
|
-
engine.extend(Erubis::NoTextEnhancer) if opts.notext
|
3112
|
-
|
3113
|
-
## convert and execute
|
3114
|
-
val = nil
|
3115
|
-
msg = "Syntax OK\n"
|
3116
|
-
if filenames && !filenames.empty?
|
3117
|
-
filenames.each do |filename|
|
3118
|
-
File.file?(filename) or
|
3119
|
-
raise CommandOptionError.new("#{filename}: file not found.")
|
3120
|
-
engine.filename = filename
|
3121
|
-
engine.convert!(File.read(filename))
|
3122
|
-
val = do_action(action, engine, context, filename, opts)
|
3123
|
-
msg = nil if val
|
3124
|
-
end
|
3125
|
-
else
|
3126
|
-
engine.filename = filename = '(stdin)'
|
3127
|
-
engine.convert!($stdin.read())
|
3128
|
-
val = do_action(action, engine, context, filename, opts)
|
3129
|
-
msg = nil if val
|
3130
|
-
end
|
3131
|
-
print msg if action == 'syntax' && msg
|
3132
|
-
|
3133
|
-
end
|
3134
|
-
|
3135
|
-
private
|
3136
|
-
|
3137
|
-
def do_action(action, engine, context, filename, opts)
|
3138
|
-
case action
|
3139
|
-
when 'convert'
|
3140
|
-
s = manipulate_src(engine.src, opts)
|
3141
|
-
when nil, 'exec', 'execute'
|
3142
|
-
s = opts.binding ? engine.result(context.to_hash) : engine.evaluate(context)
|
3143
|
-
when 'syntax'
|
3144
|
-
s = check_syntax(filename, engine.src)
|
3145
|
-
else
|
3146
|
-
raise "*** internal error"
|
3147
|
-
end
|
3148
|
-
print s if s
|
3149
|
-
return s
|
3150
|
-
end
|
3151
|
-
|
3152
|
-
def manipulate_src(source, opts)
|
3153
|
-
flag_linenum = opts.linenum
|
3154
|
-
flag_unique = opts.unique
|
3155
|
-
flag_compact = opts.compact
|
3156
|
-
if flag_linenum
|
3157
|
-
n = 0
|
3158
|
-
source.gsub!(/^/) { n += 1; "%5d: " % n }
|
3159
|
-
source.gsub!(/^ *\d+:\s+?\n/, '') if flag_compact
|
3160
|
-
source.gsub!(/(^ *\d+:\s+?\n)+/, "\n") if flag_unique
|
3161
|
-
else
|
3162
|
-
source.gsub!(/^\s*?\n/, '') if flag_compact
|
3163
|
-
source.gsub!(/(^\s*?\n)+/, "\n") if flag_unique
|
3164
|
-
end
|
3165
|
-
return source
|
3166
|
-
end
|
3167
|
-
|
3168
|
-
def usage(command=nil)
|
3169
|
-
command ||= File.basename($0)
|
3170
|
-
buf = []
|
3171
|
-
buf << "erubis - embedded program converter for multi-language"
|
3172
|
-
buf << "Usage: #{command} [..options..] [file ...]"
|
3173
|
-
buf << " -h, --help : help"
|
3174
|
-
buf << " -v : version"
|
3175
|
-
buf << " -x : show converted code"
|
3176
|
-
buf << " -X : show converted code, only ruby code and no text part"
|
3177
|
-
buf << " -N : numbering: add line numbers (for '-x/-X')"
|
3178
|
-
buf << " -U : unique: compress empty lines to a line (for '-x/-X')"
|
3179
|
-
buf << " -C : compact: remove empty lines (for '-x/-X')"
|
3180
|
-
buf << " -b : body only: no preamble nor postamble (for '-x/-X')"
|
3181
|
-
buf << " -z : syntax checking"
|
3182
|
-
buf << " -e : escape (equal to '--E Escape')"
|
3183
|
-
buf << " -p pattern : embedded pattern (default '<% %>')"
|
3184
|
-
buf << " -l lang : convert but no execute (ruby/php/c/cpp/java/scheme/perl/js)"
|
3185
|
-
buf << " -E e1,e2,... : enhancer names (Escape, PercentLine, BiPattern, ...)"
|
3186
|
-
buf << " -I path : library include path"
|
3187
|
-
buf << " -K kanji : kanji code (euc/sjis/utf8) (default none)"
|
3188
|
-
buf << " -c context : context data string (yaml inline style or ruby code)"
|
3189
|
-
buf << " -f datafile : context data file ('*.yaml', '*.yml', or '*.rb')"
|
3190
|
-
#buf << " -t : expand tab characters in YAML file"
|
3191
|
-
buf << " -T : don't expand tab characters in YAML file"
|
3192
|
-
buf << " -S : convert mapping key from string to symbol in YAML file"
|
3193
|
-
buf << " -B : invoke 'result(binding)' instead of 'evaluate(context)'"
|
3194
|
-
buf << " --pi=name : parse '<?name ... ?>' instead of '<% ... %>'"
|
3195
|
-
#'
|
3196
|
-
# -T : don't trim spaces around '<% %>'
|
3197
|
-
# -c class : class name (XmlEruby/PercentLineEruby/...) (default Eruby)
|
3198
|
-
# -r library : require library
|
3199
|
-
# -a : action (convert/execute)
|
3200
|
-
return buf.join("\n")
|
3201
|
-
end
|
3202
|
-
|
3203
|
-
def collect_supported_properties(erubis_klass)
|
3204
|
-
list = []
|
3205
|
-
erubis_klass.ancestors.each do |klass|
|
3206
|
-
if klass.respond_to?(:supported_properties)
|
3207
|
-
list.concat(klass.supported_properties)
|
3208
|
-
end
|
3209
|
-
end
|
3210
|
-
return list
|
3211
|
-
end
|
3212
|
-
|
3213
|
-
def show_properties
|
3214
|
-
s = "supported properties:\n"
|
3215
|
-
basic_props = collect_supported_properties(Erubis::Basic::Engine)
|
3216
|
-
pi_props = collect_supported_properties(Erubis::PI::Engine)
|
3217
|
-
list = []
|
3218
|
-
common_props = basic_props & pi_props
|
3219
|
-
list << ['(common)', common_props]
|
3220
|
-
list << ['(basic)', basic_props - common_props]
|
3221
|
-
list << ['(pi)', pi_props - common_props]
|
3222
|
-
%w[ruby php c cpp java scheme perl javascript].each do |lang|
|
3223
|
-
klass = Erubis.const_get("E#{lang}")
|
3224
|
-
list << [lang, collect_supported_properties(klass) - basic_props]
|
3225
|
-
end
|
3226
|
-
list.each do |lang, props|
|
3227
|
-
s << " * #{lang}\n"
|
3228
|
-
props.each do |name, default_val, desc|
|
3229
|
-
s << (" --%-23s : %s\n" % ["#{name}=#{default_val.inspect}", desc])
|
3230
|
-
end
|
3231
|
-
end
|
3232
|
-
s << "\n"
|
3233
|
-
return s
|
3234
|
-
end
|
3235
|
-
|
3236
|
-
def show_enhancers
|
3237
|
-
dict = {}
|
3238
|
-
ObjectSpace.each_object(Module) do |mod|
|
3239
|
-
dict[$1] = mod if mod.name =~ /\AErubis::(.*)Enhancer\z/
|
3240
|
-
end
|
3241
|
-
s = "enhancers:\n"
|
3242
|
-
dict.sort_by {|name, mod| name }.each do |name, mod|
|
3243
|
-
s << (" %-13s : %s\n" % [name, mod.desc])
|
3244
|
-
end
|
3245
|
-
return s
|
3246
|
-
end
|
3247
|
-
|
3248
|
-
def version
|
3249
|
-
return Erubis::VERSION
|
3250
|
-
end
|
3251
|
-
|
3252
|
-
def parse_argv(argv, arg_none='', arg_required='', arg_optional='')
|
3253
|
-
options = {}
|
3254
|
-
context = {}
|
3255
|
-
while argv[0] && argv[0][0] == ?-
|
3256
|
-
optstr = argv.shift
|
3257
|
-
optstr = optstr[1, optstr.length-1]
|
3258
|
-
#
|
3259
|
-
if optstr[0] == ?- # context
|
3260
|
-
optstr =~ /\A\-([-\w]+)(?:=(.*))?/ or
|
3261
|
-
raise CommandOptionError.new("-#{optstr}: invalid context value.")
|
3262
|
-
name, value = $1, $2
|
3263
|
-
name = name.gsub(/-/, '_').intern
|
3264
|
-
#value = value.nil? ? true : YAML.load(value) # error, why?
|
3265
|
-
value = value.nil? ? true : YAML.load("---\n#{value}\n")
|
3266
|
-
context[name] = value
|
3267
|
-
#
|
3268
|
-
else # options
|
3269
|
-
while optstr && !optstr.empty?
|
3270
|
-
optchar = optstr[0].chr
|
3271
|
-
optstr = optstr[1..-1]
|
3272
|
-
if arg_none.include?(optchar)
|
3273
|
-
options[optchar] = true
|
3274
|
-
elsif arg_required.include?(optchar)
|
3275
|
-
arg = optstr.empty? ? argv.shift : optstr or
|
3276
|
-
raise CommandOptionError.new("-#{optchar}: #{@option_names[optchar]} required.")
|
3277
|
-
options[optchar] = arg
|
3278
|
-
optstr = nil
|
3279
|
-
elsif arg_optional.include?(optchar)
|
3280
|
-
arg = optstr.empty? ? true : optstr
|
3281
|
-
options[optchar] = arg
|
3282
|
-
optstr = nil
|
3283
|
-
else
|
3284
|
-
raise CommandOptionError.new("-#{optchar}: unknown option.")
|
3285
|
-
end
|
3286
|
-
end
|
3287
|
-
end
|
3288
|
-
#
|
3289
|
-
end # end of while
|
3290
|
-
|
3291
|
-
return options, context
|
3292
|
-
end
|
3293
|
-
|
3294
|
-
|
3295
|
-
def untabify(str, width=8)
|
3296
|
-
list = str.split(/\t/)
|
3297
|
-
last = list.pop
|
3298
|
-
sb = ''
|
3299
|
-
list.each do |s|
|
3300
|
-
column = (n = s.rindex(?\n)) ? s.length - n - 1 : s.length
|
3301
|
-
n = width - (column % width)
|
3302
|
-
sb << s << (' ' * n)
|
3303
|
-
end
|
3304
|
-
sb << last
|
3305
|
-
return sb
|
3306
|
-
end
|
3307
|
-
#--
|
3308
|
-
#def untabify(str, width=8)
|
3309
|
-
# sb = ''
|
3310
|
-
# str.scan(/(.*?)\t/m) do |s, |
|
3311
|
-
# len = (n = s.rindex(?\n)) ? s.length - n - 1 : s.length
|
3312
|
-
# sb << s << (" " * (width - len % width))
|
3313
|
-
# end
|
3314
|
-
# return $' ? (sb << $') : str
|
3315
|
-
#end
|
3316
|
-
#++
|
3317
|
-
|
3318
|
-
|
3319
|
-
def get_classobj(classname, lang, pi)
|
3320
|
-
classname ||= "E#{lang}"
|
3321
|
-
base_module = pi ? Erubis::PI : Erubis
|
3322
|
-
begin
|
3323
|
-
klass = base_module.const_get(classname)
|
3324
|
-
rescue NameError
|
3325
|
-
klass = nil
|
3326
|
-
end
|
3327
|
-
unless klass
|
3328
|
-
if lang
|
3329
|
-
msg = "-l #{lang}: invalid language name (class #{base_module.name}::#{classname} not found)."
|
3330
|
-
else
|
3331
|
-
msg = "-c #{classname}: invalid class name."
|
3332
|
-
end
|
3333
|
-
raise CommandOptionError.new(msg)
|
3334
|
-
end
|
3335
|
-
return klass
|
3336
|
-
end
|
3337
|
-
|
3338
|
-
def get_enhancers(enhancer_names)
|
3339
|
-
return [] unless enhancer_names
|
3340
|
-
enhancers = []
|
3341
|
-
shortname = nil
|
3342
|
-
begin
|
3343
|
-
enhancer_names.split(/,/).each do |name|
|
3344
|
-
shortname = name
|
3345
|
-
enhancers << Erubis.const_get("#{shortname}Enhancer")
|
3346
|
-
end
|
3347
|
-
rescue NameError
|
3348
|
-
raise CommandOptionError.new("#{shortname}: no such Enhancer (try '-h' to show all enhancers).")
|
3349
|
-
end
|
3350
|
-
return enhancers
|
3351
|
-
end
|
3352
|
-
|
3353
|
-
def load_datafiles(filenames, opts)
|
3354
|
-
context = Erubis::Context.new
|
3355
|
-
return context unless filenames
|
3356
|
-
filenames.split(/,/).each do |filename|
|
3357
|
-
filename.strip!
|
3358
|
-
test(?f, filename) or raise CommandOptionError.new("#{filename}: file not found.")
|
3359
|
-
if filename =~ /\.ya?ml$/
|
3360
|
-
if opts.unexpand
|
3361
|
-
ydoc = YAML.load_file(filename)
|
3362
|
-
else
|
3363
|
-
ydoc = YAML.load(untabify(File.read(filename)))
|
3364
|
-
end
|
3365
|
-
ydoc.is_a?(Hash) or raise CommandOptionError.new("#{filename}: root object is not a mapping.")
|
3366
|
-
intern_hash_keys(ydoc) if opts.intern
|
3367
|
-
context.update(ydoc)
|
3368
|
-
elsif filename =~ /\.rb$/
|
3369
|
-
str = File.read(filename)
|
3370
|
-
context2 = Erubis::Context.new
|
3371
|
-
_instance_eval(context2, str)
|
3372
|
-
context.update(context2)
|
3373
|
-
else
|
3374
|
-
CommandOptionError.new("#{filename}: '*.yaml', '*.yml', or '*.rb' required.")
|
3375
|
-
end
|
3376
|
-
end
|
3377
|
-
return context
|
3378
|
-
end
|
3379
|
-
|
3380
|
-
def _instance_eval(_context, _str)
|
3381
|
-
_context.instance_eval(_str)
|
3382
|
-
end
|
3383
|
-
|
3384
|
-
def parse_context_data(context_str, opts)
|
3385
|
-
if context_str[0] == ?{
|
3386
|
-
require 'yaml'
|
3387
|
-
ydoc = YAML.load(context_str)
|
3388
|
-
unless ydoc.is_a?(Hash)
|
3389
|
-
raise CommandOptionError.new("-c: root object is not a mapping.")
|
3390
|
-
end
|
3391
|
-
intern_hash_keys(ydoc) if opts.intern
|
3392
|
-
return ydoc
|
3393
|
-
else
|
3394
|
-
context = Erubis::Context.new
|
3395
|
-
context.instance_eval(context_str, '-c')
|
3396
|
-
return context
|
3397
|
-
end
|
3398
|
-
end
|
3399
|
-
|
3400
|
-
def intern_hash_keys(obj, done={})
|
3401
|
-
return if done.key?(obj.__id__)
|
3402
|
-
case obj
|
3403
|
-
when Hash
|
3404
|
-
done[obj.__id__] = obj
|
3405
|
-
obj.keys.each do |key|
|
3406
|
-
obj[key.intern] = obj.delete(key) if key.is_a?(String)
|
3407
|
-
end
|
3408
|
-
obj.values.each do |val|
|
3409
|
-
intern_hash_keys(val, done) if val.is_a?(Hash) || val.is_a?(Array)
|
3410
|
-
end
|
3411
|
-
when Array
|
3412
|
-
done[obj.__id__] = obj
|
3413
|
-
obj.each do |val|
|
3414
|
-
intern_hash_keys(val, done) if val.is_a?(Hash) || val.is_a?(Array)
|
3415
|
-
end
|
3416
|
-
end
|
3417
|
-
end
|
3418
|
-
|
3419
|
-
def check_syntax(filename, src)
|
3420
|
-
require 'open3'
|
3421
|
-
#command = (ENV['_'] || 'ruby') + ' -wc' # ENV['_'] stores command name
|
3422
|
-
bin = ENV['_'] && File.basename(ENV['_']) =~ /^ruby/ ? ENV['_'] : 'ruby'
|
3423
|
-
command = bin + ' -wc'
|
3424
|
-
stdin, stdout, stderr = Open3.popen3(command)
|
3425
|
-
stdin.write(src)
|
3426
|
-
stdin.close
|
3427
|
-
result = stdout.read()
|
3428
|
-
stdout.close()
|
3429
|
-
errmsg = stderr.read()
|
3430
|
-
stderr.close()
|
3431
|
-
return nil unless errmsg && !errmsg.empty?
|
3432
|
-
errmsg =~ /\A-:(\d+): /
|
3433
|
-
linenum, message = $1, $'
|
3434
|
-
return "#{filename}:#{linenum}: #{message}"
|
3435
|
-
end
|
3436
|
-
|
3437
|
-
if defined?(RUBY_ENGINE) && RUBY_ENGINE == "rbx"
|
3438
|
-
def check_syntax(filename, src)
|
3439
|
-
require 'compiler'
|
3440
|
-
verbose = $VERBOSE
|
3441
|
-
msg = nil
|
3442
|
-
begin
|
3443
|
-
$VERBOSE = true
|
3444
|
-
Rubinius::Compiler.compile_string(src, filename)
|
3445
|
-
rescue SyntaxError => ex
|
3446
|
-
ex_linenum = ex.line
|
3447
|
-
linenum = 0
|
3448
|
-
srcline = src.each_line do |line|
|
3449
|
-
linenum += 1
|
3450
|
-
break line if linenum == ex_linenum
|
3451
|
-
end
|
3452
|
-
msg = "#{ex.message}\n"
|
3453
|
-
msg << srcline
|
3454
|
-
msg << "\n" unless srcline =~ /\n\z/
|
3455
|
-
msg << (" " * (ex.column-1)) << "^\n"
|
3456
|
-
ensure
|
3457
|
-
$VERBOSE = verbose
|
3458
|
-
end
|
3459
|
-
return msg
|
3460
|
-
end
|
3461
|
-
end
|
3462
|
-
|
3463
|
-
end
|
3464
|
-
|
3465
|
-
end
|
3466
|
-
#--end of require 'erubis/main'
|
3467
|
-
|
3468
|
-
Erubis::Main.main(ARGV)
|