middleman 0.11.5 → 0.12.0.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1459) hide show
  1. data/Gemfile +5 -12
  2. data/README.rdoc +4 -0
  3. data/Rakefile +6 -56
  4. data/VERSION +1 -1
  5. data/features/automatic_image_sizes.feature +14 -0
  6. data/features/cache_buster.feature +22 -0
  7. data/features/minify_css.feature +22 -0
  8. data/features/minify_javascript.feature +12 -0
  9. data/features/page_alias_and_layouts.feature +12 -0
  10. data/features/relative_assets.feature +12 -0
  11. data/features/step_definitions/env.rb +2 -0
  12. data/features/step_definitions/middleman_steps.rb +22 -0
  13. data/features/step_definitions/page_layout_steps.rb +13 -0
  14. data/lib/middleman.rb +1 -2
  15. data/lib/middleman/base.rb +22 -23
  16. data/lib/middleman/builder.rb +1 -1
  17. data/lib/middleman/features/automatic_image_sizes.rb +6 -4
  18. data/lib/middleman/features/minify_css.rb +15 -6
  19. data/lib/middleman/features/minify_javascript.rb +13 -9
  20. data/lib/middleman/features/relative_assets.rb +14 -3
  21. data/lib/middleman/features/smush_pngs.rb +2 -1
  22. data/lib/middleman/rack/sprockets.rb +13 -8
  23. data/lib/middleman/rack/static.rb +8 -1
  24. data/lib/middleman/sass.rb +12 -2
  25. data/lib/middleman/vendor/bin/compass +3 -0
  26. data/lib/middleman/vendor/bin/css2sass +3 -0
  27. data/lib/middleman/vendor/bin/edit_json.rb +3 -0
  28. data/lib/middleman/vendor/bin/haml +3 -0
  29. data/lib/middleman/vendor/bin/html2haml +3 -0
  30. data/lib/middleman/vendor/bin/htmldiff +3 -0
  31. data/lib/middleman/vendor/bin/launchy +3 -0
  32. data/lib/middleman/vendor/bin/ldiff +3 -0
  33. data/lib/middleman/vendor/bin/prettify_json.rb +3 -0
  34. data/lib/middleman/vendor/bin/rackup +3 -0
  35. data/lib/middleman/vendor/bin/rake +3 -0
  36. data/lib/middleman/vendor/bin/sass +3 -0
  37. data/lib/middleman/vendor/bin/shotgun +3 -0
  38. data/lib/middleman/vendor/bin/smusher +3 -0
  39. data/lib/middleman/vendor/bin/sprocketize +3 -0
  40. data/lib/middleman/vendor/gems/cache/compass-0.8.17.gem +0 -0
  41. data/lib/middleman/vendor/gems/cache/compass-slickmap-0.2.1.gem +0 -0
  42. data/lib/middleman/vendor/gems/cache/configuration-1.1.0.gem +0 -0
  43. data/lib/middleman/vendor/gems/cache/diff-lcs-1.1.2.gem +0 -0
  44. data/lib/middleman/vendor/gems/cache/extlib-0.9.13.gem +0 -0
  45. data/lib/middleman/vendor/gems/cache/haml-2.2.14.gem +0 -0
  46. data/lib/middleman/vendor/gems/cache/highline-1.5.1.gem +0 -0
  47. data/lib/middleman/vendor/gems/cache/httpclient-2.1.5.2.gem +0 -0
  48. data/lib/middleman/vendor/gems/cache/json-1.2.0.gem +0 -0
  49. data/lib/middleman/vendor/gems/cache/json_pure-1.2.0.gem +0 -0
  50. data/lib/middleman/vendor/gems/cache/launchy-0.3.3.gem +0 -0
  51. data/lib/middleman/vendor/gems/cache/rack-1.0.1.gem +0 -0
  52. data/lib/middleman/vendor/gems/cache/rack-test-0.5.2.gem +0 -0
  53. data/lib/middleman/vendor/gems/cache/rake-0.8.7.gem +0 -0
  54. data/lib/middleman/vendor/gems/cache/shotgun-0.4.gem +0 -0
  55. data/lib/middleman/vendor/gems/cache/sinatra-0.9.4.gem +0 -0
  56. data/lib/middleman/vendor/gems/cache/sinatra-content-for-0.2.gem +0 -0
  57. data/lib/middleman/vendor/gems/cache/smusher-0.4.2.gem +0 -0
  58. data/lib/middleman/vendor/gems/cache/sprockets-1.0.2.gem +0 -0
  59. data/lib/middleman/vendor/gems/cache/templater-1.0.0.gem +0 -0
  60. data/lib/middleman/vendor/gems/cache/yui-compressor-0.9.1.gem +0 -0
  61. data/lib/middleman/vendor/gems/environment.rb +144 -0
  62. data/lib/middleman/vendor/gems/gems/compass-0.8.17/CHANGELOG.markdown +557 -0
  63. data/lib/middleman/vendor/gems/gems/compass-0.8.17/LICENSE.markdown +29 -0
  64. data/lib/middleman/vendor/gems/gems/compass-0.8.17/README.markdown +44 -0
  65. data/lib/middleman/vendor/gems/gems/compass-0.8.17/REVISION +1 -0
  66. data/lib/middleman/vendor/gems/gems/compass-0.8.17/Rakefile +127 -0
  67. data/lib/middleman/vendor/gems/gems/compass-0.8.17/VERSION.yml +4 -0
  68. data/lib/middleman/vendor/gems/gems/compass-0.8.17/bin/compass +8 -0
  69. data/lib/middleman/vendor/gems/gems/compass-0.8.17/deps.rip +1 -0
  70. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/README.markdown +4 -0
  71. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/config.rb +7 -0
  72. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/images/grid.png +0 -0
  73. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/index.html.haml +85 -0
  74. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/parts/elements.html.haml +282 -0
  75. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/parts/forms.html.haml +190 -0
  76. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/parts/grid.html.haml +274 -0
  77. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/parts/test-small.jpg +0 -0
  78. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/parts/test.jpg +0 -0
  79. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/parts/valid.png +0 -0
  80. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/src/ie.sass +3 -0
  81. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/src/images/grid.png +0 -0
  82. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/src/print.sass +3 -0
  83. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/src/screen.sass +8 -0
  84. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/config.rb +8 -0
  85. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/buttons/cross.png +0 -0
  86. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/buttons/key.png +0 -0
  87. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/buttons/tick.png +0 -0
  88. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/grid.png +0 -0
  89. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/doc.png +0 -0
  90. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/email.png +0 -0
  91. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/external.png +0 -0
  92. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/feed.png +0 -0
  93. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/im.png +0 -0
  94. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/pdf.png +0 -0
  95. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/visited.png +0 -0
  96. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/xls.png +0 -0
  97. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/test-small.jpg +0 -0
  98. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/test.jpg +0 -0
  99. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/valid.png +0 -0
  100. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/index.html.haml +96 -0
  101. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/plugins/buttons.html.haml +67 -0
  102. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/plugins/fancy_type.html.haml +100 -0
  103. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/plugins/link_icons.html.haml +61 -0
  104. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/plugins/rtl.html.haml +100 -0
  105. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/buttons.sass +49 -0
  106. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/ie.sass +3 -0
  107. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/images/grid.png +0 -0
  108. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/link_icons.sass +13 -0
  109. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/print.sass +3 -0
  110. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/rtl_screen.sass +13 -0
  111. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/screen.sass +11 -0
  112. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped/images/grid.png +0 -0
  113. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped/src/ie.sass +3 -0
  114. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped/src/print.sass +3 -0
  115. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped/src/screen.sass +4 -0
  116. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped_form/images/grid.png +0 -0
  117. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped_form/src/ie.sass +3 -0
  118. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped_form/src/print.sass +3 -0
  119. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped_form/src/screen.sass +10 -0
  120. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/config.rb +7 -0
  121. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/images/grid.png +0 -0
  122. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/index.html.haml +86 -0
  123. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/parts/fancy_type.html.haml +100 -0
  124. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/parts/liquid.html.haml +100 -0
  125. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/parts/test-small.jpg +0 -0
  126. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/parts/test.jpg +0 -0
  127. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/parts/valid.png +0 -0
  128. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/src/ie.sass +3 -0
  129. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/src/images/grid.png +0 -0
  130. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/src/liquid.sass +70 -0
  131. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/src/print.sass +3 -0
  132. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/src/screen.sass +71 -0
  133. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/compass.html.haml +39 -0
  134. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/config.rb +7 -0
  135. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/images/blue_arrow.gif +0 -0
  136. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/src/compass.sass +47 -0
  137. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/src/images/blue_arrow.gif +0 -0
  138. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/src/sticky_footer.sass +11 -0
  139. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/src/utilities.sass +108 -0
  140. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/sticky_footer.html.haml +14 -0
  141. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/utilities.html.haml +189 -0
  142. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/logo/logo.html.haml +40 -0
  143. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/logo/src/ie.sass +6 -0
  144. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/logo/src/print.sass +6 -0
  145. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/logo/src/screen.sass +29 -0
  146. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/divisions.html.haml +179 -0
  147. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/index.html.haml +19 -0
  148. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/src/screen.sass +13 -0
  149. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/sub_divisions.html.haml +169 -0
  150. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/templates.html.haml +54 -0
  151. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/test.jpg +0 -0
  152. data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/typography.html.haml +132 -0
  153. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint.rb +2 -0
  154. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/_blueprint.sass +3 -0
  155. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/_ie.sass +93 -0
  156. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/_print.sass +83 -0
  157. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/_reset.sass +3 -0
  158. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/_screen.sass +15 -0
  159. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass +84 -0
  160. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass +33 -0
  161. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass +9 -0
  162. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass +82 -0
  163. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass +55 -0
  164. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass +178 -0
  165. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass +58 -0
  166. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass +44 -0
  167. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass +141 -0
  168. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass +56 -0
  169. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass +104 -0
  170. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass +47 -0
  171. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass +155 -0
  172. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass +37 -0
  173. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/buttons/buttons.sass +49 -0
  174. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/buttons/buttons/cross.png +0 -0
  175. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/buttons/buttons/key.png +0 -0
  176. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/buttons/buttons/tick.png +0 -0
  177. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/buttons/manifest.rb +5 -0
  178. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons.sass +13 -0
  179. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/doc.png +0 -0
  180. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/email.png +0 -0
  181. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/external.png +0 -0
  182. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/feed.png +0 -0
  183. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/im.png +0 -0
  184. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/pdf.png +0 -0
  185. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/visited.png +0 -0
  186. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/xls.png +0 -0
  187. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/manifest.rb +10 -0
  188. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/grid.png +0 -0
  189. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/ie.sass +15 -0
  190. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/manifest.rb +6 -0
  191. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/partials/_base.sass +11 -0
  192. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/print.sass +3 -0
  193. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/screen.sass +40 -0
  194. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass.rb +2 -0
  195. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/_compass.sass +1 -0
  196. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/_layout.sass +1 -0
  197. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/_misc.sass +24 -0
  198. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/_reset.sass +3 -0
  199. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/_utilities.sass +6 -0
  200. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass +17 -0
  201. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_general.sass +6 -0
  202. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_links.sass +3 -0
  203. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_lists.sass +3 -0
  204. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_print.sass +24 -0
  205. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_sprites.sass +1 -0
  206. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_tables.sass +3 -0
  207. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_text.sass +2 -0
  208. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass +24 -0
  209. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_float.sass +17 -0
  210. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass +6 -0
  211. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass +6 -0
  212. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass +134 -0
  213. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_tabs.sass +0 -0
  214. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass +19 -0
  215. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass +5 -0
  216. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass +24 -0
  217. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass +5 -0
  218. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass +21 -0
  219. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass +52 -0
  220. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass +29 -0
  221. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass +12 -0
  222. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass +20 -0
  223. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass +27 -0
  224. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass +9 -0
  225. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/text/_ellipsis.sass +13 -0
  226. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass +3 -0
  227. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass +17 -0
  228. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/ellipsis/ellipsis.sass +6 -0
  229. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/ellipsis/manifest.rb +2 -0
  230. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/ellipsis/xml/ellipsis.xml +14 -0
  231. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/project/ie.sass +6 -0
  232. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/project/manifest.rb +3 -0
  233. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/project/print.sass +6 -0
  234. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/project/screen.sass +13 -0
  235. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui.rb +2 -0
  236. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/stylesheets/_yui.sass +7 -0
  237. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/stylesheets/yui/modules/_base.sass +60 -0
  238. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/stylesheets/yui/modules/_fonts.sass +38 -0
  239. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/stylesheets/yui/modules/_grids.sass +341 -0
  240. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/stylesheets/yui/modules/_reset.sass +61 -0
  241. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/templates/project/manifest.rb +1 -0
  242. data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/templates/project/screen.sass +4 -0
  243. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass.rb +23 -0
  244. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/actions.rb +110 -0
  245. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration.rb +5 -0
  246. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration/merb.rb +43 -0
  247. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration/rails.rb +12 -0
  248. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration/rails/action_controller.rb +15 -0
  249. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration/rails/sass_plugin.rb +5 -0
  250. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration/rails/templates/compass-install-rails.rb +80 -0
  251. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration/rails/urls.rb +14 -0
  252. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/base.rb +33 -0
  253. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/create_project.rb +19 -0
  254. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/generate_grid_background.rb +24 -0
  255. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/installer_command.rb +31 -0
  256. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/list_frameworks.rb +16 -0
  257. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/print_version.rb +23 -0
  258. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/project_base.rb +112 -0
  259. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/stamp_pattern.rb +33 -0
  260. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/update_project.rb +34 -0
  261. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/validate_project.rb +21 -0
  262. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/watch_project.rb +64 -0
  263. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/write_configuration.rb +28 -0
  264. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/compiler.rb +54 -0
  265. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/configuration.rb +324 -0
  266. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/core_ext.rb +14 -0
  267. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/dependencies.rb +10 -0
  268. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/errors.rb +7 -0
  269. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/exec.rb +251 -0
  270. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/frameworks.rb +29 -0
  271. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/grid_builder.rb +72 -0
  272. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/installers.rb +5 -0
  273. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/installers/base.rb +158 -0
  274. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/installers/manifest.rb +58 -0
  275. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/installers/rails.rb +135 -0
  276. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/installers/stand_alone.rb +60 -0
  277. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/logger.rb +42 -0
  278. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions.rb +5 -0
  279. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions.rb +19 -0
  280. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions/display.rb +22 -0
  281. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions/enumerate.rb +6 -0
  282. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions/inline_image.rb +35 -0
  283. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions/selectors.rb +39 -0
  284. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions/urls.rb +105 -0
  285. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/monkey_patches.rb +3 -0
  286. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/monkey_patches/stylesheet_updating.rb +23 -0
  287. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/test_case.rb +38 -0
  288. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/validator.rb +10 -0
  289. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/version.rb +57 -0
  290. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm.rb +41 -0
  291. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/backends/fsevents.rb +37 -0
  292. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/backends/polling.rb +26 -0
  293. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/cache.rb +193 -0
  294. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/ext.rb +37 -0
  295. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/fsevents.rb +129 -0
  296. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/monitor.rb +25 -0
  297. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/path.rb +91 -0
  298. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/state.rb +54 -0
  299. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/support.rb +22 -0
  300. data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/tree.rb +176 -0
  301. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/command_line_helper.rb +102 -0
  302. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/command_line_test.rb +66 -0
  303. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/compass_test.rb +141 -0
  304. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/configuration_test.rb +118 -0
  305. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/config.rb +9 -0
  306. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/css/typography.css +158 -0
  307. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/images/grid.png +0 -0
  308. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/sass/ie.sass +3 -0
  309. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/sass/print.sass +3 -0
  310. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/sass/screen.sass +17 -0
  311. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/sass/typography.sass +3 -0
  312. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/config.rb +9 -0
  313. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/css/layout.css +13 -0
  314. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/css/print.css +18 -0
  315. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/css/reset.css +60 -0
  316. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/css/utilities.css +17 -0
  317. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/sass/layout.sass +3 -0
  318. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/sass/print.sass +5 -0
  319. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/sass/reset.sass +10 -0
  320. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/sass/utilities.sass +6 -0
  321. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/image_urls/config.rb +17 -0
  322. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/image_urls/css/screen.css +3 -0
  323. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/image_urls/images/grid.png +0 -0
  324. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/image_urls/sass/screen.sass +6 -0
  325. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/config.rb +9 -0
  326. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/css/mixins.css +13 -0
  327. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/sass/base.sass +3 -0
  328. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/sass/fonts.sass +3 -0
  329. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/sass/grids.sass +3 -0
  330. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/sass/mixins.sass +16 -0
  331. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/rails_integration_test.rb +83 -0
  332. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/sass_extensions_test.rb +31 -0
  333. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/test_case_helper.rb +13 -0
  334. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/test_helper.rb +21 -0
  335. data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/test_rails_helper.rb +20 -0
  336. data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/.gitignore +3 -0
  337. data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/Rakefile +20 -0
  338. data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/VERSION +1 -0
  339. data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/compass-slickmap.gemspec +53 -0
  340. data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/lib/slickmap.rb +45 -0
  341. data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/lib/slickmap/compass_plugin.rb +5 -0
  342. data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/sass/_slickmap.sass +206 -0
  343. data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/templates/project/images/L1-center.png +0 -0
  344. data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/templates/project/images/L1-left.png +0 -0
  345. data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/templates/project/images/L1-right.png +0 -0
  346. data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/templates/project/images/L3-bottom.png +0 -0
  347. data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/templates/project/images/L3-center.png +0 -0
  348. data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/templates/project/images/L3-li-top.png +0 -0
  349. data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/templates/project/images/L3-ul-top.png +0 -0
  350. data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/templates/project/images/vertical-line.png +0 -0
  351. data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/templates/project/images/white-highlight.png +0 -0
  352. data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/templates/project/manifest.rb +10 -0
  353. data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/templates/project/sitemap.sass +3 -0
  354. data/lib/middleman/vendor/gems/gems/configuration-1.1.0/README +197 -0
  355. data/lib/middleman/vendor/gems/gems/configuration-1.1.0/README.erb +69 -0
  356. data/lib/middleman/vendor/gems/gems/configuration-1.1.0/Rakefile +241 -0
  357. data/lib/middleman/vendor/gems/gems/configuration-1.1.0/config/a.rb +5 -0
  358. data/lib/middleman/vendor/gems/gems/configuration-1.1.0/config/b.rb +19 -0
  359. data/lib/middleman/vendor/gems/gems/configuration-1.1.0/config/c.rb +8 -0
  360. data/lib/middleman/vendor/gems/gems/configuration-1.1.0/config/d.rb +5 -0
  361. data/lib/middleman/vendor/gems/gems/configuration-1.1.0/config/e.rb +13 -0
  362. data/lib/middleman/vendor/gems/gems/configuration-1.1.0/configuration.gemspec +28 -0
  363. data/lib/middleman/vendor/gems/gems/configuration-1.1.0/lib/configuration.rb +199 -0
  364. data/lib/middleman/vendor/gems/gems/configuration-1.1.0/samples/a.rb +11 -0
  365. data/lib/middleman/vendor/gems/gems/configuration-1.1.0/samples/b.rb +11 -0
  366. data/lib/middleman/vendor/gems/gems/configuration-1.1.0/samples/c.rb +11 -0
  367. data/lib/middleman/vendor/gems/gems/configuration-1.1.0/samples/d.rb +14 -0
  368. data/lib/middleman/vendor/gems/gems/configuration-1.1.0/samples/e.rb +12 -0
  369. data/lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/ChangeLog +46 -0
  370. data/lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/Install +6 -0
  371. data/lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/README +76 -0
  372. data/lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/Rakefile +116 -0
  373. data/lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/bin/htmldiff +112 -0
  374. data/lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/bin/ldiff +45 -0
  375. data/lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/lib/diff/lcs.rb +1105 -0
  376. data/lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/lib/diff/lcs/array.rb +21 -0
  377. data/lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/lib/diff/lcs/block.rb +51 -0
  378. data/lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/lib/diff/lcs/callbacks.rb +322 -0
  379. data/lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/lib/diff/lcs/change.rb +169 -0
  380. data/lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/lib/diff/lcs/hunk.rb +257 -0
  381. data/lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/lib/diff/lcs/ldiff.rb +226 -0
  382. data/lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/lib/diff/lcs/string.rb +19 -0
  383. data/lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/tests/00test.rb +626 -0
  384. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/History.txt +77 -0
  385. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/LICENSE +47 -0
  386. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/README +0 -0
  387. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/Rakefile +180 -0
  388. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib.rb +50 -0
  389. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/array.rb +36 -0
  390. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/assertions.rb +8 -0
  391. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/blank.rb +89 -0
  392. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/boolean.rb +11 -0
  393. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/byte_array.rb +6 -0
  394. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/class.rb +177 -0
  395. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/datetime.rb +29 -0
  396. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/dictionary.rb +433 -0
  397. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/hash.rb +442 -0
  398. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/hook.rb +401 -0
  399. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/inflection.rb +434 -0
  400. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/lazy_array.rb +457 -0
  401. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/lazy_module.rb +18 -0
  402. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/logger.rb +198 -0
  403. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/mash.rb +155 -0
  404. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/module.rb +47 -0
  405. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/nil.rb +5 -0
  406. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/numeric.rb +5 -0
  407. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/object.rb +175 -0
  408. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/object_space.rb +13 -0
  409. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/pathname.rb +20 -0
  410. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/pooling.rb +235 -0
  411. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/rubygems.rb +38 -0
  412. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/simple_set.rb +66 -0
  413. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/string.rb +175 -0
  414. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/struct.rb +17 -0
  415. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/symbol.rb +21 -0
  416. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/tasks/release.rb +15 -0
  417. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/time.rb +43 -0
  418. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/version.rb +3 -0
  419. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/virtual_file.rb +10 -0
  420. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/array_spec.rb +39 -0
  421. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/blank_spec.rb +85 -0
  422. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/byte_array_spec.rb +7 -0
  423. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/class_spec.rb +157 -0
  424. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/datetime_spec.rb +22 -0
  425. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/hash_spec.rb +537 -0
  426. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/hook_spec.rb +1234 -0
  427. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/inflection/plural_spec.rb +564 -0
  428. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/inflection/singular_spec.rb +497 -0
  429. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/inflection_extras_spec.rb +93 -0
  430. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/lazy_array_spec.rb +1932 -0
  431. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/lazy_module_spec.rb +38 -0
  432. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/mash_spec.rb +311 -0
  433. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/module_spec.rb +70 -0
  434. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/object_space_spec.rb +9 -0
  435. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/object_spec.rb +114 -0
  436. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/pooling_spec.rb +511 -0
  437. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/simple_set_spec.rb +57 -0
  438. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/spec.opts +3 -0
  439. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/spec_helper.rb +10 -0
  440. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/string_spec.rb +220 -0
  441. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/struct_spec.rb +12 -0
  442. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/symbol_spec.rb +8 -0
  443. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/time_spec.rb +29 -0
  444. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/try_call_spec.rb +73 -0
  445. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/try_dup_spec.rb +45 -0
  446. data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/virtual_file_spec.rb +21 -0
  447. data/lib/middleman/vendor/gems/gems/haml-2.2.14/.yardopts +5 -0
  448. data/lib/middleman/vendor/gems/gems/haml-2.2.14/CONTRIBUTING +4 -0
  449. data/lib/middleman/vendor/gems/gems/haml-2.2.14/MIT-LICENSE +20 -0
  450. data/lib/middleman/vendor/gems/gems/haml-2.2.14/README.md +357 -0
  451. data/lib/middleman/vendor/gems/gems/haml-2.2.14/REVISION +1 -0
  452. data/lib/middleman/vendor/gems/gems/haml-2.2.14/Rakefile +379 -0
  453. data/lib/middleman/vendor/gems/gems/haml-2.2.14/VERSION +1 -0
  454. data/lib/middleman/vendor/gems/gems/haml-2.2.14/VERSION_NAME +1 -0
  455. data/lib/middleman/vendor/gems/gems/haml-2.2.14/bin/css2sass +7 -0
  456. data/lib/middleman/vendor/gems/gems/haml-2.2.14/bin/haml +9 -0
  457. data/lib/middleman/vendor/gems/gems/haml-2.2.14/bin/html2haml +7 -0
  458. data/lib/middleman/vendor/gems/gems/haml-2.2.14/bin/sass +8 -0
  459. data/lib/middleman/vendor/gems/gems/haml-2.2.14/extra/haml-mode.el +662 -0
  460. data/lib/middleman/vendor/gems/gems/haml-2.2.14/extra/sass-mode.el +206 -0
  461. data/lib/middleman/vendor/gems/gems/haml-2.2.14/extra/update_watch.rb +13 -0
  462. data/lib/middleman/vendor/gems/gems/haml-2.2.14/init.rb +16 -0
  463. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml.rb +40 -0
  464. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/buffer.rb +302 -0
  465. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/engine.rb +299 -0
  466. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/error.rb +22 -0
  467. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/exec.rb +459 -0
  468. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/filters.rb +341 -0
  469. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/helpers.rb +563 -0
  470. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/helpers/action_view_extensions.rb +55 -0
  471. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/helpers/action_view_mods.rb +177 -0
  472. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/helpers/xss_mods.rb +95 -0
  473. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/html.rb +259 -0
  474. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/precompiler.rb +1037 -0
  475. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/shared.rb +78 -0
  476. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/template.rb +85 -0
  477. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/template/patch.rb +58 -0
  478. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/template/plugin.rb +71 -0
  479. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/util.rb +276 -0
  480. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/version.rb +64 -0
  481. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass.rb +24 -0
  482. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/css.rb +404 -0
  483. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/engine.rb +475 -0
  484. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/environment.rb +79 -0
  485. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/error.rb +57 -0
  486. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/files.rb +139 -0
  487. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/plugin.rb +225 -0
  488. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/plugin/merb.rb +49 -0
  489. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/plugin/rack.rb +65 -0
  490. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/plugin/rails.rb +24 -0
  491. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/repl.rb +58 -0
  492. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script.rb +59 -0
  493. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/bool.rb +17 -0
  494. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/color.rb +201 -0
  495. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/funcall.rb +50 -0
  496. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/functions.rb +250 -0
  497. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/lexer.rb +191 -0
  498. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/literal.rb +177 -0
  499. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/node.rb +14 -0
  500. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/number.rb +381 -0
  501. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/operation.rb +45 -0
  502. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/parser.rb +222 -0
  503. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/string.rb +12 -0
  504. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/unary_operation.rb +34 -0
  505. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/variable.rb +31 -0
  506. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/comment_node.rb +84 -0
  507. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/debug_node.rb +30 -0
  508. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/directive_node.rb +68 -0
  509. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/for_node.rb +48 -0
  510. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/if_node.rb +54 -0
  511. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/import_node.rb +65 -0
  512. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/mixin_def_node.rb +29 -0
  513. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/mixin_node.rb +48 -0
  514. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/node.rb +251 -0
  515. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/prop_node.rb +121 -0
  516. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/rule_node.rb +223 -0
  517. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/variable_node.rb +34 -0
  518. data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/while_node.rb +31 -0
  519. data/lib/middleman/vendor/gems/gems/haml-2.2.14/rails/init.rb +1 -0
  520. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/benchmark.rb +99 -0
  521. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/engine_test.rb +1237 -0
  522. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/helper_test.rb +282 -0
  523. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/html2haml_test.rb +139 -0
  524. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/markaby/standard.mab +52 -0
  525. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/mocks/article.rb +6 -0
  526. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/content_for_layout.xhtml +12 -0
  527. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/eval_suppressed.xhtml +9 -0
  528. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/filters.xhtml +62 -0
  529. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/helpers.xhtml +93 -0
  530. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/helpful.xhtml +10 -0
  531. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/just_stuff.xhtml +68 -0
  532. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/list.xhtml +12 -0
  533. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/nuke_inner_whitespace.xhtml +40 -0
  534. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/nuke_outer_whitespace.xhtml +148 -0
  535. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/original_engine.xhtml +20 -0
  536. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/partial_layout.xhtml +5 -0
  537. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/partials.xhtml +21 -0
  538. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/render_layout.xhtml +3 -0
  539. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/silent_script.xhtml +74 -0
  540. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/standard.xhtml +162 -0
  541. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/tag_parsing.xhtml +23 -0
  542. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/very_basic.xhtml +5 -0
  543. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/whitespace_handling.xhtml +89 -0
  544. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/rhtml/_av_partial_1.rhtml +12 -0
  545. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/rhtml/_av_partial_2.rhtml +8 -0
  546. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/rhtml/action_view.rhtml +62 -0
  547. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/rhtml/standard.rhtml +54 -0
  548. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/spec/README.md +97 -0
  549. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/spec/lua_haml_spec.lua +30 -0
  550. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/spec/ruby_haml_test.rb +19 -0
  551. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/spec/tests.json +488 -0
  552. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/template_test.rb +296 -0
  553. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/_av_partial_1.haml +9 -0
  554. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/_av_partial_1_ugly.haml +9 -0
  555. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/_av_partial_2.haml +5 -0
  556. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/_av_partial_2_ugly.haml +5 -0
  557. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/_layout.erb +3 -0
  558. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/_layout_for_partial.haml +3 -0
  559. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/_partial.haml +8 -0
  560. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/_text_area.haml +3 -0
  561. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/action_view.haml +47 -0
  562. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/action_view_ugly.haml +47 -0
  563. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/breakage.haml +8 -0
  564. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/content_for_layout.haml +8 -0
  565. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/eval_suppressed.haml +11 -0
  566. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/filters.haml +66 -0
  567. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/helpers.haml +95 -0
  568. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/helpful.haml +11 -0
  569. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/just_stuff.haml +83 -0
  570. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/list.haml +12 -0
  571. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/nuke_inner_whitespace.haml +32 -0
  572. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/nuke_outer_whitespace.haml +144 -0
  573. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/original_engine.haml +17 -0
  574. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/partial_layout.haml +3 -0
  575. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/partialize.haml +1 -0
  576. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/partials.haml +12 -0
  577. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/render_layout.haml +2 -0
  578. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/silent_script.haml +40 -0
  579. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/standard.haml +42 -0
  580. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/standard_ugly.haml +42 -0
  581. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/tag_parsing.haml +21 -0
  582. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/very_basic.haml +4 -0
  583. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/whitespace_handling.haml +87 -0
  584. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/util_test.rb +107 -0
  585. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/linked_rails.rb +21 -0
  586. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/css2sass_test.rb +251 -0
  587. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/engine_test.rb +914 -0
  588. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/functions_test.rb +159 -0
  589. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/more_results/more1.css +9 -0
  590. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/more_results/more1_with_line_comments.css +26 -0
  591. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/more_results/more_import.css +29 -0
  592. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/more_templates/_more_partial.sass +2 -0
  593. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/more_templates/more1.sass +23 -0
  594. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/more_templates/more_import.sass +11 -0
  595. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/plugin_test.rb +222 -0
  596. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/alt.css +4 -0
  597. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/basic.css +9 -0
  598. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/compact.css +5 -0
  599. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/complex.css +87 -0
  600. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/compressed.css +1 -0
  601. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/expanded.css +19 -0
  602. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/import.css +29 -0
  603. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/line_numbers.css +49 -0
  604. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/mixins.css +95 -0
  605. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/multiline.css +24 -0
  606. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/nested.css +22 -0
  607. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/parent_ref.css +13 -0
  608. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/script.css +16 -0
  609. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/subdir/nested_subdir/nested_subdir.css +1 -0
  610. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/subdir/subdir.css +3 -0
  611. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/units.css +11 -0
  612. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/script_test.rb +267 -0
  613. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/_partial.sass +2 -0
  614. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/alt.sass +16 -0
  615. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/basic.sass +23 -0
  616. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/bork.sass +2 -0
  617. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/bork2.sass +2 -0
  618. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/compact.sass +17 -0
  619. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/complex.sass +307 -0
  620. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/compressed.sass +15 -0
  621. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/expanded.sass +17 -0
  622. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/import.sass +11 -0
  623. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/importee.sass +19 -0
  624. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/line_numbers.sass +13 -0
  625. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/mixins.sass +76 -0
  626. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/multiline.sass +20 -0
  627. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/nested.sass +25 -0
  628. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/parent_ref.sass +25 -0
  629. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/script.sass +101 -0
  630. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/subdir/nested_subdir/_nested_partial.sass +2 -0
  631. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/subdir/nested_subdir/nested_subdir.sass +3 -0
  632. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/subdir/subdir.sass +6 -0
  633. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/units.sass +11 -0
  634. data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/test_helper.rb +35 -0
  635. data/lib/middleman/vendor/gems/gems/highline-1.5.1/CHANGELOG +222 -0
  636. data/lib/middleman/vendor/gems/gems/highline-1.5.1/INSTALL +35 -0
  637. data/lib/middleman/vendor/gems/gems/highline-1.5.1/LICENSE +7 -0
  638. data/lib/middleman/vendor/gems/gems/highline-1.5.1/README +63 -0
  639. data/lib/middleman/vendor/gems/gems/highline-1.5.1/Rakefile +82 -0
  640. data/lib/middleman/vendor/gems/gems/highline-1.5.1/TODO +6 -0
  641. data/lib/middleman/vendor/gems/gems/highline-1.5.1/examples/ansi_colors.rb +38 -0
  642. data/lib/middleman/vendor/gems/gems/highline-1.5.1/examples/asking_for_arrays.rb +18 -0
  643. data/lib/middleman/vendor/gems/gems/highline-1.5.1/examples/basic_usage.rb +75 -0
  644. data/lib/middleman/vendor/gems/gems/highline-1.5.1/examples/color_scheme.rb +32 -0
  645. data/lib/middleman/vendor/gems/gems/highline-1.5.1/examples/limit.rb +12 -0
  646. data/lib/middleman/vendor/gems/gems/highline-1.5.1/examples/menus.rb +65 -0
  647. data/lib/middleman/vendor/gems/gems/highline-1.5.1/examples/overwrite.rb +19 -0
  648. data/lib/middleman/vendor/gems/gems/highline-1.5.1/examples/page_and_wrap.rb +322 -0
  649. data/lib/middleman/vendor/gems/gems/highline-1.5.1/examples/password.rb +7 -0
  650. data/lib/middleman/vendor/gems/gems/highline-1.5.1/examples/trapping_eof.rb +22 -0
  651. data/lib/middleman/vendor/gems/gems/highline-1.5.1/examples/using_readline.rb +17 -0
  652. data/lib/middleman/vendor/gems/gems/highline-1.5.1/lib/highline.rb +758 -0
  653. data/lib/middleman/vendor/gems/gems/highline-1.5.1/lib/highline/color_scheme.rb +120 -0
  654. data/lib/middleman/vendor/gems/gems/highline-1.5.1/lib/highline/compatibility.rb +17 -0
  655. data/lib/middleman/vendor/gems/gems/highline-1.5.1/lib/highline/import.rb +43 -0
  656. data/lib/middleman/vendor/gems/gems/highline-1.5.1/lib/highline/menu.rb +395 -0
  657. data/lib/middleman/vendor/gems/gems/highline-1.5.1/lib/highline/question.rb +463 -0
  658. data/lib/middleman/vendor/gems/gems/highline-1.5.1/lib/highline/system_extensions.rb +193 -0
  659. data/lib/middleman/vendor/gems/gems/highline-1.5.1/setup.rb +1360 -0
  660. data/lib/middleman/vendor/gems/gems/highline-1.5.1/test/tc_color_scheme.rb +56 -0
  661. data/lib/middleman/vendor/gems/gems/highline-1.5.1/test/tc_highline.rb +823 -0
  662. data/lib/middleman/vendor/gems/gems/highline-1.5.1/test/tc_import.rb +54 -0
  663. data/lib/middleman/vendor/gems/gems/highline-1.5.1/test/tc_menu.rb +429 -0
  664. data/lib/middleman/vendor/gems/gems/highline-1.5.1/test/ts_all.rb +15 -0
  665. data/lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/http-access2.rb +53 -0
  666. data/lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/http-access2/cookie.rb +1 -0
  667. data/lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/http-access2/http.rb +1 -0
  668. data/lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/httpclient.rb +1020 -0
  669. data/lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/httpclient/auth.rb +522 -0
  670. data/lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/httpclient/cacert.p7s +1579 -0
  671. data/lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/httpclient/cacert_sha1.p7s +1579 -0
  672. data/lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/httpclient/connection.rb +84 -0
  673. data/lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/httpclient/cookie.rb +562 -0
  674. data/lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/httpclient/http.rb +867 -0
  675. data/lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/httpclient/session.rb +863 -0
  676. data/lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/httpclient/ssl_config.rb +417 -0
  677. data/lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/httpclient/timeout.rb +136 -0
  678. data/lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/httpclient/util.rb +86 -0
  679. data/lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/tags +908 -0
  680. data/lib/middleman/vendor/gems/gems/json-1.2.0/.require_paths +4 -0
  681. data/lib/middleman/vendor/gems/gems/json-1.2.0/CHANGES +136 -0
  682. data/lib/middleman/vendor/gems/gems/json-1.2.0/COPYING +58 -0
  683. data/lib/middleman/vendor/gems/gems/json-1.2.0/GPL +340 -0
  684. data/lib/middleman/vendor/gems/gems/json-1.2.0/README +360 -0
  685. data/lib/middleman/vendor/gems/gems/json-1.2.0/Rakefile +287 -0
  686. data/lib/middleman/vendor/gems/gems/json-1.2.0/TODO +1 -0
  687. data/lib/middleman/vendor/gems/gems/json-1.2.0/VERSION +1 -0
  688. data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkComparison.log +52 -0
  689. data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast-autocorrelation.dat +1000 -0
  690. data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast.dat +1001 -0
  691. data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty-autocorrelation.dat +900 -0
  692. data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty.dat +901 -0
  693. data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe-autocorrelation.dat +1000 -0
  694. data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe.dat +1001 -0
  695. data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt.log +261 -0
  696. data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast-autocorrelation.dat +1000 -0
  697. data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast.dat +1001 -0
  698. data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty-autocorrelation.dat +1000 -0
  699. data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty.dat +1001 -0
  700. data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe-autocorrelation.dat +1000 -0
  701. data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe.dat +1001 -0
  702. data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure.log +262 -0
  703. data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator-autocorrelation.dat +1000 -0
  704. data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator.dat +1001 -0
  705. data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails.log +82 -0
  706. data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkComparison.log +34 -0
  707. data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser-autocorrelation.dat +900 -0
  708. data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser.dat +901 -0
  709. data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt.log +81 -0
  710. data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser-autocorrelation.dat +1000 -0
  711. data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser.dat +1001 -0
  712. data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure.log +82 -0
  713. data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser-autocorrelation.dat +1000 -0
  714. data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser.dat +1001 -0
  715. data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails.log +82 -0
  716. data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser-autocorrelation.dat +1000 -0
  717. data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser.dat +1001 -0
  718. data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML.log +82 -0
  719. data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/generator_benchmark.rb +165 -0
  720. data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/parser_benchmark.rb +197 -0
  721. data/lib/middleman/vendor/gems/gems/json-1.2.0/bin/edit_json.rb +9 -0
  722. data/lib/middleman/vendor/gems/gems/json-1.2.0/bin/prettify_json.rb +75 -0
  723. data/lib/middleman/vendor/gems/gems/json-1.2.0/data/example.json +1 -0
  724. data/lib/middleman/vendor/gems/gems/json-1.2.0/data/index.html +38 -0
  725. data/lib/middleman/vendor/gems/gems/json-1.2.0/data/prototype.js +4184 -0
  726. data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/generator.bundle +0 -0
  727. data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/generator/Makefile +181 -0
  728. data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/generator/extconf.rb +11 -0
  729. data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/generator/generator.bundle +0 -0
  730. data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/generator/generator.c +935 -0
  731. data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/generator/generator.o +0 -0
  732. data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/generator/mkmf.log +32 -0
  733. data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/generator/unicode.c +180 -0
  734. data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/generator/unicode.h +53 -0
  735. data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/generator/unicode.o +0 -0
  736. data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/parser.bundle +0 -0
  737. data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/parser/Makefile +181 -0
  738. data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/parser/extconf.rb +11 -0
  739. data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/parser/mkmf.log +33 -0
  740. data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/parser/parser.bundle +0 -0
  741. data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/parser/parser.c +1880 -0
  742. data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/parser/parser.o +0 -0
  743. data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/parser/parser.rl +737 -0
  744. data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/parser/unicode.c +154 -0
  745. data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/parser/unicode.h +58 -0
  746. data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/parser/unicode.o +0 -0
  747. data/lib/middleman/vendor/gems/gems/json-1.2.0/install.rb +26 -0
  748. data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json.rb +10 -0
  749. data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/Array.xpm +21 -0
  750. data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/FalseClass.xpm +21 -0
  751. data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/Hash.xpm +21 -0
  752. data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/Key.xpm +73 -0
  753. data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/NilClass.xpm +21 -0
  754. data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/Numeric.xpm +28 -0
  755. data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/String.xpm +96 -0
  756. data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/TrueClass.xpm +21 -0
  757. data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/add/core.rb +135 -0
  758. data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/add/rails.rb +58 -0
  759. data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/common.rb +371 -0
  760. data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/editor.rb +1371 -0
  761. data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/ext.rb +15 -0
  762. data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/json.xpm +1499 -0
  763. data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/pure.rb +77 -0
  764. data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/pure/generator.rb +443 -0
  765. data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/pure/parser.rb +303 -0
  766. data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/version.rb +8 -0
  767. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail1.json +1 -0
  768. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail10.json +1 -0
  769. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail11.json +1 -0
  770. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail12.json +1 -0
  771. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail13.json +1 -0
  772. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail14.json +1 -0
  773. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail18.json +1 -0
  774. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail19.json +1 -0
  775. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail2.json +1 -0
  776. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail20.json +1 -0
  777. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail21.json +1 -0
  778. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail22.json +1 -0
  779. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail23.json +1 -0
  780. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail24.json +1 -0
  781. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail25.json +1 -0
  782. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail27.json +2 -0
  783. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail28.json +2 -0
  784. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail3.json +1 -0
  785. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail4.json +1 -0
  786. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail5.json +1 -0
  787. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail6.json +1 -0
  788. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail7.json +1 -0
  789. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail8.json +1 -0
  790. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail9.json +1 -0
  791. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/pass1.json +56 -0
  792. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/pass15.json +1 -0
  793. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/pass16.json +1 -0
  794. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/pass17.json +1 -0
  795. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/pass2.json +1 -0
  796. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/pass26.json +1 -0
  797. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/pass3.json +6 -0
  798. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/test_json.rb +320 -0
  799. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/test_json_addition.rb +164 -0
  800. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/test_json_encoding.rb +67 -0
  801. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/test_json_fixtures.rb +34 -0
  802. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/test_json_generate.rb +120 -0
  803. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/test_json_rails.rb +146 -0
  804. data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/test_json_unicode.rb +62 -0
  805. data/lib/middleman/vendor/gems/gems/json-1.2.0/tools/fuzz.rb +139 -0
  806. data/lib/middleman/vendor/gems/gems/json-1.2.0/tools/server.rb +61 -0
  807. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/CHANGES +136 -0
  808. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/COPYING +58 -0
  809. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/GPL +340 -0
  810. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/README +360 -0
  811. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/Rakefile +287 -0
  812. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/TODO +1 -0
  813. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/VERSION +1 -0
  814. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkComparison.log +52 -0
  815. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast-autocorrelation.dat +1000 -0
  816. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast.dat +1001 -0
  817. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty-autocorrelation.dat +900 -0
  818. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty.dat +901 -0
  819. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe-autocorrelation.dat +1000 -0
  820. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe.dat +1001 -0
  821. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt.log +261 -0
  822. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast-autocorrelation.dat +1000 -0
  823. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast.dat +1001 -0
  824. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty-autocorrelation.dat +1000 -0
  825. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty.dat +1001 -0
  826. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe-autocorrelation.dat +1000 -0
  827. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe.dat +1001 -0
  828. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure.log +262 -0
  829. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator-autocorrelation.dat +1000 -0
  830. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator.dat +1001 -0
  831. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails.log +82 -0
  832. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkComparison.log +34 -0
  833. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser-autocorrelation.dat +900 -0
  834. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser.dat +901 -0
  835. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt.log +81 -0
  836. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser-autocorrelation.dat +1000 -0
  837. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser.dat +1001 -0
  838. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure.log +82 -0
  839. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser-autocorrelation.dat +1000 -0
  840. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser.dat +1001 -0
  841. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails.log +82 -0
  842. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser-autocorrelation.dat +1000 -0
  843. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser.dat +1001 -0
  844. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML.log +82 -0
  845. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/generator_benchmark.rb +165 -0
  846. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/parser_benchmark.rb +197 -0
  847. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/bin/edit_json.rb +9 -0
  848. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/bin/prettify_json.rb +75 -0
  849. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/data/example.json +1 -0
  850. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/data/index.html +38 -0
  851. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/data/prototype.js +4184 -0
  852. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/ext/json/ext/generator/extconf.rb +11 -0
  853. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/ext/json/ext/generator/generator.c +935 -0
  854. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/ext/json/ext/generator/unicode.c +180 -0
  855. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/ext/json/ext/generator/unicode.h +53 -0
  856. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/ext/json/ext/parser/extconf.rb +11 -0
  857. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/ext/json/ext/parser/parser.c +1880 -0
  858. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/ext/json/ext/parser/parser.rl +737 -0
  859. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/ext/json/ext/parser/unicode.c +154 -0
  860. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/ext/json/ext/parser/unicode.h +58 -0
  861. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/install.rb +26 -0
  862. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json.rb +10 -0
  863. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/Array.xpm +21 -0
  864. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/FalseClass.xpm +21 -0
  865. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/Hash.xpm +21 -0
  866. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/Key.xpm +73 -0
  867. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/NilClass.xpm +21 -0
  868. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/Numeric.xpm +28 -0
  869. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/String.xpm +96 -0
  870. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/TrueClass.xpm +21 -0
  871. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/add/core.rb +135 -0
  872. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/add/rails.rb +58 -0
  873. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/common.rb +371 -0
  874. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/editor.rb +1371 -0
  875. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/ext.rb +15 -0
  876. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/json.xpm +1499 -0
  877. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/pure.rb +77 -0
  878. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/pure/generator.rb +443 -0
  879. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/pure/parser.rb +303 -0
  880. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/version.rb +8 -0
  881. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail1.json +1 -0
  882. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail10.json +1 -0
  883. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail11.json +1 -0
  884. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail12.json +1 -0
  885. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail13.json +1 -0
  886. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail14.json +1 -0
  887. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail18.json +1 -0
  888. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail19.json +1 -0
  889. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail2.json +1 -0
  890. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail20.json +1 -0
  891. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail21.json +1 -0
  892. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail22.json +1 -0
  893. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail23.json +1 -0
  894. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail24.json +1 -0
  895. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail25.json +1 -0
  896. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail27.json +2 -0
  897. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail28.json +2 -0
  898. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail3.json +1 -0
  899. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail4.json +1 -0
  900. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail5.json +1 -0
  901. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail6.json +1 -0
  902. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail7.json +1 -0
  903. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail8.json +1 -0
  904. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail9.json +1 -0
  905. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/pass1.json +56 -0
  906. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/pass15.json +1 -0
  907. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/pass16.json +1 -0
  908. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/pass17.json +1 -0
  909. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/pass2.json +1 -0
  910. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/pass26.json +1 -0
  911. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/pass3.json +6 -0
  912. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/test_json.rb +320 -0
  913. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/test_json_addition.rb +164 -0
  914. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/test_json_encoding.rb +67 -0
  915. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/test_json_fixtures.rb +34 -0
  916. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/test_json_generate.rb +120 -0
  917. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/test_json_rails.rb +146 -0
  918. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/test_json_unicode.rb +62 -0
  919. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tools/fuzz.rb +139 -0
  920. data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tools/server.rb +61 -0
  921. data/lib/middleman/vendor/gems/gems/launchy-0.3.3/HISTORY +57 -0
  922. data/lib/middleman/vendor/gems/gems/launchy-0.3.3/LICENSE +31 -0
  923. data/lib/middleman/vendor/gems/gems/launchy-0.3.3/README +49 -0
  924. data/lib/middleman/vendor/gems/gems/launchy-0.3.3/Rakefile +62 -0
  925. data/lib/middleman/vendor/gems/gems/launchy-0.3.3/bin/launchy +12 -0
  926. data/lib/middleman/vendor/gems/gems/launchy-0.3.3/gemspec.rb +41 -0
  927. data/lib/middleman/vendor/gems/gems/launchy-0.3.3/lib/launchy.rb +53 -0
  928. data/lib/middleman/vendor/gems/gems/launchy-0.3.3/lib/launchy/application.rb +174 -0
  929. data/lib/middleman/vendor/gems/gems/launchy-0.3.3/lib/launchy/browser.rb +98 -0
  930. data/lib/middleman/vendor/gems/gems/launchy-0.3.3/lib/launchy/command_line.rb +48 -0
  931. data/lib/middleman/vendor/gems/gems/launchy-0.3.3/lib/launchy/paths.rb +53 -0
  932. data/lib/middleman/vendor/gems/gems/launchy-0.3.3/lib/launchy/version.rb +17 -0
  933. data/lib/middleman/vendor/gems/gems/launchy-0.3.3/spec/application_spec.rb +58 -0
  934. data/lib/middleman/vendor/gems/gems/launchy-0.3.3/spec/browser_spec.rb +50 -0
  935. data/lib/middleman/vendor/gems/gems/launchy-0.3.3/spec/launchy_spec.rb +18 -0
  936. data/lib/middleman/vendor/gems/gems/launchy-0.3.3/spec/paths_spec.rb +15 -0
  937. data/lib/middleman/vendor/gems/gems/launchy-0.3.3/spec/spec_helper.rb +5 -0
  938. data/lib/middleman/vendor/gems/gems/launchy-0.3.3/spec/version_spec.rb +11 -0
  939. data/lib/middleman/vendor/gems/gems/launchy-0.3.3/tasks/announce.rake +39 -0
  940. data/lib/middleman/vendor/gems/gems/launchy-0.3.3/tasks/config.rb +107 -0
  941. data/lib/middleman/vendor/gems/gems/launchy-0.3.3/tasks/distribution.rake +46 -0
  942. data/lib/middleman/vendor/gems/gems/launchy-0.3.3/tasks/documentation.rake +32 -0
  943. data/lib/middleman/vendor/gems/gems/launchy-0.3.3/tasks/rspec.rake +29 -0
  944. data/lib/middleman/vendor/gems/gems/launchy-0.3.3/tasks/rubyforge.rake +52 -0
  945. data/lib/middleman/vendor/gems/gems/launchy-0.3.3/tasks/utils.rb +80 -0
  946. data/lib/middleman/vendor/gems/gems/rack-1.0.1/COPYING +18 -0
  947. data/lib/middleman/vendor/gems/gems/rack-1.0.1/KNOWN-ISSUES +18 -0
  948. data/lib/middleman/vendor/gems/gems/rack-1.0.1/RDOX +428 -0
  949. data/lib/middleman/vendor/gems/gems/rack-1.0.1/README +364 -0
  950. data/lib/middleman/vendor/gems/gems/rack-1.0.1/Rakefile +164 -0
  951. data/lib/middleman/vendor/gems/gems/rack-1.0.1/SPEC +164 -0
  952. data/lib/middleman/vendor/gems/gems/rack-1.0.1/bin/rackup +176 -0
  953. data/lib/middleman/vendor/gems/gems/rack-1.0.1/contrib/rack_logo.svg +111 -0
  954. data/lib/middleman/vendor/gems/gems/rack-1.0.1/example/lobster.ru +4 -0
  955. data/lib/middleman/vendor/gems/gems/rack-1.0.1/example/protectedlobster.rb +14 -0
  956. data/lib/middleman/vendor/gems/gems/rack-1.0.1/example/protectedlobster.ru +8 -0
  957. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack.rb +90 -0
  958. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/adapter/camping.rb +22 -0
  959. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/auth/abstract/handler.rb +37 -0
  960. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/auth/abstract/request.rb +37 -0
  961. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/auth/basic.rb +58 -0
  962. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/auth/digest/md5.rb +124 -0
  963. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/auth/digest/nonce.rb +51 -0
  964. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/auth/digest/params.rb +55 -0
  965. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/auth/digest/request.rb +40 -0
  966. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/auth/openid.rb +480 -0
  967. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/builder.rb +63 -0
  968. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/cascade.rb +36 -0
  969. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/chunked.rb +49 -0
  970. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/commonlogger.rb +61 -0
  971. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/conditionalget.rb +47 -0
  972. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/content_length.rb +29 -0
  973. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/content_type.rb +23 -0
  974. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/deflater.rb +96 -0
  975. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/directory.rb +153 -0
  976. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/file.rb +88 -0
  977. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/handler.rb +69 -0
  978. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/handler/cgi.rb +61 -0
  979. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/handler/evented_mongrel.rb +8 -0
  980. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/handler/fastcgi.rb +90 -0
  981. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/handler/lsws.rb +60 -0
  982. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/handler/mongrel.rb +87 -0
  983. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/handler/scgi.rb +62 -0
  984. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/handler/swiftiplied_mongrel.rb +8 -0
  985. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/handler/thin.rb +18 -0
  986. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/handler/webrick.rb +71 -0
  987. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/head.rb +19 -0
  988. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/lint.rb +546 -0
  989. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/lobster.rb +65 -0
  990. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/lock.rb +16 -0
  991. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/methodoverride.rb +27 -0
  992. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/mime.rb +204 -0
  993. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/mock.rb +163 -0
  994. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/recursive.rb +57 -0
  995. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/reloader.rb +106 -0
  996. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/request.rb +246 -0
  997. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/response.rb +183 -0
  998. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/rewindable_input.rb +100 -0
  999. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/session/abstract/id.rb +142 -0
  1000. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/session/cookie.rb +91 -0
  1001. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/session/memcache.rb +109 -0
  1002. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/session/pool.rb +100 -0
  1003. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/showexceptions.rb +349 -0
  1004. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/showstatus.rb +106 -0
  1005. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/static.rb +38 -0
  1006. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/urlmap.rb +55 -0
  1007. data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/utils.rb +401 -0
  1008. data/lib/middleman/vendor/gems/gems/rack-1.0.1/rack.gemspec +54 -0
  1009. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/cgi/lighttpd.conf +20 -0
  1010. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/cgi/test +9 -0
  1011. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/cgi/test.fcgi +8 -0
  1012. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/cgi/test.ru +7 -0
  1013. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/multipart/binary +0 -0
  1014. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/multipart/empty +10 -0
  1015. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/multipart/ie +6 -0
  1016. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/multipart/nested +10 -0
  1017. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/multipart/none +9 -0
  1018. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/multipart/semicolon +6 -0
  1019. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/multipart/text +10 -0
  1020. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_auth_basic.rb +73 -0
  1021. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_auth_digest.rb +226 -0
  1022. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_auth_openid.rb +84 -0
  1023. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_builder.rb +84 -0
  1024. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_camping.rb +51 -0
  1025. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_cascade.rb +50 -0
  1026. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_cgi.rb +89 -0
  1027. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_chunked.rb +62 -0
  1028. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_commonlogger.rb +32 -0
  1029. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_conditionalget.rb +41 -0
  1030. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_content_length.rb +43 -0
  1031. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_content_type.rb +30 -0
  1032. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_deflater.rb +127 -0
  1033. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_directory.rb +61 -0
  1034. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_fastcgi.rb +89 -0
  1035. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_file.rb +75 -0
  1036. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_handler.rb +43 -0
  1037. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_head.rb +30 -0
  1038. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_lint.rb +521 -0
  1039. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_lobster.rb +45 -0
  1040. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_lock.rb +38 -0
  1041. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_methodoverride.rb +60 -0
  1042. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_mock.rb +157 -0
  1043. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_mongrel.rb +189 -0
  1044. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_recursive.rb +77 -0
  1045. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_request.rb +504 -0
  1046. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_response.rb +218 -0
  1047. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_rewindable_input.rb +118 -0
  1048. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_session_cookie.rb +82 -0
  1049. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_session_memcache.rb +240 -0
  1050. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_session_pool.rb +172 -0
  1051. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_showexceptions.rb +21 -0
  1052. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_showstatus.rb +72 -0
  1053. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_static.rb +37 -0
  1054. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_thin.rb +91 -0
  1055. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_urlmap.rb +185 -0
  1056. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_utils.rb +387 -0
  1057. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_webrick.rb +130 -0
  1058. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/testrequest.rb +57 -0
  1059. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/unregistered_handler/rack/handler/unregistered.rb +7 -0
  1060. data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/unregistered_handler/rack/handler/unregistered_long_one.rb +7 -0
  1061. data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/.document +4 -0
  1062. data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/.gitignore +4 -0
  1063. data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/History.txt +101 -0
  1064. data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/MIT-LICENSE.txt +19 -0
  1065. data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/README.rdoc +57 -0
  1066. data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/Rakefile +39 -0
  1067. data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/Thorfile +114 -0
  1068. data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/mock_session.rb +61 -0
  1069. data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/test.rb +276 -0
  1070. data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/test/cookie_jar.rb +171 -0
  1071. data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/test/methods.rb +80 -0
  1072. data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/test/mock_digest_request.rb +29 -0
  1073. data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/test/uploaded_file.rb +46 -0
  1074. data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/test/utils.rb +101 -0
  1075. data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/rack-test.gemspec +73 -0
  1076. data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/fixtures/config.ru +3 -0
  1077. data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/fixtures/fake_app.rb +115 -0
  1078. data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/fixtures/foo.txt +1 -0
  1079. data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/rack/test/cookie_spec.rb +190 -0
  1080. data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/rack/test/digest_auth_spec.rb +48 -0
  1081. data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/rack/test/multipart_spec.rb +87 -0
  1082. data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/rack/test/utils_spec.rb +97 -0
  1083. data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/rack/test_spec.rb +443 -0
  1084. data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/spec.opts +2 -0
  1085. data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/spec_helper.rb +52 -0
  1086. data/lib/middleman/vendor/gems/gems/rake-0.8.7/CHANGES +440 -0
  1087. data/lib/middleman/vendor/gems/gems/rake-0.8.7/MIT-LICENSE +21 -0
  1088. data/lib/middleman/vendor/gems/gems/rake-0.8.7/README +196 -0
  1089. data/lib/middleman/vendor/gems/gems/rake-0.8.7/Rakefile +430 -0
  1090. data/lib/middleman/vendor/gems/gems/rake-0.8.7/TODO +20 -0
  1091. data/lib/middleman/vendor/gems/gems/rake-0.8.7/bin/rake +31 -0
  1092. data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/command_line_usage.rdoc +102 -0
  1093. data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/example/Rakefile1 +38 -0
  1094. data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/example/Rakefile2 +35 -0
  1095. data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/example/a.c +6 -0
  1096. data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/example/b.c +6 -0
  1097. data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/example/main.c +11 -0
  1098. data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/glossary.rdoc +51 -0
  1099. data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/jamis.rb +591 -0
  1100. data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/proto_rake.rdoc +127 -0
  1101. data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/rake.1.gz +0 -0
  1102. data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/rakefile.rdoc +534 -0
  1103. data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/rational.rdoc +151 -0
  1104. data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.4.14.rdoc +23 -0
  1105. data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.4.15.rdoc +35 -0
  1106. data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.5.0.rdoc +53 -0
  1107. data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.5.3.rdoc +78 -0
  1108. data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.5.4.rdoc +46 -0
  1109. data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.6.0.rdoc +141 -0
  1110. data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.7.0.rdoc +119 -0
  1111. data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.7.1.rdoc +59 -0
  1112. data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.7.2.rdoc +121 -0
  1113. data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.7.3.rdoc +47 -0
  1114. data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.8.0.rdoc +114 -0
  1115. data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.8.2.rdoc +165 -0
  1116. data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.8.3.rdoc +112 -0
  1117. data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.8.4.rdoc +147 -0
  1118. data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.8.5.rdoc +53 -0
  1119. data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.8.6.rdoc +55 -0
  1120. data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.8.7.rdoc +55 -0
  1121. data/lib/middleman/vendor/gems/gems/rake-0.8.7/install.rb +88 -0
  1122. data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake.rb +2506 -0
  1123. data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/alt_system.rb +108 -0
  1124. data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/classic_namespace.rb +8 -0
  1125. data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/clean.rb +33 -0
  1126. data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/contrib/compositepublisher.rb +24 -0
  1127. data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/contrib/ftptools.rb +153 -0
  1128. data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/contrib/publisher.rb +75 -0
  1129. data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/contrib/rubyforgepublisher.rb +18 -0
  1130. data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/contrib/sshpublisher.rb +47 -0
  1131. data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/contrib/sys.rb +209 -0
  1132. data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/gempackagetask.rb +97 -0
  1133. data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/loaders/makefile.rb +42 -0
  1134. data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/packagetask.rb +184 -0
  1135. data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/rake_test_loader.rb +5 -0
  1136. data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/rdoctask.rb +209 -0
  1137. data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/ruby182_test_unit_fix.rb +23 -0
  1138. data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/runtest.rb +23 -0
  1139. data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/tasklib.rb +23 -0
  1140. data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/testtask.rb +161 -0
  1141. data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/win32.rb +55 -0
  1142. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/capture_stdout.rb +26 -0
  1143. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/check_expansion.rb +5 -0
  1144. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/check_no_expansion.rb +5 -0
  1145. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/contrib/test_sys.rb +47 -0
  1146. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/chains/Rakefile +15 -0
  1147. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/default/Rakefile +19 -0
  1148. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/dryrun/Rakefile +22 -0
  1149. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/file_creation_task/Rakefile +33 -0
  1150. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/imports/Rakefile +19 -0
  1151. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/imports/deps.mf +1 -0
  1152. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/multidesc/Rakefile +17 -0
  1153. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/namespace/Rakefile +57 -0
  1154. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/rakelib/test1.rb +3 -0
  1155. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/rbext/rakefile.rb +3 -0
  1156. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/sample.mf +14 -0
  1157. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/statusreturn/Rakefile +8 -0
  1158. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/unittest/Rakefile +1 -0
  1159. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/filecreation.rb +32 -0
  1160. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/functional.rb +15 -0
  1161. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/in_environment.rb +30 -0
  1162. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/rake_test_setup.rb +24 -0
  1163. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/reqfile.rb +3 -0
  1164. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/reqfile2.rb +3 -0
  1165. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/session_functional.rb +339 -0
  1166. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/shellcommand.rb +3 -0
  1167. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_application.rb +675 -0
  1168. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_clean.rb +14 -0
  1169. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_definitions.rb +85 -0
  1170. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_earlytime.rb +35 -0
  1171. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_extension.rb +63 -0
  1172. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_file_creation_task.rb +62 -0
  1173. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_file_task.rb +143 -0
  1174. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_filelist.rb +623 -0
  1175. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_fileutils.rb +251 -0
  1176. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_ftp.rb +59 -0
  1177. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_invocation_chain.rb +81 -0
  1178. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_makefile_loader.rb +26 -0
  1179. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_multitask.rb +45 -0
  1180. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_namespace.rb +55 -0
  1181. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_package_task.rb +118 -0
  1182. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_pathmap.rb +210 -0
  1183. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_pseudo_status.rb +26 -0
  1184. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_rake.rb +41 -0
  1185. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_rdoc_task.rb +88 -0
  1186. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_require.rb +35 -0
  1187. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_rules.rb +349 -0
  1188. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_task_arguments.rb +89 -0
  1189. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_task_manager.rb +173 -0
  1190. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_tasklib.rb +12 -0
  1191. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_tasks.rb +374 -0
  1192. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_test_task.rb +77 -0
  1193. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_top_level_functions.rb +86 -0
  1194. data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_win32.rb +72 -0
  1195. data/lib/middleman/vendor/gems/gems/shotgun-0.4/COPYING +18 -0
  1196. data/lib/middleman/vendor/gems/gems/shotgun-0.4/README +46 -0
  1197. data/lib/middleman/vendor/gems/gems/shotgun-0.4/Rakefile +56 -0
  1198. data/lib/middleman/vendor/gems/gems/shotgun-0.4/bin/shotgun +136 -0
  1199. data/lib/middleman/vendor/gems/gems/shotgun-0.4/lib/shotgun.rb +99 -0
  1200. data/lib/middleman/vendor/gems/gems/shotgun-0.4/shotgun.gemspec +34 -0
  1201. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/AUTHORS +41 -0
  1202. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/CHANGES +385 -0
  1203. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/LICENSE +22 -0
  1204. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/README.rdoc +573 -0
  1205. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/Rakefile +138 -0
  1206. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/app_test.rb +282 -0
  1207. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/application_test.rb +262 -0
  1208. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/builder_test.rb +101 -0
  1209. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/compat_test.rb +12 -0
  1210. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/custom_error_test.rb +62 -0
  1211. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/erb_test.rb +136 -0
  1212. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/events_test.rb +78 -0
  1213. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/filter_test.rb +30 -0
  1214. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/haml_test.rb +236 -0
  1215. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/helper.rb +33 -0
  1216. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/mapped_error_test.rb +72 -0
  1217. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/pipeline_test.rb +45 -0
  1218. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/public/foo.xml +1 -0
  1219. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/sass_test.rb +67 -0
  1220. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/sessions_test.rb +42 -0
  1221. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/streaming_test.rb +133 -0
  1222. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/sym_params_test.rb +19 -0
  1223. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/template_test.rb +30 -0
  1224. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/use_in_file_templates_test.rb +47 -0
  1225. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/foo.builder +1 -0
  1226. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/foo.erb +1 -0
  1227. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/foo.haml +1 -0
  1228. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/foo.sass +2 -0
  1229. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/foo_layout.erb +2 -0
  1230. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/foo_layout.haml +2 -0
  1231. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/layout_test/foo.builder +1 -0
  1232. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/layout_test/foo.erb +1 -0
  1233. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/layout_test/foo.haml +1 -0
  1234. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/layout_test/foo.sass +2 -0
  1235. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/layout_test/layout.builder +3 -0
  1236. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/layout_test/layout.erb +1 -0
  1237. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/layout_test/layout.haml +1 -0
  1238. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/layout_test/layout.sass +2 -0
  1239. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/no_layout/no_layout.builder +1 -0
  1240. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/no_layout/no_layout.haml +1 -0
  1241. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra.rb +8 -0
  1242. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/base.rb +1119 -0
  1243. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/compat.rb +266 -0
  1244. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/images/404.png +0 -0
  1245. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/images/500.png +0 -0
  1246. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/main.rb +35 -0
  1247. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/showexceptions.rb +303 -0
  1248. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/test.rb +128 -0
  1249. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/test/bacon.rb +19 -0
  1250. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/test/rspec.rb +13 -0
  1251. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/test/spec.rb +11 -0
  1252. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/test/unit.rb +13 -0
  1253. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/sinatra.gemspec +125 -0
  1254. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/base_test.rb +160 -0
  1255. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/builder_test.rb +65 -0
  1256. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/contest.rb +64 -0
  1257. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/data/reload_app_file.rb +3 -0
  1258. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/erb_test.rb +81 -0
  1259. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/extensions_test.rb +100 -0
  1260. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/filter_test.rb +99 -0
  1261. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/haml_test.rb +90 -0
  1262. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/helper.rb +76 -0
  1263. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/helpers_test.rb +503 -0
  1264. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/mapped_error_test.rb +155 -0
  1265. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/middleware_test.rb +68 -0
  1266. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/options_test.rb +372 -0
  1267. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/render_backtrace_test.rb +145 -0
  1268. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/request_test.rb +18 -0
  1269. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/response_test.rb +42 -0
  1270. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/result_test.rb +98 -0
  1271. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/route_added_hook_test.rb +59 -0
  1272. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/routing_test.rb +784 -0
  1273. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/sass_test.rb +79 -0
  1274. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/server_test.rb +47 -0
  1275. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/sinatra_test.rb +13 -0
  1276. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/static_test.rb +80 -0
  1277. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/templates_test.rb +122 -0
  1278. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/test_test.rb +152 -0
  1279. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/error.builder +3 -0
  1280. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/error.erb +3 -0
  1281. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/error.haml +3 -0
  1282. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/error.sass +2 -0
  1283. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/foo/hello.test +1 -0
  1284. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/hello.builder +1 -0
  1285. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/hello.erb +1 -0
  1286. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/hello.haml +1 -0
  1287. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/hello.sass +2 -0
  1288. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/hello.test +1 -0
  1289. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/layout2.builder +3 -0
  1290. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/layout2.erb +2 -0
  1291. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/layout2.haml +2 -0
  1292. data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/layout2.test +1 -0
  1293. data/lib/middleman/vendor/gems/gems/sinatra-content-for-0.2/.gitignore +3 -0
  1294. data/lib/middleman/vendor/gems/gems/sinatra-content-for-0.2/LICENSE +22 -0
  1295. data/lib/middleman/vendor/gems/gems/sinatra-content-for-0.2/README.rdoc +41 -0
  1296. data/lib/middleman/vendor/gems/gems/sinatra-content-for-0.2/lib/sinatra/content_for.rb +58 -0
  1297. data/lib/middleman/vendor/gems/gems/sinatra-content-for-0.2/sinatra-content-for.gemspec +34 -0
  1298. data/lib/middleman/vendor/gems/gems/sinatra-content-for-0.2/test/content_for_test.rb +156 -0
  1299. data/lib/middleman/vendor/gems/gems/smusher-0.4.2/.gitignore +2 -0
  1300. data/lib/middleman/vendor/gems/gems/smusher-0.4.2/README.markdown +59 -0
  1301. data/lib/middleman/vendor/gems/gems/smusher-0.4.2/Rakefile +20 -0
  1302. data/lib/middleman/vendor/gems/gems/smusher-0.4.2/VERSION +1 -0
  1303. data/lib/middleman/vendor/gems/gems/smusher-0.4.2/bin/smusher +35 -0
  1304. data/lib/middleman/vendor/gems/gems/smusher-0.4.2/lib/smusher.rb +97 -0
  1305. data/lib/middleman/vendor/gems/gems/smusher-0.4.2/lib/smusher/puny_png.rb +17 -0
  1306. data/lib/middleman/vendor/gems/gems/smusher-0.4.2/lib/smusher/smush_it.rb +22 -0
  1307. data/lib/middleman/vendor/gems/gems/smusher-0.4.2/smusher.gemspec +78 -0
  1308. data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/empty/.gitignore +0 -0
  1309. data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/images/ad.gif +0 -0
  1310. data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/images/add.png +0 -0
  1311. data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/images/drink_empty.png +0 -0
  1312. data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/images/logo.gif +0 -0
  1313. data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/images/people.jpg +0 -0
  1314. data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/images/water.JPG +0 -0
  1315. data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/images/woman.jpeg +0 -0
  1316. data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/out/ad.gif +0 -0
  1317. data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/out/people.jpg +0 -0
  1318. data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/reduced/add.png +0 -0
  1319. data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/reduced/add_puny.png +0 -0
  1320. data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/reduced/fam.png +0 -0
  1321. data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/smusher/puny_png_spec.rb +12 -0
  1322. data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/smusher/smush_it_spec.rb +12 -0
  1323. data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/smusher_spec.rb +181 -0
  1324. data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/spec_helper.rb +8 -0
  1325. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/Rakefile +19 -0
  1326. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/bin/sprocketize +54 -0
  1327. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/ext/nph-sprockets.cgi +127 -0
  1328. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/lib/sprockets.rb +42 -0
  1329. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/lib/sprockets/concatenation.rb +36 -0
  1330. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/lib/sprockets/environment.rb +52 -0
  1331. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/lib/sprockets/error.rb +5 -0
  1332. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/lib/sprockets/pathname.rb +37 -0
  1333. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/lib/sprockets/preprocessor.rb +91 -0
  1334. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/lib/sprockets/secretary.rb +106 -0
  1335. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/lib/sprockets/source_file.rb +54 -0
  1336. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/lib/sprockets/source_line.rb +82 -0
  1337. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/lib/sprockets/version.rb +9 -0
  1338. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/assets/images/script_with_assets/one.png +1 -0
  1339. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/assets/images/script_with_assets/two.png +1 -0
  1340. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/assets/stylesheets/script_with_assets.css +1 -0
  1341. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/constants.yml +1 -0
  1342. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/double_slash_comments_that_are_not_requires_should_be_ignored_when_strip_comments_is_false.js +8 -0
  1343. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/double_slash_comments_that_are_not_requires_should_be_removed_by_default.js +2 -0
  1344. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/multiline_comments_should_be_removed_by_default.js +4 -0
  1345. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/requiring_a_file_after_it_has_already_been_required_should_do_nothing.js +5 -0
  1346. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/requiring_a_file_that_does_not_exist_should_raise_an_error.js +1 -0
  1347. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/requiring_a_single_file_should_replace_the_require_comment_with_the_file_contents.js +3 -0
  1348. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/requiring_the_current_file_should_do_nothing.js +1 -0
  1349. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/src/constants.yml +3 -0
  1350. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/src/foo.js +1 -0
  1351. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/src/foo/bar.js +4 -0
  1352. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/src/foo/foo.js +1 -0
  1353. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/src/script_with_assets.js +3 -0
  1354. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/test_concatenation.rb +28 -0
  1355. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/test_environment.rb +64 -0
  1356. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/test_helper.rb +55 -0
  1357. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/test_pathname.rb +43 -0
  1358. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/test_preprocessor.rb +107 -0
  1359. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/test_secretary.rb +83 -0
  1360. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/test_source_file.rb +34 -0
  1361. data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/test_source_line.rb +89 -0
  1362. data/lib/middleman/vendor/gems/gems/templater-1.0.0/History.txt +3 -0
  1363. data/lib/middleman/vendor/gems/gems/templater-1.0.0/Manifest.txt +64 -0
  1364. data/lib/middleman/vendor/gems/gems/templater-1.0.0/README.rdoc +266 -0
  1365. data/lib/middleman/vendor/gems/gems/templater-1.0.0/Rakefile +23 -0
  1366. data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater.rb +49 -0
  1367. data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/actions/action.rb +43 -0
  1368. data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/actions/directory.rb +22 -0
  1369. data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/actions/empty_directory.rb +57 -0
  1370. data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/actions/file.rb +60 -0
  1371. data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/actions/template.rb +61 -0
  1372. data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/capture_helpers.rb +62 -0
  1373. data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/cli/generator.rb +175 -0
  1374. data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/cli/manifold.rb +59 -0
  1375. data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/cli/parser.rb +85 -0
  1376. data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/core_ext/kernel.rb +14 -0
  1377. data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/core_ext/string.rb +17 -0
  1378. data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/description.rb +78 -0
  1379. data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/discovery.rb +86 -0
  1380. data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/generator.rb +644 -0
  1381. data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/manifold.rb +98 -0
  1382. data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/spec/helpers.rb +67 -0
  1383. data/lib/middleman/vendor/gems/gems/templater-1.0.0/script/console +10 -0
  1384. data/lib/middleman/vendor/gems/gems/templater-1.0.0/script/destroy +14 -0
  1385. data/lib/middleman/vendor/gems/gems/templater-1.0.0/script/generate +14 -0
  1386. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/actions/directory_spec.rb +21 -0
  1387. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/actions/empty_directory_spec.rb +108 -0
  1388. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/actions/file_spec.rb +112 -0
  1389. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/actions/template_spec.rb +141 -0
  1390. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/core_ext/string_spec.rb +39 -0
  1391. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/actions_spec.rb +111 -0
  1392. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/arguments_spec.rb +225 -0
  1393. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/desc_spec.rb +10 -0
  1394. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/destination_root_spec.rb +9 -0
  1395. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/empty_directories_spec.rb +148 -0
  1396. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/files_spec.rb +199 -0
  1397. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/generators_spec.rb +63 -0
  1398. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/glob_spec.rb +94 -0
  1399. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/invocations_spec.rb +173 -0
  1400. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/invoke_spec.rb +21 -0
  1401. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/options_spec.rb +46 -0
  1402. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/render_spec.rb +21 -0
  1403. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/source_root_spec.rb +18 -0
  1404. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/templates_spec.rb +209 -0
  1405. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/manifold_spec.rb +146 -0
  1406. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/options_parser_spec.rb +20 -0
  1407. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/results/erb.rbs +1 -0
  1408. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/results/file.rbs +1 -0
  1409. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/results/random.rbs +1 -0
  1410. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/results/simple_erb.rbs +1 -0
  1411. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/spec_helper.rb +65 -0
  1412. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/spec_helpers_spec.rb +85 -0
  1413. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templater_spec.rb +7 -0
  1414. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templates/erb.rbt +1 -0
  1415. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templates/glob/README +1 -0
  1416. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templates/glob/arg.js +3 -0
  1417. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templates/glob/hellothar.%feh% +1 -0
  1418. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templates/glob/hellothar.html.%feh% +1 -0
  1419. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templates/glob/subfolder/jessica_alba.jpg +1 -0
  1420. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templates/glob/subfolder/monkey.rb +1 -0
  1421. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templates/glob/test.rb +1 -0
  1422. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templates/literals_erb.rbt +1 -0
  1423. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templates/simple.rbt +1 -0
  1424. data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templates/simple_erb.rbt +1 -0
  1425. data/lib/middleman/vendor/gems/gems/templater-1.0.0/templater.gemspec +54 -0
  1426. data/lib/middleman/vendor/gems/gems/yui-compressor-0.9.1/Rakefile +21 -0
  1427. data/lib/middleman/vendor/gems/gems/yui-compressor-0.9.1/lib/yui/compressor.rb +200 -0
  1428. data/lib/middleman/vendor/gems/gems/yui-compressor-0.9.1/test/compressor_test.rb +94 -0
  1429. data/lib/middleman/vendor/gems/gems/yui-compressor-0.9.1/vendor/yuicompressor-2.4.2.jar +0 -0
  1430. data/lib/middleman/vendor/gems/specifications/compass-0.8.17.gemspec +36 -0
  1431. data/lib/middleman/vendor/gems/specifications/compass-slickmap-0.2.1.gemspec +31 -0
  1432. data/lib/middleman/vendor/gems/specifications/configuration-1.1.0.gemspec +27 -0
  1433. data/lib/middleman/vendor/gems/specifications/diff-lcs-1.1.2.gemspec +34 -0
  1434. data/lib/middleman/vendor/gems/specifications/extlib-0.9.13.gemspec +28 -0
  1435. data/lib/middleman/vendor/gems/specifications/haml-2.2.14.gemspec +45 -0
  1436. data/lib/middleman/vendor/gems/specifications/highline-1.5.1.gemspec +31 -0
  1437. data/lib/middleman/vendor/gems/specifications/httpclient-2.1.5.2.gemspec +26 -0
  1438. data/lib/middleman/vendor/gems/specifications/json-1.2.0.gemspec +34 -0
  1439. data/lib/middleman/vendor/gems/specifications/json_pure-1.2.0.gemspec +33 -0
  1440. data/lib/middleman/vendor/gems/specifications/launchy-0.3.3.gemspec +38 -0
  1441. data/lib/middleman/vendor/gems/specifications/rack-1.0.1.gemspec +53 -0
  1442. data/lib/middleman/vendor/gems/specifications/rack-test-0.5.2.gemspec +36 -0
  1443. data/lib/middleman/vendor/gems/specifications/rake-0.8.7.gemspec +32 -0
  1444. data/lib/middleman/vendor/gems/specifications/shotgun-0.4.gemspec +37 -0
  1445. data/lib/middleman/vendor/gems/specifications/sinatra-0.9.4.gemspec +40 -0
  1446. data/lib/middleman/vendor/gems/specifications/sinatra-content-for-0.2.gemspec +40 -0
  1447. data/lib/middleman/vendor/gems/specifications/smusher-0.4.2.gemspec +40 -0
  1448. data/lib/middleman/vendor/gems/specifications/sprockets-1.0.2.gemspec +31 -0
  1449. data/lib/middleman/vendor/gems/specifications/templater-1.0.0.gemspec +54 -0
  1450. data/lib/middleman/vendor/gems/specifications/yui-compressor-0.9.1.gemspec +29 -0
  1451. data/middleman.gemspec +1445 -18
  1452. metadata +1459 -18
  1453. data/spec/auto_image_sizes.rb +0 -22
  1454. data/spec/cache_buster_off_spec.rb +0 -20
  1455. data/spec/cache_buster_on_spec.rb +0 -20
  1456. data/spec/minify_css_spec.rb +0 -20
  1457. data/spec/minify_javascript_spec.rb +0 -20
  1458. data/spec/page_alias_and_layouts_spec.rb +0 -22
  1459. data/spec/relative_assets_spec.rb +0 -20
@@ -0,0 +1,93 @@
1
+ require File.expand_path(File.join(File.dirname(__FILE__), 'spec_helper'))
2
+
3
+ describe Extlib::Inflection do
4
+ describe "#classify" do
5
+ it 'classifies data_mapper as DataMaper' do
6
+ Extlib::Inflection.classify('data_mapper').should == 'DataMapper'
7
+ end
8
+
9
+ it "singularizes string first: classifies data_mappers as egg_and_hams as EggAndHam" do
10
+ Extlib::Inflection.classify('egg_and_hams').should == 'EggAndHam'
11
+ end
12
+ end
13
+
14
+ describe "#camelize" do
15
+ it 'camelizes data_mapper as DataMapper' do
16
+ Extlib::Inflection.camelize('data_mapper').should == 'DataMapper'
17
+ end
18
+
19
+ it "camelizes merb as Merb" do
20
+ Extlib::Inflection.camelize('merb').should == 'Merb'
21
+ end
22
+
23
+ it "camelizes data_mapper/resource as DataMapper::Resource" do
24
+ Extlib::Inflection.camelize('data_mapper/resource').should == 'DataMapper::Resource'
25
+ end
26
+
27
+ it "camelizes data_mapper/associations/one_to_many as DataMapper::Associations::OneToMany" do
28
+ Extlib::Inflection.camelize('data_mapper/associations/one_to_many').should == 'DataMapper::Associations::OneToMany'
29
+ end
30
+ end
31
+
32
+ describe "#underscore" do
33
+ it 'underscores DataMapper as data_mapper' do
34
+ Extlib::Inflection.underscore('DataMapper').should == 'data_mapper'
35
+ end
36
+
37
+ it 'underscores Merb as merb' do
38
+ Extlib::Inflection.underscore('Merb').should == 'merb'
39
+ end
40
+
41
+ it 'underscores DataMapper::Resource as data_mapper/resource' do
42
+ Extlib::Inflection.underscore('DataMapper::Resource').should == 'data_mapper/resource'
43
+ end
44
+
45
+ it 'underscores Merb::BootLoader::Rackup as merb/boot_loader/rackup' do
46
+ Extlib::Inflection.underscore('Merb::BootLoader::Rackup').should == 'merb/boot_loader/rackup'
47
+ end
48
+ end
49
+
50
+ describe "#humanize" do
51
+ it 'replaces _ with space: humanizes employee_salary as Employee salary' do
52
+ Extlib::Inflection.humanize('employee_salary').should == 'Employee salary'
53
+ end
54
+
55
+ it "strips _id endings: humanizes author_id as Author" do
56
+ Extlib::Inflection.humanize('author_id').should == 'Author'
57
+ end
58
+ end
59
+
60
+ describe "#demodulize" do
61
+ it 'demodulizes module name: DataMapper::Inflector => Inflector' do
62
+ Extlib::Inflection.demodulize('DataMapper::Inflector').should == 'Inflector'
63
+ end
64
+
65
+ it 'demodulizes module name: A::B::C::D::E => E' do
66
+ Extlib::Inflection.demodulize('A::B::C::D::E').should == 'E'
67
+ end
68
+ end
69
+
70
+ describe "#tableize" do
71
+ it 'pluralizes last word in snake_case strings: fancy_category => fancy_categories' do
72
+ Extlib::Inflection.tableize('fancy_category').should == 'fancy_categories'
73
+ end
74
+
75
+ it 'underscores CamelCase strings before pluralization: FancyCategory => fancy_categories' do
76
+ Extlib::Inflection.tableize('FancyCategory').should == 'fancy_categories'
77
+ end
78
+
79
+ it 'replaces :: with underscores: Fancy::Category => fancy_categories' do
80
+ Extlib::Inflection.tableize('Fancy::Category').should == 'fancy_categories'
81
+ end
82
+ end
83
+
84
+ describe "#foreign_key" do
85
+ it 'adds _id to downcased string: Message => message_id' do
86
+ Extlib::Inflection.foreign_key('Message').should == 'message_id'
87
+ end
88
+
89
+ it "demodulizes string first: Admin::Post => post_id" do
90
+ Extlib::Inflection.foreign_key('Admin::Post').should == 'post_id'
91
+ end
92
+ end
93
+ end
@@ -0,0 +1,1932 @@
1
+ require File.expand_path(File.join(File.dirname(__FILE__), 'spec_helper'))
2
+
3
+ module LazyArraySpec
4
+ module GroupMethods
5
+ def self.extended(base)
6
+ base.class_inheritable_accessor :loaded, :subject_block, :action_block
7
+ end
8
+
9
+ def subject(&block)
10
+ self.subject_block = block
11
+ end
12
+
13
+ def action(&block)
14
+ self.action_block = block
15
+ end
16
+
17
+ def should_respond_to(method)
18
+ unless loaded
19
+ it { subject.should respond_to(method) }
20
+ end
21
+ end
22
+
23
+ def should_return_expected_value(&block)
24
+ it 'should return expected value' do
25
+ action.should eql(instance_eval(&block))
26
+ end
27
+ end
28
+
29
+ def should_return_subject
30
+ should_return_kind_of(LazyArray)
31
+
32
+ it 'should return self' do
33
+ action.should equal(subject)
34
+ end
35
+ end
36
+
37
+ def should_return_kind_of(klass)
38
+ it { action.should be_a_kind_of(klass) }
39
+ end
40
+
41
+ def should_return_copy
42
+ it 'should not return self' do
43
+ action.should_not equal(subject)
44
+ end
45
+
46
+ it 'should eql self' do
47
+ action.should eql(subject)
48
+ end
49
+ end
50
+
51
+ def should_return_true
52
+ it 'should return true' do
53
+ action.should be_true
54
+ end
55
+ end
56
+
57
+ def should_return_false
58
+ it 'should return false' do
59
+ action.should be_false
60
+ end
61
+ end
62
+
63
+ def should_return_nil
64
+ it 'should return nil' do
65
+ action.should be_nil
66
+ end
67
+ end
68
+
69
+ def should_raise_error(klass, message = nil)
70
+ it { lambda { action }.should raise_error(klass, message) }
71
+ end
72
+
73
+ def should_clear_subject
74
+ it 'should clear self' do
75
+ lambda { action }.should change(subject, :empty?).from(false).to(true)
76
+ end
77
+ end
78
+
79
+ def should_yield_to_each_entry
80
+ it 'should yield to each entry' do
81
+ lambda { action }.should change(@accumulator, :entries).from([]).to(subject.entries)
82
+ end
83
+ end
84
+
85
+ def should_not_change_subject
86
+ it 'should not change self' do
87
+ # XXX: the following does not work with Array#delete_if, even when nothing removed (ruby bug?)
88
+ #subject.freeze
89
+ #lambda { action }.should_not raise_error(RUBY_VERSION >= '1.9.0' ? RuntimeError : TypeError)
90
+ lambda { action }.should_not change(subject, :entries)
91
+ end
92
+ end
93
+
94
+ def should_be_a_kicker
95
+ unless loaded
96
+ it 'should be a kicker' do
97
+ lambda { action }.should change(subject, :loaded?).from(false).to(true)
98
+ end
99
+ end
100
+ end
101
+
102
+ def should_not_be_a_kicker
103
+ unless loaded
104
+ it 'should not be a kicker' do
105
+ subject.should_not be_loaded
106
+ lambda { action }.should_not change(subject, :loaded?)
107
+ end
108
+ end
109
+ end
110
+ end
111
+
112
+ module Methods
113
+ def subject
114
+ @subject ||= instance_eval(&self.class.subject_block)
115
+ end
116
+
117
+ def action
118
+ instance_eval(&self.class.action_block)
119
+ end
120
+ end
121
+ end
122
+
123
+ [ false, true ].each do |loaded|
124
+ describe LazyArray do
125
+ extend LazyArraySpec::GroupMethods
126
+ include LazyArraySpec::Methods
127
+
128
+ self.loaded = loaded
129
+
130
+ # message describing the object state
131
+ state = "(#{'not ' unless loaded}loaded)"
132
+
133
+ before do
134
+ @nancy = 'nancy'
135
+ @bessie = 'bessie'
136
+ @steve = 'steve'
137
+
138
+ @lazy_array = LazyArray.new
139
+ @lazy_array.load_with { |la| la.push(@nancy, @bessie) }
140
+
141
+ @other = LazyArray.new
142
+ @other.load_with { |la| la.push(@steve) }
143
+
144
+ @lazy_array.entries if loaded
145
+ end
146
+
147
+ subject { @lazy_array }
148
+
149
+ describe 'when frozen', state do
150
+ before { subject.freeze }
151
+
152
+ it 'should still be able to kick' do
153
+ lambda { subject.entries }.should_not raise_error
154
+ end
155
+
156
+ it 'should not allow any modifications' do
157
+ lambda { subject << @steve }.should raise_error(RUBY_VERSION >= '1.9.0' ? RuntimeError : TypeError)
158
+ end
159
+ end
160
+
161
+ should_respond_to(:<<)
162
+
163
+ describe '#<<' do
164
+ action { subject << @steve }
165
+
166
+ should_return_subject
167
+ should_not_be_a_kicker
168
+
169
+ it 'should append an entry' do
170
+ (subject << @steve).should == [ @nancy, @bessie, @steve ]
171
+ end
172
+ end
173
+
174
+ should_respond_to(:any?)
175
+
176
+ describe '#any?', state do
177
+ describe 'when not provided a block' do
178
+ action { subject.any? }
179
+
180
+ describe 'when the subject has entries that are not loaded' do
181
+ should_return_true
182
+ should_be_a_kicker
183
+ should_not_change_subject
184
+ end
185
+
186
+ describe 'when the subject has entries that are prepended' do
187
+ subject { LazyArray.new.unshift(@nancy) }
188
+
189
+ should_return_true
190
+ should_not_be_a_kicker
191
+ should_not_change_subject
192
+ end
193
+
194
+ describe 'when the subject has entries that are appended' do
195
+ subject { LazyArray.new << @nancy }
196
+
197
+ should_return_true
198
+ should_not_be_a_kicker
199
+ should_not_change_subject
200
+ end
201
+
202
+ describe 'when the subject has no entries' do
203
+ subject { LazyArray.new }
204
+
205
+ should_return_false
206
+ should_be_a_kicker
207
+ should_not_change_subject
208
+ end
209
+ end
210
+
211
+ describe 'when provided a block that always returns true' do
212
+ action { subject.any? { true } }
213
+
214
+ describe 'when the subject has entries that are not loaded' do
215
+ should_return_true
216
+ should_be_a_kicker
217
+ should_not_change_subject
218
+ end
219
+
220
+ describe 'when the subject has entries that are prepended' do
221
+ subject { LazyArray.new.unshift(@nancy) }
222
+
223
+ should_return_true
224
+ should_not_be_a_kicker
225
+ should_not_change_subject
226
+ end
227
+
228
+ describe 'when the subject has entries that are appended' do
229
+ subject { LazyArray.new << @nancy }
230
+
231
+ should_return_true
232
+ should_not_be_a_kicker
233
+ should_not_change_subject
234
+ end
235
+
236
+ describe 'when the subject has no entries' do
237
+ subject { LazyArray.new }
238
+
239
+ should_return_false
240
+ should_be_a_kicker
241
+ should_not_change_subject
242
+ end
243
+ end
244
+ end
245
+
246
+ should_respond_to(:at)
247
+
248
+ describe '#at', state do
249
+ describe 'with positive index' do
250
+ action { subject.at(0) }
251
+
252
+ should_return_expected_value { @nancy }
253
+ should_be_a_kicker
254
+ should_not_change_subject
255
+ end
256
+
257
+ describe 'with positive index', 'after prepending to the LazyArray' do
258
+ before { subject.unshift(@steve) }
259
+
260
+ action { subject.at(0) }
261
+
262
+ should_return_expected_value { @steve }
263
+ should_not_be_a_kicker
264
+ should_not_change_subject
265
+ end
266
+
267
+ describe 'with negative index' do
268
+ action { subject.at(-1) }
269
+
270
+ should_return_expected_value { @bessie }
271
+ should_be_a_kicker
272
+ should_not_change_subject
273
+ end
274
+
275
+ describe 'with negative index', 'after appending to the LazyArray' do
276
+ before { subject.push(@steve) }
277
+
278
+ action { subject.at(-1) }
279
+
280
+ should_return_expected_value { @steve }
281
+ should_not_be_a_kicker
282
+ should_not_change_subject
283
+ end
284
+
285
+ describe 'with an index not within the LazyArray' do
286
+ action { subject.at(2) }
287
+
288
+ should_return_nil
289
+ should_be_a_kicker
290
+ should_not_change_subject
291
+ end
292
+ end
293
+
294
+ should_respond_to(:clear)
295
+
296
+ describe '#clear', state do
297
+ action { subject.clear }
298
+
299
+ should_return_subject
300
+ should_be_a_kicker # only marks as loadd, does not lazy load
301
+ should_clear_subject
302
+ end
303
+
304
+ [ :collect!, :map! ].each do |method|
305
+ it { @lazy_array.should respond_to(method) }
306
+
307
+ describe "##{method}", state do
308
+ before { @accumulator = [] }
309
+
310
+ action { subject.send(method) { |e| @accumulator << e; @steve } }
311
+
312
+ should_return_subject
313
+ should_yield_to_each_entry
314
+ should_be_a_kicker
315
+
316
+ it 'should update with the block results' do
317
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @steve, @steve ])
318
+ end
319
+ end
320
+ end
321
+
322
+ should_respond_to(:concat)
323
+
324
+ describe '#concat', state do
325
+ action { subject.concat(@other) }
326
+
327
+ should_return_subject
328
+ should_not_be_a_kicker
329
+
330
+ it 'should concatenate other Enumerable' do
331
+ subject.concat(@other).should == [ @nancy, @bessie, @steve ]
332
+ end
333
+ end
334
+
335
+ should_respond_to(:delete)
336
+
337
+ describe '#delete', state do
338
+ describe 'with an object within the LazyArray', state do
339
+ action { subject.delete(@nancy) }
340
+
341
+ should_return_expected_value { @nancy }
342
+ should_be_a_kicker
343
+
344
+ it 'should remove the matching entry' do
345
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @bessie ])
346
+ end
347
+ end
348
+
349
+ describe 'with an object not within the LazyArray', 'without a default block' do
350
+ action { subject.delete(@steve) }
351
+
352
+ should_return_nil
353
+ should_not_change_subject
354
+ should_be_a_kicker
355
+ end
356
+
357
+ describe 'with an object not within the LazyArray', 'with a default block' do
358
+ action { subject.delete(@steve) { @steve } }
359
+
360
+ should_return_expected_value { @steve }
361
+ should_not_change_subject
362
+ should_be_a_kicker
363
+ end
364
+ end
365
+
366
+ should_respond_to(:delete_at)
367
+
368
+ describe '#delete_at', state do
369
+ describe 'with a positive index' do
370
+ action { subject.delete_at(0) }
371
+
372
+ should_return_expected_value { @nancy }
373
+ should_be_a_kicker
374
+
375
+ it 'should remove the matching entry' do
376
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @bessie ])
377
+ end
378
+ end
379
+
380
+ describe 'with a positive index', 'after prepending to the LazyArray' do
381
+ before { subject.unshift(@steve) }
382
+
383
+ action { subject.delete_at(0) }
384
+
385
+ should_return_expected_value { @steve }
386
+ should_not_be_a_kicker
387
+
388
+ it 'should remove the matching entry' do
389
+ lambda { action }.should change(subject, :entries).from([ @steve, @nancy, @bessie ]).to([ @nancy, @bessie ])
390
+ end
391
+ end
392
+
393
+ describe 'with a negative index' do
394
+ action { subject.delete_at(-1) }
395
+
396
+ should_return_expected_value { @bessie }
397
+ should_be_a_kicker
398
+
399
+ it 'should remove the matching entry' do
400
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @nancy ])
401
+ end
402
+ end
403
+
404
+ describe 'with a negative index', 'after appending to the LazyArray' do
405
+ before { subject.push(@steve) }
406
+
407
+ action { subject.delete_at(-1) }
408
+
409
+ should_return_expected_value { @steve }
410
+ should_not_be_a_kicker
411
+
412
+ it 'should remove the matching entry' do
413
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie, @steve ]).to([ @nancy, @bessie ])
414
+ end
415
+ end
416
+
417
+ describe 'with an index not within the LazyArray' do
418
+ action { subject.delete_at(2) }
419
+
420
+ should_return_nil
421
+ should_not_change_subject
422
+ should_be_a_kicker
423
+ end
424
+ end
425
+
426
+ should_respond_to(:delete_if)
427
+
428
+ describe '#delete_if', state do
429
+ before { @accumulator = [] }
430
+
431
+ describe 'with a block that matches an entry' do
432
+ action { subject.delete_if { |e| @accumulator << e; true } }
433
+
434
+ should_return_subject
435
+ should_yield_to_each_entry
436
+ should_not_be_a_kicker
437
+
438
+ it 'should update with the block results' do
439
+ lambda { action }.should change(subject, :empty?).from(false).to(true)
440
+ end
441
+ end
442
+
443
+ describe 'with a block that does not match an entry' do
444
+ action { subject.delete_if { |e| @accumulator << e; false } }
445
+
446
+ should_return_subject
447
+ should_yield_to_each_entry
448
+ should_not_be_a_kicker
449
+ should_not_change_subject
450
+ end
451
+ end
452
+
453
+ should_respond_to(:dup)
454
+
455
+ describe '#dup', state do
456
+ action { subject.dup }
457
+
458
+ should_return_kind_of(LazyArray)
459
+ should_return_copy
460
+ should_not_be_a_kicker
461
+
462
+ if loaded
463
+ it 'should be loaded if subject loaded' do
464
+ action.should be_loaded
465
+ end
466
+ end
467
+ end
468
+
469
+ should_respond_to(:each)
470
+
471
+ describe '#each', state do
472
+ before { @accumulator = [] }
473
+
474
+ action { subject.each { |e| @accumulator << e } }
475
+
476
+ should_return_subject
477
+ should_yield_to_each_entry
478
+ should_be_a_kicker
479
+ should_not_change_subject
480
+ end
481
+
482
+ should_respond_to(:each_index)
483
+
484
+ describe '#each_index', state do
485
+ before { @accumulator = [] }
486
+
487
+ action { subject.each_index { |i| @accumulator << i } }
488
+
489
+ should_return_subject
490
+ should_be_a_kicker
491
+ should_not_change_subject
492
+
493
+ it 'should yield to each index' do
494
+ lambda { action }.should change(@accumulator, :entries).from([]).to([ 0, 1 ])
495
+ end
496
+ end
497
+
498
+ should_respond_to(:each_with_index)
499
+
500
+ describe '#each_with_index', state do
501
+ before { @accumulator = [] }
502
+
503
+ action { subject.each_with_index { |entry,index| @accumulator << [ entry, index ] } }
504
+
505
+ should_return_subject
506
+ should_be_a_kicker
507
+ should_not_change_subject
508
+
509
+ it 'should yield to each entry and index' do
510
+ lambda { action }.should change(@accumulator, :entries).from([]).to([ [ @nancy, 0 ], [ @bessie, 1 ] ])
511
+ end
512
+ end
513
+
514
+ should_respond_to(:empty?)
515
+
516
+ describe '#empty?', state do
517
+ describe 'when the subject has entries that are not loaded' do
518
+ action { subject.empty? }
519
+
520
+ should_return_false
521
+ should_be_a_kicker
522
+ should_not_change_subject
523
+ end
524
+
525
+ describe 'when the subject has entries that are prepended' do
526
+ subject { LazyArray.new.unshift(@nancy) }
527
+
528
+ action { subject.empty? }
529
+
530
+ should_return_false
531
+ should_not_be_a_kicker
532
+ should_not_change_subject
533
+ end
534
+
535
+ describe 'when the subject has entries that are appended' do
536
+ subject { LazyArray.new << @nancy }
537
+
538
+ action { subject.empty? }
539
+
540
+ should_return_false
541
+ should_not_be_a_kicker
542
+ should_not_change_subject
543
+ end
544
+
545
+ describe 'when the subject has no entries' do
546
+ subject { LazyArray.new }
547
+
548
+ action { subject.empty? }
549
+
550
+ should_return_true
551
+ should_be_a_kicker
552
+ should_not_change_subject
553
+ end
554
+ end
555
+
556
+ [ :eql?, :== ].each do |method|
557
+ should_respond_to(method)
558
+
559
+ describe "##{method}", state do
560
+ describe 'with an Enumerable containing the same entries' do
561
+ before do
562
+ if method == :eql?
563
+ @other = LazyArray.new
564
+ @other.load_with { |la| la.push(@nancy, @bessie) }
565
+ else
566
+ @other = [ @nancy, @bessie ]
567
+ end
568
+ end
569
+
570
+ action { subject.send(method, @other) }
571
+
572
+ should_return_true
573
+ should_be_a_kicker
574
+ should_not_change_subject
575
+ end
576
+
577
+ describe 'with an Enumerable containing different entries' do
578
+ action { subject.send(method, @other) }
579
+
580
+ should_return_false
581
+ should_be_a_kicker
582
+ should_not_change_subject
583
+ end
584
+
585
+ describe 'with an Enumerable with different entries than in head' do
586
+ before { subject.unshift(@nancy) }
587
+
588
+ action { subject.send(method, [ @steve ]) }
589
+
590
+ should_return_false
591
+ should_not_be_a_kicker
592
+ should_not_change_subject
593
+ end
594
+
595
+ describe 'with an Enumerable with different entries than in tail' do
596
+ before { subject.push(@nancy) }
597
+
598
+ action { subject.send(method, [ @steve ]) }
599
+
600
+ should_return_false
601
+ should_not_be_a_kicker
602
+ should_not_change_subject
603
+ end
604
+ end
605
+ end
606
+
607
+ should_respond_to(:fetch)
608
+
609
+ describe '#fetch', state do
610
+ describe 'with positive index' do
611
+ action { subject.fetch(0) }
612
+
613
+ should_return_expected_value { @nancy }
614
+ should_be_a_kicker
615
+ should_not_change_subject
616
+ end
617
+
618
+ describe 'with positive index', 'after prepending to the LazyArray' do
619
+ before { subject.unshift(@steve) }
620
+
621
+ action { subject.fetch(0) }
622
+
623
+ should_return_expected_value { @steve }
624
+ should_not_be_a_kicker
625
+ should_not_change_subject
626
+ end
627
+
628
+ describe 'with negative index' do
629
+ action { subject.fetch(-1) }
630
+
631
+ should_return_expected_value { @bessie }
632
+ should_be_a_kicker
633
+ should_not_change_subject
634
+ end
635
+
636
+ describe 'with negative index', 'after appending to the LazyArray' do
637
+ before { subject.push(@steve) }
638
+
639
+ action { subject.fetch(-1) }
640
+
641
+ should_return_expected_value { @steve }
642
+ should_not_be_a_kicker
643
+ should_not_change_subject
644
+ end
645
+
646
+ describe 'with an index not within the LazyArray' do
647
+ action { subject.fetch(2) }
648
+
649
+ should_raise_error(IndexError)
650
+ end
651
+
652
+ describe 'with an index not within the LazyArray and default' do
653
+ action { subject.fetch(2, @steve) }
654
+
655
+ should_return_expected_value { @steve }
656
+ should_be_a_kicker
657
+ should_not_change_subject
658
+ end
659
+
660
+ describe 'with an index not within the LazyArray and default block' do
661
+ action { subject.fetch(2) { @steve } }
662
+
663
+ should_return_expected_value { @steve }
664
+ should_be_a_kicker
665
+ should_not_change_subject
666
+ end
667
+ end
668
+
669
+ should_respond_to(:freeze)
670
+
671
+ describe '#freeze', state do
672
+ action { subject.freeze }
673
+
674
+ should_return_subject
675
+ should_not_be_a_kicker
676
+
677
+ it { lambda { action }.should change(subject, :frozen?).from(false).to(true) }
678
+ end
679
+
680
+ should_respond_to(:first)
681
+
682
+ describe '#first', state do
683
+ describe 'with no arguments' do
684
+ action { subject.first }
685
+
686
+ should_return_expected_value { @nancy }
687
+ should_be_a_kicker
688
+ should_not_change_subject
689
+ end
690
+
691
+ describe 'with no arguments', 'after prepending to the LazyArray' do
692
+ before { subject.unshift(@steve) }
693
+
694
+ action { subject.first }
695
+
696
+ should_return_expected_value { @steve }
697
+ should_not_be_a_kicker
698
+ should_not_change_subject
699
+ end
700
+
701
+ describe 'with length specified' do
702
+ action { subject.first(1) }
703
+
704
+ it { action.should == [ @nancy ] }
705
+
706
+ should_be_a_kicker
707
+ should_not_change_subject
708
+ end
709
+
710
+ describe 'with length specified', 'after prepending to the LazyArray' do
711
+ before { subject.unshift(@steve) }
712
+
713
+ action { subject.first(1) }
714
+
715
+ it { action.should == [ @steve ] }
716
+
717
+ should_not_be_a_kicker
718
+ should_not_change_subject
719
+ end
720
+ end
721
+
722
+ should_respond_to(:include?)
723
+
724
+ describe '#include?', state do
725
+ describe 'with an included entry' do
726
+ action { subject.include?(@nancy) }
727
+
728
+ should_return_true
729
+ should_be_a_kicker
730
+ should_not_change_subject
731
+ end
732
+
733
+ describe 'with an included entry', 'after prepending to the LazyArray' do
734
+ before { subject.unshift(@steve) }
735
+
736
+ action { subject.include?(@steve) }
737
+
738
+ should_return_true
739
+ should_not_be_a_kicker
740
+ should_not_change_subject
741
+ end
742
+
743
+ describe 'with an included entry', 'after appending to the LazyArray' do
744
+ before { subject.push(@steve) }
745
+
746
+ action { subject.include?(@steve) }
747
+
748
+ should_return_true
749
+ should_not_be_a_kicker
750
+ should_not_change_subject
751
+ end
752
+
753
+ describe 'with an entry not included' do
754
+ action { subject.include?(@steve) }
755
+
756
+ should_return_false
757
+ should_be_a_kicker
758
+ should_not_change_subject
759
+ end
760
+ end
761
+
762
+ should_respond_to(:index)
763
+
764
+ describe '#index', state do
765
+ describe 'with an included entry' do
766
+ action { subject.index(@nancy) }
767
+
768
+ should_return_expected_value { 0 }
769
+ should_be_a_kicker
770
+ should_not_change_subject
771
+ end
772
+
773
+ describe 'with an included entry', 'after prepending to the LazyArray' do
774
+ before { subject.unshift(@steve) }
775
+
776
+ action { subject.index(@steve) }
777
+
778
+ should_return_expected_value { 0 }
779
+ should_not_be_a_kicker
780
+ should_not_change_subject
781
+ end
782
+
783
+ describe 'with an included entry', 'after appending to the LazyArray' do
784
+ before { subject.push(@steve) }
785
+
786
+ action { subject.index(@steve) }
787
+
788
+ should_return_expected_value { 2 }
789
+ should_be_a_kicker # need to kick because first index could be in lazy array
790
+ should_not_change_subject
791
+ end
792
+
793
+ describe 'with an entry not included' do
794
+ action { subject.index(@steve) }
795
+
796
+ should_return_nil
797
+ should_be_a_kicker
798
+ should_not_change_subject
799
+ end
800
+ end
801
+
802
+ should_respond_to(:insert)
803
+
804
+ describe '#insert', state do
805
+ describe 'with an index of 0' do
806
+ action { subject.insert(0, @steve) }
807
+
808
+ should_return_subject
809
+ should_not_be_a_kicker
810
+
811
+ it 'should insert the entries before the index' do
812
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @steve, @nancy, @bessie ])
813
+ end
814
+ end
815
+
816
+ describe 'with an positive index greater than the head size' do
817
+ action { subject.insert(1, @steve) }
818
+
819
+ should_return_subject
820
+ should_be_a_kicker
821
+
822
+ it 'should insert the entries before the index' do
823
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @nancy, @steve, @bessie ])
824
+ end
825
+ end
826
+
827
+ describe 'with an index of -1' do
828
+ action { subject.insert(-1, @steve) }
829
+
830
+ should_return_subject
831
+ should_not_be_a_kicker
832
+
833
+ it 'should insert the entries before the index' do
834
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @nancy, @bessie, @steve ])
835
+ end
836
+ end
837
+
838
+ describe 'with a negative index greater than the tail size' do
839
+ action { subject.insert(-2, @steve) }
840
+
841
+ should_return_subject
842
+ should_be_a_kicker
843
+
844
+ it 'should insert the entries before the index' do
845
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @nancy, @steve, @bessie ])
846
+ end
847
+ end
848
+
849
+ describe 'with a positive index 1 greater than the maximum index of the LazyArray' do
850
+ action { subject.insert(2, @steve) }
851
+
852
+ should_return_subject
853
+ should_be_a_kicker
854
+
855
+ it 'should insert the entries before the index' do
856
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @nancy, @bessie, @steve ])
857
+ end
858
+ end
859
+
860
+ describe 'with a positive index not within the LazyArray' do
861
+ action { subject.insert(3, @steve) }
862
+
863
+ should_return_subject
864
+ should_be_a_kicker
865
+
866
+ it 'should insert the entries before the index, expanding the LazyArray' do
867
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @nancy, @bessie, nil, @steve ])
868
+ end
869
+ end
870
+
871
+ describe 'with a negative index 1 greater than the maximum index of the LazyArray' do
872
+ action { subject.insert(-3, @steve) }
873
+
874
+ should_return_subject
875
+ should_be_a_kicker
876
+
877
+ it 'should insert the entries before the index, expanding the LazyArray' do
878
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @steve, @nancy, @bessie ])
879
+ end
880
+ end
881
+
882
+ describe 'with a negative index not within the LazyArray' do
883
+ action { subject.insert(-4, @steve) }
884
+
885
+ should_raise_error(IndexError)
886
+ end
887
+ end
888
+
889
+ should_respond_to(:kind_of?)
890
+
891
+ describe '#kind_of' do
892
+ describe 'when provided a class that is a superclass' do
893
+ action { subject.kind_of?(Object) }
894
+
895
+ should_return_true
896
+ should_not_be_a_kicker
897
+ should_not_change_subject
898
+ end
899
+
900
+ describe 'when provided a class that is a proxy class superclass' do
901
+ action { subject.kind_of?(Array) }
902
+
903
+ should_return_true
904
+ should_not_be_a_kicker
905
+ should_not_change_subject
906
+ end
907
+
908
+ describe 'when provided a class that is not a superclass' do
909
+ action { subject.kind_of?(Hash) }
910
+
911
+ should_return_false
912
+ should_not_be_a_kicker
913
+ should_not_change_subject
914
+ end
915
+ end
916
+
917
+ should_respond_to(:last)
918
+
919
+ describe '#last', state do
920
+ describe 'with no arguments' do
921
+ action { subject.last }
922
+
923
+ should_return_expected_value { @bessie }
924
+ should_be_a_kicker
925
+ should_not_change_subject
926
+ end
927
+
928
+ describe 'with no arguments', 'after appending to the LazyArray' do
929
+ before { subject.push(@steve) }
930
+
931
+ action { subject.last }
932
+
933
+ should_return_expected_value { @steve }
934
+ should_not_be_a_kicker
935
+ should_not_change_subject
936
+ end
937
+
938
+ describe 'with length specified' do
939
+ action { subject.last(1) }
940
+
941
+ it { action.should == [ @bessie ] }
942
+
943
+ should_be_a_kicker
944
+ should_not_change_subject
945
+ end
946
+
947
+ describe 'with length specified', 'after appending to the LazyArray' do
948
+ before { subject.push(@steve) }
949
+
950
+ action { subject.last(1) }
951
+
952
+ it { action.should == [ @steve ] }
953
+
954
+ should_not_be_a_kicker
955
+ should_not_change_subject
956
+ end
957
+ end
958
+
959
+ should_respond_to(:loaded?)
960
+
961
+ describe '#loaded?' do
962
+ if loaded
963
+ describe 'when loaded' do
964
+ action { subject.loaded? }
965
+
966
+ should_return_true
967
+ should_not_change_subject
968
+ end
969
+ else
970
+ describe 'when not loaded' do
971
+ action { subject.loaded? }
972
+
973
+ should_return_false
974
+ should_not_change_subject
975
+ end
976
+ end
977
+ end
978
+
979
+ should_respond_to(:pop)
980
+
981
+ describe '#pop', state do
982
+ describe 'without appending to the LazyArray' do
983
+ action { subject.pop }
984
+
985
+ should_return_expected_value { @bessie }
986
+ should_be_a_kicker
987
+
988
+ it 'should remove the last entry' do
989
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @nancy ])
990
+ end
991
+ end
992
+
993
+ describe 'after appending to the LazyArray' do
994
+ before { subject.push(@steve) }
995
+
996
+ action { subject.pop }
997
+
998
+ should_return_expected_value { @steve }
999
+ should_not_be_a_kicker
1000
+
1001
+ it 'should remove the last entry' do
1002
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie, @steve ]).to([ @nancy, @bessie ])
1003
+ end
1004
+ end
1005
+ end
1006
+
1007
+ should_respond_to(:push)
1008
+
1009
+ describe '#push', state do
1010
+ action { subject.push(@steve, @steve) }
1011
+
1012
+ should_return_subject
1013
+ should_not_be_a_kicker
1014
+
1015
+ it 'should append entries' do
1016
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @nancy, @bessie, @steve, @steve ])
1017
+ end
1018
+ end
1019
+
1020
+ should_respond_to(:reject!)
1021
+
1022
+ describe '#reject!', state do
1023
+ before { @accumulator = [] }
1024
+
1025
+ describe 'with a block that matches an entry' do
1026
+ action { subject.reject! { |e| @accumulator << e; true } }
1027
+
1028
+ should_return_subject
1029
+ should_yield_to_each_entry
1030
+ should_be_a_kicker
1031
+
1032
+ it 'should update with the block results' do
1033
+ lambda { action }.should change(subject, :empty?).from(false).to(true)
1034
+ end
1035
+ end
1036
+
1037
+ describe 'with a block that does not match an entry' do
1038
+ action { subject.reject! { |e| @accumulator << e; false } }
1039
+
1040
+ should_return_nil
1041
+ should_yield_to_each_entry
1042
+ should_be_a_kicker
1043
+ should_not_change_subject
1044
+ end
1045
+ end
1046
+
1047
+ should_respond_to(:replace)
1048
+
1049
+ describe '#replace' do
1050
+ action { subject.replace(@other) }
1051
+
1052
+ should_return_subject
1053
+ should_be_a_kicker
1054
+
1055
+ it 'should replace with other Enumerable' do
1056
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @steve ])
1057
+ end
1058
+ end
1059
+
1060
+ should_respond_to(:reverse)
1061
+
1062
+ describe '#reverse', state do
1063
+ action { subject.reverse }
1064
+
1065
+ should_return_kind_of(LazyArray)
1066
+ should_not_be_a_kicker
1067
+ should_not_change_subject
1068
+
1069
+ it 'should return a reversed LazyArray' do
1070
+ action.should == [ @bessie, @nancy ]
1071
+ end
1072
+ end
1073
+
1074
+ should_respond_to(:reverse!)
1075
+
1076
+ describe '#reverse!', state do
1077
+ action { subject.reverse! }
1078
+
1079
+ should_return_subject
1080
+ should_not_be_a_kicker
1081
+
1082
+ it 'should return a reversed LazyArray' do
1083
+ action.should == [ @bessie, @nancy ]
1084
+ end
1085
+ end
1086
+
1087
+ should_respond_to(:reverse_each)
1088
+
1089
+ describe '#reverse_each', state do
1090
+ before { @accumulator = [] }
1091
+
1092
+ action { subject.reverse_each { |e| @accumulator << e } }
1093
+
1094
+ should_return_subject
1095
+ should_be_a_kicker
1096
+ should_not_change_subject
1097
+
1098
+ it 'should yield to each entry' do
1099
+ lambda { action }.should change(@accumulator, :entries).from([]).to([ @bessie, @nancy ])
1100
+ end
1101
+ end
1102
+
1103
+ should_respond_to(:rindex)
1104
+
1105
+ describe '#rindex', state do
1106
+ describe 'with an included entry' do
1107
+ action { subject.rindex(@nancy) }
1108
+
1109
+ should_return_expected_value { 0 }
1110
+ should_be_a_kicker # rindex always a kicker
1111
+ should_not_change_subject
1112
+ end
1113
+
1114
+ describe 'with an included entry', 'after prepending to the LazyArray' do
1115
+ before { subject.unshift(@steve) }
1116
+
1117
+ action { subject.rindex(@steve) }
1118
+
1119
+ should_return_expected_value { 0 }
1120
+ should_be_a_kicker # rindex always a kicker
1121
+ should_not_change_subject
1122
+ end
1123
+
1124
+ describe 'with an included entry', 'after appending to the LazyArray' do
1125
+ before { subject.push(@steve) }
1126
+
1127
+ action { subject.rindex(@steve) }
1128
+
1129
+ should_return_expected_value { 2 }
1130
+ should_be_a_kicker # rindex always a kicker
1131
+ should_not_change_subject
1132
+ end
1133
+
1134
+ describe 'with an entry not included' do
1135
+ action { subject.rindex(@steve) }
1136
+
1137
+ should_return_nil
1138
+ should_be_a_kicker # rindex always a kicker
1139
+ should_not_change_subject
1140
+ end
1141
+ end
1142
+
1143
+ should_respond_to(:shift)
1144
+
1145
+ describe '#shift', state do
1146
+ describe 'without prepending to the LazyArray' do
1147
+ action { subject.shift }
1148
+
1149
+ should_return_expected_value { @nancy }
1150
+ should_be_a_kicker
1151
+
1152
+ it 'should remove the last entry' do
1153
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @bessie ])
1154
+ end
1155
+ end
1156
+
1157
+ describe 'after prepending to the LazyArray' do
1158
+ before { subject.unshift(@steve) }
1159
+
1160
+ action { subject.shift }
1161
+
1162
+ should_return_expected_value { @steve }
1163
+ should_not_be_a_kicker
1164
+
1165
+ it 'should remove the last entry' do
1166
+ lambda { action }.should change(subject, :entries).from([ @steve, @nancy, @bessie ]).to([ @nancy, @bessie ])
1167
+ end
1168
+ end
1169
+ end
1170
+
1171
+ [ :slice, :[] ].each do |method|
1172
+ should_respond_to(method)
1173
+
1174
+ describe "##{method}", state do
1175
+ describe 'with a positive index' do
1176
+ action { subject.send(method, 0) }
1177
+
1178
+ should_return_expected_value { @nancy }
1179
+ should_be_a_kicker
1180
+ should_not_change_subject
1181
+ end
1182
+
1183
+ describe 'with a positive index', 'after prepending to the LazyArray' do
1184
+ before { subject.unshift(@steve) }
1185
+
1186
+ action { subject.send(method, 0) }
1187
+
1188
+ should_return_expected_value { @steve }
1189
+ should_not_be_a_kicker
1190
+ should_not_change_subject
1191
+ end
1192
+
1193
+ describe 'with a positive index and length' do
1194
+ action { subject.send(method, 0, 1) }
1195
+
1196
+ should_return_kind_of(Array)
1197
+ should_return_expected_value { [ @nancy ] }
1198
+ should_be_a_kicker
1199
+ should_not_change_subject
1200
+ end
1201
+
1202
+ describe 'with a positive index and length', 'after prepending to the LazyArray' do
1203
+ before { subject.unshift(@steve) }
1204
+
1205
+ action { subject.send(method, 0, 1) }
1206
+
1207
+ should_return_kind_of(Array)
1208
+ should_return_expected_value { [ @steve ] }
1209
+ should_not_be_a_kicker
1210
+ should_not_change_subject
1211
+ end
1212
+
1213
+ describe 'with a positive range' do
1214
+ action { subject.send(method, 0..0) }
1215
+
1216
+ should_return_kind_of(Array)
1217
+ should_return_expected_value { [ @nancy ] }
1218
+ should_be_a_kicker
1219
+ should_not_change_subject
1220
+ end
1221
+
1222
+ describe 'with a positive range', 'after prepending to the LazyArray' do
1223
+ before { subject.unshift(@steve) }
1224
+
1225
+ action { subject.send(method, 0..0) }
1226
+
1227
+ should_return_kind_of(Array)
1228
+ should_return_expected_value { [ @steve ] }
1229
+ should_not_be_a_kicker
1230
+ should_not_change_subject
1231
+ end
1232
+
1233
+ describe 'with a negative index' do
1234
+ action { subject.send(method, -1) }
1235
+
1236
+ should_return_expected_value { @bessie }
1237
+ should_be_a_kicker
1238
+ should_not_change_subject
1239
+ end
1240
+
1241
+ describe 'with a negative index', 'after appending to the LazyArray' do
1242
+ before { subject.push(@steve) }
1243
+
1244
+ action { subject.send(method, -1) }
1245
+
1246
+ should_return_expected_value { @steve }
1247
+ should_not_be_a_kicker
1248
+ should_not_change_subject
1249
+ end
1250
+
1251
+ describe 'with a negative index and length' do
1252
+ action { subject.send(method, -1, 1) }
1253
+
1254
+ should_return_kind_of(Array)
1255
+ should_return_expected_value { [ @bessie ] }
1256
+ should_be_a_kicker
1257
+ should_not_change_subject
1258
+ end
1259
+
1260
+ describe 'with a negative index and length', 'after appending to the LazyArray' do
1261
+ before { subject.push(@steve) }
1262
+
1263
+ action { subject.send(method, -1, 1) }
1264
+
1265
+ should_return_kind_of(Array)
1266
+ should_return_expected_value { [ @steve ] }
1267
+ should_not_be_a_kicker
1268
+ should_not_change_subject
1269
+ end
1270
+
1271
+ describe 'with a negative range' do
1272
+ action { subject.send(method, -1..-1) }
1273
+
1274
+ should_return_kind_of(Array)
1275
+ should_return_expected_value { [ @bessie ] }
1276
+ should_be_a_kicker
1277
+ should_not_change_subject
1278
+ end
1279
+
1280
+ describe 'with a negative range', 'after appending to the LazyArray' do
1281
+ before { subject.push(@steve) }
1282
+
1283
+ action { subject.send(method, -1..-1) }
1284
+
1285
+ should_return_kind_of(Array)
1286
+ should_return_expected_value { [ @steve ] }
1287
+ should_not_be_a_kicker
1288
+ should_not_change_subject
1289
+ end
1290
+
1291
+ describe 'with an index not within the LazyArray' do
1292
+ action { subject.send(method, 2) }
1293
+
1294
+ should_return_nil
1295
+ should_be_a_kicker
1296
+ should_not_change_subject
1297
+ end
1298
+
1299
+ describe 'with an index and length not within the LazyArray' do
1300
+ action { subject.send(method, 2, 1) }
1301
+
1302
+ should_return_kind_of(Array)
1303
+ should_return_expected_value { [] }
1304
+ should_be_a_kicker
1305
+ should_not_change_subject
1306
+ end
1307
+
1308
+ describe 'with a range not within the LazyArray' do
1309
+ action { subject.send(method, 2..2) }
1310
+
1311
+ should_return_kind_of(Array)
1312
+ should_return_expected_value { [] }
1313
+ should_be_a_kicker
1314
+ should_not_change_subject
1315
+ end
1316
+
1317
+ describe 'with invalid arguments' do
1318
+ action { subject.send(method, 1, 1..1) }
1319
+
1320
+ should_raise_error(ArgumentError)
1321
+ end
1322
+ end
1323
+ end
1324
+
1325
+ should_respond_to(:slice!)
1326
+
1327
+ describe '#slice!', state do
1328
+ describe 'with a positive index' do
1329
+ action { subject.slice!(0) }
1330
+
1331
+ should_return_expected_value { @nancy }
1332
+ should_be_a_kicker
1333
+
1334
+ it 'should remove the matching entry' do
1335
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @bessie ])
1336
+ end
1337
+ end
1338
+
1339
+ describe 'with a positive index', 'after prepending to the LazyArray' do
1340
+ before { subject.unshift(@steve) }
1341
+
1342
+ action { subject.slice!(0) }
1343
+
1344
+ should_return_expected_value { @steve }
1345
+ should_not_be_a_kicker
1346
+
1347
+ it 'should remove the matching entry' do
1348
+ lambda { action }.should change(subject, :entries).from([ @steve, @nancy, @bessie ]).to([ @nancy, @bessie ])
1349
+ end
1350
+ end
1351
+
1352
+ describe 'with a positive index and length' do
1353
+ action { subject.slice!(0, 1) }
1354
+
1355
+ should_return_kind_of(Array)
1356
+ should_return_expected_value { [ @nancy ] }
1357
+ should_be_a_kicker
1358
+
1359
+ it 'should remove the matching entries' do
1360
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @bessie ])
1361
+ end
1362
+ end
1363
+
1364
+ describe 'with a positive index and length', 'after prepending to the LazyArray' do
1365
+ before { subject.unshift(@steve) }
1366
+
1367
+ action { subject.slice!(0, 1) }
1368
+
1369
+ should_return_kind_of(Array)
1370
+ should_return_expected_value { [ @steve ] }
1371
+ should_not_be_a_kicker
1372
+
1373
+ it 'should remove the matching entries' do
1374
+ lambda { action }.should change(subject, :entries).from([ @steve, @nancy, @bessie ]).to([ @nancy, @bessie ])
1375
+ end
1376
+ end
1377
+
1378
+ describe 'with a positive range' do
1379
+ action { subject.slice!(0..0) }
1380
+
1381
+ should_return_kind_of(Array)
1382
+ should_return_expected_value { [ @nancy ] }
1383
+ should_be_a_kicker
1384
+
1385
+ it 'should remove the matching entries' do
1386
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @bessie ])
1387
+ end
1388
+ end
1389
+
1390
+ describe 'with a positive range', 'after prepending to the LazyArray' do
1391
+ before { subject.unshift(@steve) }
1392
+
1393
+ action { subject.slice!(0..0) }
1394
+
1395
+ should_return_kind_of(Array)
1396
+ should_return_expected_value { [ @steve ] }
1397
+ should_not_be_a_kicker
1398
+
1399
+ it 'should remove the matching entry' do
1400
+ lambda { action }.should change(subject, :entries).from([ @steve, @nancy, @bessie ]).to([ @nancy, @bessie ])
1401
+ end
1402
+ end
1403
+
1404
+ describe 'with a negative index' do
1405
+ action { subject.slice!(-1) }
1406
+
1407
+ should_return_expected_value { @bessie }
1408
+ should_be_a_kicker
1409
+
1410
+ it 'should remove the matching entries' do
1411
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @nancy ])
1412
+ end
1413
+ end
1414
+
1415
+ describe 'with a negative index', 'after appending to the LazyArray' do
1416
+ before { subject.push(@steve) }
1417
+
1418
+ action { subject.slice!(-1) }
1419
+
1420
+ should_return_expected_value { @steve }
1421
+ should_not_be_a_kicker
1422
+
1423
+ it 'should remove the matching entries' do
1424
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie, @steve ]).to([ @nancy, @bessie ])
1425
+ end
1426
+ end
1427
+
1428
+ describe 'with a negative index and length' do
1429
+ action { subject.slice!(-1, 1) }
1430
+
1431
+ should_return_kind_of(Array)
1432
+ should_return_expected_value { [ @bessie ] }
1433
+ should_be_a_kicker
1434
+
1435
+ it 'should remove the matching entries' do
1436
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @nancy ])
1437
+ end
1438
+ end
1439
+
1440
+ describe 'with a negative index and length', 'after appending to the LazyArray' do
1441
+ before { subject.push(@steve) }
1442
+
1443
+ action { subject.slice!(-1, 1) }
1444
+
1445
+ should_return_kind_of(Array)
1446
+ should_return_expected_value { [ @steve ] }
1447
+ should_not_be_a_kicker
1448
+
1449
+ it 'should remove the matching entries' do
1450
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie, @steve ]).to([ @nancy, @bessie ])
1451
+ end
1452
+ end
1453
+
1454
+ describe 'with a negative range' do
1455
+ action { subject.slice!(-1..-1) }
1456
+
1457
+ should_return_kind_of(Array)
1458
+ should_return_expected_value { [ @bessie ] }
1459
+ should_be_a_kicker
1460
+
1461
+ it 'should remove the matching entries' do
1462
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @nancy ])
1463
+ end
1464
+ end
1465
+
1466
+ describe 'with a negative range', 'after appending to the LazyArray' do
1467
+ before { subject.push(@steve) }
1468
+
1469
+ action { subject.slice!(-1..-1) }
1470
+
1471
+ should_return_kind_of(Array)
1472
+ should_return_expected_value { [ @steve ] }
1473
+ should_not_be_a_kicker
1474
+
1475
+ it 'should remove the matching entries' do
1476
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie, @steve ]).to([ @nancy, @bessie ])
1477
+ end
1478
+ end
1479
+
1480
+ describe 'with an index not within the LazyArray' do
1481
+ action { subject.slice!(2) }
1482
+
1483
+ should_return_nil
1484
+ should_be_a_kicker
1485
+ should_not_change_subject
1486
+ end
1487
+
1488
+ describe 'with an index and length not within the LazyArray' do
1489
+ action { subject.slice!(2, 1) }
1490
+
1491
+ should_return_kind_of(Array)
1492
+ should_return_expected_value { [] }
1493
+ should_be_a_kicker
1494
+ should_not_change_subject
1495
+ end
1496
+
1497
+ describe 'with a range not within the LazyArray' do
1498
+ action { subject.slice!(2..2) }
1499
+
1500
+ should_return_kind_of(Array)
1501
+ should_return_expected_value { [] }
1502
+ should_be_a_kicker
1503
+ should_not_change_subject
1504
+ end
1505
+ end
1506
+
1507
+ should_respond_to(:sort!)
1508
+
1509
+ describe '#sort!', state do
1510
+ describe 'without a block' do
1511
+ action { subject.sort! }
1512
+
1513
+ should_return_subject
1514
+ should_be_a_kicker
1515
+
1516
+ it 'should sort the LazyArray inline using default sort order' do
1517
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @bessie, @nancy ])
1518
+ end
1519
+ end
1520
+
1521
+ describe 'without a block' do
1522
+ action { subject.sort! { |a,b| a <=> b } }
1523
+
1524
+ should_return_subject
1525
+ should_be_a_kicker
1526
+
1527
+ it 'should sort the LazyArray inline using block' do
1528
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @bessie, @nancy ])
1529
+ end
1530
+ end
1531
+ end
1532
+
1533
+ [ :splice, :[]= ].each do |method|
1534
+ should_respond_to(method)
1535
+
1536
+ describe "##{method}", state do
1537
+ before do
1538
+ @jon = 'jon'
1539
+ end
1540
+
1541
+ describe 'with a positive index and entry' do
1542
+ action { subject.send(method, 0, @jon) }
1543
+
1544
+ should_return_expected_value { @jon }
1545
+ should_be_a_kicker
1546
+
1547
+ it 'should change the matching entry' do
1548
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @jon, @bessie ])
1549
+ end
1550
+ end
1551
+
1552
+ describe 'with a positive index', 'after prepending to the LazyArray' do
1553
+ before { subject.unshift(@steve) }
1554
+
1555
+ action { subject.send(method, 0, @jon) }
1556
+
1557
+ should_return_expected_value { @jon }
1558
+ should_not_be_a_kicker
1559
+
1560
+ it 'should change the matching entry' do
1561
+ lambda { action }.should change(subject, :entries).from([ @steve, @nancy, @bessie ]).to([ @jon, @nancy, @bessie ])
1562
+ end
1563
+ end
1564
+
1565
+ describe 'with a positive index and length' do
1566
+ action { subject.send(method, 0, 1, [ @jon ]) }
1567
+
1568
+ should_return_kind_of(Array)
1569
+ should_return_expected_value { [ @jon ] }
1570
+ should_be_a_kicker
1571
+
1572
+ it 'should change the matching entries' do
1573
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @jon, @bessie ])
1574
+ end
1575
+ end
1576
+
1577
+ describe 'with a positive index and length', 'after prepending to the LazyArray' do
1578
+ before { subject.unshift(@steve) }
1579
+
1580
+ action { subject.send(method, 0, 1, [ @jon ]) }
1581
+
1582
+ should_return_kind_of(Array)
1583
+ should_return_expected_value { [ @jon ] }
1584
+ should_not_be_a_kicker
1585
+
1586
+ it 'should change the matching entries' do
1587
+ lambda { action }.should change(subject, :entries).from([ @steve, @nancy, @bessie ]).to([ @jon, @nancy, @bessie ])
1588
+ end
1589
+ end
1590
+
1591
+ describe 'with a positive range' do
1592
+ action { subject.send(method, 0..0, [ @jon ]) }
1593
+
1594
+ should_return_kind_of(Array)
1595
+ should_return_expected_value { [ @jon ] }
1596
+ should_be_a_kicker
1597
+
1598
+ it 'should change the matching entries' do
1599
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @jon, @bessie ])
1600
+ end
1601
+ end
1602
+
1603
+ describe 'with a positive range', 'after prepending to the LazyArray' do
1604
+ before { subject.unshift(@steve) }
1605
+
1606
+ action { subject.send(method, 0..0, [ @jon ]) }
1607
+
1608
+ should_return_kind_of(Array)
1609
+ should_return_expected_value { [ @jon ] }
1610
+ should_not_be_a_kicker
1611
+
1612
+ it 'should change the matching entry' do
1613
+ lambda { action }.should change(subject, :entries).from([ @steve, @nancy, @bessie ]).to([ @jon, @nancy, @bessie ])
1614
+ end
1615
+ end
1616
+
1617
+ describe 'with a negative index' do
1618
+ action { subject.send(method, -1, @jon) }
1619
+
1620
+ should_return_expected_value { @jon }
1621
+ should_be_a_kicker
1622
+
1623
+ it 'should change the matching entries' do
1624
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @nancy, @jon ])
1625
+ end
1626
+ end
1627
+
1628
+ describe 'with a negative index', 'after appending to the LazyArray' do
1629
+ before { subject.push(@steve) }
1630
+
1631
+ action { subject.send(method, -1, @jon) }
1632
+
1633
+ should_return_expected_value { @jon }
1634
+ should_not_be_a_kicker
1635
+
1636
+ it 'should change the matching entries' do
1637
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie, @steve ]).to([ @nancy, @bessie, @jon ])
1638
+ end
1639
+ end
1640
+
1641
+ describe 'with a negative index and length' do
1642
+ action { subject.send(method, -1, 1, [ @jon ]) }
1643
+
1644
+ should_return_kind_of(Array)
1645
+ should_return_expected_value { [ @jon ] }
1646
+ should_be_a_kicker
1647
+
1648
+ it 'should change the matching entries' do
1649
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @nancy, @jon ])
1650
+ end
1651
+ end
1652
+
1653
+ describe 'with a negative index and length', 'after appending to the LazyArray' do
1654
+ before { subject.push(@steve) }
1655
+
1656
+ action { subject.send(method, -1, 1, [ @jon ]) }
1657
+
1658
+ should_return_kind_of(Array)
1659
+ should_return_expected_value { [ @jon ] }
1660
+ should_not_be_a_kicker
1661
+
1662
+ it 'should change the matching entries' do
1663
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie, @steve ]).to([ @nancy, @bessie, @jon ])
1664
+ end
1665
+ end
1666
+
1667
+ describe 'with a negative range' do
1668
+ action { subject.send(method, -1..-1, [ @jon ]) }
1669
+
1670
+ should_return_kind_of(Array)
1671
+ should_return_expected_value { [ @jon ] }
1672
+ should_be_a_kicker
1673
+
1674
+ it 'should change the matching entries' do
1675
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @nancy, @jon ])
1676
+ end
1677
+ end
1678
+
1679
+ describe 'with a negative range', 'after appending to the LazyArray' do
1680
+ before { subject.push(@steve) }
1681
+
1682
+ action { subject.send(method, -1..-1, [ @jon ]) }
1683
+
1684
+ should_return_kind_of(Array)
1685
+ should_return_expected_value { [ @jon ] }
1686
+ should_not_be_a_kicker
1687
+
1688
+ it 'should change the matching entries' do
1689
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie, @steve ]).to([ @nancy, @bessie, @jon ])
1690
+ end
1691
+ end
1692
+
1693
+ describe 'with a positive index 1 greater than the maximum index of the LazyArray' do
1694
+ action { subject.send(method, 2, @jon) }
1695
+
1696
+ should_return_expected_value { @jon }
1697
+ should_be_a_kicker
1698
+
1699
+ it 'should change the matching entries' do
1700
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @nancy, @bessie, @jon ])
1701
+ end
1702
+ end
1703
+
1704
+ describe 'with a positive index not within the LazyArray' do
1705
+ action { subject.send(method, 3, @jon) }
1706
+
1707
+ should_return_expected_value { @jon }
1708
+ should_be_a_kicker
1709
+
1710
+ it 'should change the matching entries' do
1711
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @nancy, @bessie, nil, @jon ])
1712
+ end
1713
+ end
1714
+
1715
+ describe 'with a negative index not within the LazyArray' do
1716
+ action { subject.send(method, -3, @jon) }
1717
+
1718
+ should_raise_error(IndexError)
1719
+ end
1720
+
1721
+ describe 'with a positive index and length 1 greater than the maximum index of the LazyArray' do
1722
+ action { subject.send(method, 2, 1, [ @jon ]) }
1723
+
1724
+ should_return_kind_of(Array)
1725
+ should_return_expected_value { [ @jon ] }
1726
+ should_be_a_kicker
1727
+
1728
+ it 'should change the matching entries' do
1729
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @nancy, @bessie, @jon ])
1730
+ end
1731
+ end
1732
+
1733
+ describe 'with a positive index and length not within the LazyArray' do
1734
+ action { subject.send(method, 3, 1, [ @jon ]) }
1735
+
1736
+ should_return_kind_of(Array)
1737
+ should_return_expected_value { [ @jon ] }
1738
+ should_be_a_kicker
1739
+
1740
+ it 'should change the matching entries' do
1741
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @nancy, @bessie, nil, @jon ])
1742
+ end
1743
+ end
1744
+
1745
+ describe 'with a negative index and length not within the LazyArray ' do
1746
+ action { subject.send(method, -3, 1, [ @jon ]) }
1747
+
1748
+ should_raise_error(IndexError)
1749
+ end
1750
+
1751
+ describe 'with a positive range 1 greater than the maximum index of the LazyArray' do
1752
+ action { subject.send(method, 2..2, [ @jon ]) }
1753
+
1754
+ should_return_kind_of(Array)
1755
+ should_return_expected_value { [ @jon ] }
1756
+ should_be_a_kicker
1757
+
1758
+ it 'should change the matching entries' do
1759
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @nancy, @bessie, @jon ])
1760
+ end
1761
+ end
1762
+
1763
+ describe 'with a positive range not within the LazyArray' do
1764
+ action { subject.send(method, 3..3, [ @jon ]) }
1765
+
1766
+ should_return_kind_of(Array)
1767
+ should_return_expected_value { [ @jon ] }
1768
+ should_be_a_kicker
1769
+
1770
+ it 'should change the matching entries' do
1771
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @nancy, @bessie, nil, @jon ])
1772
+ end
1773
+ end
1774
+
1775
+ describe 'with a negative range not within the LazyArray' do
1776
+ action { subject.send(method, -3..-3, [ @jon ]) }
1777
+
1778
+ should_raise_error(RangeError)
1779
+ end
1780
+ end
1781
+ end
1782
+
1783
+ should_respond_to(:to_a)
1784
+
1785
+ describe '#to_a', state do
1786
+ action { subject.to_a }
1787
+
1788
+ should_return_kind_of(Array)
1789
+ should_be_a_kicker
1790
+
1791
+ it 'should be equivalent to self' do
1792
+ action.should == subject
1793
+ end
1794
+ end
1795
+
1796
+ should_respond_to(:unshift)
1797
+
1798
+ describe '#unshift', state do
1799
+ action { subject.unshift(@steve, @steve) }
1800
+
1801
+ should_return_subject
1802
+ should_not_be_a_kicker
1803
+
1804
+ it 'should prepend entries' do
1805
+ lambda { action }.should change(subject, :entries).from([ @nancy, @bessie ]).to([ @steve, @steve, @nancy, @bessie ])
1806
+ end
1807
+ end
1808
+
1809
+ should_respond_to(:values_at)
1810
+
1811
+ describe '#values_at', state do
1812
+ describe 'with a positive index' do
1813
+ action { subject.values_at(0) }
1814
+
1815
+ should_return_kind_of(Array)
1816
+ should_return_expected_value { [ @nancy ] }
1817
+ should_be_a_kicker
1818
+ should_not_change_subject
1819
+ end
1820
+
1821
+ describe 'with a positive index', 'after prepending to the LazyArray' do
1822
+ before { subject.unshift(@steve) }
1823
+
1824
+ action { subject.values_at(0) }
1825
+
1826
+ should_return_kind_of(Array)
1827
+ should_return_expected_value { [ @steve ] }
1828
+ should_not_be_a_kicker
1829
+ should_not_change_subject
1830
+ end
1831
+
1832
+ describe 'with a positive range' do
1833
+ action { subject.values_at(0..0) }
1834
+
1835
+ should_return_kind_of(Array)
1836
+ should_return_expected_value { [ @nancy ] }
1837
+ should_be_a_kicker
1838
+ should_not_change_subject
1839
+ end
1840
+
1841
+ describe 'with a positive range', 'after prepending to the LazyArray' do
1842
+ before { subject.unshift(@steve) }
1843
+
1844
+ action { subject.values_at(0..0) }
1845
+
1846
+ should_return_kind_of(Array)
1847
+ should_return_expected_value { [ @steve ] }
1848
+ should_not_be_a_kicker
1849
+ should_not_change_subject
1850
+ end
1851
+
1852
+ describe 'with a negative index' do
1853
+ action { subject.values_at(-1) }
1854
+
1855
+ should_return_kind_of(Array)
1856
+ should_return_expected_value { [ @bessie ] }
1857
+ should_be_a_kicker
1858
+ should_not_change_subject
1859
+ end
1860
+
1861
+ describe 'with a negative index', 'after appending to the LazyArray' do
1862
+ before { subject.push(@steve) }
1863
+
1864
+ action { subject.values_at(-1) }
1865
+
1866
+ should_return_kind_of(Array)
1867
+ should_return_expected_value { [ @steve ] }
1868
+ should_not_be_a_kicker
1869
+ should_not_change_subject
1870
+ end
1871
+
1872
+ describe 'with a negative range' do
1873
+ action { subject.values_at(-1..-1) }
1874
+
1875
+ should_return_kind_of(Array)
1876
+ should_return_expected_value { [ @bessie ] }
1877
+ should_be_a_kicker
1878
+ should_not_change_subject
1879
+ end
1880
+
1881
+ describe 'with a negative range', 'after appending to the LazyArray' do
1882
+ before { subject.push(@steve) }
1883
+
1884
+ action { subject.values_at(-1..-1) }
1885
+
1886
+ should_return_kind_of(Array)
1887
+ should_return_expected_value { [ @steve ] }
1888
+ should_not_be_a_kicker
1889
+ should_not_change_subject
1890
+ end
1891
+
1892
+ describe 'with an index not within the LazyArray' do
1893
+ action { subject.values_at(2) }
1894
+
1895
+ should_return_kind_of(Array)
1896
+ should_return_expected_value { [ nil ] }
1897
+ should_be_a_kicker
1898
+ should_not_change_subject
1899
+ end
1900
+
1901
+ describe 'with a range not within the LazyArray' do
1902
+ action { subject.values_at(2..2) }
1903
+
1904
+ should_return_kind_of(Array)
1905
+ should_return_expected_value { [ nil ] }
1906
+ should_be_a_kicker
1907
+ should_not_change_subject
1908
+ end
1909
+ end
1910
+
1911
+ describe 'a method mixed into Array' do
1912
+ before :all do
1913
+ Enumerable.class_eval do
1914
+ remove_method :lazy_spec if instance_methods(false).any? { |m| m.to_sym == :lazy_spec }
1915
+ def lazy_spec
1916
+ true
1917
+ end
1918
+ end
1919
+ end
1920
+
1921
+ it 'should delegate to the Array' do
1922
+ subject.lazy_spec.should be_true
1923
+ end
1924
+ end
1925
+
1926
+ describe 'an unknown method' do
1927
+ action { subject.unknown }
1928
+
1929
+ should_raise_error(NoMethodError)
1930
+ end
1931
+ end
1932
+ end