iisconfig 0.0.1.pre2 → 0.0.1.pre3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (655) hide show
  1. data/VERSION +1 -1
  2. metadata +8 -661
  3. data/build/bundler/ruby/1.9.1/bin/bozo +0 -19
  4. data/build/bundler/ruby/1.9.1/bin/bozo.bat +0 -6
  5. data/build/bundler/ruby/1.9.1/bin/erubis +0 -19
  6. data/build/bundler/ruby/1.9.1/bin/erubis.bat +0 -6
  7. data/build/bundler/ruby/1.9.1/bin/gli +0 -19
  8. data/build/bundler/ruby/1.9.1/bin/gli.bat +0 -6
  9. data/build/bundler/ruby/1.9.1/bin/nokogiri +0 -19
  10. data/build/bundler/ruby/1.9.1/bin/nokogiri.bat +0 -6
  11. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-2cbbc5714688/Gemfile +0 -8
  12. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-2cbbc5714688/LICENSE +0 -19
  13. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-2cbbc5714688/README.md +0 -401
  14. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-2cbbc5714688/VERSION +0 -1
  15. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-2cbbc5714688/bin/bozo +0 -9
  16. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-2cbbc5714688/bozo.gemspec +0 -28
  17. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-2cbbc5714688/bozorc.rb +0 -10
  18. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-2cbbc5714688/lib/bozo/bozo.rb +0 -7
  19. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-2cbbc5714688/lib/bozo/bozo_configuration.rb +0 -298
  20. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-2cbbc5714688/lib/bozo/configuration_error.rb +0 -30
  21. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-2cbbc5714688/lib/bozo/execution_error.rb +0 -36
  22. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-2cbbc5714688/lib/bozo/executor.rb +0 -271
  23. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-2cbbc5714688/lib/bozo/runner.rb +0 -87
  24. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-2cbbc5714688/lib/bozo.rb +0 -122
  25. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-scripts-950046ad1602/Gemfile +0 -7
  26. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-scripts-950046ad1602/LICENSE +0 -19
  27. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-scripts-950046ad1602/bozo-scripts.gemspec +0 -21
  28. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-scripts-950046ad1602/lib/bozo/compilers/msbuild.rb +0 -117
  29. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-scripts-950046ad1602/lib/bozo/configuration.rb +0 -141
  30. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-scripts-950046ad1602/lib/bozo/dependency_resolvers/bundler.rb +0 -54
  31. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-scripts-950046ad1602/lib/bozo/dependency_resolvers/nuget.rb +0 -86
  32. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-scripts-950046ad1602/lib/bozo/erubis_templating_coordinator.rb +0 -128
  33. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-scripts-950046ad1602/lib/bozo/hooks/common_assembly_info.rb +0 -34
  34. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-scripts-950046ad1602/lib/bozo/hooks/file_templating.rb +0 -153
  35. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-scripts-950046ad1602/lib/bozo/hooks/fxcop.rb +0 -152
  36. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-scripts-950046ad1602/lib/bozo/hooks/git_commit_hashes.rb +0 -12
  37. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-scripts-950046ad1602/lib/bozo/hooks/git_tag_release.rb +0 -23
  38. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-scripts-950046ad1602/lib/bozo/hooks/teamcity.rb +0 -57
  39. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-scripts-950046ad1602/lib/bozo/hooks/timing.rb +0 -41
  40. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-scripts-950046ad1602/lib/bozo/packagers/nuget.rb +0 -121
  41. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-scripts-950046ad1602/lib/bozo/packagers/rubygems.rb +0 -24
  42. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-scripts-950046ad1602/lib/bozo/publishers/file_copy.rb +0 -83
  43. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-scripts-950046ad1602/lib/bozo/publishers/rubygems.rb +0 -18
  44. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-scripts-950046ad1602/lib/bozo/test_runners/nunit.rb +0 -71
  45. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-scripts-950046ad1602/lib/bozo/test_runners/runit.rb +0 -35
  46. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-scripts-950046ad1602/lib/bozo/version.rb +0 -5
  47. data/build/bundler/ruby/1.9.1/bundler/gems/bozo-scripts-950046ad1602/lib/bozo_scripts.rb +0 -25
  48. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-722eb92a76ba7fa008fa1137197acb57509a3678/HEAD +0 -1
  49. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-722eb92a76ba7fa008fa1137197acb57509a3678/config +0 -9
  50. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-722eb92a76ba7fa008fa1137197acb57509a3678/description +0 -1
  51. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-722eb92a76ba7fa008fa1137197acb57509a3678/hooks/applypatch-msg.sample +0 -15
  52. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-722eb92a76ba7fa008fa1137197acb57509a3678/hooks/commit-msg.sample +0 -24
  53. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-722eb92a76ba7fa008fa1137197acb57509a3678/hooks/post-commit.sample +0 -8
  54. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-722eb92a76ba7fa008fa1137197acb57509a3678/hooks/post-receive.sample +0 -15
  55. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-722eb92a76ba7fa008fa1137197acb57509a3678/hooks/post-update.sample +0 -8
  56. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-722eb92a76ba7fa008fa1137197acb57509a3678/hooks/pre-applypatch.sample +0 -14
  57. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-722eb92a76ba7fa008fa1137197acb57509a3678/hooks/pre-commit.sample +0 -46
  58. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-722eb92a76ba7fa008fa1137197acb57509a3678/hooks/pre-rebase.sample +0 -169
  59. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-722eb92a76ba7fa008fa1137197acb57509a3678/hooks/prepare-commit-msg.sample +0 -36
  60. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-722eb92a76ba7fa008fa1137197acb57509a3678/hooks/update.sample +0 -128
  61. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-722eb92a76ba7fa008fa1137197acb57509a3678/info/exclude +0 -6
  62. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-722eb92a76ba7fa008fa1137197acb57509a3678/objects/pack/pack-ffc0fcd152360f2bb83e27ce34f3b79a6da13362.idx +0 -0
  63. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-722eb92a76ba7fa008fa1137197acb57509a3678/objects/pack/pack-ffc0fcd152360f2bb83e27ce34f3b79a6da13362.pack +0 -0
  64. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-722eb92a76ba7fa008fa1137197acb57509a3678/packed-refs +0 -7
  65. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-scripts-8d4b32f4951cc00251004a852f4ac5ea682bf45e/HEAD +0 -1
  66. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-scripts-8d4b32f4951cc00251004a852f4ac5ea682bf45e/config +0 -9
  67. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-scripts-8d4b32f4951cc00251004a852f4ac5ea682bf45e/description +0 -1
  68. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-scripts-8d4b32f4951cc00251004a852f4ac5ea682bf45e/hooks/applypatch-msg.sample +0 -15
  69. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-scripts-8d4b32f4951cc00251004a852f4ac5ea682bf45e/hooks/commit-msg.sample +0 -24
  70. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-scripts-8d4b32f4951cc00251004a852f4ac5ea682bf45e/hooks/post-commit.sample +0 -8
  71. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-scripts-8d4b32f4951cc00251004a852f4ac5ea682bf45e/hooks/post-receive.sample +0 -15
  72. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-scripts-8d4b32f4951cc00251004a852f4ac5ea682bf45e/hooks/post-update.sample +0 -8
  73. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-scripts-8d4b32f4951cc00251004a852f4ac5ea682bf45e/hooks/pre-applypatch.sample +0 -14
  74. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-scripts-8d4b32f4951cc00251004a852f4ac5ea682bf45e/hooks/pre-commit.sample +0 -46
  75. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-scripts-8d4b32f4951cc00251004a852f4ac5ea682bf45e/hooks/pre-rebase.sample +0 -169
  76. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-scripts-8d4b32f4951cc00251004a852f4ac5ea682bf45e/hooks/prepare-commit-msg.sample +0 -36
  77. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-scripts-8d4b32f4951cc00251004a852f4ac5ea682bf45e/hooks/update.sample +0 -128
  78. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-scripts-8d4b32f4951cc00251004a852f4ac5ea682bf45e/info/exclude +0 -6
  79. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-scripts-8d4b32f4951cc00251004a852f4ac5ea682bf45e/objects/pack/pack-d66ef3590acf75731eec24e3bc6fb40dd0693dd5.idx +0 -0
  80. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-scripts-8d4b32f4951cc00251004a852f4ac5ea682bf45e/objects/pack/pack-d66ef3590acf75731eec24e3bc6fb40dd0693dd5.pack +0 -0
  81. data/build/bundler/ruby/1.9.1/cache/bundler/git/bozo-scripts-8d4b32f4951cc00251004a852f4ac5ea682bf45e/packed-refs +0 -22
  82. data/build/bundler/ruby/1.9.1/cache/erubis-2.7.0.gem +0 -0
  83. data/build/bundler/ruby/1.9.1/cache/gli-1.4.0.gem +0 -0
  84. data/build/bundler/ruby/1.9.1/cache/nokogiri-1.5.0-x86-mingw32.gem +0 -0
  85. data/build/bundler/ruby/1.9.1/cache/rainbow-1.1.3.gem +0 -0
  86. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/CHANGES.txt +0 -828
  87. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/MIT-LICENSE +0 -20
  88. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/README.txt +0 -102
  89. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/benchmark/Makefile +0 -6
  90. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/benchmark/bench.rb +0 -313
  91. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/benchmark/bench_context.yaml +0 -141
  92. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/benchmark/templates/_footer.html +0 -4
  93. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/benchmark/templates/_header.html +0 -52
  94. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/benchmark/templates/bench_erb.rhtml +0 -29
  95. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/benchmark/templates/bench_erubis.rhtml +0 -29
  96. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/benchmark/templates/bench_eruby.rhtml +0 -29
  97. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/bin/erubis +0 -10
  98. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/contrib/erubis +0 -3468
  99. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/contrib/erubis-run.rb +0 -132
  100. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/contrib/inline-require +0 -179
  101. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc/docstyle.css +0 -209
  102. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc/users-guide.html +0 -3551
  103. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/ActionView/TemplateHandlers/ErubisHandler.html +0 -209
  104. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/ActionView.html +0 -105
  105. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/ERB.html +0 -101
  106. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayBufferEnhancer.html +0 -175
  107. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayBufferEruby.html +0 -120
  108. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayEnhancer.html +0 -174
  109. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayEruby.html +0 -120
  110. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic/Converter.html +0 -327
  111. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic/Engine.html +0 -130
  112. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic.html +0 -112
  113. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/BiPatternEnhancer.html +0 -215
  114. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/BiPatternEruby.html +0 -120
  115. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/CGenerator.html +0 -386
  116. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/CommandOptionError.html +0 -113
  117. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Context.html +0 -344
  118. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Converter.html +0 -283
  119. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/CppGenerator.html +0 -382
  120. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/DeleteIndentEnhancer.html +0 -150
  121. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/DeleteIndentEruby.html +0 -120
  122. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Ec.html +0 -126
  123. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Ecpp.html +0 -126
  124. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Ejava.html +0 -126
  125. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Ejavascript.html +0 -126
  126. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Engine.html +0 -305
  127. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Eperl.html +0 -126
  128. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Ephp.html +0 -126
  129. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/ErboutEnhancer.html +0 -175
  130. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/ErboutEruby.html +0 -120
  131. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/ErubisError.html +0 -117
  132. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Eruby.html +0 -132
  133. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapeEnhancer.html +0 -165
  134. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEc.html +0 -120
  135. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEcpp.html +0 -120
  136. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEjava.html +0 -120
  137. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEjavascript.html +0 -120
  138. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEperl.html +0 -120
  139. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEphp.html +0 -120
  140. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEruby.html +0 -127
  141. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEscheme.html +0 -120
  142. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Escheme.html +0 -126
  143. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Evaluator.html +0 -212
  144. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/FastEruby.html +0 -131
  145. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Generator.html +0 -416
  146. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/HeaderFooterEnhancer.html +0 -267
  147. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/HeaderFooterEruby.html +0 -120
  148. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsFormHelper.html +0 -787
  149. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsHelper/TemplateConverter.html +0 -213
  150. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsHelper.html +0 -349
  151. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers.html +0 -116
  152. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/InterpolationEnhancer.html +0 -305
  153. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/InterpolationEruby.html +0 -120
  154. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/JavaGenerator.html +0 -359
  155. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/JavascriptGenerator.html +0 -386
  156. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Main.html +0 -341
  157. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/NoCodeEnhancer.html +0 -249
  158. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/NoCodeEruby.html +0 -120
  159. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/NoTextEnhancer.html +0 -159
  160. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/NoTextEruby.html +0 -120
  161. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/NotSupportedError.html +0 -119
  162. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedEruby.html +0 -163
  163. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedGenerator.html +0 -439
  164. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedXmlEruby.html +0 -163
  165. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Converter.html +0 -266
  166. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ec.html +0 -166
  167. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ecpp.html +0 -166
  168. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ejava.html +0 -166
  169. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ejavascript.html +0 -166
  170. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Engine.html +0 -122
  171. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Eperl.html +0 -166
  172. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ephp.html +0 -166
  173. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Eruby.html +0 -155
  174. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Escheme.html +0 -166
  175. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/TinyEruby.html +0 -293
  176. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI.html +0 -125
  177. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PercentLineEnhancer.html +0 -163
  178. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PercentLineEruby.html +0 -120
  179. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PerlGenerator.html +0 -344
  180. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PhpGenerator.html +0 -350
  181. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PrefixedLineEnhancer.html +0 -210
  182. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PrefixedLineEruby.html +0 -120
  183. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PreprocessingEruby.html +0 -183
  184. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PreprocessingHelper.html +0 -212
  185. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintEnabledEnhancer.html +0 -212
  186. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintEnabledEruby.html +0 -120
  187. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutEnhancer.html +0 -244
  188. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutEruby.html +0 -120
  189. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutSimplifiedEruby.html +0 -121
  190. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/RubyEvaluator.html +0 -227
  191. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/RubyGenerator.html +0 -328
  192. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/SchemeGenerator.html +0 -382
  193. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/SimplifiedEruby.html +0 -120
  194. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/SimplifyEnhancer.html +0 -191
  195. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutEnhancer.html +0 -173
  196. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutEruby.html +0 -120
  197. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutSimplifiedEruby.html +0 -121
  198. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/StringBufferEnhancer.html +0 -174
  199. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/StringBufferEruby.html +0 -120
  200. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/StringIOEruby.html +0 -120
  201. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/TinyEruby.html +0 -298
  202. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/XmlEruby.html +0 -130
  203. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/XmlHelper.html +0 -255
  204. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis.html +0 -362
  205. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Kernel.html +0 -155
  206. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/created.rid +0 -1
  207. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/README_txt.html +0 -247
  208. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/context_rb.html +0 -107
  209. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/converter_rb.html +0 -114
  210. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/engine/ec_rb.html +0 -115
  211. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/engine/ecpp_rb.html +0 -115
  212. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/engine/ejava_rb.html +0 -115
  213. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/engine/ejavascript_rb.html +0 -115
  214. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/engine/enhanced_rb.html +0 -115
  215. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/engine/eperl_rb.html +0 -115
  216. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/engine/ephp_rb.html +0 -115
  217. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/engine/eruby_rb.html +0 -115
  218. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/engine/escheme_rb.html +0 -115
  219. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/engine/optimized_rb.html +0 -114
  220. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/engine_rb.html +0 -117
  221. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/enhancer_rb.html +0 -107
  222. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/error_rb.html +0 -107
  223. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/evaluator_rb.html +0 -115
  224. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/generator_rb.html +0 -114
  225. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/helper_rb.html +0 -107
  226. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/helpers/rails_form_helper_rb.html +0 -107
  227. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/helpers/rails_helper_rb.html +0 -116
  228. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/local-setting_rb.html +0 -107
  229. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/main_rb.html +0 -129
  230. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/preprocessing_rb.html +0 -114
  231. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/tiny_rb.html +0 -107
  232. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/util_rb.html +0 -107
  233. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis_rb.html +0 -118
  234. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/fr_class_index.html +0 -129
  235. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/fr_file_index.html +0 -53
  236. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/fr_method_index.html +0 -265
  237. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/index.html +0 -24
  238. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/doc-api/rdoc-style.css +0 -208
  239. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/examples/basic/Makefile +0 -58
  240. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/examples/basic/example.ec +0 -42
  241. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/examples/basic/example.ecpp +0 -33
  242. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/examples/basic/example.ejava +0 -45
  243. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/examples/basic/example.ejs +0 -16
  244. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/examples/basic/example.eperl +0 -16
  245. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/examples/basic/example.ephp +0 -17
  246. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/examples/basic/example.eruby +0 -15
  247. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/examples/basic/example.escheme +0 -26
  248. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/examples/pi/Makefile +0 -54
  249. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/examples/pi/example.ec +0 -42
  250. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/examples/pi/example.ejava +0 -45
  251. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/examples/pi/example.ejs +0 -16
  252. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/examples/pi/example.eperl +0 -16
  253. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/examples/pi/example.ephp +0 -17
  254. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/examples/pi/example.eruby +0 -15
  255. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/examples/pi/example.escheme +0 -26
  256. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/context.rb +0 -83
  257. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/converter.rb +0 -357
  258. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/engine/ec.rb +0 -117
  259. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/engine/ecpp.rb +0 -113
  260. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/engine/ejava.rb +0 -110
  261. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/engine/ejavascript.rb +0 -119
  262. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/engine/enhanced.rb +0 -126
  263. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/engine/eperl.rb +0 -95
  264. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/engine/ephp.rb +0 -99
  265. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/engine/eruby.rb +0 -125
  266. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/engine/escheme.rb +0 -114
  267. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/engine/optimized.rb +0 -127
  268. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/engine.rb +0 -120
  269. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/enhancer.rb +0 -723
  270. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/error.rb +0 -23
  271. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/evaluator.rb +0 -88
  272. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/generator.rb +0 -85
  273. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/helper.rb +0 -47
  274. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/helpers/rails_form_helper.rb +0 -197
  275. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/helpers/rails_helper.rb +0 -353
  276. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/local-setting.rb +0 -9
  277. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/main.rb +0 -516
  278. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/preprocessing.rb +0 -58
  279. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/tiny.rb +0 -144
  280. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/util.rb +0 -22
  281. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis.rb +0 -73
  282. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/setup.rb +0 -1331
  283. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/assert-text-equal.rb +0 -44
  284. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/Example.ejava +0 -55
  285. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/array_example.result +0 -9
  286. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/arraybuffer_example.result +0 -9
  287. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/bipattern-example.rhtml +0 -4
  288. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/bipattern_example.result +0 -6
  289. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/bufvar-example.rb +0 -10
  290. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/bufvar-example.result +0 -17
  291. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/context.rb +0 -6
  292. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/context.yaml +0 -8
  293. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/def_method.rb +0 -14
  294. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/def_method.result +0 -3
  295. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/escape_example.result +0 -9
  296. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example.ec +0 -27
  297. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example.ecpp +0 -30
  298. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example.ejs +0 -20
  299. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example.eperl +0 -18
  300. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example.ephp +0 -18
  301. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example.eruby +0 -6
  302. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example.escheme +0 -28
  303. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example1.eruby +0 -6
  304. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example1.rb +0 -17
  305. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example1.result +0 -16
  306. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example10.rb +0 -4
  307. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example10.result +0 -17
  308. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example10.xhtml +0 -14
  309. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example10_x.result +0 -17
  310. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example11.php +0 -20
  311. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example11.result +0 -23
  312. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example11.rhtml +0 -21
  313. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example11_C.result +0 -10
  314. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example11_N.result +0 -16
  315. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example11_U.result +0 -16
  316. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example11_php.result +0 -15
  317. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example1_x.result +0 -9
  318. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example2.eruby +0 -7
  319. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example2.rb +0 -10
  320. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example2.result +0 -27
  321. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example2_trim.result +0 -10
  322. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example2_x.result +0 -10
  323. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example3.eruby +0 -6
  324. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example3.rb +0 -10
  325. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example31.result +0 -22
  326. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example32.result +0 -4
  327. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example3_e.result +0 -8
  328. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example4.eruby +0 -3
  329. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example4.rb +0 -11
  330. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example4.result +0 -10
  331. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example4_x.result +0 -5
  332. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example5.eruby +0 -6
  333. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example5.rb +0 -16
  334. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example5.result +0 -7
  335. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example6.rb +0 -12
  336. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example6.result +0 -7
  337. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example7.eruby +0 -8
  338. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example71.result +0 -13
  339. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example72.result +0 -13
  340. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example8.eruby +0 -6
  341. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example8_ruby.result +0 -7
  342. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example8_yaml.result +0 -7
  343. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example9.eruby +0 -3
  344. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example9.rb +0 -8
  345. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example9.result +0 -9
  346. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example91.result +0 -5
  347. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example92.result +0 -4
  348. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example_c.result +0 -32
  349. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example_java.result +0 -56
  350. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example_js.result +0 -22
  351. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example_perl.result +0 -20
  352. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example_php.result +0 -19
  353. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example_scheme.result +0 -30
  354. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example_scheme_display.result +0 -29
  355. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/fasteruby-example.rb +0 -8
  356. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/fasteruby-example.result +0 -18
  357. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/fasteruby.rb +0 -11
  358. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/fasteruby.result +0 -38
  359. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/fasteruby.rhtml +0 -15
  360. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example.eruby +0 -9
  361. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example2.rb +0 -8
  362. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example2.rhtml +0 -10
  363. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/headerfooter_example.result +0 -11
  364. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/headerfooter_example2.result +0 -13
  365. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/interpolation_example.result +0 -9
  366. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/main_program1.rb +0 -8
  367. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/main_program1.result +0 -6
  368. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/main_program2.rb +0 -8
  369. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/main_program2.result +0 -6
  370. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/nocode-example.eruby +0 -14
  371. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/nocode-php.result +0 -20
  372. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/nocode_example.result +0 -15
  373. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/normal-eruby-test.eruby +0 -9
  374. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/normal_eruby_test.result +0 -11
  375. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/notext-example.eruby +0 -14
  376. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/notext-example.php +0 -19
  377. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/notext-php.result +0 -20
  378. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/notext_example.result +0 -16
  379. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/percentline-example.rhtml +0 -6
  380. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/percentline_example.result +0 -9
  381. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/prefixedline-example.rb +0 -9
  382. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/prefixedline-example.rhtml +0 -6
  383. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/prefixedline_example.result +0 -9
  384. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/printenable_example.result +0 -4
  385. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.eruby +0 -3
  386. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb +0 -8
  387. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/printstatement_example.result +0 -8
  388. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/simplify_example.result +0 -9
  389. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/stderr.log +0 -3
  390. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/stdout_exmple.result +0 -9
  391. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/stringbuffer_example.result +0 -9
  392. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/tail_260.result +0 -4
  393. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/tailnewline.rhtml +0 -3
  394. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/template1.rhtml +0 -4
  395. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/template2.rhtml +0 -4
  396. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/test-engines.rb +0 -425
  397. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/test-enhancers.rb +0 -646
  398. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/test-erubis.rb +0 -887
  399. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/test-index-cgi.rb +0 -191
  400. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/test-main.rb +0 -752
  401. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/test-users-guide.rb +0 -73
  402. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/test.rb +0 -45
  403. data/build/bundler/ruby/1.9.1/gems/erubis-2.7.0/test/testutil.rb +0 -111
  404. data/build/bundler/ruby/1.9.1/gems/gli-1.4.0/README.rdoc +0 -55
  405. data/build/bundler/ruby/1.9.1/gems/gli-1.4.0/bin/gli +0 -72
  406. data/build/bundler/ruby/1.9.1/gems/gli-1.4.0/gli.rdoc +0 -51
  407. data/build/bundler/ruby/1.9.1/gems/gli-1.4.0/lib/gli/command.rb +0 -124
  408. data/build/bundler/ruby/1.9.1/gems/gli-1.4.0/lib/gli/command_line_token.rb +0 -58
  409. data/build/bundler/ruby/1.9.1/gems/gli-1.4.0/lib/gli/copy_options_to_aliases.rb +0 -33
  410. data/build/bundler/ruby/1.9.1/gems/gli-1.4.0/lib/gli/exceptions.rb +0 -45
  411. data/build/bundler/ruby/1.9.1/gems/gli-1.4.0/lib/gli/flag.rb +0 -67
  412. data/build/bundler/ruby/1.9.1/gems/gli-1.4.0/lib/gli/options.rb +0 -19
  413. data/build/bundler/ruby/1.9.1/gems/gli-1.4.0/lib/gli/switch.rb +0 -63
  414. data/build/bundler/ruby/1.9.1/gems/gli-1.4.0/lib/gli/terminal.rb +0 -79
  415. data/build/bundler/ruby/1.9.1/gems/gli-1.4.0/lib/gli.rb +0 -568
  416. data/build/bundler/ruby/1.9.1/gems/gli-1.4.0/lib/gli_version.rb +0 -3
  417. data/build/bundler/ruby/1.9.1/gems/gli-1.4.0/lib/support/help.rb +0 -181
  418. data/build/bundler/ruby/1.9.1/gems/gli-1.4.0/lib/support/initconfig.rb +0 -34
  419. data/build/bundler/ruby/1.9.1/gems/gli-1.4.0/lib/support/rdoc.rb +0 -119
  420. data/build/bundler/ruby/1.9.1/gems/gli-1.4.0/lib/support/scaffold.rb +0 -284
  421. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/CHANGELOG.ja.rdoc +0 -544
  422. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/CHANGELOG.rdoc +0 -532
  423. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/Manifest.txt +0 -283
  424. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/README.ja.rdoc +0 -106
  425. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/README.rdoc +0 -174
  426. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/Rakefile +0 -167
  427. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/bin/nokogiri +0 -53
  428. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/depend +0 -358
  429. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/extconf.rb +0 -124
  430. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/html_document.c +0 -154
  431. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/html_document.h +0 -10
  432. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/html_element_description.c +0 -276
  433. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/html_element_description.h +0 -10
  434. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/html_entity_lookup.c +0 -32
  435. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/html_entity_lookup.h +0 -8
  436. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/html_sax_parser_context.c +0 -94
  437. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/html_sax_parser_context.h +0 -11
  438. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/nokogiri.c +0 -115
  439. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/nokogiri.h +0 -160
  440. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_attr.c +0 -94
  441. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_attr.h +0 -9
  442. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_attribute_decl.c +0 -70
  443. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_attribute_decl.h +0 -9
  444. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_cdata.c +0 -56
  445. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_cdata.h +0 -9
  446. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_comment.c +0 -54
  447. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_comment.h +0 -9
  448. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_document.c +0 -478
  449. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_document.h +0 -23
  450. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_document_fragment.c +0 -48
  451. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_document_fragment.h +0 -10
  452. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_dtd.c +0 -202
  453. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_dtd.h +0 -10
  454. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_element_content.c +0 -123
  455. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_element_content.h +0 -10
  456. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_element_decl.c +0 -69
  457. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_element_decl.h +0 -9
  458. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_encoding_handler.c +0 -79
  459. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_encoding_handler.h +0 -8
  460. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_entity_decl.c +0 -110
  461. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_entity_decl.h +0 -10
  462. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_entity_reference.c +0 -52
  463. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_entity_reference.h +0 -9
  464. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_io.c +0 -56
  465. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_io.h +0 -11
  466. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_libxml2_hacks.c +0 -112
  467. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_libxml2_hacks.h +0 -12
  468. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_namespace.c +0 -84
  469. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_namespace.h +0 -13
  470. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_node.c +0 -1385
  471. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_node.h +0 -13
  472. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_node_set.c +0 -418
  473. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_node_set.h +0 -9
  474. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_processing_instruction.c +0 -56
  475. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_processing_instruction.h +0 -9
  476. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_reader.c +0 -684
  477. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_reader.h +0 -10
  478. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_relax_ng.c +0 -161
  479. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_relax_ng.h +0 -9
  480. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_sax_parser.c +0 -293
  481. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_sax_parser.h +0 -39
  482. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_sax_parser_context.c +0 -199
  483. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_sax_parser_context.h +0 -10
  484. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_sax_push_parser.c +0 -115
  485. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_sax_push_parser.h +0 -9
  486. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_schema.c +0 -205
  487. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_schema.h +0 -9
  488. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_syntax_error.c +0 -58
  489. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_syntax_error.h +0 -13
  490. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_text.c +0 -50
  491. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_text.h +0 -9
  492. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_xpath_context.c +0 -309
  493. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xml_xpath_context.h +0 -9
  494. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xslt_stylesheet.c +0 -264
  495. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/ext/nokogiri/xslt_stylesheet.h +0 -9
  496. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/1.8/nokogiri.so +0 -0
  497. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/1.9/nokogiri.so +0 -0
  498. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/css/node.rb +0 -99
  499. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/css/parser.rb +0 -677
  500. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/css/parser.y +0 -237
  501. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/css/parser_extras.rb +0 -91
  502. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/css/syntax_error.rb +0 -7
  503. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/css/tokenizer.rb +0 -152
  504. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/css/tokenizer.rex +0 -55
  505. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/css/xpath_visitor.rb +0 -171
  506. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/css.rb +0 -27
  507. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/decorators/slop.rb +0 -35
  508. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/html/builder.rb +0 -35
  509. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/html/document.rb +0 -213
  510. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/html/document_fragment.rb +0 -41
  511. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/html/element_description.rb +0 -23
  512. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/html/element_description_defaults.rb +0 -671
  513. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/html/entity_lookup.rb +0 -13
  514. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/html/sax/parser.rb +0 -52
  515. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/html/sax/parser_context.rb +0 -16
  516. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/html.rb +0 -36
  517. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/nokogiri.rb +0 -1
  518. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/syntax_error.rb +0 -4
  519. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/version.rb +0 -88
  520. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/attr.rb +0 -14
  521. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/attribute_decl.rb +0 -18
  522. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/builder.rb +0 -425
  523. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/cdata.rb +0 -11
  524. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/character_data.rb +0 -7
  525. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/document.rb +0 -234
  526. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/document_fragment.rb +0 -98
  527. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/dtd.rb +0 -22
  528. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/element_content.rb +0 -36
  529. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/element_decl.rb +0 -13
  530. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/entity_decl.rb +0 -19
  531. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/namespace.rb +0 -13
  532. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/node/save_options.rb +0 -61
  533. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/node.rb +0 -915
  534. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/node_set.rb +0 -357
  535. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/notation.rb +0 -6
  536. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/parse_options.rb +0 -93
  537. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/pp/character_data.rb +0 -18
  538. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/pp/node.rb +0 -56
  539. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/pp.rb +0 -2
  540. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/processing_instruction.rb +0 -8
  541. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/reader.rb +0 -112
  542. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/relax_ng.rb +0 -32
  543. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/sax/document.rb +0 -164
  544. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/sax/parser.rb +0 -115
  545. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/sax/parser_context.rb +0 -16
  546. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/sax/push_parser.rb +0 -60
  547. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/sax.rb +0 -4
  548. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/schema.rb +0 -63
  549. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/syntax_error.rb +0 -47
  550. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/text.rb +0 -9
  551. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/xpath/syntax_error.rb +0 -11
  552. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/xpath.rb +0 -10
  553. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml/xpath_context.rb +0 -16
  554. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xml.rb +0 -67
  555. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xslt/stylesheet.rb +0 -25
  556. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri/xslt.rb +0 -52
  557. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/nokogiri.rb +0 -127
  558. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/lib/xsd/xmlparser/nokogiri.rb +0 -90
  559. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/nokogiri_help_responses.md +0 -40
  560. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/tasks/cross_compile.rb +0 -152
  561. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/tasks/nokogiri.org.rb +0 -18
  562. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/tasks/test.rb +0 -94
  563. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/css/test_nthiness.rb +0 -159
  564. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/css/test_parser.rb +0 -303
  565. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/css/test_tokenizer.rb +0 -198
  566. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/css/test_xpath_visitor.rb +0 -85
  567. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/decorators/test_slop.rb +0 -16
  568. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/files/2ch.html +0 -108
  569. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/files/address_book.rlx +0 -12
  570. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/files/address_book.xml +0 -10
  571. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/files/bar/bar.xsd +0 -4
  572. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/files/dont_hurt_em_why.xml +0 -422
  573. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/files/encoding.html +0 -82
  574. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/files/encoding.xhtml +0 -84
  575. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/files/exslt.xml +0 -8
  576. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/files/exslt.xslt +0 -35
  577. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/files/foo/foo.xsd +0 -4
  578. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/files/metacharset.html +0 -10
  579. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/files/noencoding.html +0 -47
  580. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/files/po.xml +0 -32
  581. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/files/po.xsd +0 -66
  582. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/files/shift_jis.html +0 -10
  583. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/files/shift_jis.xml +0 -5
  584. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/files/snuggles.xml +0 -3
  585. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/files/staff.dtd +0 -10
  586. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/files/staff.xml +0 -59
  587. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/files/staff.xslt +0 -32
  588. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/files/tlm.html +0 -850
  589. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/files/valid_bar.xml +0 -2
  590. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/helper.rb +0 -173
  591. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/html/sax/test_parser.rb +0 -136
  592. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/html/sax/test_parser_context.rb +0 -48
  593. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/html/test_builder.rb +0 -164
  594. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/html/test_document.rb +0 -472
  595. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/html/test_document_encoding.rb +0 -138
  596. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/html/test_document_fragment.rb +0 -255
  597. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/html/test_element_description.rb +0 -100
  598. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/html/test_named_characters.rb +0 -14
  599. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/html/test_node.rb +0 -190
  600. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/html/test_node_encoding.rb +0 -27
  601. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/test_convert_xpath.rb +0 -135
  602. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/test_css_cache.rb +0 -45
  603. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/test_encoding_handler.rb +0 -46
  604. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/test_memory_leak.rb +0 -72
  605. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/test_nokogiri.rb +0 -132
  606. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/test_reader.rb +0 -425
  607. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/test_soap4r_sax.rb +0 -52
  608. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/test_xslt_transforms.rb +0 -193
  609. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/node/test_save_options.rb +0 -28
  610. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/node/test_subclass.rb +0 -44
  611. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/sax/test_parser.rb +0 -338
  612. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/sax/test_parser_context.rb +0 -113
  613. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/sax/test_push_parser.rb +0 -156
  614. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/test_attr.rb +0 -65
  615. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/test_attribute_decl.rb +0 -86
  616. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/test_builder.rb +0 -227
  617. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/test_cdata.rb +0 -50
  618. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/test_comment.rb +0 -29
  619. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/test_document.rb +0 -697
  620. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/test_document_encoding.rb +0 -26
  621. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/test_document_fragment.rb +0 -192
  622. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/test_dtd.rb +0 -107
  623. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/test_dtd_encoding.rb +0 -33
  624. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/test_element_content.rb +0 -56
  625. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/test_element_decl.rb +0 -73
  626. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/test_entity_decl.rb +0 -122
  627. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/test_entity_reference.rb +0 -21
  628. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/test_namespace.rb +0 -70
  629. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/test_node.rb +0 -917
  630. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/test_node_attributes.rb +0 -34
  631. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/test_node_encoding.rb +0 -107
  632. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/test_node_reparenting.rb +0 -334
  633. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/test_node_set.rb +0 -742
  634. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/test_parse_options.rb +0 -52
  635. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/test_processing_instruction.rb +0 -30
  636. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/test_reader_encoding.rb +0 -126
  637. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/test_relax_ng.rb +0 -60
  638. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/test_schema.rb +0 -94
  639. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/test_syntax_error.rb +0 -12
  640. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/test_text.rb +0 -47
  641. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/test_unparented_node.rb +0 -381
  642. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xml/test_xpath.rb +0 -237
  643. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xslt/test_custom_functions.rb +0 -94
  644. data/build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/test/xslt/test_exception_handling.rb +0 -37
  645. data/build/bundler/ruby/1.9.1/gems/rainbow-1.1.3/Changelog +0 -3
  646. data/build/bundler/ruby/1.9.1/gems/rainbow-1.1.3/LICENSE +0 -20
  647. data/build/bundler/ruby/1.9.1/gems/rainbow-1.1.3/README.markdown +0 -75
  648. data/build/bundler/ruby/1.9.1/gems/rainbow-1.1.3/lib/ansi_color.rb +0 -71
  649. data/build/bundler/ruby/1.9.1/gems/rainbow-1.1.3/lib/ansi_rgb.rb +0 -43
  650. data/build/bundler/ruby/1.9.1/gems/rainbow-1.1.3/lib/rainbow.rb +0 -108
  651. data/build/bundler/ruby/1.9.1/gems/rainbow-1.1.3/test/rainbow_test.rb +0 -271
  652. data/build/bundler/ruby/1.9.1/specifications/erubis-2.7.0.gemspec +0 -42
  653. data/build/bundler/ruby/1.9.1/specifications/gli-1.4.0.gemspec +0 -52
  654. data/build/bundler/ruby/1.9.1/specifications/nokogiri-1.5.0-x86-mingw32.gemspec +0 -68
  655. data/build/bundler/ruby/1.9.1/specifications/rainbow-1.1.3.gemspec +0 -25
@@ -1,915 +0,0 @@
1
- require 'stringio'
2
- require 'nokogiri/xml/node/save_options'
3
-
4
- module Nokogiri
5
- module XML
6
- ####
7
- # Nokogiri::XML::Node is your window to the fun filled world of dealing
8
- # with XML and HTML tags. A Nokogiri::XML::Node may be treated similarly
9
- # to a hash with regard to attributes. For example (from irb):
10
- #
11
- # irb(main):004:0> node
12
- # => <a href="#foo" id="link">link</a>
13
- # irb(main):005:0> node['href']
14
- # => "#foo"
15
- # irb(main):006:0> node.keys
16
- # => ["href", "id"]
17
- # irb(main):007:0> node.values
18
- # => ["#foo", "link"]
19
- # irb(main):008:0> node['class'] = 'green'
20
- # => "green"
21
- # irb(main):009:0> node
22
- # => <a href="#foo" id="link" class="green">link</a>
23
- # irb(main):010:0>
24
- #
25
- # See Nokogiri::XML::Node#[] and Nokogiri::XML#[]= for more information.
26
- #
27
- # Nokogiri::XML::Node also has methods that let you move around your
28
- # tree. For navigating your tree, see:
29
- #
30
- # * Nokogiri::XML::Node#parent
31
- # * Nokogiri::XML::Node#children
32
- # * Nokogiri::XML::Node#next
33
- # * Nokogiri::XML::Node#previous
34
- #
35
- # You may search this node's subtree using Node#xpath and Node#css
36
- class Node
37
- include Nokogiri::XML::PP::Node
38
- include Enumerable
39
-
40
- # Element node type, see Nokogiri::XML::Node#element?
41
- ELEMENT_NODE = 1
42
- # Attribute node type
43
- ATTRIBUTE_NODE = 2
44
- # Text node type, see Nokogiri::XML::Node#text?
45
- TEXT_NODE = 3
46
- # CDATA node type, see Nokogiri::XML::Node#cdata?
47
- CDATA_SECTION_NODE = 4
48
- # Entity reference node type
49
- ENTITY_REF_NODE = 5
50
- # Entity node type
51
- ENTITY_NODE = 6
52
- # PI node type
53
- PI_NODE = 7
54
- # Comment node type, see Nokogiri::XML::Node#comment?
55
- COMMENT_NODE = 8
56
- # Document node type, see Nokogiri::XML::Node#xml?
57
- DOCUMENT_NODE = 9
58
- # Document type node type
59
- DOCUMENT_TYPE_NODE = 10
60
- # Document fragment node type
61
- DOCUMENT_FRAG_NODE = 11
62
- # Notation node type
63
- NOTATION_NODE = 12
64
- # HTML document node type, see Nokogiri::XML::Node#html?
65
- HTML_DOCUMENT_NODE = 13
66
- # DTD node type
67
- DTD_NODE = 14
68
- # Element declaration type
69
- ELEMENT_DECL = 15
70
- # Attribute declaration type
71
- ATTRIBUTE_DECL = 16
72
- # Entity declaration type
73
- ENTITY_DECL = 17
74
- # Namespace declaration type
75
- NAMESPACE_DECL = 18
76
- # XInclude start type
77
- XINCLUDE_START = 19
78
- # XInclude end type
79
- XINCLUDE_END = 20
80
- # DOCB document node type
81
- DOCB_DOCUMENT_NODE = 21
82
-
83
- def initialize name, document # :nodoc:
84
- # ... Ya. This is empty on purpose.
85
- end
86
-
87
- ###
88
- # Decorate this node with the decorators set up in this node's Document
89
- def decorate!
90
- document.decorate(self)
91
- end
92
-
93
- ###
94
- # Search this node for +paths+. +paths+ can be XPath or CSS, and an
95
- # optional hash of namespaces may be appended.
96
- # See Node#xpath and Node#css.
97
- def search *paths
98
- # TODO use paths, handler, ns, binds = extract_params(paths)
99
- ns = paths.last.is_a?(Hash) ? paths.pop :
100
- (document.root ? document.root.namespaces : {})
101
-
102
- prefix = "#{implied_xpath_context}/"
103
-
104
- xpath(*(paths.map { |path|
105
- path = path.to_s
106
- path =~ /^(\.\/|\/|\.\.)/ ? path : CSS.xpath_for(
107
- path,
108
- :prefix => prefix,
109
- :ns => ns
110
- )
111
- }.flatten.uniq) + [ns])
112
- end
113
- alias :/ :search
114
-
115
- ###
116
- # call-seq: xpath *paths, [namespace-bindings, variable-bindings, custom-handler-class]
117
- #
118
- # Search this node for XPath +paths+. +paths+ must be one or more XPath
119
- # queries.
120
- #
121
- # node.xpath('.//title')
122
- #
123
- # A hash of namespace bindings may be appended. For example:
124
- #
125
- # node.xpath('.//foo:name', {'foo' => 'http://example.org/'})
126
- # node.xpath('.//xmlns:name', node.root.namespaces)
127
- #
128
- # A hash of variable bindings may also be appended to the namespace bindings. For example:
129
- #
130
- # node.xpath('.//address[@domestic=$value]', nil, {:value => 'Yes'})
131
- #
132
- # Custom XPath functions may also be defined. To define custom
133
- # functions create a class and implement the function you want
134
- # to define. The first argument to the method will be the
135
- # current matching NodeSet. Any other arguments are ones that
136
- # you pass in. Note that this class may appear anywhere in the
137
- # argument list. For example:
138
- #
139
- # node.xpath('.//title[regex(., "\w+")]', Class.new {
140
- # def regex node_set, regex
141
- # node_set.find_all { |node| node['some_attribute'] =~ /#{regex}/ }
142
- # end
143
- # }.new)
144
- #
145
- def xpath *paths
146
- return NodeSet.new(document) unless document
147
-
148
- paths, handler, ns, binds = extract_params(paths)
149
-
150
- sets = paths.map { |path|
151
- ctx = XPathContext.new(self)
152
- ctx.register_namespaces(ns)
153
- path = path.gsub(/\/xmlns:/,'/:') unless Nokogiri.uses_libxml?
154
-
155
- binds.each do |key,value|
156
- ctx.register_variable key.to_s, value
157
- end if binds
158
-
159
- ctx.evaluate(path, handler)
160
- }
161
- return sets.first if sets.length == 1
162
-
163
- NodeSet.new(document) do |combined|
164
- sets.each do |set|
165
- set.each do |node|
166
- combined << node
167
- end
168
- end
169
- end
170
- end
171
-
172
- ###
173
- # call-seq: css *rules, [namespace-bindings, custom-pseudo-class]
174
- #
175
- # Search this node for CSS +rules+. +rules+ must be one or more CSS
176
- # selectors. For example:
177
- #
178
- # node.css('title')
179
- # node.css('body h1.bold')
180
- # node.css('div + p.green', 'div#one')
181
- #
182
- # A hash of namespace bindings may be appended. For example:
183
- #
184
- # node.css('bike|tire', {'bike' => 'http://schwinn.com/'})
185
- #
186
- # Custom CSS pseudo classes may also be defined. To define
187
- # custom pseudo classes, create a class and implement the custom
188
- # pseudo class you want defined. The first argument to the
189
- # method will be the current matching NodeSet. Any other
190
- # arguments are ones that you pass in. For example:
191
- #
192
- # node.css('title:regex("\w+")', Class.new {
193
- # def regex node_set, regex
194
- # node_set.find_all { |node| node['some_attribute'] =~ /#{regex}/ }
195
- # end
196
- # }.new)
197
- #
198
- # Note that the CSS query string is case-sensitive with regards
199
- # to your document type. That is, if you're looking for "H1" in
200
- # an HTML document, you'll never find anything, since HTML tags
201
- # will match only lowercase CSS queries. However, "H1" might be
202
- # found in an XML document, where tags names are case-sensitive
203
- # (e.g., "H1" is distinct from "h1").
204
- #
205
- def css *rules
206
- rules, handler, ns, binds = extract_params(rules)
207
-
208
- prefix = "#{implied_xpath_context}/"
209
-
210
- rules = rules.map { |rule|
211
- CSS.xpath_for(rule, :prefix => prefix, :ns => ns)
212
- }.flatten.uniq + [ns, handler, binds].compact
213
-
214
- xpath(*rules)
215
- end
216
-
217
- ###
218
- # Search this node's immediate children using CSS selector +selector+
219
- def > selector
220
- ns = document.root.namespaces
221
- xpath CSS.xpath_for(selector, :prefix => "./", :ns => ns).first
222
- end
223
-
224
- ###
225
- # Search for the first occurrence of +path+.
226
- #
227
- # Returns nil if nothing is found, otherwise a Node.
228
- def at path, ns = document.root ? document.root.namespaces : {}
229
- search(path, ns).first
230
- end
231
- alias :% :at
232
-
233
- ##
234
- # Search this node for the first occurrence of XPath +paths+.
235
- # Equivalent to <tt>xpath(paths).first</tt>
236
- # See Node#xpath for more information.
237
- #
238
- def at_xpath *paths
239
- xpath(*paths).first
240
- end
241
-
242
- ##
243
- # Search this node for the first occurrence of CSS +rules+.
244
- # Equivalent to <tt>css(rules).first</tt>
245
- # See Node#css for more information.
246
- #
247
- def at_css *rules
248
- css(*rules).first
249
- end
250
-
251
- ###
252
- # Get the attribute value for the attribute +name+
253
- def [] name
254
- return nil unless key?(name.to_s)
255
- get(name.to_s)
256
- end
257
-
258
- ###
259
- # Add +node_or_tags+ as a child of this Node.
260
- # +node_or_tags+ can be a Nokogiri::XML::Node, a ::DocumentFragment, a ::NodeSet, or a string containing markup.
261
- #
262
- # Returns the reparented node (if +node_or_tags+ is a Node), or NodeSet (if +node_or_tags+ is a DocumentFragment, NodeSet, or string).
263
- #
264
- # Also see related method +<<+.
265
- def add_child node_or_tags
266
- node_or_tags = coerce(node_or_tags)
267
- if node_or_tags.is_a?(XML::NodeSet)
268
- node_or_tags.each { |n| add_child_node n }
269
- else
270
- add_child_node node_or_tags
271
- end
272
- node_or_tags
273
- end
274
-
275
- ###
276
- # Add +node_or_tags+ as a child of this Node.
277
- # +node_or_tags+ can be a Nokogiri::XML::Node, a ::DocumentFragment, a ::NodeSet, or a string containing markup.
278
- #
279
- # Returns self, to support chaining of calls (e.g., root << child1 << child2)
280
- #
281
- # Also see related method +add_child+.
282
- def << node_or_tags
283
- add_child node_or_tags
284
- self
285
- end
286
- ###
287
- # Insert +node_or_tags+ before this Node (as a sibling).
288
- # +node_or_tags+ can be a Nokogiri::XML::Node, a ::DocumentFragment, a ::NodeSet, or a string containing markup.
289
- #
290
- # Returns the reparented node (if +node_or_tags+ is a Node), or NodeSet (if +node_or_tags+ is a DocumentFragment, NodeSet, or string).
291
- #
292
- # Also see related method +before+.
293
- def add_previous_sibling node_or_tags
294
- node_or_tags = coerce(node_or_tags)
295
- if node_or_tags.is_a?(XML::NodeSet)
296
- if text?
297
- pivot = Nokogiri::XML::Node.new 'dummy', document
298
- add_previous_sibling_node pivot
299
- else
300
- pivot = self
301
- end
302
- node_or_tags.each { |n| pivot.send :add_previous_sibling_node, n }
303
- pivot.unlink if text?
304
- else
305
- add_previous_sibling_node node_or_tags
306
- end
307
- node_or_tags
308
- end
309
-
310
- ###
311
- # Insert +node_or_tags+ after this Node (as a sibling).
312
- # +node_or_tags+ can be a Nokogiri::XML::Node, a ::DocumentFragment, a ::NodeSet, or a string containing markup.
313
- #
314
- # Returns the reparented node (if +node_or_tags+ is a Node), or NodeSet (if +node_or_tags+ is a DocumentFragment, NodeSet, or string).
315
- #
316
- # Also see related method +after+.
317
- def add_next_sibling node_or_tags
318
- node_or_tags = coerce(node_or_tags)
319
- if node_or_tags.is_a?(XML::NodeSet)
320
- if text?
321
- pivot = Nokogiri::XML::Node.new 'dummy', document
322
- add_next_sibling_node pivot
323
- else
324
- pivot = self
325
- end
326
- node_or_tags.reverse_each { |n| pivot.send :add_next_sibling_node, n }
327
- pivot.unlink if text?
328
- else
329
- add_next_sibling_node node_or_tags
330
- end
331
- node_or_tags
332
- end
333
-
334
- ####
335
- # Insert +node_or_tags+ before this node (as a sibling).
336
- # +node_or_tags+ can be a Nokogiri::XML::Node, a ::DocumentFragment, a ::NodeSet, or a string containing markup.
337
- #
338
- # Returns self, to support chaining of calls.
339
- #
340
- # Also see related method +add_previous_sibling+.
341
- def before node_or_tags
342
- add_previous_sibling node_or_tags
343
- self
344
- end
345
-
346
- ####
347
- # Insert +node_or_tags+ after this node (as a sibling).
348
- # +node_or_tags+ can be a Nokogiri::XML::Node, a Nokogiri::XML::DocumentFragment, or a string containing markup.
349
- #
350
- # Returns self, to support chaining of calls.
351
- #
352
- # Also see related method +add_next_sibling+.
353
- def after node_or_tags
354
- add_next_sibling node_or_tags
355
- self
356
- end
357
-
358
- ####
359
- # Set the inner html for this Node to +node_or_tags+
360
- # +node_or_tags+ can be a Nokogiri::XML::Node, a Nokogiri::XML::DocumentFragment, or a string containing markup.
361
- #
362
- # Returns self.
363
- #
364
- # Also see related method +children=+
365
- def inner_html= node_or_tags
366
- self.children = node_or_tags
367
- self
368
- end
369
-
370
- ####
371
- # Set the inner html for this Node +node_or_tags+
372
- # +node_or_tags+ can be a Nokogiri::XML::Node, a Nokogiri::XML::DocumentFragment, or a string containing markup.
373
- #
374
- # Returns the reparented node (if +node_or_tags+ is a Node), or NodeSet (if +node_or_tags+ is a DocumentFragment, NodeSet, or string).
375
- #
376
- # Also see related method +inner_html=+
377
- def children= node_or_tags
378
- node_or_tags = coerce(node_or_tags)
379
- children.unlink
380
- if node_or_tags.is_a?(XML::NodeSet)
381
- node_or_tags.each { |n| add_child_node n }
382
- else
383
- add_child_node node_or_tags
384
- end
385
- node_or_tags
386
- end
387
-
388
- ####
389
- # Replace this Node with +node_or_tags+.
390
- # +node_or_tags+ can be a Nokogiri::XML::Node, a ::DocumentFragment, a ::NodeSet, or a string containing markup.
391
- #
392
- # Returns the reparented node (if +node_or_tags+ is a Node), or NodeSet (if +node_or_tags+ is a DocumentFragment, NodeSet, or string).
393
- #
394
- # Also see related method +swap+.
395
- def replace node_or_tags
396
- node_or_tags = coerce(node_or_tags)
397
- if node_or_tags.is_a?(XML::NodeSet)
398
- if text?
399
- replacee = Nokogiri::XML::Node.new 'dummy', document
400
- add_previous_sibling_node replacee
401
- unlink
402
- else
403
- replacee = self
404
- end
405
- node_or_tags.each { |n| replacee.add_previous_sibling n }
406
- replacee.unlink
407
- else
408
- replace_node node_or_tags
409
- end
410
- node_or_tags
411
- end
412
-
413
- ####
414
- # Swap this Node for +node_or_tags+
415
- # +node_or_tags+ can be a Nokogiri::XML::Node, a ::DocumentFragment, a ::NodeSet, or a string containing markup.
416
- #
417
- # Returns self, to support chaining of calls.
418
- #
419
- # Also see related method +replace+.
420
- def swap node_or_tags
421
- replace node_or_tags
422
- self
423
- end
424
-
425
- alias :next :next_sibling
426
- alias :previous :previous_sibling
427
-
428
- # :stopdoc:
429
- # HACK: This is to work around an RDoc bug
430
- alias :next= :add_next_sibling
431
- # :startdoc:
432
-
433
- alias :previous= :add_previous_sibling
434
- alias :remove :unlink
435
- alias :get_attribute :[]
436
- alias :attr :[]
437
- alias :set_attribute :[]=
438
- alias :text :content
439
- alias :inner_text :content
440
- alias :has_attribute? :key?
441
- alias :name :node_name
442
- alias :name= :node_name=
443
- alias :type :node_type
444
- alias :to_str :text
445
- alias :clone :dup
446
- alias :elements :element_children
447
-
448
- ####
449
- # Returns a hash containing the node's attributes. The key is
450
- # the attribute name without any namespace, the value is a Nokogiri::XML::Attr
451
- # representing the attribute.
452
- # If you need to distinguish attributes with the same name, with different namespaces
453
- # use #attribute_nodes instead.
454
- def attributes
455
- Hash[*(attribute_nodes.map { |node|
456
- [node.node_name, node]
457
- }.flatten)]
458
- end
459
-
460
- ###
461
- # Get the attribute values for this Node.
462
- def values
463
- attribute_nodes.map { |node| node.value }
464
- end
465
-
466
- ###
467
- # Get the attribute names for this Node.
468
- def keys
469
- attribute_nodes.map { |node| node.node_name }
470
- end
471
-
472
- ###
473
- # Iterate over each attribute name and value pair for this Node.
474
- def each &block
475
- attribute_nodes.each { |node|
476
- block.call([node.node_name, node.value])
477
- }
478
- end
479
-
480
- ###
481
- # Remove the attribute named +name+
482
- def remove_attribute name
483
- attributes[name].remove if key? name
484
- end
485
- alias :delete :remove_attribute
486
-
487
- ###
488
- # Returns true if this Node matches +selector+
489
- def matches? selector
490
- ancestors.last.search(selector).include?(self)
491
- end
492
-
493
- ###
494
- # Create a DocumentFragment containing +tags+ that is relative to _this_
495
- # context node.
496
- def fragment tags
497
- type = document.html? ? Nokogiri::HTML : Nokogiri::XML
498
- type::DocumentFragment.new(document, tags, self)
499
- end
500
-
501
- ###
502
- # Parse +string_or_io+ as a document fragment within the context of
503
- # *this* node. Returns a XML::NodeSet containing the nodes parsed from
504
- # +string_or_io+.
505
- def parse string_or_io, options = nil
506
- options ||= (document.html? ? ParseOptions::DEFAULT_HTML : ParseOptions::DEFAULT_XML)
507
- if Fixnum === options
508
- options = Nokogiri::XML::ParseOptions.new(options)
509
- end
510
- # Give the options to the user
511
- yield options if block_given?
512
-
513
- contents = string_or_io.respond_to?(:read) ?
514
- string_or_io.read :
515
- string_or_io
516
-
517
- return Nokogiri::XML::NodeSet.new(document) if contents.empty?
518
-
519
- ##
520
- # This is a horrible hack, but I don't care. See #313 for background.
521
- error_count = document.errors.length
522
- node_set = in_context(contents, options.to_i)
523
- if node_set.empty? and document.errors.length > error_count and options.recover?
524
- fragment = Nokogiri::HTML::DocumentFragment.parse contents
525
- node_set = fragment.children
526
- end
527
- node_set
528
- end
529
-
530
- ####
531
- # Set the Node's content to a Text node containing +string+. The string gets XML escaped, not interpreted as markup.
532
- def content= string
533
- self.native_content = encode_special_chars(string.to_s)
534
- end
535
-
536
- ###
537
- # Set the parent Node for this Node
538
- def parent= parent_node
539
- parent_node.add_child(self)
540
- parent_node
541
- end
542
-
543
- ###
544
- # Returns a Hash of {prefix => value} for all namespaces on this
545
- # node and its ancestors.
546
- #
547
- # This method returns the same namespaces as #namespace_scopes.
548
- #
549
- # Returns namespaces in scope for self -- those defined on self
550
- # element directly or any ancestor node -- as a Hash of
551
- # attribute-name/value pairs. Note that the keys in this hash
552
- # XML attributes that would be used to define this namespace,
553
- # such as "xmlns:prefix", not just the prefix. Default namespace
554
- # set on self will be included with key "xmlns". However,
555
- # default namespaces set on ancestor will NOT be, even if self
556
- # has no explicit default namespace.
557
- def namespaces
558
- Hash[*namespace_scopes.map { |nd|
559
- key = ['xmlns', nd.prefix].compact.join(':')
560
- if RUBY_VERSION >= '1.9' && document.encoding
561
- begin
562
- key.force_encoding document.encoding
563
- rescue ArgumentError
564
- end
565
- end
566
- [key, nd.href]
567
- }.flatten]
568
- end
569
-
570
- # Returns true if this is a Comment
571
- def comment?
572
- type == COMMENT_NODE
573
- end
574
-
575
- # Returns true if this is a CDATA
576
- def cdata?
577
- type == CDATA_SECTION_NODE
578
- end
579
-
580
- # Returns true if this is an XML::Document node
581
- def xml?
582
- type == DOCUMENT_NODE
583
- end
584
-
585
- # Returns true if this is an HTML::Document node
586
- def html?
587
- type == HTML_DOCUMENT_NODE
588
- end
589
-
590
- # Returns true if this is a Text node
591
- def text?
592
- type == TEXT_NODE
593
- end
594
-
595
- # Returns true if this is a DocumentFragment
596
- def fragment?
597
- type == DOCUMENT_FRAG_NODE
598
- end
599
-
600
- ###
601
- # Fetch the Nokogiri::HTML::ElementDescription for this node. Returns
602
- # nil on XML documents and on unknown tags.
603
- def description
604
- return nil if document.xml?
605
- Nokogiri::HTML::ElementDescription[name]
606
- end
607
-
608
- ###
609
- # Is this a read only node?
610
- def read_only?
611
- # According to gdome2, these are read-only node types
612
- [NOTATION_NODE, ENTITY_NODE, ENTITY_DECL].include?(type)
613
- end
614
-
615
- # Returns true if this is an Element node
616
- def element?
617
- type == ELEMENT_NODE
618
- end
619
- alias :elem? :element?
620
-
621
- ###
622
- # Turn this node in to a string. If the document is HTML, this method
623
- # returns html. If the document is XML, this method returns XML.
624
- def to_s
625
- document.xml? ? to_xml : to_html
626
- end
627
-
628
- # Get the inner_html for this node's Node#children
629
- def inner_html *args
630
- children.map { |x| x.to_html(*args) }.join
631
- end
632
-
633
- # Get the path to this node as a CSS expression
634
- def css_path
635
- path.split(/\//).map { |part|
636
- part.length == 0 ? nil : part.gsub(/\[(\d+)\]/, ':nth-of-type(\1)')
637
- }.compact.join(' > ')
638
- end
639
-
640
- ###
641
- # Get a list of ancestor Node for this Node. If +selector+ is given,
642
- # the ancestors must match +selector+
643
- def ancestors selector = nil
644
- return NodeSet.new(document) unless respond_to?(:parent)
645
- return NodeSet.new(document) unless parent
646
-
647
- parents = [parent]
648
-
649
- while parents.last.respond_to?(:parent)
650
- break unless ctx_parent = parents.last.parent
651
- parents << ctx_parent
652
- end
653
-
654
- return NodeSet.new(document, parents) unless selector
655
-
656
- root = parents.last
657
-
658
- NodeSet.new(document, parents.find_all { |parent|
659
- root.search(selector).include?(parent)
660
- })
661
- end
662
-
663
- ###
664
- # Adds a default namespace supplied as a string +url+ href, to self.
665
- # The consequence is as an xmlns attribute with supplied argument were
666
- # present in parsed XML. A default namespace set with this method will
667
- # now show up in #attributes, but when this node is serialized to XML an
668
- # "xmlns" attribute will appear. See also #namespace and #namespace=
669
- def default_namespace= url
670
- add_namespace_definition(nil, url)
671
- end
672
- alias :add_namespace :add_namespace_definition
673
-
674
- ###
675
- # Set the default namespace on this node (as would be defined with an
676
- # "xmlns=" attribute in XML source), as a Namespace object +ns+. Note that
677
- # a Namespace added this way will NOT be serialized as an xmlns attribute
678
- # for this node. You probably want #default_namespace= instead, or perhaps
679
- # #add_namespace_definition with a nil prefix argument.
680
- def namespace= ns
681
- return set_namespace(ns) unless ns
682
-
683
- unless Nokogiri::XML::Namespace === ns
684
- raise TypeError, "#{ns.class} can't be coerced into Nokogiri::XML::Namespace"
685
- end
686
- if ns.document != document
687
- raise ArgumentError, 'namespace must be declared on the same document'
688
- end
689
-
690
- set_namespace ns
691
- end
692
-
693
- ####
694
- # Yields self and all children to +block+ recursively.
695
- def traverse &block
696
- children.each{|j| j.traverse(&block) }
697
- block.call(self)
698
- end
699
-
700
- ###
701
- # Accept a visitor. This method calls "visit" on +visitor+ with self.
702
- def accept visitor
703
- visitor.visit(self)
704
- end
705
-
706
- ###
707
- # Test to see if this Node is equal to +other+
708
- def == other
709
- return false unless other
710
- return false unless other.respond_to?(:pointer_id)
711
- pointer_id == other.pointer_id
712
- end
713
-
714
- ###
715
- # Serialize Node using +options+. Save options can also be set using a
716
- # block. See SaveOptions.
717
- #
718
- # These two statements are equivalent:
719
- #
720
- # node.serialize(:encoding => 'UTF-8', :save_with => FORMAT | AS_XML)
721
- #
722
- # or
723
- #
724
- # node.serialize(:encoding => 'UTF-8') do |config|
725
- # config.format.as_xml
726
- # end
727
- #
728
- def serialize *args, &block
729
- options = args.first.is_a?(Hash) ? args.shift : {
730
- :encoding => args[0],
731
- :save_with => args[1]
732
- }
733
-
734
- encoding = options[:encoding] || document.encoding
735
- options[:encoding] = encoding
736
-
737
- outstring = ""
738
- if encoding && outstring.respond_to?(:force_encoding)
739
- outstring.force_encoding(Encoding.find(encoding))
740
- end
741
- io = StringIO.new(outstring)
742
- write_to io, options, &block
743
- io.string
744
- end
745
-
746
- ###
747
- # Serialize this Node to HTML
748
- #
749
- # doc.to_html
750
- #
751
- # See Node#write_to for a list of +options+. For formatted output,
752
- # use Node#to_xhtml instead.
753
- def to_html options = {}
754
- # FIXME: this is a hack around broken libxml versions
755
- return dump_html if Nokogiri.uses_libxml? && %w[2 6] === LIBXML_VERSION.split('.')[0..1]
756
-
757
- options[:save_with] |= SaveOptions::DEFAULT_HTML if options[:save_with]
758
- options[:save_with] = SaveOptions::DEFAULT_HTML unless options[:save_with]
759
- serialize(options)
760
- end
761
-
762
- ###
763
- # Serialize this Node to XML using +options+
764
- #
765
- # doc.to_xml(:indent => 5, :encoding => 'UTF-8')
766
- #
767
- # See Node#write_to for a list of +options+
768
- def to_xml options = {}
769
- options[:save_with] |= SaveOptions::DEFAULT_XML if options[:save_with]
770
- options[:save_with] = SaveOptions::DEFAULT_XML unless options[:save_with]
771
- serialize(options)
772
- end
773
-
774
- ###
775
- # Serialize this Node to XHTML using +options+
776
- #
777
- # doc.to_xhtml(:indent => 5, :encoding => 'UTF-8')
778
- #
779
- # See Node#write_to for a list of +options+
780
- def to_xhtml options = {}
781
- # FIXME: this is a hack around broken libxml versions
782
- return dump_html if Nokogiri.uses_libxml? && %w[2 6] === LIBXML_VERSION.split('.')[0..1]
783
-
784
- options[:save_with] |= SaveOptions::DEFAULT_XHTML if options[:save_with]
785
- options[:save_with] = SaveOptions::DEFAULT_XHTML unless options[:save_with]
786
- serialize(options)
787
- end
788
-
789
- ###
790
- # Write Node to +io+ with +options+. +options+ modify the output of
791
- # this method. Valid options are:
792
- #
793
- # * +:encoding+ for changing the encoding
794
- # * +:indent_text+ the indentation text, defaults to one space
795
- # * +:indent+ the number of +:indent_text+ to use, defaults to 2
796
- # * +:save_with+ a combination of SaveOptions constants.
797
- #
798
- # To save with UTF-8 indented twice:
799
- #
800
- # node.write_to(io, :encoding => 'UTF-8', :indent => 2)
801
- #
802
- # To save indented with two dashes:
803
- #
804
- # node.write_to(io, :indent_text => '-', :indent => 2
805
- #
806
- def write_to io, *options
807
- options = options.first.is_a?(Hash) ? options.shift : {}
808
- encoding = options[:encoding] || options[0]
809
- if Nokogiri.jruby?
810
- save_options = options[:save_with] || options[1]
811
- indent_times = options[:indent] || 0
812
- else
813
- save_options = options[:save_with] || options[1] || SaveOptions::FORMAT
814
- indent_times = options[:indent] || 2
815
- end
816
- indent_text = options[:indent_text] || ' '
817
-
818
- config = SaveOptions.new(save_options.to_i)
819
- yield config if block_given?
820
-
821
- native_write_to(io, encoding, indent_text * indent_times, config.options)
822
- end
823
-
824
- ###
825
- # Write Node as HTML to +io+ with +options+
826
- #
827
- # See Node#write_to for a list of +options+
828
- def write_html_to io, options = {}
829
- # FIXME: this is a hack around broken libxml versions
830
- return (io << dump_html) if Nokogiri.uses_libxml? && %w[2 6] === LIBXML_VERSION.split('.')[0..1]
831
-
832
- options[:save_with] ||= SaveOptions::DEFAULT_HTML
833
- write_to io, options
834
- end
835
-
836
- ###
837
- # Write Node as XHTML to +io+ with +options+
838
- #
839
- # See Node#write_to for a list of +options+
840
- def write_xhtml_to io, options = {}
841
- # FIXME: this is a hack around broken libxml versions
842
- return (io << dump_html) if Nokogiri.uses_libxml? && %w[2 6] === LIBXML_VERSION.split('.')[0..1]
843
-
844
- options[:save_with] ||= SaveOptions::DEFAULT_XHTML
845
- write_to io, options
846
- end
847
-
848
- ###
849
- # Write Node as XML to +io+ with +options+
850
- #
851
- # doc.write_xml_to io, :encoding => 'UTF-8'
852
- #
853
- # See Node#write_to for a list of options
854
- def write_xml_to io, options = {}
855
- options[:save_with] ||= SaveOptions::DEFAULT_XML
856
- write_to io, options
857
- end
858
-
859
- ###
860
- # Compare two Node objects with respect to their Document. Nodes from
861
- # different documents cannot be compared.
862
- def <=> other
863
- return nil unless other.is_a?(Nokogiri::XML::Node)
864
- return nil unless document == other.document
865
- compare other
866
- end
867
-
868
- private
869
-
870
- def extract_params params # :nodoc:
871
- # Pop off our custom function handler if it exists
872
- handler = params.find { |param|
873
- ![Hash, String, Symbol].include?(param.class)
874
- }
875
-
876
- params -= [handler] if handler
877
-
878
- hashes = []
879
- while Hash === params.last || params.last.nil?
880
- hashes << params.pop
881
- break if params.empty?
882
- end
883
-
884
- ns, binds = hashes.reverse
885
-
886
- ns ||= document.root ? document.root.namespaces : {}
887
-
888
- [params, handler, ns, binds]
889
- end
890
-
891
- def coerce data # :nodoc:
892
- return data if data.is_a?(XML::NodeSet)
893
- return data.children if data.is_a?(XML::DocumentFragment)
894
- return fragment(data).children if data.is_a?(String)
895
-
896
- if data.is_a?(Document) || !data.is_a?(XML::Node)
897
- raise ArgumentError, <<-EOERR
898
- Requires a Node, NodeSet or String argument, and cannot accept a #{data.class}.
899
- (You probably want to select a node from the Document with at() or search(), or create a new Node via Node.new().)
900
- EOERR
901
- end
902
-
903
- data
904
- end
905
-
906
- def implied_xpath_context
907
- "./"
908
- end
909
-
910
- def inspect_attributes
911
- [:name, :namespace, :attribute_nodes, :children]
912
- end
913
- end
914
- end
915
- end