classiccms 0.2.4.pre → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1474) hide show
  1. data/.gitignore +1 -0
  2. data/README.md +11 -19
  3. data/classiccms.gemspec +10 -1
  4. data/lib/classiccms/application.rb +33 -3
  5. data/lib/classiccms/cli.rb +4 -10
  6. data/lib/classiccms/controllers/application.rb +4 -3
  7. data/lib/classiccms/controllers/cms.rb +36 -20
  8. data/lib/classiccms/controllers/website.rb +13 -5
  9. data/lib/classiccms/custom.rb +16 -0
  10. data/lib/classiccms/helpers.rb +20 -8
  11. data/lib/classiccms/lib/routing.rb +1 -1
  12. data/lib/classiccms/models/base.rb +14 -0
  13. data/lib/classiccms/models/image.rb +9 -0
  14. data/lib/classiccms/models/uploader.rb +17 -0
  15. data/lib/classiccms/public/css/images.sass +20 -0
  16. data/lib/classiccms/public/css/style.sass +115 -5
  17. data/lib/classiccms/public/images/image_delete.png +0 -0
  18. data/lib/classiccms/public/images/logout.png +0 -0
  19. data/lib/classiccms/public/images/logout_hover.png +0 -0
  20. data/lib/classiccms/public/js/images.coffee +46 -0
  21. data/lib/classiccms/public/js/index.coffee +61 -109
  22. data/lib/classiccms/public/js/uploadify/jquery.uploadify-3.1.js +975 -0
  23. data/lib/classiccms/public/js/uploadify/jquery.uploadify-3.1.min.js +16 -0
  24. data/lib/classiccms/public/js/uploadify/uploadify-cancel.png +0 -0
  25. data/lib/classiccms/public/js/uploadify/uploadify.css +88 -0
  26. data/lib/classiccms/public/js/uploadify/uploadify.swf +0 -0
  27. data/lib/classiccms/resque.yml +3 -0
  28. data/lib/classiccms/scaffold/Gemfile +2 -0
  29. data/lib/classiccms/scaffold/Rakefile +9 -0
  30. data/lib/classiccms/scaffold/app/controllers/form.rb +9 -0
  31. data/lib/classiccms/scaffold/app/models/Article.rb +4 -0
  32. data/lib/classiccms/scaffold/app/queue/mail.rb +11 -0
  33. data/lib/classiccms/scaffold/app/views/application/index.haml +16 -0
  34. data/lib/classiccms/scaffold/config/application.rb +2 -1
  35. data/lib/classiccms/scaffold/config/config.yml +1 -0
  36. data/lib/classiccms/scaffold/config.ru +7 -7
  37. data/lib/classiccms/scaffold/public/favicon.ico +0 -0
  38. data/lib/classiccms/scaffold/public/javascripts/index.coffee +1 -0
  39. data/lib/classiccms/scaffold/public/stylesheets/reset.sass +47 -0
  40. data/lib/classiccms/version.rb +1 -1
  41. data/lib/classiccms/views/cms/404.haml +16 -0
  42. data/lib/classiccms/views/cms/browse.haml +3 -0
  43. data/lib/classiccms/views/cms/ckeditor.haml +23 -0
  44. data/lib/classiccms/views/cms/form.haml +27 -24
  45. data/lib/classiccms/views/cms/header.haml +12 -7
  46. data/lib/classiccms/views/cms/images.haml +5 -0
  47. data/lib/classiccms/views/cms/login.haml +2 -1
  48. data/lib/classiccms/views/cms/logout.haml +1 -0
  49. data/lib/classiccms.rb +2 -2
  50. data/spec/assets/cat.jpg +0 -0
  51. data/spec/assets/cat.txt +1 -0
  52. data/spec/cli_spec.rb +8 -20
  53. data/spec/controllers/appliction_spec.rb +4 -4
  54. data/spec/controllers/cms_spec.rb +42 -19
  55. data/spec/controllers/website_spec.rb +24 -16
  56. data/spec/helpers_spec.rb +21 -10
  57. data/spec/methods.rb +4 -3
  58. data/spec/models/base_spec.rb +14 -0
  59. data/spec/models/connection_spec.rb +13 -1
  60. data/spec/models/image_spec.rb +28 -0
  61. data/spec/models/slug_spec.rb +13 -1
  62. data/spec/models/user_spec.rb +12 -1
  63. data/spec/queue_spec.rb +50 -0
  64. data/spec/spec_helper.rb +2 -1
  65. data/vendor/bundle/bin/classiccms +3 -3
  66. data/vendor/bundle/bin/resque +19 -0
  67. data/vendor/bundle/bin/resque-web +19 -0
  68. data/vendor/bundle/bin/tt +19 -0
  69. data/vendor/bundle/gems/carrierwave-0.6.2/README.md +785 -0
  70. data/vendor/bundle/gems/carrierwave-0.6.2/lib/carrierwave/compatibility/paperclip.rb +95 -0
  71. data/vendor/bundle/gems/carrierwave-0.6.2/lib/carrierwave/locale/en.yml +9 -0
  72. data/vendor/bundle/gems/carrierwave-0.6.2/lib/carrierwave/mount.rb +382 -0
  73. data/vendor/bundle/gems/carrierwave-0.6.2/lib/carrierwave/orm/activerecord.rb +66 -0
  74. data/vendor/bundle/gems/carrierwave-0.6.2/lib/carrierwave/processing/mime_types.rb +58 -0
  75. data/vendor/bundle/gems/carrierwave-0.6.2/lib/carrierwave/processing/mini_magick.rb +254 -0
  76. data/vendor/bundle/gems/carrierwave-0.6.2/lib/carrierwave/processing/rmagick.rb +284 -0
  77. data/vendor/bundle/gems/carrierwave-0.6.2/lib/carrierwave/sanitized_file.rb +315 -0
  78. data/vendor/bundle/gems/carrierwave-0.6.2/lib/carrierwave/storage/abstract.rb +30 -0
  79. data/vendor/bundle/gems/carrierwave-0.6.2/lib/carrierwave/storage/file.rb +56 -0
  80. data/vendor/bundle/gems/carrierwave-0.6.2/lib/carrierwave/storage/fog.rb +358 -0
  81. data/vendor/bundle/gems/carrierwave-0.6.2/lib/carrierwave/test/matchers.rb +241 -0
  82. data/vendor/bundle/gems/carrierwave-0.6.2/lib/carrierwave/uploader/cache.rb +169 -0
  83. data/vendor/bundle/gems/carrierwave-0.6.2/lib/carrierwave/uploader/callbacks.rb +35 -0
  84. data/vendor/bundle/gems/carrierwave-0.6.2/lib/carrierwave/uploader/configuration.rb +136 -0
  85. data/vendor/bundle/gems/carrierwave-0.6.2/lib/carrierwave/uploader/default_url.rb +19 -0
  86. data/vendor/bundle/gems/carrierwave-0.6.2/lib/carrierwave/uploader/download.rb +75 -0
  87. data/vendor/bundle/gems/carrierwave-0.6.2/lib/carrierwave/uploader/extension_whitelist.rb +49 -0
  88. data/vendor/bundle/gems/carrierwave-0.6.2/lib/carrierwave/uploader/mountable.rb +39 -0
  89. data/vendor/bundle/gems/carrierwave-0.6.2/lib/carrierwave/uploader/processing.rb +92 -0
  90. data/vendor/bundle/gems/carrierwave-0.6.2/lib/carrierwave/uploader/proxy.rb +77 -0
  91. data/vendor/bundle/gems/carrierwave-0.6.2/lib/carrierwave/uploader/remove.rb +23 -0
  92. data/vendor/bundle/gems/carrierwave-0.6.2/lib/carrierwave/uploader/serialization.rb +30 -0
  93. data/vendor/bundle/gems/carrierwave-0.6.2/lib/carrierwave/uploader/store.rb +111 -0
  94. data/vendor/bundle/gems/carrierwave-0.6.2/lib/carrierwave/uploader/url.rb +32 -0
  95. data/vendor/bundle/gems/carrierwave-0.6.2/lib/carrierwave/uploader/versions.rb +254 -0
  96. data/vendor/bundle/gems/carrierwave-0.6.2/lib/carrierwave/uploader.rb +45 -0
  97. data/vendor/bundle/gems/carrierwave-0.6.2/lib/carrierwave/validations/active_model.rb +63 -0
  98. data/vendor/bundle/gems/carrierwave-0.6.2/lib/carrierwave/version.rb +3 -0
  99. data/vendor/bundle/gems/carrierwave-0.6.2/lib/carrierwave.rb +111 -0
  100. data/vendor/bundle/gems/carrierwave-0.6.2/lib/generators/templates/uploader.rb +55 -0
  101. data/vendor/bundle/gems/carrierwave-0.6.2/lib/generators/uploader_generator.rb +7 -0
  102. data/vendor/bundle/gems/carrierwave-mongoid-0.2.1/.gitignore +7 -0
  103. data/vendor/bundle/gems/carrierwave-mongoid-0.2.1/Gemfile +4 -0
  104. data/vendor/bundle/gems/carrierwave-mongoid-0.2.1/LICENSE +20 -0
  105. data/vendor/bundle/gems/carrierwave-mongoid-0.2.1/README.md +102 -0
  106. data/vendor/bundle/gems/carrierwave-mongoid-0.2.1/Rakefile +12 -0
  107. data/vendor/bundle/gems/carrierwave-mongoid-0.2.1/carrierwave-mongoid.gemspec +28 -0
  108. data/vendor/bundle/gems/carrierwave-mongoid-0.2.1/lib/carrierwave/mongoid/version.rb +5 -0
  109. data/vendor/bundle/gems/carrierwave-mongoid-0.2.1/lib/carrierwave/mongoid.rb +94 -0
  110. data/vendor/bundle/gems/carrierwave-mongoid-0.2.1/lib/carrierwave/storage/grid_fs.rb +134 -0
  111. data/vendor/bundle/gems/carrierwave-mongoid-0.2.1/spec/fixtures/new.jpeg +1 -0
  112. data/vendor/bundle/gems/carrierwave-mongoid-0.2.1/spec/fixtures/new.txt +1 -0
  113. data/vendor/bundle/gems/carrierwave-mongoid-0.2.1/spec/fixtures/old.jpeg +1 -0
  114. data/vendor/bundle/gems/carrierwave-mongoid-0.2.1/spec/fixtures/old.txt +1 -0
  115. data/vendor/bundle/gems/carrierwave-mongoid-0.2.1/spec/fixtures/portrait.jpg +0 -0
  116. data/vendor/bundle/gems/carrierwave-mongoid-0.2.1/spec/fixtures/test.jpeg +1 -0
  117. data/vendor/bundle/gems/carrierwave-mongoid-0.2.1/spec/fixtures/test.jpg +1 -0
  118. data/vendor/bundle/gems/carrierwave-mongoid-0.2.1/spec/mongoid_spec.rb +754 -0
  119. data/vendor/bundle/gems/carrierwave-mongoid-0.2.1/spec/spec_helper.rb +67 -0
  120. data/vendor/bundle/gems/carrierwave-mongoid-0.2.1/spec/storage/grid_fs_spec.rb +200 -0
  121. data/vendor/bundle/gems/coffee-script-source-1.3.3/lib/coffee_script/coffee-script.js +8 -0
  122. data/vendor/bundle/gems/coffee-script-source-1.3.3/lib/coffee_script/source.rb +7 -0
  123. data/vendor/bundle/gems/dragonfly-0.9.12/.yardopts +29 -0
  124. data/vendor/bundle/gems/dragonfly-0.9.12/Gemfile +31 -0
  125. data/vendor/bundle/gems/dragonfly-0.9.12/History.md +485 -0
  126. data/vendor/bundle/gems/dragonfly-0.9.12/LICENSE +20 -0
  127. data/vendor/bundle/gems/dragonfly-0.9.12/README.md +130 -0
  128. data/vendor/bundle/gems/dragonfly-0.9.12/Rakefile +49 -0
  129. data/vendor/bundle/gems/dragonfly-0.9.12/VERSION +1 -0
  130. data/vendor/bundle/gems/dragonfly-0.9.12/config.ru +14 -0
  131. data/vendor/bundle/gems/dragonfly-0.9.12/docs.watchr +1 -0
  132. data/vendor/bundle/gems/dragonfly-0.9.12/dragonfly.gemspec +311 -0
  133. data/vendor/bundle/gems/dragonfly-0.9.12/extra_docs/Analysers.md +68 -0
  134. data/vendor/bundle/gems/dragonfly-0.9.12/extra_docs/Caching.md +23 -0
  135. data/vendor/bundle/gems/dragonfly-0.9.12/extra_docs/Configuration.md +149 -0
  136. data/vendor/bundle/gems/dragonfly-0.9.12/extra_docs/Couch.md +49 -0
  137. data/vendor/bundle/gems/dragonfly-0.9.12/extra_docs/DataStorage.md +226 -0
  138. data/vendor/bundle/gems/dragonfly-0.9.12/extra_docs/Encoding.md +67 -0
  139. data/vendor/bundle/gems/dragonfly-0.9.12/extra_docs/ExampleUseCases.md +116 -0
  140. data/vendor/bundle/gems/dragonfly-0.9.12/extra_docs/GeneralUsage.md +105 -0
  141. data/vendor/bundle/gems/dragonfly-0.9.12/extra_docs/Generators.md +68 -0
  142. data/vendor/bundle/gems/dragonfly-0.9.12/extra_docs/Heroku.md +57 -0
  143. data/vendor/bundle/gems/dragonfly-0.9.12/extra_docs/ImageMagick.md +136 -0
  144. data/vendor/bundle/gems/dragonfly-0.9.12/extra_docs/Index.md +33 -0
  145. data/vendor/bundle/gems/dragonfly-0.9.12/extra_docs/MimeTypes.md +40 -0
  146. data/vendor/bundle/gems/dragonfly-0.9.12/extra_docs/Models.md +441 -0
  147. data/vendor/bundle/gems/dragonfly-0.9.12/extra_docs/Mongo.md +42 -0
  148. data/vendor/bundle/gems/dragonfly-0.9.12/extra_docs/Processing.md +77 -0
  149. data/vendor/bundle/gems/dragonfly-0.9.12/extra_docs/Rack.md +52 -0
  150. data/vendor/bundle/gems/dragonfly-0.9.12/extra_docs/Rails2.md +57 -0
  151. data/vendor/bundle/gems/dragonfly-0.9.12/extra_docs/Rails3.md +56 -0
  152. data/vendor/bundle/gems/dragonfly-0.9.12/extra_docs/ServingRemotely.md +104 -0
  153. data/vendor/bundle/gems/dragonfly-0.9.12/extra_docs/Sinatra.md +25 -0
  154. data/vendor/bundle/gems/dragonfly-0.9.12/extra_docs/URLs.md +203 -0
  155. data/vendor/bundle/gems/dragonfly-0.9.12/features/images.feature +47 -0
  156. data/vendor/bundle/gems/dragonfly-0.9.12/features/no_processing.feature +14 -0
  157. data/vendor/bundle/gems/dragonfly-0.9.12/features/rails.feature +8 -0
  158. data/vendor/bundle/gems/dragonfly-0.9.12/features/steps/common_steps.rb +8 -0
  159. data/vendor/bundle/gems/dragonfly-0.9.12/features/steps/dragonfly_steps.rb +66 -0
  160. data/vendor/bundle/gems/dragonfly-0.9.12/features/steps/rails_steps.rb +40 -0
  161. data/vendor/bundle/gems/dragonfly-0.9.12/features/support/env.rb +13 -0
  162. data/vendor/bundle/gems/dragonfly-0.9.12/features/support/setup.rb +41 -0
  163. data/vendor/bundle/gems/dragonfly-0.9.12/fixtures/rails/files/app/models/album.rb +5 -0
  164. data/vendor/bundle/gems/dragonfly-0.9.12/fixtures/rails/files/app/views/albums/new.html.erb +7 -0
  165. data/vendor/bundle/gems/dragonfly-0.9.12/fixtures/rails/files/app/views/albums/show.html.erb +6 -0
  166. data/vendor/bundle/gems/dragonfly-0.9.12/fixtures/rails/files/config/initializers/dragonfly.rb +4 -0
  167. data/vendor/bundle/gems/dragonfly-0.9.12/fixtures/rails/files/features/manage_album_images.feature +38 -0
  168. data/vendor/bundle/gems/dragonfly-0.9.12/fixtures/rails/files/features/step_definitions/helper_steps.rb +7 -0
  169. data/vendor/bundle/gems/dragonfly-0.9.12/fixtures/rails/files/features/step_definitions/image_steps.rb +25 -0
  170. data/vendor/bundle/gems/dragonfly-0.9.12/fixtures/rails/files/features/support/paths.rb +17 -0
  171. data/vendor/bundle/gems/dragonfly-0.9.12/fixtures/rails/files/features/text_images.feature +7 -0
  172. data/vendor/bundle/gems/dragonfly-0.9.12/fixtures/rails/template.rb +20 -0
  173. data/vendor/bundle/gems/dragonfly-0.9.12/irbrc.rb +19 -0
  174. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/active_model_extensions/attachment.rb +279 -0
  175. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/active_model_extensions/attachment_class_methods.rb +144 -0
  176. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/active_model_extensions/class_methods.rb +98 -0
  177. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/active_model_extensions/instance_methods.rb +28 -0
  178. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/active_model_extensions/validations.rb +68 -0
  179. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/active_model_extensions.rb +13 -0
  180. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/analyser.rb +58 -0
  181. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/analysis/file_command_analyser.rb +33 -0
  182. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/analysis/image_magick_analyser.rb +6 -0
  183. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/app.rb +203 -0
  184. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/config/heroku.rb +26 -0
  185. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/config/image_magick.rb +6 -0
  186. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/config/rails.rb +20 -0
  187. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/configurable.rb +206 -0
  188. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/cookie_monster.rb +15 -0
  189. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/core_ext/array.rb +7 -0
  190. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/core_ext/hash.rb +7 -0
  191. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/core_ext/object.rb +12 -0
  192. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/data_storage/couch_data_store.rb +83 -0
  193. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/data_storage/file_data_store.rb +144 -0
  194. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/data_storage/mongo_data_store.rb +96 -0
  195. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/data_storage/s3data_store.rb +168 -0
  196. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/data_storage.rb +11 -0
  197. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/encoder.rb +13 -0
  198. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/encoding/image_magick_encoder.rb +6 -0
  199. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/function_manager.rb +67 -0
  200. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/generation/image_magick_generator.rb +6 -0
  201. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/generator.rb +9 -0
  202. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/has_filename.rb +24 -0
  203. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/hash_with_css_style_keys.rb +21 -0
  204. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/image_magick/analyser.rb +53 -0
  205. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/image_magick/config.rb +44 -0
  206. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/image_magick/encoder.rb +57 -0
  207. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/image_magick/generator.rb +145 -0
  208. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/image_magick/processor.rb +108 -0
  209. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/image_magick/utils.rb +46 -0
  210. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/image_magick_utils.rb +4 -0
  211. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/job.rb +427 -0
  212. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/job_builder.rb +39 -0
  213. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/job_definitions.rb +30 -0
  214. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/job_endpoint.rb +19 -0
  215. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/loggable.rb +28 -0
  216. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/middleware.rb +20 -0
  217. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/processing/image_magick_processor.rb +6 -0
  218. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/processor.rb +9 -0
  219. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/rails/images.rb +32 -0
  220. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/railtie.rb +10 -0
  221. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/response.rb +107 -0
  222. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/routed_endpoint.rb +44 -0
  223. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/serializer.rb +32 -0
  224. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/server.rb +120 -0
  225. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/shell.rb +44 -0
  226. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/simple_cache.rb +23 -0
  227. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/temp_object.rb +216 -0
  228. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/url_attributes.rb +30 -0
  229. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/url_mapper.rb +78 -0
  230. data/vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly.rb +59 -0
  231. data/vendor/bundle/gems/dragonfly-0.9.12/samples/DSC02119.JPG +0 -0
  232. data/vendor/bundle/gems/dragonfly-0.9.12/samples/a.jp2 +0 -0
  233. data/vendor/bundle/gems/dragonfly-0.9.12/samples/beach.jpg +0 -0
  234. data/vendor/bundle/gems/dragonfly-0.9.12/samples/beach.png +0 -0
  235. data/vendor/bundle/gems/dragonfly-0.9.12/samples/egg.png +0 -0
  236. data/vendor/bundle/gems/dragonfly-0.9.12/samples/round.gif +0 -0
  237. data/vendor/bundle/gems/dragonfly-0.9.12/samples/sample.docx +0 -0
  238. data/vendor/bundle/gems/dragonfly-0.9.12/samples/taj.jpg +0 -0
  239. data/vendor/bundle/gems/dragonfly-0.9.12/samples/white pixel.png +0 -0
  240. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/active_model_extensions/model_spec.rb +1478 -0
  241. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/active_model_extensions/spec_helper.rb +95 -0
  242. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/analyser_spec.rb +123 -0
  243. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/analysis/file_command_analyser_spec.rb +49 -0
  244. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/app_spec.rb +173 -0
  245. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/configurable_spec.rb +479 -0
  246. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/cookie_monster_spec.rb +29 -0
  247. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/core_ext/array_spec.rb +19 -0
  248. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/core_ext/hash_spec.rb +19 -0
  249. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/data_storage/couch_data_store_spec.rb +84 -0
  250. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/data_storage/file_data_store_spec.rb +308 -0
  251. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/data_storage/mongo_data_store_spec.rb +81 -0
  252. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/data_storage/s3_data_store_spec.rb +277 -0
  253. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/data_storage/shared_data_store_examples.rb +77 -0
  254. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/function_manager_spec.rb +154 -0
  255. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/has_filename_spec.rb +88 -0
  256. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/hash_with_css_style_keys_spec.rb +24 -0
  257. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/image_magick/analyser_spec.rb +78 -0
  258. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/image_magick/encoder_spec.rb +41 -0
  259. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/image_magick/generator_spec.rb +167 -0
  260. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/image_magick/processor_spec.rb +293 -0
  261. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/job_builder_spec.rb +37 -0
  262. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/job_definitions_spec.rb +57 -0
  263. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/job_endpoint_spec.rb +235 -0
  264. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/job_spec.rb +1059 -0
  265. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/loggable_spec.rb +80 -0
  266. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/middleware_spec.rb +47 -0
  267. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/routed_endpoint_spec.rb +52 -0
  268. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/serializer_spec.rb +75 -0
  269. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/server_spec.rb +286 -0
  270. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/shell_spec.rb +34 -0
  271. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/simple_cache_spec.rb +27 -0
  272. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/temp_object_spec.rb +442 -0
  273. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/url_attributes.rb +47 -0
  274. data/vendor/bundle/gems/dragonfly-0.9.12/spec/dragonfly/url_mapper_spec.rb +138 -0
  275. data/vendor/bundle/gems/dragonfly-0.9.12/spec/functional/deprecations_spec.rb +51 -0
  276. data/vendor/bundle/gems/dragonfly-0.9.12/spec/functional/image_magick_app_spec.rb +27 -0
  277. data/vendor/bundle/gems/dragonfly-0.9.12/spec/functional/model_urls_spec.rb +120 -0
  278. data/vendor/bundle/gems/dragonfly-0.9.12/spec/functional/remote_on_the_fly_spec.rb +51 -0
  279. data/vendor/bundle/gems/dragonfly-0.9.12/spec/functional/shell_commands_spec.rb +23 -0
  280. data/vendor/bundle/gems/dragonfly-0.9.12/spec/functional/to_response_spec.rb +31 -0
  281. data/vendor/bundle/gems/dragonfly-0.9.12/spec/spec_helper.rb +55 -0
  282. data/vendor/bundle/gems/dragonfly-0.9.12/spec/support/argument_matchers.rb +19 -0
  283. data/vendor/bundle/gems/dragonfly-0.9.12/spec/support/image_matchers.rb +58 -0
  284. data/vendor/bundle/gems/dragonfly-0.9.12/spec/support/simple_matchers.rb +53 -0
  285. data/vendor/bundle/gems/dragonfly-0.9.12/spec/test_imagemagick.ru +49 -0
  286. data/vendor/bundle/gems/dragonfly-0.9.12/yard/handlers/configurable_attr_handler.rb +38 -0
  287. data/vendor/bundle/gems/dragonfly-0.9.12/yard/setup.rb +15 -0
  288. data/vendor/bundle/gems/dragonfly-0.9.12/yard/templates/default/fulldoc/html/css/common.css +109 -0
  289. data/vendor/bundle/gems/dragonfly-0.9.12/yard/templates/default/layout/html/layout.erb +93 -0
  290. data/vendor/bundle/gems/dragonfly-0.9.12/yard/templates/default/module/html/configuration_summary.erb +31 -0
  291. data/vendor/bundle/gems/dragonfly-0.9.12/yard/templates/default/module/setup.rb +17 -0
  292. data/vendor/bundle/gems/execjs-1.4.0/LICENSE +21 -0
  293. data/vendor/bundle/gems/execjs-1.4.0/README.md +42 -0
  294. data/vendor/bundle/gems/execjs-1.4.0/lib/execjs/disabled_runtime.rb +29 -0
  295. data/vendor/bundle/gems/execjs-1.4.0/lib/execjs/encoding.rb +33 -0
  296. data/vendor/bundle/gems/execjs-1.4.0/lib/execjs/external_runtime.rb +205 -0
  297. data/vendor/bundle/gems/execjs-1.4.0/lib/execjs/johnson_runtime.rb +106 -0
  298. data/vendor/bundle/gems/execjs-1.4.0/lib/execjs/json.rb +23 -0
  299. data/vendor/bundle/gems/execjs-1.4.0/lib/execjs/module.rb +38 -0
  300. data/vendor/bundle/gems/execjs-1.4.0/lib/execjs/mustang_runtime.rb +76 -0
  301. data/vendor/bundle/gems/execjs-1.4.0/lib/execjs/ruby_racer_runtime.rb +105 -0
  302. data/vendor/bundle/gems/execjs-1.4.0/lib/execjs/ruby_rhino_runtime.rb +89 -0
  303. data/vendor/bundle/gems/execjs-1.4.0/lib/execjs/runtime.rb +55 -0
  304. data/vendor/bundle/gems/execjs-1.4.0/lib/execjs/runtimes.rb +94 -0
  305. data/vendor/bundle/gems/execjs-1.4.0/lib/execjs/support/jsc_runner.js +19 -0
  306. data/vendor/bundle/gems/execjs-1.4.0/lib/execjs/support/jscript_runner.js +22 -0
  307. data/vendor/bundle/gems/execjs-1.4.0/lib/execjs/support/json2.js +481 -0
  308. data/vendor/bundle/gems/execjs-1.4.0/lib/execjs/support/node_runner.js +20 -0
  309. data/vendor/bundle/gems/execjs-1.4.0/lib/execjs/support/spidermonkey_runner.js +19 -0
  310. data/vendor/bundle/gems/execjs-1.4.0/lib/execjs/version.rb +3 -0
  311. data/vendor/bundle/gems/execjs-1.4.0/lib/execjs.rb +6 -0
  312. data/vendor/bundle/gems/haml-3.1.6/.yardopts +11 -0
  313. data/vendor/bundle/gems/haml-3.1.6/CONTRIBUTING +3 -0
  314. data/vendor/bundle/gems/haml-3.1.6/MIT-LICENSE +20 -0
  315. data/vendor/bundle/gems/haml-3.1.6/README.md +133 -0
  316. data/vendor/bundle/gems/haml-3.1.6/REVISION +1 -0
  317. data/vendor/bundle/gems/haml-3.1.6/Rakefile +419 -0
  318. data/vendor/bundle/gems/haml-3.1.6/VERSION +1 -0
  319. data/vendor/bundle/gems/haml-3.1.6/VERSION_NAME +1 -0
  320. data/vendor/bundle/gems/haml-3.1.6/bin/haml +9 -0
  321. data/vendor/bundle/gems/haml-3.1.6/bin/html2haml +7 -0
  322. data/vendor/bundle/gems/haml-3.1.6/extra/update_watch.rb +13 -0
  323. data/vendor/bundle/gems/haml-3.1.6/init.rb +18 -0
  324. data/vendor/bundle/gems/haml-3.1.6/lib/haml/buffer.rb +301 -0
  325. data/vendor/bundle/gems/haml-3.1.6/lib/haml/compiler.rb +452 -0
  326. data/vendor/bundle/gems/haml-3.1.6/lib/haml/engine.rb +312 -0
  327. data/vendor/bundle/gems/haml-3.1.6/lib/haml/error.rb +22 -0
  328. data/vendor/bundle/gems/haml-3.1.6/lib/haml/exec.rb +362 -0
  329. data/vendor/bundle/gems/haml-3.1.6/lib/haml/filters.rb +385 -0
  330. data/vendor/bundle/gems/haml-3.1.6/lib/haml/helpers/action_view_extensions.rb +57 -0
  331. data/vendor/bundle/gems/haml-3.1.6/lib/haml/helpers/action_view_mods.rb +260 -0
  332. data/vendor/bundle/gems/haml-3.1.6/lib/haml/helpers/rails_323_textarea_fix.rb +41 -0
  333. data/vendor/bundle/gems/haml-3.1.6/lib/haml/helpers/xss_mods.rb +165 -0
  334. data/vendor/bundle/gems/haml-3.1.6/lib/haml/helpers.rb +608 -0
  335. data/vendor/bundle/gems/haml-3.1.6/lib/haml/html/erb.rb +141 -0
  336. data/vendor/bundle/gems/haml-3.1.6/lib/haml/html.rb +412 -0
  337. data/vendor/bundle/gems/haml-3.1.6/lib/haml/parser.rb +711 -0
  338. data/vendor/bundle/gems/haml-3.1.6/lib/haml/railtie.rb +19 -0
  339. data/vendor/bundle/gems/haml-3.1.6/lib/haml/root.rb +7 -0
  340. data/vendor/bundle/gems/haml-3.1.6/lib/haml/shared.rb +78 -0
  341. data/vendor/bundle/gems/haml-3.1.6/lib/haml/template/options.rb +16 -0
  342. data/vendor/bundle/gems/haml-3.1.6/lib/haml/template/patch.rb +58 -0
  343. data/vendor/bundle/gems/haml-3.1.6/lib/haml/template/plugin.rb +123 -0
  344. data/vendor/bundle/gems/haml-3.1.6/lib/haml/template.rb +99 -0
  345. data/vendor/bundle/gems/haml-3.1.6/lib/haml/util.rb +842 -0
  346. data/vendor/bundle/gems/haml-3.1.6/lib/haml/version.rb +109 -0
  347. data/vendor/bundle/gems/haml-3.1.6/lib/haml.rb +47 -0
  348. data/vendor/bundle/gems/haml-3.1.6/lib/sass/plugin.rb +10 -0
  349. data/vendor/bundle/gems/haml-3.1.6/lib/sass/rails2_shim.rb +9 -0
  350. data/vendor/bundle/gems/haml-3.1.6/lib/sass/rails3_shim.rb +16 -0
  351. data/vendor/bundle/gems/haml-3.1.6/lib/sass.rb +8 -0
  352. data/vendor/bundle/gems/haml-3.1.6/rails/init.rb +1 -0
  353. data/vendor/bundle/gems/haml-3.1.6/test/benchmark.rb +91 -0
  354. data/vendor/bundle/gems/haml-3.1.6/test/gemfiles/Gemfile.rails-2.0.x +8 -0
  355. data/vendor/bundle/gems/haml-3.1.6/test/gemfiles/Gemfile.rails-2.0.x.lock +38 -0
  356. data/vendor/bundle/gems/haml-3.1.6/test/gemfiles/Gemfile.rails-2.1.x +8 -0
  357. data/vendor/bundle/gems/haml-3.1.6/test/gemfiles/Gemfile.rails-2.1.x.lock +38 -0
  358. data/vendor/bundle/gems/haml-3.1.6/test/gemfiles/Gemfile.rails-2.2.x +8 -0
  359. data/vendor/bundle/gems/haml-3.1.6/test/gemfiles/Gemfile.rails-2.2.x.lock +38 -0
  360. data/vendor/bundle/gems/haml-3.1.6/test/gemfiles/Gemfile.rails-2.3.x +8 -0
  361. data/vendor/bundle/gems/haml-3.1.6/test/gemfiles/Gemfile.rails-2.3.x.lock +40 -0
  362. data/vendor/bundle/gems/haml-3.1.6/test/gemfiles/Gemfile.rails-3.0.x +8 -0
  363. data/vendor/bundle/gems/haml-3.1.6/test/gemfiles/Gemfile.rails-3.0.x.lock +85 -0
  364. data/vendor/bundle/gems/haml-3.1.6/test/gemfiles/Gemfile.rails-3.1.x +8 -0
  365. data/vendor/bundle/gems/haml-3.1.6/test/gemfiles/Gemfile.rails-3.1.x.lock +97 -0
  366. data/vendor/bundle/gems/haml-3.1.6/test/gemfiles/Gemfile.rails-3.2.x +8 -0
  367. data/vendor/bundle/gems/haml-3.1.6/test/gemfiles/Gemfile.rails-3.2.x.lock +95 -0
  368. data/vendor/bundle/gems/haml-3.1.6/test/gemfiles/Gemfile.rails-xss-2.3.x +9 -0
  369. data/vendor/bundle/gems/haml-3.1.6/test/gemfiles/Gemfile.rails-xss-2.3.x.lock +42 -0
  370. data/vendor/bundle/gems/haml-3.1.6/test/haml/engine_test.rb +1944 -0
  371. data/vendor/bundle/gems/haml-3.1.6/test/haml/erb/_av_partial_1.erb +12 -0
  372. data/vendor/bundle/gems/haml-3.1.6/test/haml/erb/_av_partial_2.erb +8 -0
  373. data/vendor/bundle/gems/haml-3.1.6/test/haml/erb/action_view.erb +62 -0
  374. data/vendor/bundle/gems/haml-3.1.6/test/haml/erb/standard.erb +55 -0
  375. data/vendor/bundle/gems/haml-3.1.6/test/haml/helper_test.rb +467 -0
  376. data/vendor/bundle/gems/haml-3.1.6/test/haml/html2haml/erb_tests.rb +440 -0
  377. data/vendor/bundle/gems/haml-3.1.6/test/haml/html2haml_test.rb +336 -0
  378. data/vendor/bundle/gems/haml-3.1.6/test/haml/markaby/standard.mab +52 -0
  379. data/vendor/bundle/gems/haml-3.1.6/test/haml/mocks/article.rb +6 -0
  380. data/vendor/bundle/gems/haml-3.1.6/test/haml/results/content_for_layout.xhtml +12 -0
  381. data/vendor/bundle/gems/haml-3.1.6/test/haml/results/eval_suppressed.xhtml +9 -0
  382. data/vendor/bundle/gems/haml-3.1.6/test/haml/results/filters.xhtml +62 -0
  383. data/vendor/bundle/gems/haml-3.1.6/test/haml/results/helpers.xhtml +70 -0
  384. data/vendor/bundle/gems/haml-3.1.6/test/haml/results/helpful.xhtml +10 -0
  385. data/vendor/bundle/gems/haml-3.1.6/test/haml/results/just_stuff.xhtml +70 -0
  386. data/vendor/bundle/gems/haml-3.1.6/test/haml/results/list.xhtml +12 -0
  387. data/vendor/bundle/gems/haml-3.1.6/test/haml/results/nuke_inner_whitespace.xhtml +40 -0
  388. data/vendor/bundle/gems/haml-3.1.6/test/haml/results/nuke_outer_whitespace.xhtml +148 -0
  389. data/vendor/bundle/gems/haml-3.1.6/test/haml/results/original_engine.xhtml +20 -0
  390. data/vendor/bundle/gems/haml-3.1.6/test/haml/results/partial_layout.xhtml +5 -0
  391. data/vendor/bundle/gems/haml-3.1.6/test/haml/results/partials.xhtml +21 -0
  392. data/vendor/bundle/gems/haml-3.1.6/test/haml/results/render_layout.xhtml +3 -0
  393. data/vendor/bundle/gems/haml-3.1.6/test/haml/results/silent_script.xhtml +74 -0
  394. data/vendor/bundle/gems/haml-3.1.6/test/haml/results/standard.xhtml +162 -0
  395. data/vendor/bundle/gems/haml-3.1.6/test/haml/results/tag_parsing.xhtml +23 -0
  396. data/vendor/bundle/gems/haml-3.1.6/test/haml/results/very_basic.xhtml +5 -0
  397. data/vendor/bundle/gems/haml-3.1.6/test/haml/results/whitespace_handling.xhtml +85 -0
  398. data/vendor/bundle/gems/haml-3.1.6/test/haml/spec/README.md +97 -0
  399. data/vendor/bundle/gems/haml-3.1.6/test/haml/spec/lua_haml_spec.lua +30 -0
  400. data/vendor/bundle/gems/haml-3.1.6/test/haml/spec/ruby_haml_test.rb +19 -0
  401. data/vendor/bundle/gems/haml-3.1.6/test/haml/spec/tests.json +534 -0
  402. data/vendor/bundle/gems/haml-3.1.6/test/haml/spec_test.rb +44 -0
  403. data/vendor/bundle/gems/haml-3.1.6/test/haml/template_test.rb +443 -0
  404. data/vendor/bundle/gems/haml-3.1.6/test/haml/templates/_av_partial_1.haml +9 -0
  405. data/vendor/bundle/gems/haml-3.1.6/test/haml/templates/_av_partial_1_ugly.haml +9 -0
  406. data/vendor/bundle/gems/haml-3.1.6/test/haml/templates/_av_partial_2.haml +5 -0
  407. data/vendor/bundle/gems/haml-3.1.6/test/haml/templates/_av_partial_2_ugly.haml +5 -0
  408. data/vendor/bundle/gems/haml-3.1.6/test/haml/templates/_layout.erb +3 -0
  409. data/vendor/bundle/gems/haml-3.1.6/test/haml/templates/_layout_for_partial.haml +3 -0
  410. data/vendor/bundle/gems/haml-3.1.6/test/haml/templates/_partial.haml +8 -0
  411. data/vendor/bundle/gems/haml-3.1.6/test/haml/templates/_text_area.haml +3 -0
  412. data/vendor/bundle/gems/haml-3.1.6/test/haml/templates/action_view.haml +47 -0
  413. data/vendor/bundle/gems/haml-3.1.6/test/haml/templates/action_view_ugly.haml +47 -0
  414. data/vendor/bundle/gems/haml-3.1.6/test/haml/templates/breakage.haml +8 -0
  415. data/vendor/bundle/gems/haml-3.1.6/test/haml/templates/content_for_layout.haml +8 -0
  416. data/vendor/bundle/gems/haml-3.1.6/test/haml/templates/eval_suppressed.haml +11 -0
  417. data/vendor/bundle/gems/haml-3.1.6/test/haml/templates/filters.haml +66 -0
  418. data/vendor/bundle/gems/haml-3.1.6/test/haml/templates/helpers.haml +55 -0
  419. data/vendor/bundle/gems/haml-3.1.6/test/haml/templates/helpful.haml +11 -0
  420. data/vendor/bundle/gems/haml-3.1.6/test/haml/templates/just_stuff.haml +85 -0
  421. data/vendor/bundle/gems/haml-3.1.6/test/haml/templates/list.haml +12 -0
  422. data/vendor/bundle/gems/haml-3.1.6/test/haml/templates/nuke_inner_whitespace.haml +32 -0
  423. data/vendor/bundle/gems/haml-3.1.6/test/haml/templates/nuke_outer_whitespace.haml +144 -0
  424. data/vendor/bundle/gems/haml-3.1.6/test/haml/templates/original_engine.haml +17 -0
  425. data/vendor/bundle/gems/haml-3.1.6/test/haml/templates/partial_layout.haml +10 -0
  426. data/vendor/bundle/gems/haml-3.1.6/test/haml/templates/partialize.haml +1 -0
  427. data/vendor/bundle/gems/haml-3.1.6/test/haml/templates/partials.haml +12 -0
  428. data/vendor/bundle/gems/haml-3.1.6/test/haml/templates/render_layout.haml +2 -0
  429. data/vendor/bundle/gems/haml-3.1.6/test/haml/templates/silent_script.haml +40 -0
  430. data/vendor/bundle/gems/haml-3.1.6/test/haml/templates/standard.haml +43 -0
  431. data/vendor/bundle/gems/haml-3.1.6/test/haml/templates/standard_ugly.haml +43 -0
  432. data/vendor/bundle/gems/haml-3.1.6/test/haml/templates/tag_parsing.haml +21 -0
  433. data/vendor/bundle/gems/haml-3.1.6/test/haml/templates/very_basic.haml +4 -0
  434. data/vendor/bundle/gems/haml-3.1.6/test/haml/templates/whitespace_handling.haml +87 -0
  435. data/vendor/bundle/gems/haml-3.1.6/test/haml/util_test.rb +300 -0
  436. data/vendor/bundle/gems/haml-3.1.6/test/linked_rails.rb +42 -0
  437. data/vendor/bundle/gems/haml-3.1.6/test/test_helper.rb +75 -0
  438. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/CONTRIBUTING +3 -0
  439. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/MIT-LICENSE +20 -0
  440. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/README.md +201 -0
  441. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/Rakefile +339 -0
  442. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/TODO +39 -0
  443. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/VERSION +1 -0
  444. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/VERSION_NAME +1 -0
  445. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/bin/sass +8 -0
  446. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/bin/sass-convert +7 -0
  447. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/bin/scss +8 -0
  448. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/doc-src/FAQ.md +35 -0
  449. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/doc-src/INDENTED_SYNTAX.md +210 -0
  450. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/doc-src/SASS_CHANGELOG.md +2327 -0
  451. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/doc-src/SASS_REFERENCE.md +1965 -0
  452. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/doc-src/SCSS_FOR_SASS_USERS.md +155 -0
  453. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/ext/extconf.rb +10 -0
  454. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/extra/update_watch.rb +13 -0
  455. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/init.rb +18 -0
  456. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/cache_stores/base.rb +86 -0
  457. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/cache_stores/chain.rb +33 -0
  458. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/cache_stores/filesystem.rb +60 -0
  459. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/cache_stores/memory.rb +47 -0
  460. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/cache_stores/null.rb +25 -0
  461. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/cache_stores.rb +15 -0
  462. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/callbacks.rb +66 -0
  463. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/css.rb +295 -0
  464. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/engine.rb +878 -0
  465. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/environment.rb +166 -0
  466. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/error.rb +201 -0
  467. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/exec.rb +672 -0
  468. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/importers/base.rb +139 -0
  469. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/importers/filesystem.rb +149 -0
  470. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/importers.rb +22 -0
  471. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/less.rb +382 -0
  472. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/logger/base.rb +32 -0
  473. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/logger/log_level.rb +49 -0
  474. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/logger.rb +15 -0
  475. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/plugin/compiler.rb +383 -0
  476. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/plugin/configuration.rb +123 -0
  477. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/plugin/generic.rb +15 -0
  478. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/plugin/merb.rb +48 -0
  479. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/plugin/rack.rb +60 -0
  480. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/plugin/rails.rb +47 -0
  481. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/plugin/staleness_checker.rb +173 -0
  482. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/plugin.rb +132 -0
  483. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/railtie.rb +9 -0
  484. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/repl.rb +58 -0
  485. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/root.rb +7 -0
  486. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/script/bool.rb +18 -0
  487. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/script/color.rb +480 -0
  488. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/script/css_lexer.rb +29 -0
  489. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/script/css_parser.rb +31 -0
  490. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/script/funcall.rb +175 -0
  491. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/script/functions.rb +1386 -0
  492. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/script/interpolation.rb +79 -0
  493. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/script/lexer.rb +339 -0
  494. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/script/list.rb +83 -0
  495. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/script/literal.rb +250 -0
  496. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/script/node.rb +99 -0
  497. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/script/number.rb +452 -0
  498. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/script/operation.rb +99 -0
  499. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/script/parser.rb +474 -0
  500. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/script/string.rb +51 -0
  501. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/script/string_interpolation.rb +103 -0
  502. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/script/unary_operation.rb +64 -0
  503. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/script/variable.rb +59 -0
  504. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/script.rb +40 -0
  505. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/scss/css_parser.rb +46 -0
  506. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/scss/parser.rb +960 -0
  507. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/scss/rx.rb +128 -0
  508. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/scss/sass_parser.rb +11 -0
  509. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/scss/script_lexer.rb +15 -0
  510. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/scss/script_parser.rb +25 -0
  511. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/scss/static_parser.rb +40 -0
  512. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/scss.rb +17 -0
  513. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/selector/abstract_sequence.rb +62 -0
  514. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/selector/comma_sequence.rb +81 -0
  515. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/selector/sequence.rb +233 -0
  516. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/selector/simple.rb +113 -0
  517. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/selector/simple_sequence.rb +134 -0
  518. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/selector.rb +361 -0
  519. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/shared.rb +78 -0
  520. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/charset_node.rb +22 -0
  521. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/comment_node.rb +90 -0
  522. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/debug_node.rb +18 -0
  523. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/directive_node.rb +23 -0
  524. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/each_node.rb +24 -0
  525. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/extend_node.rb +29 -0
  526. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/for_node.rb +36 -0
  527. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/function_node.rb +27 -0
  528. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/if_node.rb +52 -0
  529. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/import_node.rb +68 -0
  530. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/media_node.rb +32 -0
  531. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/mixin_def_node.rb +27 -0
  532. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/mixin_node.rb +32 -0
  533. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/node.rb +201 -0
  534. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/prop_node.rb +148 -0
  535. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/return_node.rb +18 -0
  536. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/root_node.rb +28 -0
  537. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/rule_node.rb +136 -0
  538. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/variable_node.rb +30 -0
  539. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/visitors/base.rb +75 -0
  540. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/visitors/check_nesting.rb +133 -0
  541. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/visitors/convert.rb +260 -0
  542. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/visitors/cssize.rb +175 -0
  543. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/visitors/deep_copy.rb +87 -0
  544. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/visitors/perform.rb +332 -0
  545. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/visitors/set_options.rb +97 -0
  546. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/visitors/to_css.rb +210 -0
  547. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/warn_node.rb +18 -0
  548. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/while_node.rb +18 -0
  549. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/util/subset_map.rb +101 -0
  550. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/util.rb +721 -0
  551. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/version.rb +112 -0
  552. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass.rb +73 -0
  553. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/rails/init.rb +1 -0
  554. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/sass.gemspec +33 -0
  555. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/Gemfile +4 -0
  556. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/cache_test.rb +89 -0
  557. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/callbacks_test.rb +61 -0
  558. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/conversion_test.rb +1199 -0
  559. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/css2sass_test.rb +373 -0
  560. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/data/hsl-rgb.txt +319 -0
  561. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/engine_test.rb +2567 -0
  562. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/extend_test.rb +1348 -0
  563. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/fixtures/test_staleness_check_across_importers.css +1 -0
  564. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/fixtures/test_staleness_check_across_importers.scss +1 -0
  565. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/functions_test.rb +1038 -0
  566. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/importer_test.rb +192 -0
  567. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/less_conversion_test.rb +653 -0
  568. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/logger_test.rb +58 -0
  569. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/mock_importer.rb +49 -0
  570. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/more_results/more1.css +9 -0
  571. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/more_results/more1_with_line_comments.css +26 -0
  572. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/more_results/more_import.css +29 -0
  573. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/more_templates/_more_partial.sass +2 -0
  574. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/more_templates/more1.sass +23 -0
  575. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/more_templates/more_import.sass +11 -0
  576. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/plugin_test.rb +472 -0
  577. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/results/alt.css +4 -0
  578. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/results/basic.css +9 -0
  579. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/results/compact.css +5 -0
  580. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/results/complex.css +86 -0
  581. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/results/compressed.css +1 -0
  582. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/results/expanded.css +19 -0
  583. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/results/if.css +3 -0
  584. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/results/import.css +31 -0
  585. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/results/import_charset.css +4 -0
  586. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/results/import_charset_1_8.css +4 -0
  587. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/results/import_charset_ibm866.css +4 -0
  588. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/results/line_numbers.css +49 -0
  589. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/results/mixins.css +95 -0
  590. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/results/multiline.css +24 -0
  591. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/results/nested.css +22 -0
  592. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/results/options.css +1 -0
  593. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/results/parent_ref.css +13 -0
  594. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/results/script.css +16 -0
  595. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/results/scss_import.css +31 -0
  596. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/results/scss_importee.css +2 -0
  597. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/results/subdir/nested_subdir/nested_subdir.css +1 -0
  598. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/results/subdir/subdir.css +3 -0
  599. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/results/units.css +11 -0
  600. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/results/warn.css +0 -0
  601. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/results/warn_imported.css +0 -0
  602. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/script_conversion_test.rb +285 -0
  603. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/script_test.rb +514 -0
  604. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/scss/css_test.rb +922 -0
  605. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/scss/rx_test.rb +156 -0
  606. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/scss/scss_test.rb +1273 -0
  607. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/scss/test_helper.rb +37 -0
  608. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/_imported_charset_ibm866.sass +4 -0
  609. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/_imported_charset_utf8.sass +4 -0
  610. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/_partial.sass +2 -0
  611. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/alt.sass +16 -0
  612. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/basic.sass +23 -0
  613. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/bork1.sass +2 -0
  614. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/bork2.sass +2 -0
  615. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/bork3.sass +2 -0
  616. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/bork4.sass +2 -0
  617. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/bork5.sass +3 -0
  618. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/compact.sass +17 -0
  619. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/complex.sass +305 -0
  620. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/compressed.sass +15 -0
  621. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/expanded.sass +17 -0
  622. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/if.sass +11 -0
  623. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/import.sass +12 -0
  624. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/import_charset.sass +7 -0
  625. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/import_charset_1_8.sass +4 -0
  626. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/import_charset_ibm866.sass +9 -0
  627. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/importee.less +2 -0
  628. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/importee.sass +19 -0
  629. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/line_numbers.sass +13 -0
  630. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/mixin_bork.sass +5 -0
  631. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/mixins.sass +76 -0
  632. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/multiline.sass +20 -0
  633. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/nested.sass +25 -0
  634. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/nested_bork1.sass +2 -0
  635. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/nested_bork2.sass +2 -0
  636. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/nested_bork3.sass +2 -0
  637. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/nested_bork4.sass +2 -0
  638. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/nested_bork5.sass +2 -0
  639. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/nested_import.sass +2 -0
  640. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/nested_mixin_bork.sass +6 -0
  641. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/options.sass +2 -0
  642. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/parent_ref.sass +25 -0
  643. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/script.sass +101 -0
  644. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/scss_import.scss +11 -0
  645. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/scss_importee.scss +1 -0
  646. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/subdir/nested_subdir/_nested_partial.sass +2 -0
  647. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/subdir/nested_subdir/nested_subdir.sass +3 -0
  648. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/subdir/subdir.sass +6 -0
  649. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/units.sass +11 -0
  650. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/warn.sass +3 -0
  651. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/templates/warn_imported.sass +4 -0
  652. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/test_helper.rb +8 -0
  653. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/util/subset_map_test.rb +91 -0
  654. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/sass/util_test.rb +266 -0
  655. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/test/test_helper.rb +69 -0
  656. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/Gemfile +3 -0
  657. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/LICENSE +20 -0
  658. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/README.markdown +83 -0
  659. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/Rakefile +11 -0
  660. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/example.rb +12 -0
  661. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/fssm.gemspec +24 -0
  662. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/lib/fssm/backends/fsevents.rb +36 -0
  663. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/lib/fssm/backends/inotify.rb +26 -0
  664. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/lib/fssm/backends/polling.rb +25 -0
  665. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/lib/fssm/backends/rbfsevent.rb +42 -0
  666. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/lib/fssm/backends/rubycocoa/fsevents.rb +131 -0
  667. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/lib/fssm/monitor.rb +36 -0
  668. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/lib/fssm/path.rb +94 -0
  669. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/lib/fssm/pathname.rb +36 -0
  670. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/lib/fssm/state/directory.rb +75 -0
  671. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/lib/fssm/state/file.rb +24 -0
  672. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/lib/fssm/support.rb +92 -0
  673. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/lib/fssm/tree.rb +176 -0
  674. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/lib/fssm/version.rb +3 -0
  675. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/lib/fssm.rb +37 -0
  676. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/profile/prof-cache.rb +40 -0
  677. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/profile/prof-fssm-pathname.html +1231 -0
  678. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/profile/prof-pathname-rubinius.rb +35 -0
  679. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/profile/prof-pathname.rb +68 -0
  680. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/profile/prof-plain-pathname.html +988 -0
  681. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/profile/prof.html +2379 -0
  682. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/spec/count_down_latch.rb +151 -0
  683. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/spec/monitor_spec.rb +202 -0
  684. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/spec/path_spec.rb +96 -0
  685. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/spec/root/duck/quack.txt +0 -0
  686. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/spec/root/file.css +0 -0
  687. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/spec/root/file.rb +0 -0
  688. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/spec/root/file.yml +0 -0
  689. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/spec/root/moo/cow.txt +0 -0
  690. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/vendor/fssm/spec/spec_helper.rb +14 -0
  691. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/yard/callbacks.rb +29 -0
  692. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/yard/default/fulldoc/html/css/common.sass +26 -0
  693. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/yard/default/layout/html/footer.erb +12 -0
  694. data/vendor/bundle/gems/haml-3.1.6/vendor/sass/yard/inherited_hash.rb +41 -0
  695. data/vendor/bundle/gems/json-1.7.3/.gitignore +12 -0
  696. data/vendor/bundle/gems/json-1.7.3/.travis.yml +16 -0
  697. data/vendor/bundle/gems/json-1.7.3/CHANGES +250 -0
  698. data/vendor/bundle/gems/json-1.7.3/COPYING +58 -0
  699. data/vendor/bundle/gems/json-1.7.3/COPYING-json-jruby +57 -0
  700. data/vendor/bundle/gems/json-1.7.3/GPL +340 -0
  701. data/vendor/bundle/gems/json-1.7.3/Gemfile +15 -0
  702. data/vendor/bundle/gems/json-1.7.3/README-json-jruby.markdown +33 -0
  703. data/vendor/bundle/gems/json-1.7.3/README.rdoc +358 -0
  704. data/vendor/bundle/gems/json-1.7.3/Rakefile +401 -0
  705. data/vendor/bundle/gems/json-1.7.3/TODO +1 -0
  706. data/vendor/bundle/gems/json-1.7.3/VERSION +1 -0
  707. data/vendor/bundle/gems/json-1.7.3/data/example.json +1 -0
  708. data/vendor/bundle/gems/json-1.7.3/data/index.html +38 -0
  709. data/vendor/bundle/gems/json-1.7.3/data/prototype.js +4184 -0
  710. data/vendor/bundle/gems/json-1.7.3/diagrams/.keep +0 -0
  711. data/vendor/bundle/gems/json-1.7.3/ext/json/ext/fbuffer/fbuffer.h +164 -0
  712. data/vendor/bundle/gems/json-1.7.3/ext/json/ext/generator/Makefile +214 -0
  713. data/vendor/bundle/gems/json-1.7.3/ext/json/ext/generator/depend +1 -0
  714. data/vendor/bundle/gems/json-1.7.3/ext/json/ext/generator/extconf.rb +14 -0
  715. data/vendor/bundle/gems/json-1.7.3/ext/json/ext/generator/generator.bundle +0 -0
  716. data/vendor/bundle/gems/json-1.7.3/ext/json/ext/generator/generator.c +1393 -0
  717. data/vendor/bundle/gems/json-1.7.3/ext/json/ext/generator/generator.h +162 -0
  718. data/vendor/bundle/gems/json-1.7.3/ext/json/ext/generator/generator.o +0 -0
  719. data/vendor/bundle/gems/json-1.7.3/ext/json/ext/parser/Makefile +214 -0
  720. data/vendor/bundle/gems/json-1.7.3/ext/json/ext/parser/depend +1 -0
  721. data/vendor/bundle/gems/json-1.7.3/ext/json/ext/parser/extconf.rb +13 -0
  722. data/vendor/bundle/gems/json-1.7.3/ext/json/ext/parser/parser.bundle +0 -0
  723. data/vendor/bundle/gems/json-1.7.3/ext/json/ext/parser/parser.c +2204 -0
  724. data/vendor/bundle/gems/json-1.7.3/ext/json/ext/parser/parser.h +77 -0
  725. data/vendor/bundle/gems/json-1.7.3/ext/json/ext/parser/parser.o +0 -0
  726. data/vendor/bundle/gems/json-1.7.3/ext/json/ext/parser/parser.rl +927 -0
  727. data/vendor/bundle/gems/json-1.7.3/install.rb +23 -0
  728. data/vendor/bundle/gems/json-1.7.3/java/src/json/ext/ByteListTranscoder.java +167 -0
  729. data/vendor/bundle/gems/json-1.7.3/java/src/json/ext/Generator.java +444 -0
  730. data/vendor/bundle/gems/json-1.7.3/java/src/json/ext/GeneratorMethods.java +232 -0
  731. data/vendor/bundle/gems/json-1.7.3/java/src/json/ext/GeneratorService.java +43 -0
  732. data/vendor/bundle/gems/json-1.7.3/java/src/json/ext/GeneratorState.java +526 -0
  733. data/vendor/bundle/gems/json-1.7.3/java/src/json/ext/OptionsReader.java +113 -0
  734. data/vendor/bundle/gems/json-1.7.3/java/src/json/ext/Parser.java +2644 -0
  735. data/vendor/bundle/gems/json-1.7.3/java/src/json/ext/Parser.rl +968 -0
  736. data/vendor/bundle/gems/json-1.7.3/java/src/json/ext/ParserService.java +35 -0
  737. data/vendor/bundle/gems/json-1.7.3/java/src/json/ext/RuntimeInfo.java +121 -0
  738. data/vendor/bundle/gems/json-1.7.3/java/src/json/ext/StringDecoder.java +167 -0
  739. data/vendor/bundle/gems/json-1.7.3/java/src/json/ext/StringEncoder.java +106 -0
  740. data/vendor/bundle/gems/json-1.7.3/java/src/json/ext/Utils.java +89 -0
  741. data/vendor/bundle/gems/json-1.7.3/json-java.gemspec +22 -0
  742. data/vendor/bundle/gems/json-1.7.3/json.gemspec +37 -0
  743. data/vendor/bundle/gems/json-1.7.3/json_pure.gemspec +39 -0
  744. data/vendor/bundle/gems/json-1.7.3/lib/json/add/bigdecimal.rb +21 -0
  745. data/vendor/bundle/gems/json-1.7.3/lib/json/add/complex.rb +22 -0
  746. data/vendor/bundle/gems/json-1.7.3/lib/json/add/core.rb +11 -0
  747. data/vendor/bundle/gems/json-1.7.3/lib/json/add/date.rb +34 -0
  748. data/vendor/bundle/gems/json-1.7.3/lib/json/add/date_time.rb +50 -0
  749. data/vendor/bundle/gems/json-1.7.3/lib/json/add/exception.rb +31 -0
  750. data/vendor/bundle/gems/json-1.7.3/lib/json/add/ostruct.rb +31 -0
  751. data/vendor/bundle/gems/json-1.7.3/lib/json/add/range.rb +29 -0
  752. data/vendor/bundle/gems/json-1.7.3/lib/json/add/rational.rb +22 -0
  753. data/vendor/bundle/gems/json-1.7.3/lib/json/add/regexp.rb +30 -0
  754. data/vendor/bundle/gems/json-1.7.3/lib/json/add/struct.rb +30 -0
  755. data/vendor/bundle/gems/json-1.7.3/lib/json/add/symbol.rb +25 -0
  756. data/vendor/bundle/gems/json-1.7.3/lib/json/add/time.rb +38 -0
  757. data/vendor/bundle/gems/json-1.7.3/lib/json/common.rb +480 -0
  758. data/vendor/bundle/gems/json-1.7.3/lib/json/ext/.keep +0 -0
  759. data/vendor/bundle/gems/json-1.7.3/lib/json/ext/generator.bundle +0 -0
  760. data/vendor/bundle/gems/json-1.7.3/lib/json/ext/parser.bundle +0 -0
  761. data/vendor/bundle/gems/json-1.7.3/lib/json/ext.rb +21 -0
  762. data/vendor/bundle/gems/json-1.7.3/lib/json/generic_object.rb +39 -0
  763. data/vendor/bundle/gems/json-1.7.3/lib/json/pure/generator.rb +472 -0
  764. data/vendor/bundle/gems/json-1.7.3/lib/json/pure/parser.rb +359 -0
  765. data/vendor/bundle/gems/json-1.7.3/lib/json/pure.rb +21 -0
  766. data/vendor/bundle/gems/json-1.7.3/lib/json/version.rb +8 -0
  767. data/vendor/bundle/gems/json-1.7.3/lib/json.rb +62 -0
  768. data/vendor/bundle/gems/json-1.7.3/tests/fixtures/fail1.json +1 -0
  769. data/vendor/bundle/gems/json-1.7.3/tests/fixtures/fail10.json +1 -0
  770. data/vendor/bundle/gems/json-1.7.3/tests/fixtures/fail11.json +1 -0
  771. data/vendor/bundle/gems/json-1.7.3/tests/fixtures/fail12.json +1 -0
  772. data/vendor/bundle/gems/json-1.7.3/tests/fixtures/fail13.json +1 -0
  773. data/vendor/bundle/gems/json-1.7.3/tests/fixtures/fail14.json +1 -0
  774. data/vendor/bundle/gems/json-1.7.3/tests/fixtures/fail18.json +1 -0
  775. data/vendor/bundle/gems/json-1.7.3/tests/fixtures/fail19.json +1 -0
  776. data/vendor/bundle/gems/json-1.7.3/tests/fixtures/fail2.json +1 -0
  777. data/vendor/bundle/gems/json-1.7.3/tests/fixtures/fail20.json +1 -0
  778. data/vendor/bundle/gems/json-1.7.3/tests/fixtures/fail21.json +1 -0
  779. data/vendor/bundle/gems/json-1.7.3/tests/fixtures/fail22.json +1 -0
  780. data/vendor/bundle/gems/json-1.7.3/tests/fixtures/fail23.json +1 -0
  781. data/vendor/bundle/gems/json-1.7.3/tests/fixtures/fail24.json +1 -0
  782. data/vendor/bundle/gems/json-1.7.3/tests/fixtures/fail25.json +1 -0
  783. data/vendor/bundle/gems/json-1.7.3/tests/fixtures/fail27.json +2 -0
  784. data/vendor/bundle/gems/json-1.7.3/tests/fixtures/fail28.json +2 -0
  785. data/vendor/bundle/gems/json-1.7.3/tests/fixtures/fail3.json +1 -0
  786. data/vendor/bundle/gems/json-1.7.3/tests/fixtures/fail4.json +1 -0
  787. data/vendor/bundle/gems/json-1.7.3/tests/fixtures/fail5.json +1 -0
  788. data/vendor/bundle/gems/json-1.7.3/tests/fixtures/fail6.json +1 -0
  789. data/vendor/bundle/gems/json-1.7.3/tests/fixtures/fail7.json +1 -0
  790. data/vendor/bundle/gems/json-1.7.3/tests/fixtures/fail8.json +1 -0
  791. data/vendor/bundle/gems/json-1.7.3/tests/fixtures/fail9.json +1 -0
  792. data/vendor/bundle/gems/json-1.7.3/tests/fixtures/pass1.json +56 -0
  793. data/vendor/bundle/gems/json-1.7.3/tests/fixtures/pass15.json +1 -0
  794. data/vendor/bundle/gems/json-1.7.3/tests/fixtures/pass16.json +1 -0
  795. data/vendor/bundle/gems/json-1.7.3/tests/fixtures/pass17.json +1 -0
  796. data/vendor/bundle/gems/json-1.7.3/tests/fixtures/pass2.json +1 -0
  797. data/vendor/bundle/gems/json-1.7.3/tests/fixtures/pass26.json +1 -0
  798. data/vendor/bundle/gems/json-1.7.3/tests/fixtures/pass3.json +6 -0
  799. data/vendor/bundle/gems/json-1.7.3/tests/setup_variant.rb +11 -0
  800. data/vendor/bundle/gems/json-1.7.3/tests/test_json.rb +539 -0
  801. data/vendor/bundle/gems/json-1.7.3/tests/test_json_addition.rb +188 -0
  802. data/vendor/bundle/gems/json-1.7.3/tests/test_json_encoding.rb +65 -0
  803. data/vendor/bundle/gems/json-1.7.3/tests/test_json_fixtures.rb +35 -0
  804. data/vendor/bundle/gems/json-1.7.3/tests/test_json_generate.rb +251 -0
  805. data/vendor/bundle/gems/json-1.7.3/tests/test_json_generic_object.rb +35 -0
  806. data/vendor/bundle/gems/json-1.7.3/tests/test_json_string_matching.rb +40 -0
  807. data/vendor/bundle/gems/json-1.7.3/tests/test_json_unicode.rb +72 -0
  808. data/vendor/bundle/gems/json-1.7.3/tools/fuzz.rb +139 -0
  809. data/vendor/bundle/gems/json-1.7.3/tools/server.rb +62 -0
  810. data/vendor/bundle/gems/mail-2.4.4/CHANGELOG.rdoc +603 -0
  811. data/vendor/bundle/gems/mail-2.4.4/CONTRIBUTING.md +45 -0
  812. data/vendor/bundle/gems/mail-2.4.4/Dependencies.txt +3 -0
  813. data/vendor/bundle/gems/mail-2.4.4/Gemfile +26 -0
  814. data/vendor/bundle/gems/mail-2.4.4/README.md +663 -0
  815. data/vendor/bundle/gems/mail-2.4.4/Rakefile +40 -0
  816. data/vendor/bundle/gems/mail-2.4.4/TODO.rdoc +9 -0
  817. data/vendor/bundle/gems/mail-2.4.4/lib/VERSION +4 -0
  818. data/vendor/bundle/gems/mail-2.4.4/lib/mail/attachments_list.rb +104 -0
  819. data/vendor/bundle/gems/mail-2.4.4/lib/mail/body.rb +291 -0
  820. data/vendor/bundle/gems/mail-2.4.4/lib/mail/configuration.rb +75 -0
  821. data/vendor/bundle/gems/mail-2.4.4/lib/mail/core_extensions/nil.rb +17 -0
  822. data/vendor/bundle/gems/mail-2.4.4/lib/mail/core_extensions/object.rb +13 -0
  823. data/vendor/bundle/gems/mail-2.4.4/lib/mail/core_extensions/shell_escape.rb +56 -0
  824. data/vendor/bundle/gems/mail-2.4.4/lib/mail/core_extensions/smtp.rb +25 -0
  825. data/vendor/bundle/gems/mail-2.4.4/lib/mail/core_extensions/string/access.rb +145 -0
  826. data/vendor/bundle/gems/mail-2.4.4/lib/mail/core_extensions/string/multibyte.rb +78 -0
  827. data/vendor/bundle/gems/mail-2.4.4/lib/mail/core_extensions/string.rb +33 -0
  828. data/vendor/bundle/gems/mail-2.4.4/lib/mail/elements/address.rb +306 -0
  829. data/vendor/bundle/gems/mail-2.4.4/lib/mail/elements/address_list.rb +74 -0
  830. data/vendor/bundle/gems/mail-2.4.4/lib/mail/elements/content_disposition_element.rb +30 -0
  831. data/vendor/bundle/gems/mail-2.4.4/lib/mail/elements/content_location_element.rb +25 -0
  832. data/vendor/bundle/gems/mail-2.4.4/lib/mail/elements/content_transfer_encoding_element.rb +24 -0
  833. data/vendor/bundle/gems/mail-2.4.4/lib/mail/elements/content_type_element.rb +35 -0
  834. data/vendor/bundle/gems/mail-2.4.4/lib/mail/elements/date_time_element.rb +26 -0
  835. data/vendor/bundle/gems/mail-2.4.4/lib/mail/elements/envelope_from_element.rb +34 -0
  836. data/vendor/bundle/gems/mail-2.4.4/lib/mail/elements/message_ids_element.rb +29 -0
  837. data/vendor/bundle/gems/mail-2.4.4/lib/mail/elements/mime_version_element.rb +26 -0
  838. data/vendor/bundle/gems/mail-2.4.4/lib/mail/elements/phrase_list.rb +21 -0
  839. data/vendor/bundle/gems/mail-2.4.4/lib/mail/elements/received_element.rb +30 -0
  840. data/vendor/bundle/gems/mail-2.4.4/lib/mail/elements.rb +14 -0
  841. data/vendor/bundle/gems/mail-2.4.4/lib/mail/encodings/7bit.rb +31 -0
  842. data/vendor/bundle/gems/mail-2.4.4/lib/mail/encodings/8bit.rb +31 -0
  843. data/vendor/bundle/gems/mail-2.4.4/lib/mail/encodings/base64.rb +33 -0
  844. data/vendor/bundle/gems/mail-2.4.4/lib/mail/encodings/binary.rb +31 -0
  845. data/vendor/bundle/gems/mail-2.4.4/lib/mail/encodings/quoted_printable.rb +38 -0
  846. data/vendor/bundle/gems/mail-2.4.4/lib/mail/encodings/transfer_encoding.rb +58 -0
  847. data/vendor/bundle/gems/mail-2.4.4/lib/mail/encodings.rb +274 -0
  848. data/vendor/bundle/gems/mail-2.4.4/lib/mail/envelope.rb +35 -0
  849. data/vendor/bundle/gems/mail-2.4.4/lib/mail/field.rb +234 -0
  850. data/vendor/bundle/gems/mail-2.4.4/lib/mail/field_list.rb +33 -0
  851. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/bcc_field.rb +56 -0
  852. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/cc_field.rb +55 -0
  853. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/comments_field.rb +41 -0
  854. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/common/address_container.rb +16 -0
  855. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/common/common_address.rb +125 -0
  856. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/common/common_date.rb +42 -0
  857. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/common/common_field.rb +51 -0
  858. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/common/common_message_id.rb +44 -0
  859. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/common/parameter_hash.rb +58 -0
  860. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/content_description_field.rb +19 -0
  861. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/content_disposition_field.rb +69 -0
  862. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/content_id_field.rb +63 -0
  863. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/content_location_field.rb +42 -0
  864. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/content_transfer_encoding_field.rb +50 -0
  865. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/content_type_field.rb +198 -0
  866. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/date_field.rb +57 -0
  867. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/from_field.rb +55 -0
  868. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/in_reply_to_field.rb +55 -0
  869. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/keywords_field.rb +44 -0
  870. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/message_id_field.rb +83 -0
  871. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/mime_version_field.rb +53 -0
  872. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/optional_field.rb +13 -0
  873. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/received_field.rb +75 -0
  874. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/references_field.rb +55 -0
  875. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/reply_to_field.rb +55 -0
  876. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/resent_bcc_field.rb +55 -0
  877. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/resent_cc_field.rb +55 -0
  878. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/resent_date_field.rb +35 -0
  879. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/resent_from_field.rb +55 -0
  880. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/resent_message_id_field.rb +34 -0
  881. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/resent_sender_field.rb +62 -0
  882. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/resent_to_field.rb +55 -0
  883. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/return_path_field.rb +65 -0
  884. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/sender_field.rb +67 -0
  885. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/structured_field.rb +51 -0
  886. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/subject_field.rb +16 -0
  887. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/to_field.rb +55 -0
  888. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/unstructured_field.rb +191 -0
  889. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields.rb +35 -0
  890. data/vendor/bundle/gems/mail-2.4.4/lib/mail/header.rb +265 -0
  891. data/vendor/bundle/gems/mail-2.4.4/lib/mail/indifferent_hash.rb +146 -0
  892. data/vendor/bundle/gems/mail-2.4.4/lib/mail/mail.rb +255 -0
  893. data/vendor/bundle/gems/mail-2.4.4/lib/mail/matchers/has_sent_mail.rb +124 -0
  894. data/vendor/bundle/gems/mail-2.4.4/lib/mail/message.rb +2058 -0
  895. data/vendor/bundle/gems/mail-2.4.4/lib/mail/multibyte/chars.rb +474 -0
  896. data/vendor/bundle/gems/mail-2.4.4/lib/mail/multibyte/exceptions.rb +8 -0
  897. data/vendor/bundle/gems/mail-2.4.4/lib/mail/multibyte/unicode.rb +392 -0
  898. data/vendor/bundle/gems/mail-2.4.4/lib/mail/multibyte/utils.rb +60 -0
  899. data/vendor/bundle/gems/mail-2.4.4/lib/mail/multibyte.rb +42 -0
  900. data/vendor/bundle/gems/mail-2.4.4/lib/mail/network/delivery_methods/exim.rb +53 -0
  901. data/vendor/bundle/gems/mail-2.4.4/lib/mail/network/delivery_methods/file_delivery.rb +40 -0
  902. data/vendor/bundle/gems/mail-2.4.4/lib/mail/network/delivery_methods/sendmail.rb +62 -0
  903. data/vendor/bundle/gems/mail-2.4.4/lib/mail/network/delivery_methods/smtp.rb +153 -0
  904. data/vendor/bundle/gems/mail-2.4.4/lib/mail/network/delivery_methods/smtp_connection.rb +74 -0
  905. data/vendor/bundle/gems/mail-2.4.4/lib/mail/network/delivery_methods/test_mailer.rb +40 -0
  906. data/vendor/bundle/gems/mail-2.4.4/lib/mail/network/retriever_methods/base.rb +63 -0
  907. data/vendor/bundle/gems/mail-2.4.4/lib/mail/network/retriever_methods/imap.rb +160 -0
  908. data/vendor/bundle/gems/mail-2.4.4/lib/mail/network/retriever_methods/pop3.rb +140 -0
  909. data/vendor/bundle/gems/mail-2.4.4/lib/mail/network/retriever_methods/test_retriever.rb +47 -0
  910. data/vendor/bundle/gems/mail-2.4.4/lib/mail/network.rb +14 -0
  911. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/address_lists.rb +64 -0
  912. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/address_lists.treetop +19 -0
  913. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/content_disposition.rb +535 -0
  914. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/content_disposition.treetop +46 -0
  915. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/content_location.rb +139 -0
  916. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/content_location.treetop +20 -0
  917. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/content_transfer_encoding.rb +162 -0
  918. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/content_transfer_encoding.treetop +20 -0
  919. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/content_type.rb +967 -0
  920. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/content_type.treetop +68 -0
  921. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/date_time.rb +114 -0
  922. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/date_time.treetop +11 -0
  923. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/envelope_from.rb +194 -0
  924. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/envelope_from.treetop +32 -0
  925. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/message_ids.rb +45 -0
  926. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/message_ids.treetop +15 -0
  927. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/mime_version.rb +144 -0
  928. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/mime_version.treetop +19 -0
  929. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/phrase_lists.rb +45 -0
  930. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/phrase_lists.treetop +15 -0
  931. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/received.rb +71 -0
  932. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/received.treetop +11 -0
  933. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/rfc2045.rb +464 -0
  934. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/rfc2045.treetop +36 -0
  935. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/rfc2822.rb +5341 -0
  936. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/rfc2822.treetop +410 -0
  937. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/rfc2822_obsolete.rb +3768 -0
  938. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/rfc2822_obsolete.treetop +241 -0
  939. data/vendor/bundle/gems/mail-2.4.4/lib/mail/part.rb +116 -0
  940. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parts_list.rb +55 -0
  941. data/vendor/bundle/gems/mail-2.4.4/lib/mail/patterns.rb +35 -0
  942. data/vendor/bundle/gems/mail-2.4.4/lib/mail/utilities.rb +215 -0
  943. data/vendor/bundle/gems/mail-2.4.4/lib/mail/version.rb +24 -0
  944. data/vendor/bundle/gems/mail-2.4.4/lib/mail/version_specific/ruby_1_8.rb +98 -0
  945. data/vendor/bundle/gems/mail-2.4.4/lib/mail/version_specific/ruby_1_9.rb +113 -0
  946. data/vendor/bundle/gems/mail-2.4.4/lib/mail.rb +91 -0
  947. data/vendor/bundle/gems/mail-2.4.4/lib/tasks/corpus.rake +125 -0
  948. data/vendor/bundle/gems/mail-2.4.4/lib/tasks/treetop.rake +10 -0
  949. data/vendor/bundle/gems/mime-types-1.18/.gemtest +0 -0
  950. data/vendor/bundle/gems/mime-types-1.18/.gitignore +8 -0
  951. data/vendor/bundle/gems/mime-types-1.18/.hoerc +10 -0
  952. data/vendor/bundle/gems/mime-types-1.18/History.rdoc +132 -0
  953. data/vendor/bundle/gems/mime-types-1.18/Licence.rdoc +12 -0
  954. data/vendor/bundle/gems/mime-types-1.18/Manifest.txt +43 -0
  955. data/vendor/bundle/gems/mime-types-1.18/README.rdoc +19 -0
  956. data/vendor/bundle/gems/mime-types-1.18/Rakefile +198 -0
  957. data/vendor/bundle/gems/mime-types-1.18/lib/mime/types/application +943 -0
  958. data/vendor/bundle/gems/mime-types-1.18/lib/mime/types/application.mac +2 -0
  959. data/vendor/bundle/gems/mime-types-1.18/lib/mime/types/application.nonstandard +117 -0
  960. data/vendor/bundle/gems/mime-types-1.18/lib/mime/types/application.obsolete +40 -0
  961. data/vendor/bundle/gems/mime-types-1.18/lib/mime/types/audio +132 -0
  962. data/vendor/bundle/gems/mime-types-1.18/lib/mime/types/audio.nonstandard +10 -0
  963. data/vendor/bundle/gems/mime-types-1.18/lib/mime/types/audio.obsolete +1 -0
  964. data/vendor/bundle/gems/mime-types-1.18/lib/mime/types/image +43 -0
  965. data/vendor/bundle/gems/mime-types-1.18/lib/mime/types/image.nonstandard +17 -0
  966. data/vendor/bundle/gems/mime-types-1.18/lib/mime/types/image.obsolete +5 -0
  967. data/vendor/bundle/gems/mime-types-1.18/lib/mime/types/message +19 -0
  968. data/vendor/bundle/gems/mime-types-1.18/lib/mime/types/message.obsolete +1 -0
  969. data/vendor/bundle/gems/mime-types-1.18/lib/mime/types/model +15 -0
  970. data/vendor/bundle/gems/mime-types-1.18/lib/mime/types/multipart +14 -0
  971. data/vendor/bundle/gems/mime-types-1.18/lib/mime/types/multipart.nonstandard +1 -0
  972. data/vendor/bundle/gems/mime-types-1.18/lib/mime/types/multipart.obsolete +7 -0
  973. data/vendor/bundle/gems/mime-types-1.18/lib/mime/types/other.nonstandard +8 -0
  974. data/vendor/bundle/gems/mime-types-1.18/lib/mime/types/text +54 -0
  975. data/vendor/bundle/gems/mime-types-1.18/lib/mime/types/text.nonstandard +6 -0
  976. data/vendor/bundle/gems/mime-types-1.18/lib/mime/types/text.obsolete +7 -0
  977. data/vendor/bundle/gems/mime-types-1.18/lib/mime/types/text.vms +1 -0
  978. data/vendor/bundle/gems/mime-types-1.18/lib/mime/types/video +69 -0
  979. data/vendor/bundle/gems/mime-types-1.18/lib/mime/types/video.nonstandard +11 -0
  980. data/vendor/bundle/gems/mime-types-1.18/lib/mime/types/video.obsolete +3 -0
  981. data/vendor/bundle/gems/mime-types-1.18/lib/mime/types.rb +853 -0
  982. data/vendor/bundle/gems/mime-types-1.18/mime-types.gemspec +57 -0
  983. data/vendor/bundle/gems/mime-types-1.18/test/test_mime_type.rb +318 -0
  984. data/vendor/bundle/gems/mime-types-1.18/test/test_mime_types.rb +99 -0
  985. data/vendor/bundle/gems/mime-types-1.18/type-lists/application.txt +951 -0
  986. data/vendor/bundle/gems/mime-types-1.18/type-lists/audio.txt +132 -0
  987. data/vendor/bundle/gems/mime-types-1.18/type-lists/image.txt +43 -0
  988. data/vendor/bundle/gems/mime-types-1.18/type-lists/message.txt +20 -0
  989. data/vendor/bundle/gems/mime-types-1.18/type-lists/model.txt +15 -0
  990. data/vendor/bundle/gems/mime-types-1.18/type-lists/multipart.txt +14 -0
  991. data/vendor/bundle/gems/mime-types-1.18/type-lists/text.txt +57 -0
  992. data/vendor/bundle/gems/mime-types-1.18/type-lists/video.txt +67 -0
  993. data/vendor/bundle/gems/polyglot-0.3.3/History.txt +72 -0
  994. data/vendor/bundle/gems/polyglot-0.3.3/License.txt +20 -0
  995. data/vendor/bundle/gems/polyglot-0.3.3/README.txt +87 -0
  996. data/vendor/bundle/gems/polyglot-0.3.3/Rakefile +42 -0
  997. data/vendor/bundle/gems/polyglot-0.3.3/lib/polyglot/version.rb +9 -0
  998. data/vendor/bundle/gems/polyglot-0.3.3/lib/polyglot.rb +74 -0
  999. data/vendor/bundle/gems/qu-0.1.4/.gitignore +4 -0
  1000. data/vendor/bundle/gems/qu-0.1.4/ChangeLog +53 -0
  1001. data/vendor/bundle/gems/qu-0.1.4/Gemfile +20 -0
  1002. data/vendor/bundle/gems/qu-0.1.4/Guardfile +12 -0
  1003. data/vendor/bundle/gems/qu-0.1.4/README.md +163 -0
  1004. data/vendor/bundle/gems/qu-0.1.4/Rakefile +50 -0
  1005. data/vendor/bundle/gems/qu-0.1.4/lib/qu/backend/base.rb +20 -0
  1006. data/vendor/bundle/gems/qu-0.1.4/lib/qu/backend/immediate.rb +18 -0
  1007. data/vendor/bundle/gems/qu-0.1.4/lib/qu/backend/spec.rb +288 -0
  1008. data/vendor/bundle/gems/qu-0.1.4/lib/qu/failure.rb +4 -0
  1009. data/vendor/bundle/gems/qu-0.1.4/lib/qu/logger.rb +20 -0
  1010. data/vendor/bundle/gems/qu-0.1.4/lib/qu/payload.rb +53 -0
  1011. data/vendor/bundle/gems/qu-0.1.4/lib/qu/railtie.rb +13 -0
  1012. data/vendor/bundle/gems/qu-0.1.4/lib/qu/tasks.rb +14 -0
  1013. data/vendor/bundle/gems/qu-0.1.4/lib/qu/version.rb +3 -0
  1014. data/vendor/bundle/gems/qu-0.1.4/lib/qu/worker.rb +77 -0
  1015. data/vendor/bundle/gems/qu-0.1.4/lib/qu-immediate.rb +4 -0
  1016. data/vendor/bundle/gems/qu-0.1.4/lib/qu.rb +45 -0
  1017. data/vendor/bundle/gems/qu-0.1.4/qu.gemspec +22 -0
  1018. data/vendor/bundle/gems/qu-0.1.4/spec/qu/backend/immediate_spec.rb +15 -0
  1019. data/vendor/bundle/gems/qu-0.1.4/spec/qu/payload_spec.rb +86 -0
  1020. data/vendor/bundle/gems/qu-0.1.4/spec/qu/worker_spec.rb +99 -0
  1021. data/vendor/bundle/gems/qu-0.1.4/spec/qu_spec.rb +37 -0
  1022. data/vendor/bundle/gems/qu-0.1.4/spec/spec_helper.rb +14 -0
  1023. data/vendor/bundle/gems/qu-mongo-0.1.4/lib/qu/backend/mongo.rb +156 -0
  1024. data/vendor/bundle/gems/qu-mongo-0.1.4/lib/qu-mongo.rb +4 -0
  1025. data/vendor/bundle/gems/redis-2.2.2/.gitignore +8 -0
  1026. data/vendor/bundle/gems/redis-2.2.2/CHANGELOG.md +49 -0
  1027. data/vendor/bundle/gems/redis-2.2.2/LICENSE +20 -0
  1028. data/vendor/bundle/gems/redis-2.2.2/README.md +208 -0
  1029. data/vendor/bundle/gems/redis-2.2.2/Rakefile +268 -0
  1030. data/vendor/bundle/gems/redis-2.2.2/TODO.md +4 -0
  1031. data/vendor/bundle/gems/redis-2.2.2/benchmarking/logging.rb +62 -0
  1032. data/vendor/bundle/gems/redis-2.2.2/benchmarking/pipeline.rb +51 -0
  1033. data/vendor/bundle/gems/redis-2.2.2/benchmarking/speed.rb +21 -0
  1034. data/vendor/bundle/gems/redis-2.2.2/benchmarking/suite.rb +24 -0
  1035. data/vendor/bundle/gems/redis-2.2.2/benchmarking/thread_safety.rb +38 -0
  1036. data/vendor/bundle/gems/redis-2.2.2/benchmarking/worker.rb +71 -0
  1037. data/vendor/bundle/gems/redis-2.2.2/examples/basic.rb +15 -0
  1038. data/vendor/bundle/gems/redis-2.2.2/examples/dist_redis.rb +43 -0
  1039. data/vendor/bundle/gems/redis-2.2.2/examples/incr-decr.rb +17 -0
  1040. data/vendor/bundle/gems/redis-2.2.2/examples/list.rb +26 -0
  1041. data/vendor/bundle/gems/redis-2.2.2/examples/pubsub.rb +31 -0
  1042. data/vendor/bundle/gems/redis-2.2.2/examples/sets.rb +36 -0
  1043. data/vendor/bundle/gems/redis-2.2.2/examples/unicorn/config.ru +3 -0
  1044. data/vendor/bundle/gems/redis-2.2.2/examples/unicorn/unicorn.rb +20 -0
  1045. data/vendor/bundle/gems/redis-2.2.2/lib/redis/client.rb +265 -0
  1046. data/vendor/bundle/gems/redis-2.2.2/lib/redis/compat.rb +21 -0
  1047. data/vendor/bundle/gems/redis-2.2.2/lib/redis/connection/command_helper.rb +45 -0
  1048. data/vendor/bundle/gems/redis-2.2.2/lib/redis/connection/hiredis.rb +49 -0
  1049. data/vendor/bundle/gems/redis-2.2.2/lib/redis/connection/registry.rb +12 -0
  1050. data/vendor/bundle/gems/redis-2.2.2/lib/redis/connection/ruby.rb +135 -0
  1051. data/vendor/bundle/gems/redis-2.2.2/lib/redis/connection/synchrony.rb +129 -0
  1052. data/vendor/bundle/gems/redis-2.2.2/lib/redis/connection.rb +9 -0
  1053. data/vendor/bundle/gems/redis-2.2.2/lib/redis/distributed.rb +694 -0
  1054. data/vendor/bundle/gems/redis-2.2.2/lib/redis/hash_ring.rb +131 -0
  1055. data/vendor/bundle/gems/redis-2.2.2/lib/redis/pipeline.rb +34 -0
  1056. data/vendor/bundle/gems/redis-2.2.2/lib/redis/subscribe.rb +94 -0
  1057. data/vendor/bundle/gems/redis-2.2.2/lib/redis/version.rb +3 -0
  1058. data/vendor/bundle/gems/redis-2.2.2/lib/redis.rb +1148 -0
  1059. data/vendor/bundle/gems/redis-2.2.2/redis.gemspec +24 -0
  1060. data/vendor/bundle/gems/redis-2.2.2/test/commands_on_hashes_test.rb +20 -0
  1061. data/vendor/bundle/gems/redis-2.2.2/test/commands_on_lists_test.rb +60 -0
  1062. data/vendor/bundle/gems/redis-2.2.2/test/commands_on_sets_test.rb +78 -0
  1063. data/vendor/bundle/gems/redis-2.2.2/test/commands_on_sorted_sets_test.rb +109 -0
  1064. data/vendor/bundle/gems/redis-2.2.2/test/commands_on_strings_test.rb +80 -0
  1065. data/vendor/bundle/gems/redis-2.2.2/test/commands_on_value_types_test.rb +88 -0
  1066. data/vendor/bundle/gems/redis-2.2.2/test/connection_handling_test.rb +88 -0
  1067. data/vendor/bundle/gems/redis-2.2.2/test/db/.gitignore +1 -0
  1068. data/vendor/bundle/gems/redis-2.2.2/test/distributed_blocking_commands_test.rb +53 -0
  1069. data/vendor/bundle/gems/redis-2.2.2/test/distributed_commands_on_hashes_test.rb +12 -0
  1070. data/vendor/bundle/gems/redis-2.2.2/test/distributed_commands_on_lists_test.rb +24 -0
  1071. data/vendor/bundle/gems/redis-2.2.2/test/distributed_commands_on_sets_test.rb +85 -0
  1072. data/vendor/bundle/gems/redis-2.2.2/test/distributed_commands_on_strings_test.rb +50 -0
  1073. data/vendor/bundle/gems/redis-2.2.2/test/distributed_commands_on_value_types_test.rb +73 -0
  1074. data/vendor/bundle/gems/redis-2.2.2/test/distributed_commands_requiring_clustering_test.rb +148 -0
  1075. data/vendor/bundle/gems/redis-2.2.2/test/distributed_connection_handling_test.rb +25 -0
  1076. data/vendor/bundle/gems/redis-2.2.2/test/distributed_internals_test.rb +27 -0
  1077. data/vendor/bundle/gems/redis-2.2.2/test/distributed_key_tags_test.rb +53 -0
  1078. data/vendor/bundle/gems/redis-2.2.2/test/distributed_persistence_control_commands_test.rb +24 -0
  1079. data/vendor/bundle/gems/redis-2.2.2/test/distributed_publish_subscribe_test.rb +101 -0
  1080. data/vendor/bundle/gems/redis-2.2.2/test/distributed_remote_server_control_commands_test.rb +43 -0
  1081. data/vendor/bundle/gems/redis-2.2.2/test/distributed_sorting_test.rb +21 -0
  1082. data/vendor/bundle/gems/redis-2.2.2/test/distributed_test.rb +59 -0
  1083. data/vendor/bundle/gems/redis-2.2.2/test/distributed_transactions_test.rb +34 -0
  1084. data/vendor/bundle/gems/redis-2.2.2/test/encoding_test.rb +16 -0
  1085. data/vendor/bundle/gems/redis-2.2.2/test/error_replies_test.rb +53 -0
  1086. data/vendor/bundle/gems/redis-2.2.2/test/helper.rb +145 -0
  1087. data/vendor/bundle/gems/redis-2.2.2/test/internals_test.rb +160 -0
  1088. data/vendor/bundle/gems/redis-2.2.2/test/lint/hashes.rb +126 -0
  1089. data/vendor/bundle/gems/redis-2.2.2/test/lint/internals.rb +37 -0
  1090. data/vendor/bundle/gems/redis-2.2.2/test/lint/lists.rb +93 -0
  1091. data/vendor/bundle/gems/redis-2.2.2/test/lint/sets.rb +66 -0
  1092. data/vendor/bundle/gems/redis-2.2.2/test/lint/sorted_sets.rb +167 -0
  1093. data/vendor/bundle/gems/redis-2.2.2/test/lint/strings.rb +137 -0
  1094. data/vendor/bundle/gems/redis-2.2.2/test/lint/value_types.rb +84 -0
  1095. data/vendor/bundle/gems/redis-2.2.2/test/persistence_control_commands_test.rb +22 -0
  1096. data/vendor/bundle/gems/redis-2.2.2/test/pipelining_commands_test.rb +123 -0
  1097. data/vendor/bundle/gems/redis-2.2.2/test/publish_subscribe_test.rb +158 -0
  1098. data/vendor/bundle/gems/redis-2.2.2/test/redis_mock.rb +80 -0
  1099. data/vendor/bundle/gems/redis-2.2.2/test/remote_server_control_commands_test.rb +82 -0
  1100. data/vendor/bundle/gems/redis-2.2.2/test/sorting_test.rb +44 -0
  1101. data/vendor/bundle/gems/redis-2.2.2/test/synchrony_driver.rb +57 -0
  1102. data/vendor/bundle/gems/redis-2.2.2/test/test.conf +8 -0
  1103. data/vendor/bundle/gems/redis-2.2.2/test/thread_safety_test.rb +30 -0
  1104. data/vendor/bundle/gems/redis-2.2.2/test/transactions_test.rb +100 -0
  1105. data/vendor/bundle/gems/redis-2.2.2/test/unknown_commands_test.rb +14 -0
  1106. data/vendor/bundle/gems/redis-2.2.2/test/url_param_test.rb +60 -0
  1107. data/vendor/bundle/gems/redis-namespace-1.0.3/LICENSE +20 -0
  1108. data/vendor/bundle/gems/redis-namespace-1.0.3/README.md +37 -0
  1109. data/vendor/bundle/gems/redis-namespace-1.0.3/Rakefile +7 -0
  1110. data/vendor/bundle/gems/redis-namespace-1.0.3/lib/redis/namespace.rb +248 -0
  1111. data/vendor/bundle/gems/redis-namespace-1.0.3/lib/redis-namespace.rb +1 -0
  1112. data/vendor/bundle/gems/redis-namespace-1.0.3/spec/redis_spec.rb +180 -0
  1113. data/vendor/bundle/gems/redis-namespace-1.0.3/spec/spec_helper.rb +18 -0
  1114. data/vendor/bundle/gems/resque-1.20.0/HISTORY.md +354 -0
  1115. data/vendor/bundle/gems/resque-1.20.0/LICENSE +20 -0
  1116. data/vendor/bundle/gems/resque-1.20.0/README.markdown +908 -0
  1117. data/vendor/bundle/gems/resque-1.20.0/Rakefile +78 -0
  1118. data/vendor/bundle/gems/resque-1.20.0/bin/resque +81 -0
  1119. data/vendor/bundle/gems/resque-1.20.0/bin/resque-web +27 -0
  1120. data/vendor/bundle/gems/resque-1.20.0/lib/resque/errors.rb +10 -0
  1121. data/vendor/bundle/gems/resque-1.20.0/lib/resque/failure/airbrake.rb +17 -0
  1122. data/vendor/bundle/gems/resque-1.20.0/lib/resque/failure/base.rb +64 -0
  1123. data/vendor/bundle/gems/resque-1.20.0/lib/resque/failure/hoptoad.rb +33 -0
  1124. data/vendor/bundle/gems/resque-1.20.0/lib/resque/failure/multiple.rb +54 -0
  1125. data/vendor/bundle/gems/resque-1.20.0/lib/resque/failure/redis.rb +51 -0
  1126. data/vendor/bundle/gems/resque-1.20.0/lib/resque/failure/thoughtbot.rb +33 -0
  1127. data/vendor/bundle/gems/resque-1.20.0/lib/resque/failure.rb +96 -0
  1128. data/vendor/bundle/gems/resque-1.20.0/lib/resque/helpers.rb +83 -0
  1129. data/vendor/bundle/gems/resque-1.20.0/lib/resque/job.rb +223 -0
  1130. data/vendor/bundle/gems/resque-1.20.0/lib/resque/plugin.rb +66 -0
  1131. data/vendor/bundle/gems/resque-1.20.0/lib/resque/server/public/favicon.ico +0 -0
  1132. data/vendor/bundle/gems/resque-1.20.0/lib/resque/server/public/idle.png +0 -0
  1133. data/vendor/bundle/gems/resque-1.20.0/lib/resque/server/public/jquery-1.3.2.min.js +19 -0
  1134. data/vendor/bundle/gems/resque-1.20.0/lib/resque/server/public/jquery.relatize_date.js +95 -0
  1135. data/vendor/bundle/gems/resque-1.20.0/lib/resque/server/public/poll.png +0 -0
  1136. data/vendor/bundle/gems/resque-1.20.0/lib/resque/server/public/ranger.js +73 -0
  1137. data/vendor/bundle/gems/resque-1.20.0/lib/resque/server/public/reset.css +44 -0
  1138. data/vendor/bundle/gems/resque-1.20.0/lib/resque/server/public/style.css +86 -0
  1139. data/vendor/bundle/gems/resque-1.20.0/lib/resque/server/public/working.png +0 -0
  1140. data/vendor/bundle/gems/resque-1.20.0/lib/resque/server/test_helper.rb +19 -0
  1141. data/vendor/bundle/gems/resque-1.20.0/lib/resque/server/views/error.erb +1 -0
  1142. data/vendor/bundle/gems/resque-1.20.0/lib/resque/server/views/failed.erb +67 -0
  1143. data/vendor/bundle/gems/resque-1.20.0/lib/resque/server/views/key_sets.erb +19 -0
  1144. data/vendor/bundle/gems/resque-1.20.0/lib/resque/server/views/key_string.erb +11 -0
  1145. data/vendor/bundle/gems/resque-1.20.0/lib/resque/server/views/layout.erb +44 -0
  1146. data/vendor/bundle/gems/resque-1.20.0/lib/resque/server/views/next_more.erb +10 -0
  1147. data/vendor/bundle/gems/resque-1.20.0/lib/resque/server/views/overview.erb +4 -0
  1148. data/vendor/bundle/gems/resque-1.20.0/lib/resque/server/views/queues.erb +49 -0
  1149. data/vendor/bundle/gems/resque-1.20.0/lib/resque/server/views/stats.erb +62 -0
  1150. data/vendor/bundle/gems/resque-1.20.0/lib/resque/server/views/workers.erb +109 -0
  1151. data/vendor/bundle/gems/resque-1.20.0/lib/resque/server/views/working.erb +72 -0
  1152. data/vendor/bundle/gems/resque-1.20.0/lib/resque/server.rb +248 -0
  1153. data/vendor/bundle/gems/resque-1.20.0/lib/resque/stat.rb +53 -0
  1154. data/vendor/bundle/gems/resque-1.20.0/lib/resque/tasks.rb +61 -0
  1155. data/vendor/bundle/gems/resque-1.20.0/lib/resque/version.rb +3 -0
  1156. data/vendor/bundle/gems/resque-1.20.0/lib/resque/worker.rb +544 -0
  1157. data/vendor/bundle/gems/resque-1.20.0/lib/resque.rb +380 -0
  1158. data/vendor/bundle/gems/resque-1.20.0/lib/tasks/redis.rake +161 -0
  1159. data/vendor/bundle/gems/resque-1.20.0/lib/tasks/resque.rake +2 -0
  1160. data/vendor/bundle/gems/resque-1.20.0/test/airbrake_test.rb +27 -0
  1161. data/vendor/bundle/gems/resque-1.20.0/test/hoptoad_test.rb +26 -0
  1162. data/vendor/bundle/gems/resque-1.20.0/test/job_hooks_test.rb +423 -0
  1163. data/vendor/bundle/gems/resque-1.20.0/test/job_plugins_test.rb +230 -0
  1164. data/vendor/bundle/gems/resque-1.20.0/test/plugin_test.rb +116 -0
  1165. data/vendor/bundle/gems/resque-1.20.0/test/redis-test-cluster.conf +115 -0
  1166. data/vendor/bundle/gems/resque-1.20.0/test/redis-test.conf +115 -0
  1167. data/vendor/bundle/gems/resque-1.20.0/test/resque-web_test.rb +59 -0
  1168. data/vendor/bundle/gems/resque-1.20.0/test/resque_test.rb +278 -0
  1169. data/vendor/bundle/gems/resque-1.20.0/test/test_helper.rb +158 -0
  1170. data/vendor/bundle/gems/resque-1.20.0/test/worker_test.rb +405 -0
  1171. data/vendor/bundle/gems/resque-mongo-1.9.8.1/HISTORY.md +202 -0
  1172. data/vendor/bundle/gems/resque-mongo-1.9.8.1/LICENSE +20 -0
  1173. data/vendor/bundle/gems/resque-mongo-1.9.8.1/README.markdown +814 -0
  1174. data/vendor/bundle/gems/resque-mongo-1.9.8.1/Rakefile +60 -0
  1175. data/vendor/bundle/gems/resque-mongo-1.9.8.1/bin/resque +57 -0
  1176. data/vendor/bundle/gems/resque-mongo-1.9.8.1/bin/resque-web +23 -0
  1177. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/errors.rb +10 -0
  1178. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/failure/base.rb +61 -0
  1179. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/failure/hoptoad.rb +132 -0
  1180. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/failure/mongo.rb +41 -0
  1181. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/failure/multiple.rb +50 -0
  1182. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/failure.rb +66 -0
  1183. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/helpers.rb +71 -0
  1184. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/job.rb +209 -0
  1185. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/plugin.rb +46 -0
  1186. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/server/public/idle.png +0 -0
  1187. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/server/public/jquery-1.3.2.min.js +19 -0
  1188. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/server/public/jquery.relatize_date.js +95 -0
  1189. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/server/public/poll.png +0 -0
  1190. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/server/public/ranger.js +67 -0
  1191. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/server/public/reset.css +48 -0
  1192. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/server/public/style.css +82 -0
  1193. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/server/public/working.png +0 -0
  1194. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/server/test_helper.rb +19 -0
  1195. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/server/views/error.erb +1 -0
  1196. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/server/views/failed.erb +53 -0
  1197. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/server/views/key_sets.erb +20 -0
  1198. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/server/views/key_string.erb +11 -0
  1199. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/server/views/layout.erb +38 -0
  1200. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/server/views/next_more.erb +10 -0
  1201. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/server/views/overview.erb +4 -0
  1202. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/server/views/queues.erb +49 -0
  1203. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/server/views/stats.erb +62 -0
  1204. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/server/views/workers.erb +78 -0
  1205. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/server/views/working.erb +69 -0
  1206. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/server.rb +201 -0
  1207. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/stat.rb +55 -0
  1208. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/tasks.rb +39 -0
  1209. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/version.rb +3 -0
  1210. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque/worker.rb +481 -0
  1211. data/vendor/bundle/gems/resque-mongo-1.9.8.1/lib/resque.rb +316 -0
  1212. data/vendor/bundle/gems/resque-mongo-1.9.8.1/tasks/redis.rake +159 -0
  1213. data/vendor/bundle/gems/resque-mongo-1.9.8.1/tasks/resque.rake +2 -0
  1214. data/vendor/bundle/gems/resque-mongo-1.9.8.1/test/dump.rdb +0 -0
  1215. data/vendor/bundle/gems/resque-mongo-1.9.8.1/test/job_hooks_test.rb +302 -0
  1216. data/vendor/bundle/gems/resque-mongo-1.9.8.1/test/job_plugins_test.rb +230 -0
  1217. data/vendor/bundle/gems/resque-mongo-1.9.8.1/test/plugin_test.rb +116 -0
  1218. data/vendor/bundle/gems/resque-mongo-1.9.8.1/test/redis-test.conf +115 -0
  1219. data/vendor/bundle/gems/resque-mongo-1.9.8.1/test/resque-mongo_benchmark.rb +62 -0
  1220. data/vendor/bundle/gems/resque-mongo-1.9.8.1/test/resque-web_test.rb +34 -0
  1221. data/vendor/bundle/gems/resque-mongo-1.9.8.1/test/resque_test.rb +225 -0
  1222. data/vendor/bundle/gems/resque-mongo-1.9.8.1/test/test_helper.rb +102 -0
  1223. data/vendor/bundle/gems/resque-mongo-1.9.8.1/test/worker_test.rb +302 -0
  1224. data/vendor/bundle/gems/slim-1.2.1/.gemtest +0 -0
  1225. data/vendor/bundle/gems/slim-1.2.1/.gitignore +17 -0
  1226. data/vendor/bundle/gems/slim-1.2.1/.travis.yml +27 -0
  1227. data/vendor/bundle/gems/slim-1.2.1/.yardopts +2 -0
  1228. data/vendor/bundle/gems/slim-1.2.1/CHANGES +219 -0
  1229. data/vendor/bundle/gems/slim-1.2.1/Gemfile +25 -0
  1230. data/vendor/bundle/gems/slim-1.2.1/LICENSE +21 -0
  1231. data/vendor/bundle/gems/slim-1.2.1/README.md +411 -0
  1232. data/vendor/bundle/gems/slim-1.2.1/Rakefile +57 -0
  1233. data/vendor/bundle/gems/slim-1.2.1/benchmarks/context.rb +11 -0
  1234. data/vendor/bundle/gems/slim-1.2.1/benchmarks/profile-parser.rb +10 -0
  1235. data/vendor/bundle/gems/slim-1.2.1/benchmarks/profile-render.rb +12 -0
  1236. data/vendor/bundle/gems/slim-1.2.1/benchmarks/run-benchmarks.rb +112 -0
  1237. data/vendor/bundle/gems/slim-1.2.1/benchmarks/view.erb +23 -0
  1238. data/vendor/bundle/gems/slim-1.2.1/benchmarks/view.haml +18 -0
  1239. data/vendor/bundle/gems/slim-1.2.1/benchmarks/view.slim +17 -0
  1240. data/vendor/bundle/gems/slim-1.2.1/bin/slimrb +7 -0
  1241. data/vendor/bundle/gems/slim-1.2.1/lib/slim/command.rb +100 -0
  1242. data/vendor/bundle/gems/slim-1.2.1/lib/slim/compiler.rb +199 -0
  1243. data/vendor/bundle/gems/slim-1.2.1/lib/slim/embedded_engine.rb +203 -0
  1244. data/vendor/bundle/gems/slim-1.2.1/lib/slim/end_inserter.rb +61 -0
  1245. data/vendor/bundle/gems/slim-1.2.1/lib/slim/engine.rb +79 -0
  1246. data/vendor/bundle/gems/slim-1.2.1/lib/slim/filter.rb +41 -0
  1247. data/vendor/bundle/gems/slim-1.2.1/lib/slim/grammar.rb +23 -0
  1248. data/vendor/bundle/gems/slim-1.2.1/lib/slim/interpolation.rb +55 -0
  1249. data/vendor/bundle/gems/slim-1.2.1/lib/slim/parser.rb +462 -0
  1250. data/vendor/bundle/gems/slim-1.2.1/lib/slim/sections.rb +97 -0
  1251. data/vendor/bundle/gems/slim-1.2.1/lib/slim/template.rb +19 -0
  1252. data/vendor/bundle/gems/slim-1.2.1/lib/slim/version.rb +5 -0
  1253. data/vendor/bundle/gems/slim-1.2.1/lib/slim/wrapper.rb +57 -0
  1254. data/vendor/bundle/gems/slim-1.2.1/lib/slim.rb +14 -0
  1255. data/vendor/bundle/gems/slim-1.2.1/slim.gemspec +31 -0
  1256. data/vendor/bundle/gems/slim-1.2.1/test/rails/Rakefile +7 -0
  1257. data/vendor/bundle/gems/slim-1.2.1/test/rails/app/controllers/application_controller.rb +3 -0
  1258. data/vendor/bundle/gems/slim-1.2.1/test/rails/app/controllers/parents_controller.rb +84 -0
  1259. data/vendor/bundle/gems/slim-1.2.1/test/rails/app/controllers/slim_controller.rb +32 -0
  1260. data/vendor/bundle/gems/slim-1.2.1/test/rails/app/helpers/application_helper.rb +2 -0
  1261. data/vendor/bundle/gems/slim-1.2.1/test/rails/app/models/child.rb +3 -0
  1262. data/vendor/bundle/gems/slim-1.2.1/test/rails/app/models/parent.rb +4 -0
  1263. data/vendor/bundle/gems/slim-1.2.1/test/rails/app/views/layouts/application.html.slim +10 -0
  1264. data/vendor/bundle/gems/slim-1.2.1/test/rails/app/views/parents/_form.html.slim +7 -0
  1265. data/vendor/bundle/gems/slim-1.2.1/test/rails/app/views/parents/edit.html.slim +1 -0
  1266. data/vendor/bundle/gems/slim-1.2.1/test/rails/app/views/parents/new.html.slim +1 -0
  1267. data/vendor/bundle/gems/slim-1.2.1/test/rails/app/views/parents/show.html.slim +5 -0
  1268. data/vendor/bundle/gems/slim-1.2.1/test/rails/app/views/slim/_partial.html.slim +1 -0
  1269. data/vendor/bundle/gems/slim-1.2.1/test/rails/app/views/slim/content_for.html.slim +7 -0
  1270. data/vendor/bundle/gems/slim-1.2.1/test/rails/app/views/slim/erb.html.erb +1 -0
  1271. data/vendor/bundle/gems/slim-1.2.1/test/rails/app/views/slim/integers.html.slim +1 -0
  1272. data/vendor/bundle/gems/slim-1.2.1/test/rails/app/views/slim/nil.html.slim +1 -0
  1273. data/vendor/bundle/gems/slim-1.2.1/test/rails/app/views/slim/no_layout.html.slim +1 -0
  1274. data/vendor/bundle/gems/slim-1.2.1/test/rails/app/views/slim/normal.html.slim +1 -0
  1275. data/vendor/bundle/gems/slim-1.2.1/test/rails/app/views/slim/partial.html.slim +2 -0
  1276. data/vendor/bundle/gems/slim-1.2.1/test/rails/app/views/slim/variables.html.slim +1 -0
  1277. data/vendor/bundle/gems/slim-1.2.1/test/rails/config/application.rb +44 -0
  1278. data/vendor/bundle/gems/slim-1.2.1/test/rails/config/boot.rb +10 -0
  1279. data/vendor/bundle/gems/slim-1.2.1/test/rails/config/database.yml +4 -0
  1280. data/vendor/bundle/gems/slim-1.2.1/test/rails/config/environment.rb +5 -0
  1281. data/vendor/bundle/gems/slim-1.2.1/test/rails/config/environments/development.rb +26 -0
  1282. data/vendor/bundle/gems/slim-1.2.1/test/rails/config/environments/production.rb +49 -0
  1283. data/vendor/bundle/gems/slim-1.2.1/test/rails/config/environments/test.rb +35 -0
  1284. data/vendor/bundle/gems/slim-1.2.1/test/rails/config/initializers/backtrace_silencers.rb +7 -0
  1285. data/vendor/bundle/gems/slim-1.2.1/test/rails/config/initializers/inflections.rb +10 -0
  1286. data/vendor/bundle/gems/slim-1.2.1/test/rails/config/initializers/mime_types.rb +5 -0
  1287. data/vendor/bundle/gems/slim-1.2.1/test/rails/config/initializers/secret_token.rb +7 -0
  1288. data/vendor/bundle/gems/slim-1.2.1/test/rails/config/initializers/session_store.rb +8 -0
  1289. data/vendor/bundle/gems/slim-1.2.1/test/rails/config/locales/en.yml +5 -0
  1290. data/vendor/bundle/gems/slim-1.2.1/test/rails/config/routes.rb +60 -0
  1291. data/vendor/bundle/gems/slim-1.2.1/test/rails/config.ru +4 -0
  1292. data/vendor/bundle/gems/slim-1.2.1/test/rails/db/migrate/20101220223037_parents_and_children.rb +17 -0
  1293. data/vendor/bundle/gems/slim-1.2.1/test/rails/script/rails +6 -0
  1294. data/vendor/bundle/gems/slim-1.2.1/test/rails/test/helper.rb +10 -0
  1295. data/vendor/bundle/gems/slim-1.2.1/test/rails/test/test_slim.rb +71 -0
  1296. data/vendor/bundle/gems/slim-1.2.1/test/slim/helper.rb +206 -0
  1297. data/vendor/bundle/gems/slim-1.2.1/test/slim/test_chain_manipulation.rb +42 -0
  1298. data/vendor/bundle/gems/slim-1.2.1/test/slim/test_code_blocks.rb +68 -0
  1299. data/vendor/bundle/gems/slim-1.2.1/test/slim/test_code_escaping.rb +53 -0
  1300. data/vendor/bundle/gems/slim-1.2.1/test/slim/test_code_evaluation.rb +289 -0
  1301. data/vendor/bundle/gems/slim-1.2.1/test/slim/test_code_output.rb +168 -0
  1302. data/vendor/bundle/gems/slim-1.2.1/test/slim/test_code_structure.rb +95 -0
  1303. data/vendor/bundle/gems/slim-1.2.1/test/slim/test_embedded_engines.rb +145 -0
  1304. data/vendor/bundle/gems/slim-1.2.1/test/slim/test_encoding.rb +9 -0
  1305. data/vendor/bundle/gems/slim-1.2.1/test/slim/test_html_escaping.rb +40 -0
  1306. data/vendor/bundle/gems/slim-1.2.1/test/slim/test_html_structure.rb +579 -0
  1307. data/vendor/bundle/gems/slim-1.2.1/test/slim/test_parser_errors.rb +143 -0
  1308. data/vendor/bundle/gems/slim-1.2.1/test/slim/test_pretty.rb +75 -0
  1309. data/vendor/bundle/gems/slim-1.2.1/test/slim/test_ruby_errors.rb +210 -0
  1310. data/vendor/bundle/gems/slim-1.2.1/test/slim/test_sections.rb +90 -0
  1311. data/vendor/bundle/gems/slim-1.2.1/test/slim/test_slim_template.rb +118 -0
  1312. data/vendor/bundle/gems/slim-1.2.1/test/slim/test_text_interpolation.rb +79 -0
  1313. data/vendor/bundle/gems/slim-1.2.1/test/slim/test_wrapper.rb +39 -0
  1314. data/vendor/bundle/gems/treetop-1.4.10/LICENSE +19 -0
  1315. data/vendor/bundle/gems/treetop-1.4.10/README.md +188 -0
  1316. data/vendor/bundle/gems/treetop-1.4.10/Rakefile +60 -0
  1317. data/vendor/bundle/gems/treetop-1.4.10/bin/tt +112 -0
  1318. data/vendor/bundle/gems/treetop-1.4.10/doc/contributing_and_planned_features.markdown +102 -0
  1319. data/vendor/bundle/gems/treetop-1.4.10/doc/grammar_composition.markdown +65 -0
  1320. data/vendor/bundle/gems/treetop-1.4.10/doc/index.markdown +88 -0
  1321. data/vendor/bundle/gems/treetop-1.4.10/doc/pitfalls_and_advanced_techniques.markdown +51 -0
  1322. data/vendor/bundle/gems/treetop-1.4.10/doc/semantic_interpretation.markdown +218 -0
  1323. data/vendor/bundle/gems/treetop-1.4.10/doc/site/contribute.html +124 -0
  1324. data/vendor/bundle/gems/treetop-1.4.10/doc/site/images/bottom_background.png +0 -0
  1325. data/vendor/bundle/gems/treetop-1.4.10/doc/site/images/middle_background.png +0 -0
  1326. data/vendor/bundle/gems/treetop-1.4.10/doc/site/images/paren_language_output.png +0 -0
  1327. data/vendor/bundle/gems/treetop-1.4.10/doc/site/images/pivotal.gif +0 -0
  1328. data/vendor/bundle/gems/treetop-1.4.10/doc/site/images/top_background.png +0 -0
  1329. data/vendor/bundle/gems/treetop-1.4.10/doc/site/index.html +102 -0
  1330. data/vendor/bundle/gems/treetop-1.4.10/doc/site/pitfalls_and_advanced_techniques.html +68 -0
  1331. data/vendor/bundle/gems/treetop-1.4.10/doc/site/robots.txt +5 -0
  1332. data/vendor/bundle/gems/treetop-1.4.10/doc/site/screen.css +134 -0
  1333. data/vendor/bundle/gems/treetop-1.4.10/doc/site/semantic_interpretation.html +245 -0
  1334. data/vendor/bundle/gems/treetop-1.4.10/doc/site/syntactic_recognition.html +278 -0
  1335. data/vendor/bundle/gems/treetop-1.4.10/doc/site/using_in_ruby.html +123 -0
  1336. data/vendor/bundle/gems/treetop-1.4.10/doc/site.rb +112 -0
  1337. data/vendor/bundle/gems/treetop-1.4.10/doc/sitegen.rb +65 -0
  1338. data/vendor/bundle/gems/treetop-1.4.10/doc/syntactic_recognition.markdown +215 -0
  1339. data/vendor/bundle/gems/treetop-1.4.10/doc/using_in_ruby.markdown +105 -0
  1340. data/vendor/bundle/gems/treetop-1.4.10/examples/lambda_calculus/arithmetic.rb +551 -0
  1341. data/vendor/bundle/gems/treetop-1.4.10/examples/lambda_calculus/arithmetic.treetop +98 -0
  1342. data/vendor/bundle/gems/treetop-1.4.10/examples/lambda_calculus/arithmetic_node_classes.rb +9 -0
  1343. data/vendor/bundle/gems/treetop-1.4.10/examples/lambda_calculus/arithmetic_test.rb +58 -0
  1344. data/vendor/bundle/gems/treetop-1.4.10/examples/lambda_calculus/lambda_calculus +0 -0
  1345. data/vendor/bundle/gems/treetop-1.4.10/examples/lambda_calculus/lambda_calculus.rb +718 -0
  1346. data/vendor/bundle/gems/treetop-1.4.10/examples/lambda_calculus/lambda_calculus.treetop +132 -0
  1347. data/vendor/bundle/gems/treetop-1.4.10/examples/lambda_calculus/lambda_calculus_node_classes.rb +5 -0
  1348. data/vendor/bundle/gems/treetop-1.4.10/examples/lambda_calculus/lambda_calculus_test.rb +89 -0
  1349. data/vendor/bundle/gems/treetop-1.4.10/examples/lambda_calculus/test_helper.rb +18 -0
  1350. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/bootstrap_gen_1_metagrammar.rb +42 -0
  1351. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/grammar_compiler.rb +44 -0
  1352. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/lexical_address_space.rb +17 -0
  1353. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/metagrammar.rb +3550 -0
  1354. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/metagrammar.treetop +448 -0
  1355. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/anything_symbol.rb +18 -0
  1356. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/atomic_expression.rb +14 -0
  1357. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/character_class.rb +28 -0
  1358. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/choice.rb +31 -0
  1359. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/declaration_sequence.rb +24 -0
  1360. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/grammar.rb +28 -0
  1361. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/inline_module.rb +27 -0
  1362. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/nonterminal.rb +13 -0
  1363. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/optional.rb +19 -0
  1364. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/parenthesized_expression.rb +9 -0
  1365. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/parsing_expression.rb +146 -0
  1366. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/parsing_rule.rb +58 -0
  1367. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/predicate.rb +45 -0
  1368. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/predicate_block.rb +16 -0
  1369. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/repetition.rb +89 -0
  1370. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/sequence.rb +71 -0
  1371. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/terminal.rb +20 -0
  1372. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/transient_prefix.rb +9 -0
  1373. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/treetop_file.rb +9 -0
  1374. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes.rb +19 -0
  1375. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/ruby_builder.rb +115 -0
  1376. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler.rb +7 -0
  1377. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/polyglot.rb +9 -0
  1378. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/ruby_extensions/string.rb +42 -0
  1379. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/ruby_extensions.rb +1 -0
  1380. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/runtime/compiled_parser.rb +115 -0
  1381. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/runtime/interval_skip_list/head_node.rb +15 -0
  1382. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/runtime/interval_skip_list/interval_skip_list.rb +200 -0
  1383. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/runtime/interval_skip_list/node.rb +164 -0
  1384. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/runtime/interval_skip_list.rb +3 -0
  1385. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/runtime/syntax_node.rb +114 -0
  1386. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/runtime/terminal_parse_failure.rb +16 -0
  1387. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/runtime/terminal_syntax_node.rb +17 -0
  1388. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/runtime.rb +6 -0
  1389. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/version.rb +9 -0
  1390. data/vendor/bundle/gems/treetop-1.4.10/lib/treetop.rb +3 -0
  1391. data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/and_predicate_spec.rb +36 -0
  1392. data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/anything_symbol_spec.rb +44 -0
  1393. data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/character_class_spec.rb +276 -0
  1394. data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/choice_spec.rb +80 -0
  1395. data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/circular_compilation_spec.rb +30 -0
  1396. data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/failure_propagation_functional_spec.rb +21 -0
  1397. data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/grammar_compiler_spec.rb +91 -0
  1398. data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/grammar_spec.rb +41 -0
  1399. data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/multibyte_chars_spec.rb +39 -0
  1400. data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/namespace_spec.rb +42 -0
  1401. data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/nonterminal_symbol_spec.rb +40 -0
  1402. data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/not_predicate_spec.rb +38 -0
  1403. data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/occurrence_range_spec.rb +189 -0
  1404. data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/one_or_more_spec.rb +35 -0
  1405. data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/optional_spec.rb +37 -0
  1406. data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/parenthesized_expression_spec.rb +19 -0
  1407. data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/parsing_rule_spec.rb +61 -0
  1408. data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/repeated_subrule_spec.rb +29 -0
  1409. data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/semantic_predicate_spec.rb +175 -0
  1410. data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/sequence_spec.rb +115 -0
  1411. data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/terminal_spec.rb +81 -0
  1412. data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/terminal_symbol_spec.rb +37 -0
  1413. data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/test_grammar.treetop +7 -0
  1414. data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/test_grammar.tt +7 -0
  1415. data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/test_grammar_do.treetop +7 -0
  1416. data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/tt_compiler_spec.rb +217 -0
  1417. data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/zero_or_more_spec.rb +56 -0
  1418. data/vendor/bundle/gems/treetop-1.4.10/spec/composition/a.treetop +11 -0
  1419. data/vendor/bundle/gems/treetop-1.4.10/spec/composition/b.treetop +11 -0
  1420. data/vendor/bundle/gems/treetop-1.4.10/spec/composition/c.treetop +10 -0
  1421. data/vendor/bundle/gems/treetop-1.4.10/spec/composition/d.treetop +10 -0
  1422. data/vendor/bundle/gems/treetop-1.4.10/spec/composition/f.treetop +17 -0
  1423. data/vendor/bundle/gems/treetop-1.4.10/spec/composition/grammar_composition_spec.rb +40 -0
  1424. data/vendor/bundle/gems/treetop-1.4.10/spec/composition/subfolder/e_includes_c.treetop +15 -0
  1425. data/vendor/bundle/gems/treetop-1.4.10/spec/ruby_extensions/string_spec.rb +32 -0
  1426. data/vendor/bundle/gems/treetop-1.4.10/spec/runtime/compiled_parser_spec.rb +123 -0
  1427. data/vendor/bundle/gems/treetop-1.4.10/spec/runtime/interval_skip_list/delete_spec.rb +147 -0
  1428. data/vendor/bundle/gems/treetop-1.4.10/spec/runtime/interval_skip_list/expire_range_spec.rb +349 -0
  1429. data/vendor/bundle/gems/treetop-1.4.10/spec/runtime/interval_skip_list/insert_and_delete_node_spec.rb +385 -0
  1430. data/vendor/bundle/gems/treetop-1.4.10/spec/runtime/interval_skip_list/insert_spec.rb +660 -0
  1431. data/vendor/bundle/gems/treetop-1.4.10/spec/runtime/interval_skip_list/interval_skip_list_spec.graffle +6175 -0
  1432. data/vendor/bundle/gems/treetop-1.4.10/spec/runtime/interval_skip_list/interval_skip_list_spec.rb +58 -0
  1433. data/vendor/bundle/gems/treetop-1.4.10/spec/runtime/interval_skip_list/palindromic_fixture.rb +35 -0
  1434. data/vendor/bundle/gems/treetop-1.4.10/spec/runtime/interval_skip_list/palindromic_fixture_spec.rb +163 -0
  1435. data/vendor/bundle/gems/treetop-1.4.10/spec/runtime/interval_skip_list/spec_helper.rb +91 -0
  1436. data/vendor/bundle/gems/treetop-1.4.10/spec/runtime/syntax_node_spec.rb +77 -0
  1437. data/vendor/bundle/gems/treetop-1.4.10/spec/spec_helper.rb +114 -0
  1438. data/vendor/bundle/gems/treetop-1.4.10/treetop.gemspec +186 -0
  1439. data/vendor/bundle/gems/vegas-0.1.11/History.txt +69 -0
  1440. data/vendor/bundle/gems/vegas-0.1.11/LICENSE +22 -0
  1441. data/vendor/bundle/gems/vegas-0.1.11/README.rdoc +47 -0
  1442. data/vendor/bundle/gems/vegas-0.1.11/Rakefile +47 -0
  1443. data/vendor/bundle/gems/vegas-0.1.11/lib/vegas/runner.rb +404 -0
  1444. data/vendor/bundle/gems/vegas-0.1.11/lib/vegas.rb +16 -0
  1445. data/vendor/bundle/gems/vegas-0.1.11/test/apps.rb +26 -0
  1446. data/vendor/bundle/gems/vegas-0.1.11/test/test_app/bin/test_app +9 -0
  1447. data/vendor/bundle/gems/vegas-0.1.11/test/test_app/bin/test_rack_app +12 -0
  1448. data/vendor/bundle/gems/vegas-0.1.11/test/test_app/test_app.rb +10 -0
  1449. data/vendor/bundle/gems/vegas-0.1.11/test/test_helper.rb +57 -0
  1450. data/vendor/bundle/gems/vegas-0.1.11/test/test_vegas_runner.rb +191 -0
  1451. data/vendor/bundle/gems/vegas-0.1.11/vegas.gemspec +61 -0
  1452. data/vendor/bundle/specifications/carrierwave-0.6.2.gemspec +65 -0
  1453. data/vendor/bundle/specifications/carrierwave-mongoid-0.2.1.gemspec +44 -0
  1454. data/vendor/bundle/specifications/coffee-script-source-1.3.3.gemspec +26 -0
  1455. data/vendor/bundle/specifications/dragonfly-0.9.12.gemspec +85 -0
  1456. data/vendor/bundle/specifications/execjs-1.4.0.gemspec +31 -0
  1457. data/vendor/bundle/specifications/haml-3.1.6.gemspec +34 -0
  1458. data/vendor/bundle/specifications/json-1.7.3.gemspec +36 -0
  1459. data/vendor/bundle/specifications/mail-2.4.4.gemspec +36 -0
  1460. data/vendor/bundle/specifications/mime-types-1.18.gemspec +56 -0
  1461. data/vendor/bundle/specifications/polyglot-0.3.3.gemspec +28 -0
  1462. data/vendor/bundle/specifications/qu-0.1.4.gemspec +28 -0
  1463. data/vendor/bundle/specifications/qu-mongo-0.1.4.gemspec +34 -0
  1464. data/vendor/bundle/specifications/redis-2.2.2.gemspec +27 -0
  1465. data/vendor/bundle/specifications/redis-namespace-1.0.3.gemspec +28 -0
  1466. data/vendor/bundle/specifications/resque-1.20.0.gemspec +41 -0
  1467. data/vendor/bundle/specifications/resque-mongo-1.9.8.1.gemspec +41 -0
  1468. data/vendor/bundle/specifications/slim-1.2.1.gemspec +54 -0
  1469. data/vendor/bundle/specifications/treetop-1.4.10.gemspec +53 -0
  1470. data/vendor/bundle/specifications/vegas-0.1.11.gemspec +40 -0
  1471. metadata +1495 -9
  1472. data/lib/classiccms/public/uploadify.swf +0 -0
  1473. data/lib/classiccms/scaffold/models/Article.rb +0 -3
  1474. data/lib/classiccms/scaffold/rackup.ru +0 -15
@@ -0,0 +1,3550 @@
1
+ # Autogenerated from a Treetop grammar. Edits may be lost.
2
+
3
+
4
+ module Treetop
5
+ module Compiler
6
+ module Metagrammar
7
+ include Treetop::Runtime
8
+
9
+ def root
10
+ @root ||= :treetop_file
11
+ end
12
+
13
+ module TreetopFile0
14
+ def require_statement
15
+ elements[1]
16
+ end
17
+ end
18
+
19
+ module TreetopFile1
20
+ def requires
21
+ elements[0]
22
+ end
23
+
24
+ def prefix
25
+ elements[1]
26
+ end
27
+
28
+ def module_or_grammar
29
+ elements[2]
30
+ end
31
+
32
+ def suffix
33
+ elements[3]
34
+ end
35
+ end
36
+
37
+ module TreetopFile2
38
+ def compile
39
+ requires.text_value + prefix.text_value + module_or_grammar.compile + suffix.text_value
40
+ end
41
+ end
42
+
43
+ def _nt_treetop_file
44
+ start_index = index
45
+ if node_cache[:treetop_file].has_key?(index)
46
+ cached = node_cache[:treetop_file][index]
47
+ if cached
48
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
49
+ @index = cached.interval.end
50
+ end
51
+ return cached
52
+ end
53
+
54
+ i0, s0 = index, []
55
+ s1, i1 = [], index
56
+ loop do
57
+ i2, s2 = index, []
58
+ r4 = _nt_space
59
+ if r4
60
+ r3 = r4
61
+ else
62
+ r3 = instantiate_node(SyntaxNode,input, index...index)
63
+ end
64
+ s2 << r3
65
+ if r3
66
+ r5 = _nt_require_statement
67
+ s2 << r5
68
+ end
69
+ if s2.last
70
+ r2 = instantiate_node(SyntaxNode,input, i2...index, s2)
71
+ r2.extend(TreetopFile0)
72
+ else
73
+ @index = i2
74
+ r2 = nil
75
+ end
76
+ if r2
77
+ s1 << r2
78
+ else
79
+ break
80
+ end
81
+ end
82
+ r1 = instantiate_node(SyntaxNode,input, i1...index, s1)
83
+ s0 << r1
84
+ if r1
85
+ r7 = _nt_space
86
+ if r7
87
+ r6 = r7
88
+ else
89
+ r6 = instantiate_node(SyntaxNode,input, index...index)
90
+ end
91
+ s0 << r6
92
+ if r6
93
+ r8 = _nt_module_or_grammar
94
+ s0 << r8
95
+ if r8
96
+ r10 = _nt_space
97
+ if r10
98
+ r9 = r10
99
+ else
100
+ r9 = instantiate_node(SyntaxNode,input, index...index)
101
+ end
102
+ s0 << r9
103
+ end
104
+ end
105
+ end
106
+ if s0.last
107
+ r0 = instantiate_node(SyntaxNode,input, i0...index, s0)
108
+ r0.extend(TreetopFile1)
109
+ r0.extend(TreetopFile2)
110
+ else
111
+ @index = i0
112
+ r0 = nil
113
+ end
114
+
115
+ node_cache[:treetop_file][start_index] = r0
116
+
117
+ r0
118
+ end
119
+
120
+ module RequireStatement0
121
+ def prefix
122
+ elements[0]
123
+ end
124
+
125
+ end
126
+
127
+ def _nt_require_statement
128
+ start_index = index
129
+ if node_cache[:require_statement].has_key?(index)
130
+ cached = node_cache[:require_statement][index]
131
+ if cached
132
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
133
+ @index = cached.interval.end
134
+ end
135
+ return cached
136
+ end
137
+
138
+ i0, s0 = index, []
139
+ r2 = _nt_space
140
+ if r2
141
+ r1 = r2
142
+ else
143
+ r1 = instantiate_node(SyntaxNode,input, index...index)
144
+ end
145
+ s0 << r1
146
+ if r1
147
+ if has_terminal?("require", false, index)
148
+ r3 = instantiate_node(SyntaxNode,input, index...(index + 7))
149
+ @index += 7
150
+ else
151
+ terminal_parse_failure("require")
152
+ r3 = nil
153
+ end
154
+ s0 << r3
155
+ if r3
156
+ s4, i4 = [], index
157
+ loop do
158
+ if has_terminal?('\G[ \\t]', true, index)
159
+ r5 = true
160
+ @index += 1
161
+ else
162
+ r5 = nil
163
+ end
164
+ if r5
165
+ s4 << r5
166
+ else
167
+ break
168
+ end
169
+ end
170
+ if s4.empty?
171
+ @index = i4
172
+ r4 = nil
173
+ else
174
+ r4 = instantiate_node(SyntaxNode,input, i4...index, s4)
175
+ end
176
+ s0 << r4
177
+ if r4
178
+ s6, i6 = [], index
179
+ loop do
180
+ if has_terminal?('\G[^\\n\\r]', true, index)
181
+ r7 = true
182
+ @index += 1
183
+ else
184
+ r7 = nil
185
+ end
186
+ if r7
187
+ s6 << r7
188
+ else
189
+ break
190
+ end
191
+ end
192
+ if s6.empty?
193
+ @index = i6
194
+ r6 = nil
195
+ else
196
+ r6 = instantiate_node(SyntaxNode,input, i6...index, s6)
197
+ end
198
+ s0 << r6
199
+ if r6
200
+ if has_terminal?('\G[\\n\\r]', true, index)
201
+ r8 = true
202
+ @index += 1
203
+ else
204
+ r8 = nil
205
+ end
206
+ s0 << r8
207
+ end
208
+ end
209
+ end
210
+ end
211
+ if s0.last
212
+ r0 = instantiate_node(SyntaxNode,input, i0...index, s0)
213
+ r0.extend(RequireStatement0)
214
+ else
215
+ @index = i0
216
+ r0 = nil
217
+ end
218
+
219
+ node_cache[:require_statement][start_index] = r0
220
+
221
+ r0
222
+ end
223
+
224
+ def _nt_module_or_grammar
225
+ start_index = index
226
+ if node_cache[:module_or_grammar].has_key?(index)
227
+ cached = node_cache[:module_or_grammar][index]
228
+ if cached
229
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
230
+ @index = cached.interval.end
231
+ end
232
+ return cached
233
+ end
234
+
235
+ i0 = index
236
+ r1 = _nt_module_declaration
237
+ if r1
238
+ r0 = r1
239
+ else
240
+ r2 = _nt_grammar
241
+ if r2
242
+ r0 = r2
243
+ else
244
+ @index = i0
245
+ r0 = nil
246
+ end
247
+ end
248
+
249
+ node_cache[:module_or_grammar][start_index] = r0
250
+
251
+ r0
252
+ end
253
+
254
+ module ModuleDeclaration0
255
+ end
256
+
257
+ module ModuleDeclaration1
258
+ end
259
+
260
+ module ModuleDeclaration2
261
+ def space1
262
+ elements[1]
263
+ end
264
+
265
+ def name
266
+ elements[2]
267
+ end
268
+
269
+ def space2
270
+ elements[3]
271
+ end
272
+ end
273
+
274
+ module ModuleDeclaration3
275
+ def space
276
+ elements[0]
277
+ end
278
+
279
+ end
280
+
281
+ module ModuleDeclaration4
282
+ def prefix
283
+ elements[0]
284
+ end
285
+
286
+ def module_contents
287
+ elements[1]
288
+ end
289
+
290
+ def suffix
291
+ elements[2]
292
+ end
293
+ end
294
+
295
+ module ModuleDeclaration5
296
+ def compile
297
+ prefix.text_value + module_contents.compile + suffix.text_value
298
+ end
299
+
300
+ def parser_name
301
+ prefix.name.text_value+'::'+module_contents.parser_name
302
+ end
303
+ end
304
+
305
+ def _nt_module_declaration
306
+ start_index = index
307
+ if node_cache[:module_declaration].has_key?(index)
308
+ cached = node_cache[:module_declaration][index]
309
+ if cached
310
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
311
+ @index = cached.interval.end
312
+ end
313
+ return cached
314
+ end
315
+
316
+ i0, s0 = index, []
317
+ i1, s1 = index, []
318
+ if has_terminal?('module', false, index)
319
+ r2 = instantiate_node(SyntaxNode,input, index...(index + 6))
320
+ @index += 6
321
+ else
322
+ terminal_parse_failure('module')
323
+ r2 = nil
324
+ end
325
+ s1 << r2
326
+ if r2
327
+ r3 = _nt_space
328
+ s1 << r3
329
+ if r3
330
+ i4, s4 = index, []
331
+ if has_terminal?('\G[A-Z]', true, index)
332
+ r5 = true
333
+ @index += 1
334
+ else
335
+ r5 = nil
336
+ end
337
+ s4 << r5
338
+ if r5
339
+ s6, i6 = [], index
340
+ loop do
341
+ r7 = _nt_alphanumeric_char
342
+ if r7
343
+ s6 << r7
344
+ else
345
+ break
346
+ end
347
+ end
348
+ r6 = instantiate_node(SyntaxNode,input, i6...index, s6)
349
+ s4 << r6
350
+ if r6
351
+ s8, i8 = [], index
352
+ loop do
353
+ i9, s9 = index, []
354
+ if has_terminal?('::', false, index)
355
+ r10 = instantiate_node(SyntaxNode,input, index...(index + 2))
356
+ @index += 2
357
+ else
358
+ terminal_parse_failure('::')
359
+ r10 = nil
360
+ end
361
+ s9 << r10
362
+ if r10
363
+ if has_terminal?('\G[A-Z]', true, index)
364
+ r11 = true
365
+ @index += 1
366
+ else
367
+ r11 = nil
368
+ end
369
+ s9 << r11
370
+ if r11
371
+ s12, i12 = [], index
372
+ loop do
373
+ r13 = _nt_alphanumeric_char
374
+ if r13
375
+ s12 << r13
376
+ else
377
+ break
378
+ end
379
+ end
380
+ r12 = instantiate_node(SyntaxNode,input, i12...index, s12)
381
+ s9 << r12
382
+ end
383
+ end
384
+ if s9.last
385
+ r9 = instantiate_node(SyntaxNode,input, i9...index, s9)
386
+ r9.extend(ModuleDeclaration0)
387
+ else
388
+ @index = i9
389
+ r9 = nil
390
+ end
391
+ if r9
392
+ s8 << r9
393
+ else
394
+ break
395
+ end
396
+ end
397
+ r8 = instantiate_node(SyntaxNode,input, i8...index, s8)
398
+ s4 << r8
399
+ end
400
+ end
401
+ if s4.last
402
+ r4 = instantiate_node(SyntaxNode,input, i4...index, s4)
403
+ r4.extend(ModuleDeclaration1)
404
+ else
405
+ @index = i4
406
+ r4 = nil
407
+ end
408
+ s1 << r4
409
+ if r4
410
+ r14 = _nt_space
411
+ s1 << r14
412
+ end
413
+ end
414
+ end
415
+ if s1.last
416
+ r1 = instantiate_node(SyntaxNode,input, i1...index, s1)
417
+ r1.extend(ModuleDeclaration2)
418
+ else
419
+ @index = i1
420
+ r1 = nil
421
+ end
422
+ s0 << r1
423
+ if r1
424
+ i15 = index
425
+ r16 = _nt_module_declaration
426
+ if r16
427
+ r15 = r16
428
+ else
429
+ r17 = _nt_grammar
430
+ if r17
431
+ r15 = r17
432
+ else
433
+ @index = i15
434
+ r15 = nil
435
+ end
436
+ end
437
+ s0 << r15
438
+ if r15
439
+ i18, s18 = index, []
440
+ r19 = _nt_space
441
+ s18 << r19
442
+ if r19
443
+ if has_terminal?('end', false, index)
444
+ r20 = instantiate_node(SyntaxNode,input, index...(index + 3))
445
+ @index += 3
446
+ else
447
+ terminal_parse_failure('end')
448
+ r20 = nil
449
+ end
450
+ s18 << r20
451
+ end
452
+ if s18.last
453
+ r18 = instantiate_node(SyntaxNode,input, i18...index, s18)
454
+ r18.extend(ModuleDeclaration3)
455
+ else
456
+ @index = i18
457
+ r18 = nil
458
+ end
459
+ s0 << r18
460
+ end
461
+ end
462
+ if s0.last
463
+ r0 = instantiate_node(SyntaxNode,input, i0...index, s0)
464
+ r0.extend(ModuleDeclaration4)
465
+ r0.extend(ModuleDeclaration5)
466
+ else
467
+ @index = i0
468
+ r0 = nil
469
+ end
470
+
471
+ node_cache[:module_declaration][start_index] = r0
472
+
473
+ r0
474
+ end
475
+
476
+ module Grammar0
477
+ def space
478
+ elements[1]
479
+ end
480
+ end
481
+
482
+ module Grammar1
483
+ def space1
484
+ elements[1]
485
+ end
486
+
487
+ def grammar_name
488
+ elements[2]
489
+ end
490
+
491
+ def space2
492
+ elements[3]
493
+ end
494
+
495
+ def declaration_sequence
496
+ elements[5]
497
+ end
498
+
499
+ end
500
+
501
+ def _nt_grammar
502
+ start_index = index
503
+ if node_cache[:grammar].has_key?(index)
504
+ cached = node_cache[:grammar][index]
505
+ if cached
506
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
507
+ @index = cached.interval.end
508
+ end
509
+ return cached
510
+ end
511
+
512
+ i0, s0 = index, []
513
+ if has_terminal?('grammar', false, index)
514
+ r1 = instantiate_node(SyntaxNode,input, index...(index + 7))
515
+ @index += 7
516
+ else
517
+ terminal_parse_failure('grammar')
518
+ r1 = nil
519
+ end
520
+ s0 << r1
521
+ if r1
522
+ r2 = _nt_space
523
+ s0 << r2
524
+ if r2
525
+ r3 = _nt_grammar_name
526
+ s0 << r3
527
+ if r3
528
+ r4 = _nt_space
529
+ s0 << r4
530
+ if r4
531
+ i6, s6 = index, []
532
+ if has_terminal?('do', false, index)
533
+ r7 = instantiate_node(SyntaxNode,input, index...(index + 2))
534
+ @index += 2
535
+ else
536
+ terminal_parse_failure('do')
537
+ r7 = nil
538
+ end
539
+ s6 << r7
540
+ if r7
541
+ r8 = _nt_space
542
+ s6 << r8
543
+ end
544
+ if s6.last
545
+ r6 = instantiate_node(SyntaxNode,input, i6...index, s6)
546
+ r6.extend(Grammar0)
547
+ else
548
+ @index = i6
549
+ r6 = nil
550
+ end
551
+ if r6
552
+ r5 = r6
553
+ else
554
+ r5 = instantiate_node(SyntaxNode,input, index...index)
555
+ end
556
+ s0 << r5
557
+ if r5
558
+ r9 = _nt_declaration_sequence
559
+ s0 << r9
560
+ if r9
561
+ r11 = _nt_space
562
+ if r11
563
+ r10 = r11
564
+ else
565
+ r10 = instantiate_node(SyntaxNode,input, index...index)
566
+ end
567
+ s0 << r10
568
+ if r10
569
+ if has_terminal?('end', false, index)
570
+ r12 = instantiate_node(SyntaxNode,input, index...(index + 3))
571
+ @index += 3
572
+ else
573
+ terminal_parse_failure('end')
574
+ r12 = nil
575
+ end
576
+ s0 << r12
577
+ end
578
+ end
579
+ end
580
+ end
581
+ end
582
+ end
583
+ end
584
+ if s0.last
585
+ r0 = instantiate_node(Grammar,input, i0...index, s0)
586
+ r0.extend(Grammar1)
587
+ else
588
+ @index = i0
589
+ r0 = nil
590
+ end
591
+
592
+ node_cache[:grammar][start_index] = r0
593
+
594
+ r0
595
+ end
596
+
597
+ module GrammarName0
598
+ end
599
+
600
+ def _nt_grammar_name
601
+ start_index = index
602
+ if node_cache[:grammar_name].has_key?(index)
603
+ cached = node_cache[:grammar_name][index]
604
+ if cached
605
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
606
+ @index = cached.interval.end
607
+ end
608
+ return cached
609
+ end
610
+
611
+ i0, s0 = index, []
612
+ if has_terminal?('\G[A-Z]', true, index)
613
+ r1 = true
614
+ @index += 1
615
+ else
616
+ r1 = nil
617
+ end
618
+ s0 << r1
619
+ if r1
620
+ s2, i2 = [], index
621
+ loop do
622
+ r3 = _nt_alphanumeric_char
623
+ if r3
624
+ s2 << r3
625
+ else
626
+ break
627
+ end
628
+ end
629
+ r2 = instantiate_node(SyntaxNode,input, i2...index, s2)
630
+ s0 << r2
631
+ end
632
+ if s0.last
633
+ r0 = instantiate_node(SyntaxNode,input, i0...index, s0)
634
+ r0.extend(GrammarName0)
635
+ else
636
+ @index = i0
637
+ r0 = nil
638
+ end
639
+
640
+ node_cache[:grammar_name][start_index] = r0
641
+
642
+ r0
643
+ end
644
+
645
+ module DeclarationSequence0
646
+ def space
647
+ elements[0]
648
+ end
649
+
650
+ def declaration
651
+ elements[1]
652
+ end
653
+ end
654
+
655
+ module DeclarationSequence1
656
+ def head
657
+ elements[0]
658
+ end
659
+
660
+ def tail
661
+ elements[1]
662
+ end
663
+ end
664
+
665
+ module DeclarationSequence2
666
+ def declarations
667
+ [head] + tail
668
+ end
669
+
670
+ def tail
671
+ super.elements.map { |elt| elt.declaration }
672
+ end
673
+ end
674
+
675
+ module DeclarationSequence3
676
+ def compile(builder)
677
+ end
678
+ end
679
+
680
+ def _nt_declaration_sequence
681
+ start_index = index
682
+ if node_cache[:declaration_sequence].has_key?(index)
683
+ cached = node_cache[:declaration_sequence][index]
684
+ if cached
685
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
686
+ @index = cached.interval.end
687
+ end
688
+ return cached
689
+ end
690
+
691
+ i0 = index
692
+ i1, s1 = index, []
693
+ r2 = _nt_declaration
694
+ s1 << r2
695
+ if r2
696
+ s3, i3 = [], index
697
+ loop do
698
+ i4, s4 = index, []
699
+ r5 = _nt_space
700
+ s4 << r5
701
+ if r5
702
+ r6 = _nt_declaration
703
+ s4 << r6
704
+ end
705
+ if s4.last
706
+ r4 = instantiate_node(SyntaxNode,input, i4...index, s4)
707
+ r4.extend(DeclarationSequence0)
708
+ else
709
+ @index = i4
710
+ r4 = nil
711
+ end
712
+ if r4
713
+ s3 << r4
714
+ else
715
+ break
716
+ end
717
+ end
718
+ r3 = instantiate_node(SyntaxNode,input, i3...index, s3)
719
+ s1 << r3
720
+ end
721
+ if s1.last
722
+ r1 = instantiate_node(DeclarationSequence,input, i1...index, s1)
723
+ r1.extend(DeclarationSequence1)
724
+ r1.extend(DeclarationSequence2)
725
+ else
726
+ @index = i1
727
+ r1 = nil
728
+ end
729
+ if r1
730
+ r0 = r1
731
+ else
732
+ if has_terminal?('', false, index)
733
+ r7 = instantiate_node(SyntaxNode,input, index...(index + 0))
734
+ r7.extend(DeclarationSequence3)
735
+ @index += 0
736
+ else
737
+ terminal_parse_failure('')
738
+ r7 = nil
739
+ end
740
+ if r7
741
+ r0 = r7
742
+ else
743
+ @index = i0
744
+ r0 = nil
745
+ end
746
+ end
747
+
748
+ node_cache[:declaration_sequence][start_index] = r0
749
+
750
+ r0
751
+ end
752
+
753
+ def _nt_declaration
754
+ start_index = index
755
+ if node_cache[:declaration].has_key?(index)
756
+ cached = node_cache[:declaration][index]
757
+ if cached
758
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
759
+ @index = cached.interval.end
760
+ end
761
+ return cached
762
+ end
763
+
764
+ i0 = index
765
+ r1 = _nt_parsing_rule
766
+ if r1
767
+ r0 = r1
768
+ else
769
+ r2 = _nt_include_declaration
770
+ if r2
771
+ r0 = r2
772
+ else
773
+ @index = i0
774
+ r0 = nil
775
+ end
776
+ end
777
+
778
+ node_cache[:declaration][start_index] = r0
779
+
780
+ r0
781
+ end
782
+
783
+ module IncludeDeclaration0
784
+ def space
785
+ elements[1]
786
+ end
787
+
788
+ end
789
+
790
+ module IncludeDeclaration1
791
+ def compile(builder)
792
+ builder << text_value
793
+ end
794
+ end
795
+
796
+ def _nt_include_declaration
797
+ start_index = index
798
+ if node_cache[:include_declaration].has_key?(index)
799
+ cached = node_cache[:include_declaration][index]
800
+ if cached
801
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
802
+ @index = cached.interval.end
803
+ end
804
+ return cached
805
+ end
806
+
807
+ i0, s0 = index, []
808
+ if has_terminal?('include', false, index)
809
+ r1 = instantiate_node(SyntaxNode,input, index...(index + 7))
810
+ @index += 7
811
+ else
812
+ terminal_parse_failure('include')
813
+ r1 = nil
814
+ end
815
+ s0 << r1
816
+ if r1
817
+ r2 = _nt_space
818
+ s0 << r2
819
+ if r2
820
+ if has_terminal?('\G[A-Z]', true, index)
821
+ r3 = true
822
+ @index += 1
823
+ else
824
+ r3 = nil
825
+ end
826
+ s0 << r3
827
+ if r3
828
+ s4, i4 = [], index
829
+ loop do
830
+ i5 = index
831
+ r6 = _nt_alphanumeric_char
832
+ if r6
833
+ r5 = r6
834
+ else
835
+ if has_terminal?('::', false, index)
836
+ r7 = instantiate_node(SyntaxNode,input, index...(index + 2))
837
+ @index += 2
838
+ else
839
+ terminal_parse_failure('::')
840
+ r7 = nil
841
+ end
842
+ if r7
843
+ r5 = r7
844
+ else
845
+ @index = i5
846
+ r5 = nil
847
+ end
848
+ end
849
+ if r5
850
+ s4 << r5
851
+ else
852
+ break
853
+ end
854
+ end
855
+ r4 = instantiate_node(SyntaxNode,input, i4...index, s4)
856
+ s0 << r4
857
+ end
858
+ end
859
+ end
860
+ if s0.last
861
+ r0 = instantiate_node(SyntaxNode,input, i0...index, s0)
862
+ r0.extend(IncludeDeclaration0)
863
+ r0.extend(IncludeDeclaration1)
864
+ else
865
+ @index = i0
866
+ r0 = nil
867
+ end
868
+
869
+ node_cache[:include_declaration][start_index] = r0
870
+
871
+ r0
872
+ end
873
+
874
+ module ParsingRule0
875
+ def space
876
+ elements[1]
877
+ end
878
+ end
879
+
880
+ module ParsingRule1
881
+ def space1
882
+ elements[1]
883
+ end
884
+
885
+ def nonterminal
886
+ elements[2]
887
+ end
888
+
889
+ def space2
890
+ elements[3]
891
+ end
892
+
893
+ def parsing_expression
894
+ elements[5]
895
+ end
896
+
897
+ def space3
898
+ elements[6]
899
+ end
900
+
901
+ end
902
+
903
+ def _nt_parsing_rule
904
+ start_index = index
905
+ if node_cache[:parsing_rule].has_key?(index)
906
+ cached = node_cache[:parsing_rule][index]
907
+ if cached
908
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
909
+ @index = cached.interval.end
910
+ end
911
+ return cached
912
+ end
913
+
914
+ i0, s0 = index, []
915
+ if has_terminal?('rule', false, index)
916
+ r1 = instantiate_node(SyntaxNode,input, index...(index + 4))
917
+ @index += 4
918
+ else
919
+ terminal_parse_failure('rule')
920
+ r1 = nil
921
+ end
922
+ s0 << r1
923
+ if r1
924
+ r2 = _nt_space
925
+ s0 << r2
926
+ if r2
927
+ r3 = _nt_nonterminal
928
+ s0 << r3
929
+ if r3
930
+ r4 = _nt_space
931
+ s0 << r4
932
+ if r4
933
+ i6, s6 = index, []
934
+ if has_terminal?('do', false, index)
935
+ r7 = instantiate_node(SyntaxNode,input, index...(index + 2))
936
+ @index += 2
937
+ else
938
+ terminal_parse_failure('do')
939
+ r7 = nil
940
+ end
941
+ s6 << r7
942
+ if r7
943
+ r8 = _nt_space
944
+ s6 << r8
945
+ end
946
+ if s6.last
947
+ r6 = instantiate_node(SyntaxNode,input, i6...index, s6)
948
+ r6.extend(ParsingRule0)
949
+ else
950
+ @index = i6
951
+ r6 = nil
952
+ end
953
+ if r6
954
+ r5 = r6
955
+ else
956
+ r5 = instantiate_node(SyntaxNode,input, index...index)
957
+ end
958
+ s0 << r5
959
+ if r5
960
+ r9 = _nt_parsing_expression
961
+ s0 << r9
962
+ if r9
963
+ r10 = _nt_space
964
+ s0 << r10
965
+ if r10
966
+ if has_terminal?('end', false, index)
967
+ r11 = instantiate_node(SyntaxNode,input, index...(index + 3))
968
+ @index += 3
969
+ else
970
+ terminal_parse_failure('end')
971
+ r11 = nil
972
+ end
973
+ s0 << r11
974
+ end
975
+ end
976
+ end
977
+ end
978
+ end
979
+ end
980
+ end
981
+ if s0.last
982
+ r0 = instantiate_node(ParsingRule,input, i0...index, s0)
983
+ r0.extend(ParsingRule1)
984
+ else
985
+ @index = i0
986
+ r0 = nil
987
+ end
988
+
989
+ node_cache[:parsing_rule][start_index] = r0
990
+
991
+ r0
992
+ end
993
+
994
+ def _nt_parsing_expression
995
+ start_index = index
996
+ if node_cache[:parsing_expression].has_key?(index)
997
+ cached = node_cache[:parsing_expression][index]
998
+ if cached
999
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
1000
+ @index = cached.interval.end
1001
+ end
1002
+ return cached
1003
+ end
1004
+
1005
+ i0 = index
1006
+ r1 = _nt_choice
1007
+ if r1
1008
+ r0 = r1
1009
+ else
1010
+ r2 = _nt_sequence
1011
+ if r2
1012
+ r0 = r2
1013
+ else
1014
+ r3 = _nt_primary
1015
+ if r3
1016
+ r0 = r3
1017
+ else
1018
+ @index = i0
1019
+ r0 = nil
1020
+ end
1021
+ end
1022
+ end
1023
+
1024
+ node_cache[:parsing_expression][start_index] = r0
1025
+
1026
+ r0
1027
+ end
1028
+
1029
+ module Choice0
1030
+ def alternative
1031
+ elements[3]
1032
+ end
1033
+ end
1034
+
1035
+ module Choice1
1036
+ def head
1037
+ elements[0]
1038
+ end
1039
+
1040
+ def tail
1041
+ elements[1]
1042
+ end
1043
+ end
1044
+
1045
+ module Choice2
1046
+ def alternatives
1047
+ [head] + tail
1048
+ end
1049
+
1050
+ def tail
1051
+ super.elements.map {|elt| elt.alternative}
1052
+ end
1053
+
1054
+ def inline_modules
1055
+ (alternatives.map {|alt| alt.inline_modules }).flatten
1056
+ end
1057
+ end
1058
+
1059
+ def _nt_choice
1060
+ start_index = index
1061
+ if node_cache[:choice].has_key?(index)
1062
+ cached = node_cache[:choice][index]
1063
+ if cached
1064
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
1065
+ @index = cached.interval.end
1066
+ end
1067
+ return cached
1068
+ end
1069
+
1070
+ i0, s0 = index, []
1071
+ r1 = _nt_alternative
1072
+ s0 << r1
1073
+ if r1
1074
+ s2, i2 = [], index
1075
+ loop do
1076
+ i3, s3 = index, []
1077
+ r5 = _nt_space
1078
+ if r5
1079
+ r4 = r5
1080
+ else
1081
+ r4 = instantiate_node(SyntaxNode,input, index...index)
1082
+ end
1083
+ s3 << r4
1084
+ if r4
1085
+ if has_terminal?('/', false, index)
1086
+ r6 = instantiate_node(SyntaxNode,input, index...(index + 1))
1087
+ @index += 1
1088
+ else
1089
+ terminal_parse_failure('/')
1090
+ r6 = nil
1091
+ end
1092
+ s3 << r6
1093
+ if r6
1094
+ r8 = _nt_space
1095
+ if r8
1096
+ r7 = r8
1097
+ else
1098
+ r7 = instantiate_node(SyntaxNode,input, index...index)
1099
+ end
1100
+ s3 << r7
1101
+ if r7
1102
+ r9 = _nt_alternative
1103
+ s3 << r9
1104
+ end
1105
+ end
1106
+ end
1107
+ if s3.last
1108
+ r3 = instantiate_node(SyntaxNode,input, i3...index, s3)
1109
+ r3.extend(Choice0)
1110
+ else
1111
+ @index = i3
1112
+ r3 = nil
1113
+ end
1114
+ if r3
1115
+ s2 << r3
1116
+ else
1117
+ break
1118
+ end
1119
+ end
1120
+ if s2.empty?
1121
+ @index = i2
1122
+ r2 = nil
1123
+ else
1124
+ r2 = instantiate_node(SyntaxNode,input, i2...index, s2)
1125
+ end
1126
+ s0 << r2
1127
+ end
1128
+ if s0.last
1129
+ r0 = instantiate_node(Choice,input, i0...index, s0)
1130
+ r0.extend(Choice1)
1131
+ r0.extend(Choice2)
1132
+ else
1133
+ @index = i0
1134
+ r0 = nil
1135
+ end
1136
+
1137
+ node_cache[:choice][start_index] = r0
1138
+
1139
+ r0
1140
+ end
1141
+
1142
+ module Sequence0
1143
+ def space
1144
+ elements[0]
1145
+ end
1146
+
1147
+ def labeled_sequence_primary
1148
+ elements[1]
1149
+ end
1150
+ end
1151
+
1152
+ module Sequence1
1153
+ def head
1154
+ elements[0]
1155
+ end
1156
+
1157
+ def tail
1158
+ elements[1]
1159
+ end
1160
+
1161
+ def node_class_declarations
1162
+ elements[2]
1163
+ end
1164
+ end
1165
+
1166
+ module Sequence2
1167
+ def sequence_elements
1168
+ [head] + tail
1169
+ end
1170
+
1171
+ def tail
1172
+ super.elements.map {|elt| elt.labeled_sequence_primary }
1173
+ end
1174
+
1175
+ def inline_modules
1176
+ (sequence_elements.map {|elt| elt.inline_modules}).flatten +
1177
+ [sequence_element_accessor_module] +
1178
+ node_class_declarations.inline_modules
1179
+ end
1180
+
1181
+ def inline_module_name
1182
+ node_class_declarations.inline_module_name
1183
+ end
1184
+ end
1185
+
1186
+ def _nt_sequence
1187
+ start_index = index
1188
+ if node_cache[:sequence].has_key?(index)
1189
+ cached = node_cache[:sequence][index]
1190
+ if cached
1191
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
1192
+ @index = cached.interval.end
1193
+ end
1194
+ return cached
1195
+ end
1196
+
1197
+ i0, s0 = index, []
1198
+ r1 = _nt_labeled_sequence_primary
1199
+ s0 << r1
1200
+ if r1
1201
+ s2, i2 = [], index
1202
+ loop do
1203
+ i3, s3 = index, []
1204
+ r4 = _nt_space
1205
+ s3 << r4
1206
+ if r4
1207
+ r5 = _nt_labeled_sequence_primary
1208
+ s3 << r5
1209
+ end
1210
+ if s3.last
1211
+ r3 = instantiate_node(SyntaxNode,input, i3...index, s3)
1212
+ r3.extend(Sequence0)
1213
+ else
1214
+ @index = i3
1215
+ r3 = nil
1216
+ end
1217
+ if r3
1218
+ s2 << r3
1219
+ else
1220
+ break
1221
+ end
1222
+ end
1223
+ if s2.empty?
1224
+ @index = i2
1225
+ r2 = nil
1226
+ else
1227
+ r2 = instantiate_node(SyntaxNode,input, i2...index, s2)
1228
+ end
1229
+ s0 << r2
1230
+ if r2
1231
+ r6 = _nt_node_class_declarations
1232
+ s0 << r6
1233
+ end
1234
+ end
1235
+ if s0.last
1236
+ r0 = instantiate_node(Sequence,input, i0...index, s0)
1237
+ r0.extend(Sequence1)
1238
+ r0.extend(Sequence2)
1239
+ else
1240
+ @index = i0
1241
+ r0 = nil
1242
+ end
1243
+
1244
+ node_cache[:sequence][start_index] = r0
1245
+
1246
+ r0
1247
+ end
1248
+
1249
+ def _nt_alternative
1250
+ start_index = index
1251
+ if node_cache[:alternative].has_key?(index)
1252
+ cached = node_cache[:alternative][index]
1253
+ if cached
1254
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
1255
+ @index = cached.interval.end
1256
+ end
1257
+ return cached
1258
+ end
1259
+
1260
+ i0 = index
1261
+ r1 = _nt_sequence
1262
+ if r1
1263
+ r0 = r1
1264
+ else
1265
+ r2 = _nt_primary
1266
+ if r2
1267
+ r0 = r2
1268
+ else
1269
+ @index = i0
1270
+ r0 = nil
1271
+ end
1272
+ end
1273
+
1274
+ node_cache[:alternative][start_index] = r0
1275
+
1276
+ r0
1277
+ end
1278
+
1279
+ module Primary0
1280
+ def prefix
1281
+ elements[0]
1282
+ end
1283
+
1284
+ def atomic
1285
+ elements[1]
1286
+ end
1287
+ end
1288
+
1289
+ module Primary1
1290
+ def compile(address, builder, parent_expression=nil)
1291
+ prefix.compile(address, builder, self)
1292
+ end
1293
+
1294
+ def prefixed_expression
1295
+ atomic
1296
+ end
1297
+
1298
+ def inline_modules
1299
+ atomic.inline_modules
1300
+ end
1301
+
1302
+ def inline_module_name
1303
+ nil
1304
+ end
1305
+ end
1306
+
1307
+ module Primary2
1308
+ def prefix
1309
+ elements[0]
1310
+ end
1311
+
1312
+ def predicate_block
1313
+ elements[2]
1314
+ end
1315
+ end
1316
+
1317
+ module Primary3
1318
+ def compile(address, builder, parent_expression=nil)
1319
+ prefix.compile(address, builder, self)
1320
+ end
1321
+ def prefixed_expression
1322
+ predicate_block
1323
+ end
1324
+ def inline_modules
1325
+ []
1326
+ end
1327
+ end
1328
+
1329
+ module Primary4
1330
+ def atomic
1331
+ elements[0]
1332
+ end
1333
+
1334
+ def suffix
1335
+ elements[1]
1336
+ end
1337
+
1338
+ def node_class_declarations
1339
+ elements[2]
1340
+ end
1341
+ end
1342
+
1343
+ module Primary5
1344
+ def compile(address, builder, parent_expression=nil)
1345
+ suffix.compile(address, builder, self)
1346
+ end
1347
+
1348
+ def optional_expression
1349
+ atomic
1350
+ end
1351
+
1352
+ def node_class_name
1353
+ node_class_declarations.node_class_name
1354
+ end
1355
+
1356
+ def inline_modules
1357
+ atomic.inline_modules + node_class_declarations.inline_modules
1358
+ end
1359
+
1360
+ def inline_module_name
1361
+ node_class_declarations.inline_module_name
1362
+ end
1363
+ end
1364
+
1365
+ module Primary6
1366
+ def atomic
1367
+ elements[0]
1368
+ end
1369
+
1370
+ def node_class_declarations
1371
+ elements[1]
1372
+ end
1373
+ end
1374
+
1375
+ module Primary7
1376
+ def compile(address, builder, parent_expression=nil)
1377
+ atomic.compile(address, builder, self)
1378
+ end
1379
+
1380
+ def node_class_name
1381
+ node_class_declarations.node_class_name
1382
+ end
1383
+
1384
+ def inline_modules
1385
+ atomic.inline_modules + node_class_declarations.inline_modules
1386
+ end
1387
+
1388
+ def inline_module_name
1389
+ node_class_declarations.inline_module_name
1390
+ end
1391
+ end
1392
+
1393
+ def _nt_primary
1394
+ start_index = index
1395
+ if node_cache[:primary].has_key?(index)
1396
+ cached = node_cache[:primary][index]
1397
+ if cached
1398
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
1399
+ @index = cached.interval.end
1400
+ end
1401
+ return cached
1402
+ end
1403
+
1404
+ i0 = index
1405
+ i1, s1 = index, []
1406
+ r2 = _nt_prefix
1407
+ s1 << r2
1408
+ if r2
1409
+ r3 = _nt_atomic
1410
+ s1 << r3
1411
+ end
1412
+ if s1.last
1413
+ r1 = instantiate_node(SyntaxNode,input, i1...index, s1)
1414
+ r1.extend(Primary0)
1415
+ r1.extend(Primary1)
1416
+ else
1417
+ @index = i1
1418
+ r1 = nil
1419
+ end
1420
+ if r1
1421
+ r0 = r1
1422
+ else
1423
+ i4, s4 = index, []
1424
+ r5 = _nt_prefix
1425
+ s4 << r5
1426
+ if r5
1427
+ r7 = _nt_space
1428
+ if r7
1429
+ r6 = r7
1430
+ else
1431
+ r6 = instantiate_node(SyntaxNode,input, index...index)
1432
+ end
1433
+ s4 << r6
1434
+ if r6
1435
+ r8 = _nt_predicate_block
1436
+ s4 << r8
1437
+ end
1438
+ end
1439
+ if s4.last
1440
+ r4 = instantiate_node(SyntaxNode,input, i4...index, s4)
1441
+ r4.extend(Primary2)
1442
+ r4.extend(Primary3)
1443
+ else
1444
+ @index = i4
1445
+ r4 = nil
1446
+ end
1447
+ if r4
1448
+ r0 = r4
1449
+ else
1450
+ i9, s9 = index, []
1451
+ r10 = _nt_atomic
1452
+ s9 << r10
1453
+ if r10
1454
+ r11 = _nt_suffix
1455
+ s9 << r11
1456
+ if r11
1457
+ r12 = _nt_node_class_declarations
1458
+ s9 << r12
1459
+ end
1460
+ end
1461
+ if s9.last
1462
+ r9 = instantiate_node(SyntaxNode,input, i9...index, s9)
1463
+ r9.extend(Primary4)
1464
+ r9.extend(Primary5)
1465
+ else
1466
+ @index = i9
1467
+ r9 = nil
1468
+ end
1469
+ if r9
1470
+ r0 = r9
1471
+ else
1472
+ i13, s13 = index, []
1473
+ r14 = _nt_atomic
1474
+ s13 << r14
1475
+ if r14
1476
+ r15 = _nt_node_class_declarations
1477
+ s13 << r15
1478
+ end
1479
+ if s13.last
1480
+ r13 = instantiate_node(SyntaxNode,input, i13...index, s13)
1481
+ r13.extend(Primary6)
1482
+ r13.extend(Primary7)
1483
+ else
1484
+ @index = i13
1485
+ r13 = nil
1486
+ end
1487
+ if r13
1488
+ r0 = r13
1489
+ else
1490
+ @index = i0
1491
+ r0 = nil
1492
+ end
1493
+ end
1494
+ end
1495
+ end
1496
+
1497
+ node_cache[:primary][start_index] = r0
1498
+
1499
+ r0
1500
+ end
1501
+
1502
+ module LabeledSequencePrimary0
1503
+ def label
1504
+ elements[0]
1505
+ end
1506
+
1507
+ def sequence_primary
1508
+ elements[1]
1509
+ end
1510
+ end
1511
+
1512
+ module LabeledSequencePrimary1
1513
+ def compile(lexical_address, builder)
1514
+ sequence_primary.compile(lexical_address, builder)
1515
+ end
1516
+
1517
+ def inline_modules
1518
+ sequence_primary.inline_modules
1519
+ end
1520
+
1521
+ def label_name
1522
+ if label.name
1523
+ label.name
1524
+ elsif sequence_primary.instance_of?(Nonterminal)
1525
+ sequence_primary.text_value
1526
+ else
1527
+ nil
1528
+ end
1529
+ end
1530
+ end
1531
+
1532
+ def _nt_labeled_sequence_primary
1533
+ start_index = index
1534
+ if node_cache[:labeled_sequence_primary].has_key?(index)
1535
+ cached = node_cache[:labeled_sequence_primary][index]
1536
+ if cached
1537
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
1538
+ @index = cached.interval.end
1539
+ end
1540
+ return cached
1541
+ end
1542
+
1543
+ i0, s0 = index, []
1544
+ r1 = _nt_label
1545
+ s0 << r1
1546
+ if r1
1547
+ r2 = _nt_sequence_primary
1548
+ s0 << r2
1549
+ end
1550
+ if s0.last
1551
+ r0 = instantiate_node(SyntaxNode,input, i0...index, s0)
1552
+ r0.extend(LabeledSequencePrimary0)
1553
+ r0.extend(LabeledSequencePrimary1)
1554
+ else
1555
+ @index = i0
1556
+ r0 = nil
1557
+ end
1558
+
1559
+ node_cache[:labeled_sequence_primary][start_index] = r0
1560
+
1561
+ r0
1562
+ end
1563
+
1564
+ module Label0
1565
+ def alpha_char
1566
+ elements[0]
1567
+ end
1568
+
1569
+ end
1570
+
1571
+ module Label1
1572
+ end
1573
+
1574
+ module Label2
1575
+ def name
1576
+ elements[0].text_value
1577
+ end
1578
+ end
1579
+
1580
+ module Label3
1581
+ def name
1582
+ nil
1583
+ end
1584
+ end
1585
+
1586
+ def _nt_label
1587
+ start_index = index
1588
+ if node_cache[:label].has_key?(index)
1589
+ cached = node_cache[:label][index]
1590
+ if cached
1591
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
1592
+ @index = cached.interval.end
1593
+ end
1594
+ return cached
1595
+ end
1596
+
1597
+ i0 = index
1598
+ i1, s1 = index, []
1599
+ i2, s2 = index, []
1600
+ r3 = _nt_alpha_char
1601
+ s2 << r3
1602
+ if r3
1603
+ s4, i4 = [], index
1604
+ loop do
1605
+ r5 = _nt_alphanumeric_char
1606
+ if r5
1607
+ s4 << r5
1608
+ else
1609
+ break
1610
+ end
1611
+ end
1612
+ r4 = instantiate_node(SyntaxNode,input, i4...index, s4)
1613
+ s2 << r4
1614
+ end
1615
+ if s2.last
1616
+ r2 = instantiate_node(SyntaxNode,input, i2...index, s2)
1617
+ r2.extend(Label0)
1618
+ else
1619
+ @index = i2
1620
+ r2 = nil
1621
+ end
1622
+ s1 << r2
1623
+ if r2
1624
+ if has_terminal?(':', false, index)
1625
+ r6 = instantiate_node(SyntaxNode,input, index...(index + 1))
1626
+ @index += 1
1627
+ else
1628
+ terminal_parse_failure(':')
1629
+ r6 = nil
1630
+ end
1631
+ s1 << r6
1632
+ end
1633
+ if s1.last
1634
+ r1 = instantiate_node(SyntaxNode,input, i1...index, s1)
1635
+ r1.extend(Label1)
1636
+ r1.extend(Label2)
1637
+ else
1638
+ @index = i1
1639
+ r1 = nil
1640
+ end
1641
+ if r1
1642
+ r0 = r1
1643
+ else
1644
+ if has_terminal?('', false, index)
1645
+ r7 = instantiate_node(SyntaxNode,input, index...(index + 0))
1646
+ r7.extend(Label3)
1647
+ @index += 0
1648
+ else
1649
+ terminal_parse_failure('')
1650
+ r7 = nil
1651
+ end
1652
+ if r7
1653
+ r0 = r7
1654
+ else
1655
+ @index = i0
1656
+ r0 = nil
1657
+ end
1658
+ end
1659
+
1660
+ node_cache[:label][start_index] = r0
1661
+
1662
+ r0
1663
+ end
1664
+
1665
+ module SequencePrimary0
1666
+ def prefix
1667
+ elements[0]
1668
+ end
1669
+
1670
+ def atomic
1671
+ elements[1]
1672
+ end
1673
+ end
1674
+
1675
+ module SequencePrimary1
1676
+ def compile(lexical_address, builder)
1677
+ prefix.compile(lexical_address, builder, self)
1678
+ end
1679
+
1680
+ def prefixed_expression
1681
+ elements[1]
1682
+ end
1683
+
1684
+ def inline_modules
1685
+ atomic.inline_modules
1686
+ end
1687
+
1688
+ def inline_module_name
1689
+ nil
1690
+ end
1691
+ end
1692
+
1693
+ module SequencePrimary2
1694
+ def prefix
1695
+ elements[0]
1696
+ end
1697
+
1698
+ def predicate_block
1699
+ elements[2]
1700
+ end
1701
+ end
1702
+
1703
+ module SequencePrimary3
1704
+ def compile(address, builder, parent_expression=nil)
1705
+ prefix.compile(address, builder, self)
1706
+ end
1707
+ def prefixed_expression
1708
+ predicate_block
1709
+ end
1710
+ def inline_modules
1711
+ []
1712
+ end
1713
+ end
1714
+
1715
+ module SequencePrimary4
1716
+ def atomic
1717
+ elements[0]
1718
+ end
1719
+
1720
+ def suffix
1721
+ elements[1]
1722
+ end
1723
+ end
1724
+
1725
+ module SequencePrimary5
1726
+ def compile(lexical_address, builder)
1727
+ suffix.compile(lexical_address, builder, self)
1728
+ end
1729
+
1730
+ def node_class_name
1731
+ nil
1732
+ end
1733
+
1734
+ def inline_modules
1735
+ atomic.inline_modules
1736
+ end
1737
+
1738
+ def inline_module_name
1739
+ nil
1740
+ end
1741
+ end
1742
+
1743
+ def _nt_sequence_primary
1744
+ start_index = index
1745
+ if node_cache[:sequence_primary].has_key?(index)
1746
+ cached = node_cache[:sequence_primary][index]
1747
+ if cached
1748
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
1749
+ @index = cached.interval.end
1750
+ end
1751
+ return cached
1752
+ end
1753
+
1754
+ i0 = index
1755
+ i1, s1 = index, []
1756
+ r2 = _nt_prefix
1757
+ s1 << r2
1758
+ if r2
1759
+ r3 = _nt_atomic
1760
+ s1 << r3
1761
+ end
1762
+ if s1.last
1763
+ r1 = instantiate_node(SyntaxNode,input, i1...index, s1)
1764
+ r1.extend(SequencePrimary0)
1765
+ r1.extend(SequencePrimary1)
1766
+ else
1767
+ @index = i1
1768
+ r1 = nil
1769
+ end
1770
+ if r1
1771
+ r0 = r1
1772
+ else
1773
+ i4, s4 = index, []
1774
+ r5 = _nt_prefix
1775
+ s4 << r5
1776
+ if r5
1777
+ r7 = _nt_space
1778
+ if r7
1779
+ r6 = r7
1780
+ else
1781
+ r6 = instantiate_node(SyntaxNode,input, index...index)
1782
+ end
1783
+ s4 << r6
1784
+ if r6
1785
+ r8 = _nt_predicate_block
1786
+ s4 << r8
1787
+ end
1788
+ end
1789
+ if s4.last
1790
+ r4 = instantiate_node(SyntaxNode,input, i4...index, s4)
1791
+ r4.extend(SequencePrimary2)
1792
+ r4.extend(SequencePrimary3)
1793
+ else
1794
+ @index = i4
1795
+ r4 = nil
1796
+ end
1797
+ if r4
1798
+ r0 = r4
1799
+ else
1800
+ i9, s9 = index, []
1801
+ r10 = _nt_atomic
1802
+ s9 << r10
1803
+ if r10
1804
+ r11 = _nt_suffix
1805
+ s9 << r11
1806
+ end
1807
+ if s9.last
1808
+ r9 = instantiate_node(SyntaxNode,input, i9...index, s9)
1809
+ r9.extend(SequencePrimary4)
1810
+ r9.extend(SequencePrimary5)
1811
+ else
1812
+ @index = i9
1813
+ r9 = nil
1814
+ end
1815
+ if r9
1816
+ r0 = r9
1817
+ else
1818
+ r12 = _nt_atomic
1819
+ if r12
1820
+ r0 = r12
1821
+ else
1822
+ @index = i0
1823
+ r0 = nil
1824
+ end
1825
+ end
1826
+ end
1827
+ end
1828
+
1829
+ node_cache[:sequence_primary][start_index] = r0
1830
+
1831
+ r0
1832
+ end
1833
+
1834
+ def _nt_suffix
1835
+ start_index = index
1836
+ if node_cache[:suffix].has_key?(index)
1837
+ cached = node_cache[:suffix][index]
1838
+ if cached
1839
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
1840
+ @index = cached.interval.end
1841
+ end
1842
+ return cached
1843
+ end
1844
+
1845
+ i0 = index
1846
+ r1 = _nt_repetition_suffix
1847
+ if r1
1848
+ r0 = r1
1849
+ else
1850
+ r2 = _nt_optional_suffix
1851
+ if r2
1852
+ r0 = r2
1853
+ else
1854
+ @index = i0
1855
+ r0 = nil
1856
+ end
1857
+ end
1858
+
1859
+ node_cache[:suffix][start_index] = r0
1860
+
1861
+ r0
1862
+ end
1863
+
1864
+ def _nt_optional_suffix
1865
+ start_index = index
1866
+ if node_cache[:optional_suffix].has_key?(index)
1867
+ cached = node_cache[:optional_suffix][index]
1868
+ if cached
1869
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
1870
+ @index = cached.interval.end
1871
+ end
1872
+ return cached
1873
+ end
1874
+
1875
+ if has_terminal?('?', false, index)
1876
+ r0 = instantiate_node(Optional,input, index...(index + 1))
1877
+ @index += 1
1878
+ else
1879
+ terminal_parse_failure('?')
1880
+ r0 = nil
1881
+ end
1882
+
1883
+ node_cache[:optional_suffix][start_index] = r0
1884
+
1885
+ r0
1886
+ end
1887
+
1888
+ module NodeClassDeclarations0
1889
+ def node_class_expression
1890
+ elements[0]
1891
+ end
1892
+
1893
+ def trailing_inline_module
1894
+ elements[1]
1895
+ end
1896
+ end
1897
+
1898
+ module NodeClassDeclarations1
1899
+ def node_class_name
1900
+ node_class_expression.node_class_name
1901
+ end
1902
+
1903
+ def inline_modules
1904
+ trailing_inline_module.inline_modules
1905
+ end
1906
+
1907
+ def inline_module
1908
+ trailing_inline_module.inline_module
1909
+ end
1910
+
1911
+ def inline_module_name
1912
+ inline_module.module_name if inline_module
1913
+ end
1914
+ end
1915
+
1916
+ def _nt_node_class_declarations
1917
+ start_index = index
1918
+ if node_cache[:node_class_declarations].has_key?(index)
1919
+ cached = node_cache[:node_class_declarations][index]
1920
+ if cached
1921
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
1922
+ @index = cached.interval.end
1923
+ end
1924
+ return cached
1925
+ end
1926
+
1927
+ i0, s0 = index, []
1928
+ r1 = _nt_node_class_expression
1929
+ s0 << r1
1930
+ if r1
1931
+ r2 = _nt_trailing_inline_module
1932
+ s0 << r2
1933
+ end
1934
+ if s0.last
1935
+ r0 = instantiate_node(SyntaxNode,input, i0...index, s0)
1936
+ r0.extend(NodeClassDeclarations0)
1937
+ r0.extend(NodeClassDeclarations1)
1938
+ else
1939
+ @index = i0
1940
+ r0 = nil
1941
+ end
1942
+
1943
+ node_cache[:node_class_declarations][start_index] = r0
1944
+
1945
+ r0
1946
+ end
1947
+
1948
+ def _nt_repetition_suffix
1949
+ start_index = index
1950
+ if node_cache[:repetition_suffix].has_key?(index)
1951
+ cached = node_cache[:repetition_suffix][index]
1952
+ if cached
1953
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
1954
+ @index = cached.interval.end
1955
+ end
1956
+ return cached
1957
+ end
1958
+
1959
+ i0 = index
1960
+ if has_terminal?('+', false, index)
1961
+ r1 = instantiate_node(OneOrMore,input, index...(index + 1))
1962
+ @index += 1
1963
+ else
1964
+ terminal_parse_failure('+')
1965
+ r1 = nil
1966
+ end
1967
+ if r1
1968
+ r0 = r1
1969
+ else
1970
+ if has_terminal?('*', false, index)
1971
+ r2 = instantiate_node(ZeroOrMore,input, index...(index + 1))
1972
+ @index += 1
1973
+ else
1974
+ terminal_parse_failure('*')
1975
+ r2 = nil
1976
+ end
1977
+ if r2
1978
+ r0 = r2
1979
+ else
1980
+ r3 = _nt_occurrence_range
1981
+ if r3
1982
+ r0 = r3
1983
+ else
1984
+ @index = i0
1985
+ r0 = nil
1986
+ end
1987
+ end
1988
+ end
1989
+
1990
+ node_cache[:repetition_suffix][start_index] = r0
1991
+
1992
+ r0
1993
+ end
1994
+
1995
+ module OccurrenceRange0
1996
+ def min
1997
+ elements[1]
1998
+ end
1999
+
2000
+ def max
2001
+ elements[3]
2002
+ end
2003
+ end
2004
+
2005
+ def _nt_occurrence_range
2006
+ start_index = index
2007
+ if node_cache[:occurrence_range].has_key?(index)
2008
+ cached = node_cache[:occurrence_range][index]
2009
+ if cached
2010
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
2011
+ @index = cached.interval.end
2012
+ end
2013
+ return cached
2014
+ end
2015
+
2016
+ i0, s0 = index, []
2017
+ r2 = _nt_space
2018
+ if r2
2019
+ r1 = r2
2020
+ else
2021
+ r1 = instantiate_node(SyntaxNode,input, index...index)
2022
+ end
2023
+ s0 << r1
2024
+ if r1
2025
+ s3, i3 = [], index
2026
+ loop do
2027
+ if has_terminal?('\G[0-9]', true, index)
2028
+ r4 = true
2029
+ @index += 1
2030
+ else
2031
+ r4 = nil
2032
+ end
2033
+ if r4
2034
+ s3 << r4
2035
+ else
2036
+ break
2037
+ end
2038
+ end
2039
+ r3 = instantiate_node(SyntaxNode,input, i3...index, s3)
2040
+ s0 << r3
2041
+ if r3
2042
+ if has_terminal?('..', false, index)
2043
+ r5 = instantiate_node(SyntaxNode,input, index...(index + 2))
2044
+ @index += 2
2045
+ else
2046
+ terminal_parse_failure('..')
2047
+ r5 = nil
2048
+ end
2049
+ s0 << r5
2050
+ if r5
2051
+ s6, i6 = [], index
2052
+ loop do
2053
+ if has_terminal?('\G[0-9]', true, index)
2054
+ r7 = true
2055
+ @index += 1
2056
+ else
2057
+ r7 = nil
2058
+ end
2059
+ if r7
2060
+ s6 << r7
2061
+ else
2062
+ break
2063
+ end
2064
+ end
2065
+ r6 = instantiate_node(SyntaxNode,input, i6...index, s6)
2066
+ s0 << r6
2067
+ end
2068
+ end
2069
+ end
2070
+ if s0.last
2071
+ r0 = instantiate_node(OccurrenceRange,input, i0...index, s0)
2072
+ r0.extend(OccurrenceRange0)
2073
+ else
2074
+ @index = i0
2075
+ r0 = nil
2076
+ end
2077
+
2078
+ node_cache[:occurrence_range][start_index] = r0
2079
+
2080
+ r0
2081
+ end
2082
+
2083
+ def _nt_prefix
2084
+ start_index = index
2085
+ if node_cache[:prefix].has_key?(index)
2086
+ cached = node_cache[:prefix][index]
2087
+ if cached
2088
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
2089
+ @index = cached.interval.end
2090
+ end
2091
+ return cached
2092
+ end
2093
+
2094
+ i0 = index
2095
+ if has_terminal?('&', false, index)
2096
+ r1 = instantiate_node(AndPredicate,input, index...(index + 1))
2097
+ @index += 1
2098
+ else
2099
+ terminal_parse_failure('&')
2100
+ r1 = nil
2101
+ end
2102
+ if r1
2103
+ r0 = r1
2104
+ else
2105
+ if has_terminal?('!', false, index)
2106
+ r2 = instantiate_node(NotPredicate,input, index...(index + 1))
2107
+ @index += 1
2108
+ else
2109
+ terminal_parse_failure('!')
2110
+ r2 = nil
2111
+ end
2112
+ if r2
2113
+ r0 = r2
2114
+ else
2115
+ if has_terminal?('~', false, index)
2116
+ r3 = instantiate_node(TransientPrefix,input, index...(index + 1))
2117
+ @index += 1
2118
+ else
2119
+ terminal_parse_failure('~')
2120
+ r3 = nil
2121
+ end
2122
+ if r3
2123
+ r0 = r3
2124
+ else
2125
+ @index = i0
2126
+ r0 = nil
2127
+ end
2128
+ end
2129
+ end
2130
+
2131
+ node_cache[:prefix][start_index] = r0
2132
+
2133
+ r0
2134
+ end
2135
+
2136
+ def _nt_atomic
2137
+ start_index = index
2138
+ if node_cache[:atomic].has_key?(index)
2139
+ cached = node_cache[:atomic][index]
2140
+ if cached
2141
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
2142
+ @index = cached.interval.end
2143
+ end
2144
+ return cached
2145
+ end
2146
+
2147
+ i0 = index
2148
+ r1 = _nt_terminal
2149
+ if r1
2150
+ r0 = r1
2151
+ else
2152
+ r2 = _nt_nonterminal
2153
+ if r2
2154
+ r0 = r2
2155
+ else
2156
+ r3 = _nt_parenthesized_expression
2157
+ if r3
2158
+ r0 = r3
2159
+ else
2160
+ @index = i0
2161
+ r0 = nil
2162
+ end
2163
+ end
2164
+ end
2165
+
2166
+ node_cache[:atomic][start_index] = r0
2167
+
2168
+ r0
2169
+ end
2170
+
2171
+ module ParenthesizedExpression0
2172
+ def parsing_expression
2173
+ elements[2]
2174
+ end
2175
+
2176
+ end
2177
+
2178
+ module ParenthesizedExpression1
2179
+ def inline_modules
2180
+ parsing_expression.inline_modules
2181
+ end
2182
+ end
2183
+
2184
+ def _nt_parenthesized_expression
2185
+ start_index = index
2186
+ if node_cache[:parenthesized_expression].has_key?(index)
2187
+ cached = node_cache[:parenthesized_expression][index]
2188
+ if cached
2189
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
2190
+ @index = cached.interval.end
2191
+ end
2192
+ return cached
2193
+ end
2194
+
2195
+ i0, s0 = index, []
2196
+ if has_terminal?('(', false, index)
2197
+ r1 = instantiate_node(SyntaxNode,input, index...(index + 1))
2198
+ @index += 1
2199
+ else
2200
+ terminal_parse_failure('(')
2201
+ r1 = nil
2202
+ end
2203
+ s0 << r1
2204
+ if r1
2205
+ r3 = _nt_space
2206
+ if r3
2207
+ r2 = r3
2208
+ else
2209
+ r2 = instantiate_node(SyntaxNode,input, index...index)
2210
+ end
2211
+ s0 << r2
2212
+ if r2
2213
+ r4 = _nt_parsing_expression
2214
+ s0 << r4
2215
+ if r4
2216
+ r6 = _nt_space
2217
+ if r6
2218
+ r5 = r6
2219
+ else
2220
+ r5 = instantiate_node(SyntaxNode,input, index...index)
2221
+ end
2222
+ s0 << r5
2223
+ if r5
2224
+ if has_terminal?(')', false, index)
2225
+ r7 = instantiate_node(SyntaxNode,input, index...(index + 1))
2226
+ @index += 1
2227
+ else
2228
+ terminal_parse_failure(')')
2229
+ r7 = nil
2230
+ end
2231
+ s0 << r7
2232
+ end
2233
+ end
2234
+ end
2235
+ end
2236
+ if s0.last
2237
+ r0 = instantiate_node(ParenthesizedExpression,input, i0...index, s0)
2238
+ r0.extend(ParenthesizedExpression0)
2239
+ r0.extend(ParenthesizedExpression1)
2240
+ else
2241
+ @index = i0
2242
+ r0 = nil
2243
+ end
2244
+
2245
+ node_cache[:parenthesized_expression][start_index] = r0
2246
+
2247
+ r0
2248
+ end
2249
+
2250
+ module Nonterminal0
2251
+ def alpha_char
2252
+ elements[0]
2253
+ end
2254
+
2255
+ end
2256
+
2257
+ module Nonterminal1
2258
+ end
2259
+
2260
+ def _nt_nonterminal
2261
+ start_index = index
2262
+ if node_cache[:nonterminal].has_key?(index)
2263
+ cached = node_cache[:nonterminal][index]
2264
+ if cached
2265
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
2266
+ @index = cached.interval.end
2267
+ end
2268
+ return cached
2269
+ end
2270
+
2271
+ i0, s0 = index, []
2272
+ i1 = index
2273
+ r2 = _nt_keyword_inside_grammar
2274
+ if r2
2275
+ r1 = nil
2276
+ else
2277
+ @index = i1
2278
+ r1 = instantiate_node(SyntaxNode,input, index...index)
2279
+ end
2280
+ s0 << r1
2281
+ if r1
2282
+ i3, s3 = index, []
2283
+ r4 = _nt_alpha_char
2284
+ s3 << r4
2285
+ if r4
2286
+ s5, i5 = [], index
2287
+ loop do
2288
+ r6 = _nt_alphanumeric_char
2289
+ if r6
2290
+ s5 << r6
2291
+ else
2292
+ break
2293
+ end
2294
+ end
2295
+ r5 = instantiate_node(SyntaxNode,input, i5...index, s5)
2296
+ s3 << r5
2297
+ end
2298
+ if s3.last
2299
+ r3 = instantiate_node(SyntaxNode,input, i3...index, s3)
2300
+ r3.extend(Nonterminal0)
2301
+ else
2302
+ @index = i3
2303
+ r3 = nil
2304
+ end
2305
+ s0 << r3
2306
+ end
2307
+ if s0.last
2308
+ r0 = instantiate_node(Nonterminal,input, i0...index, s0)
2309
+ r0.extend(Nonterminal1)
2310
+ else
2311
+ @index = i0
2312
+ r0 = nil
2313
+ end
2314
+
2315
+ node_cache[:nonterminal][start_index] = r0
2316
+
2317
+ r0
2318
+ end
2319
+
2320
+ def _nt_terminal
2321
+ start_index = index
2322
+ if node_cache[:terminal].has_key?(index)
2323
+ cached = node_cache[:terminal][index]
2324
+ if cached
2325
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
2326
+ @index = cached.interval.end
2327
+ end
2328
+ return cached
2329
+ end
2330
+
2331
+ i0 = index
2332
+ r1 = _nt_quoted_string
2333
+ if r1
2334
+ r0 = r1
2335
+ else
2336
+ r2 = _nt_character_class
2337
+ if r2
2338
+ r0 = r2
2339
+ else
2340
+ r3 = _nt_anything_symbol
2341
+ if r3
2342
+ r0 = r3
2343
+ else
2344
+ @index = i0
2345
+ r0 = nil
2346
+ end
2347
+ end
2348
+ end
2349
+
2350
+ node_cache[:terminal][start_index] = r0
2351
+
2352
+ r0
2353
+ end
2354
+
2355
+ module QuotedString0
2356
+ def string
2357
+ super.text_value
2358
+ end
2359
+ end
2360
+
2361
+ def _nt_quoted_string
2362
+ start_index = index
2363
+ if node_cache[:quoted_string].has_key?(index)
2364
+ cached = node_cache[:quoted_string][index]
2365
+ if cached
2366
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
2367
+ @index = cached.interval.end
2368
+ end
2369
+ return cached
2370
+ end
2371
+
2372
+ i0 = index
2373
+ r1 = _nt_single_quoted_string
2374
+ if r1
2375
+ r0 = r1
2376
+ r0.extend(QuotedString0)
2377
+ else
2378
+ r2 = _nt_double_quoted_string
2379
+ if r2
2380
+ r0 = r2
2381
+ r0.extend(QuotedString0)
2382
+ else
2383
+ @index = i0
2384
+ r0 = nil
2385
+ end
2386
+ end
2387
+
2388
+ node_cache[:quoted_string][start_index] = r0
2389
+
2390
+ r0
2391
+ end
2392
+
2393
+ module DoubleQuotedString0
2394
+ end
2395
+
2396
+ module DoubleQuotedString1
2397
+ def string
2398
+ elements[1]
2399
+ end
2400
+
2401
+ end
2402
+
2403
+ def _nt_double_quoted_string
2404
+ start_index = index
2405
+ if node_cache[:double_quoted_string].has_key?(index)
2406
+ cached = node_cache[:double_quoted_string][index]
2407
+ if cached
2408
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
2409
+ @index = cached.interval.end
2410
+ end
2411
+ return cached
2412
+ end
2413
+
2414
+ i0, s0 = index, []
2415
+ if has_terminal?('"', false, index)
2416
+ r1 = instantiate_node(SyntaxNode,input, index...(index + 1))
2417
+ @index += 1
2418
+ else
2419
+ terminal_parse_failure('"')
2420
+ r1 = nil
2421
+ end
2422
+ s0 << r1
2423
+ if r1
2424
+ s2, i2 = [], index
2425
+ loop do
2426
+ i3, s3 = index, []
2427
+ i4 = index
2428
+ if has_terminal?('"', false, index)
2429
+ r5 = instantiate_node(SyntaxNode,input, index...(index + 1))
2430
+ @index += 1
2431
+ else
2432
+ terminal_parse_failure('"')
2433
+ r5 = nil
2434
+ end
2435
+ if r5
2436
+ r4 = nil
2437
+ else
2438
+ @index = i4
2439
+ r4 = instantiate_node(SyntaxNode,input, index...index)
2440
+ end
2441
+ s3 << r4
2442
+ if r4
2443
+ i6 = index
2444
+ if has_terminal?("\\\\", false, index)
2445
+ r7 = instantiate_node(SyntaxNode,input, index...(index + 2))
2446
+ @index += 2
2447
+ else
2448
+ terminal_parse_failure("\\\\")
2449
+ r7 = nil
2450
+ end
2451
+ if r7
2452
+ r6 = r7
2453
+ else
2454
+ if has_terminal?('\"', false, index)
2455
+ r8 = instantiate_node(SyntaxNode,input, index...(index + 2))
2456
+ @index += 2
2457
+ else
2458
+ terminal_parse_failure('\"')
2459
+ r8 = nil
2460
+ end
2461
+ if r8
2462
+ r6 = r8
2463
+ else
2464
+ if index < input_length
2465
+ r9 = instantiate_node(SyntaxNode,input, index...(index + 1))
2466
+ @index += 1
2467
+ else
2468
+ terminal_parse_failure("any character")
2469
+ r9 = nil
2470
+ end
2471
+ if r9
2472
+ r6 = r9
2473
+ else
2474
+ @index = i6
2475
+ r6 = nil
2476
+ end
2477
+ end
2478
+ end
2479
+ s3 << r6
2480
+ end
2481
+ if s3.last
2482
+ r3 = instantiate_node(SyntaxNode,input, i3...index, s3)
2483
+ r3.extend(DoubleQuotedString0)
2484
+ else
2485
+ @index = i3
2486
+ r3 = nil
2487
+ end
2488
+ if r3
2489
+ s2 << r3
2490
+ else
2491
+ break
2492
+ end
2493
+ end
2494
+ r2 = instantiate_node(SyntaxNode,input, i2...index, s2)
2495
+ s0 << r2
2496
+ if r2
2497
+ if has_terminal?('"', false, index)
2498
+ r10 = instantiate_node(SyntaxNode,input, index...(index + 1))
2499
+ @index += 1
2500
+ else
2501
+ terminal_parse_failure('"')
2502
+ r10 = nil
2503
+ end
2504
+ s0 << r10
2505
+ end
2506
+ end
2507
+ if s0.last
2508
+ r0 = instantiate_node(Terminal,input, i0...index, s0)
2509
+ r0.extend(DoubleQuotedString1)
2510
+ else
2511
+ @index = i0
2512
+ r0 = nil
2513
+ end
2514
+
2515
+ node_cache[:double_quoted_string][start_index] = r0
2516
+
2517
+ r0
2518
+ end
2519
+
2520
+ module SingleQuotedString0
2521
+ end
2522
+
2523
+ module SingleQuotedString1
2524
+ def string
2525
+ elements[1]
2526
+ end
2527
+
2528
+ end
2529
+
2530
+ def _nt_single_quoted_string
2531
+ start_index = index
2532
+ if node_cache[:single_quoted_string].has_key?(index)
2533
+ cached = node_cache[:single_quoted_string][index]
2534
+ if cached
2535
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
2536
+ @index = cached.interval.end
2537
+ end
2538
+ return cached
2539
+ end
2540
+
2541
+ i0, s0 = index, []
2542
+ if has_terminal?("'", false, index)
2543
+ r1 = instantiate_node(SyntaxNode,input, index...(index + 1))
2544
+ @index += 1
2545
+ else
2546
+ terminal_parse_failure("'")
2547
+ r1 = nil
2548
+ end
2549
+ s0 << r1
2550
+ if r1
2551
+ s2, i2 = [], index
2552
+ loop do
2553
+ i3, s3 = index, []
2554
+ i4 = index
2555
+ if has_terminal?("'", false, index)
2556
+ r5 = instantiate_node(SyntaxNode,input, index...(index + 1))
2557
+ @index += 1
2558
+ else
2559
+ terminal_parse_failure("'")
2560
+ r5 = nil
2561
+ end
2562
+ if r5
2563
+ r4 = nil
2564
+ else
2565
+ @index = i4
2566
+ r4 = instantiate_node(SyntaxNode,input, index...index)
2567
+ end
2568
+ s3 << r4
2569
+ if r4
2570
+ i6 = index
2571
+ if has_terminal?("\\\\", false, index)
2572
+ r7 = instantiate_node(SyntaxNode,input, index...(index + 2))
2573
+ @index += 2
2574
+ else
2575
+ terminal_parse_failure("\\\\")
2576
+ r7 = nil
2577
+ end
2578
+ if r7
2579
+ r6 = r7
2580
+ else
2581
+ if has_terminal?("\\'", false, index)
2582
+ r8 = instantiate_node(SyntaxNode,input, index...(index + 2))
2583
+ @index += 2
2584
+ else
2585
+ terminal_parse_failure("\\'")
2586
+ r8 = nil
2587
+ end
2588
+ if r8
2589
+ r6 = r8
2590
+ else
2591
+ if index < input_length
2592
+ r9 = instantiate_node(SyntaxNode,input, index...(index + 1))
2593
+ @index += 1
2594
+ else
2595
+ terminal_parse_failure("any character")
2596
+ r9 = nil
2597
+ end
2598
+ if r9
2599
+ r6 = r9
2600
+ else
2601
+ @index = i6
2602
+ r6 = nil
2603
+ end
2604
+ end
2605
+ end
2606
+ s3 << r6
2607
+ end
2608
+ if s3.last
2609
+ r3 = instantiate_node(SyntaxNode,input, i3...index, s3)
2610
+ r3.extend(SingleQuotedString0)
2611
+ else
2612
+ @index = i3
2613
+ r3 = nil
2614
+ end
2615
+ if r3
2616
+ s2 << r3
2617
+ else
2618
+ break
2619
+ end
2620
+ end
2621
+ r2 = instantiate_node(SyntaxNode,input, i2...index, s2)
2622
+ s0 << r2
2623
+ if r2
2624
+ if has_terminal?("'", false, index)
2625
+ r10 = instantiate_node(SyntaxNode,input, index...(index + 1))
2626
+ @index += 1
2627
+ else
2628
+ terminal_parse_failure("'")
2629
+ r10 = nil
2630
+ end
2631
+ s0 << r10
2632
+ end
2633
+ end
2634
+ if s0.last
2635
+ r0 = instantiate_node(Terminal,input, i0...index, s0)
2636
+ r0.extend(SingleQuotedString1)
2637
+ else
2638
+ @index = i0
2639
+ r0 = nil
2640
+ end
2641
+
2642
+ node_cache[:single_quoted_string][start_index] = r0
2643
+
2644
+ r0
2645
+ end
2646
+
2647
+ module CharacterClass0
2648
+ end
2649
+
2650
+ module CharacterClass1
2651
+ end
2652
+
2653
+ module CharacterClass2
2654
+ end
2655
+
2656
+ module CharacterClass3
2657
+ def characters
2658
+ elements[1]
2659
+ end
2660
+
2661
+ end
2662
+
2663
+ module CharacterClass4
2664
+ def characters
2665
+ super.text_value
2666
+ end
2667
+ end
2668
+
2669
+ def _nt_character_class
2670
+ start_index = index
2671
+ if node_cache[:character_class].has_key?(index)
2672
+ cached = node_cache[:character_class][index]
2673
+ if cached
2674
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
2675
+ @index = cached.interval.end
2676
+ end
2677
+ return cached
2678
+ end
2679
+
2680
+ i0, s0 = index, []
2681
+ if has_terminal?('[', false, index)
2682
+ r1 = instantiate_node(SyntaxNode,input, index...(index + 1))
2683
+ @index += 1
2684
+ else
2685
+ terminal_parse_failure('[')
2686
+ r1 = nil
2687
+ end
2688
+ s0 << r1
2689
+ if r1
2690
+ s2, i2 = [], index
2691
+ loop do
2692
+ i3, s3 = index, []
2693
+ i4 = index
2694
+ if has_terminal?(']', false, index)
2695
+ r5 = instantiate_node(SyntaxNode,input, index...(index + 1))
2696
+ @index += 1
2697
+ else
2698
+ terminal_parse_failure(']')
2699
+ r5 = nil
2700
+ end
2701
+ if r5
2702
+ r4 = nil
2703
+ else
2704
+ @index = i4
2705
+ r4 = instantiate_node(SyntaxNode,input, index...index)
2706
+ end
2707
+ s3 << r4
2708
+ if r4
2709
+ i6 = index
2710
+ i7, s7 = index, []
2711
+ if has_terminal?('\\', false, index)
2712
+ r8 = instantiate_node(SyntaxNode,input, index...(index + 1))
2713
+ @index += 1
2714
+ else
2715
+ terminal_parse_failure('\\')
2716
+ r8 = nil
2717
+ end
2718
+ s7 << r8
2719
+ if r8
2720
+ if index < input_length
2721
+ r9 = instantiate_node(SyntaxNode,input, index...(index + 1))
2722
+ @index += 1
2723
+ else
2724
+ terminal_parse_failure("any character")
2725
+ r9 = nil
2726
+ end
2727
+ s7 << r9
2728
+ end
2729
+ if s7.last
2730
+ r7 = instantiate_node(SyntaxNode,input, i7...index, s7)
2731
+ r7.extend(CharacterClass0)
2732
+ else
2733
+ @index = i7
2734
+ r7 = nil
2735
+ end
2736
+ if r7
2737
+ r6 = r7
2738
+ else
2739
+ i10, s10 = index, []
2740
+ i11 = index
2741
+ if has_terminal?('\\', false, index)
2742
+ r12 = instantiate_node(SyntaxNode,input, index...(index + 1))
2743
+ @index += 1
2744
+ else
2745
+ terminal_parse_failure('\\')
2746
+ r12 = nil
2747
+ end
2748
+ if r12
2749
+ r11 = nil
2750
+ else
2751
+ @index = i11
2752
+ r11 = instantiate_node(SyntaxNode,input, index...index)
2753
+ end
2754
+ s10 << r11
2755
+ if r11
2756
+ if index < input_length
2757
+ r13 = instantiate_node(SyntaxNode,input, index...(index + 1))
2758
+ @index += 1
2759
+ else
2760
+ terminal_parse_failure("any character")
2761
+ r13 = nil
2762
+ end
2763
+ s10 << r13
2764
+ end
2765
+ if s10.last
2766
+ r10 = instantiate_node(SyntaxNode,input, i10...index, s10)
2767
+ r10.extend(CharacterClass1)
2768
+ else
2769
+ @index = i10
2770
+ r10 = nil
2771
+ end
2772
+ if r10
2773
+ r6 = r10
2774
+ else
2775
+ @index = i6
2776
+ r6 = nil
2777
+ end
2778
+ end
2779
+ s3 << r6
2780
+ end
2781
+ if s3.last
2782
+ r3 = instantiate_node(SyntaxNode,input, i3...index, s3)
2783
+ r3.extend(CharacterClass2)
2784
+ else
2785
+ @index = i3
2786
+ r3 = nil
2787
+ end
2788
+ if r3
2789
+ s2 << r3
2790
+ else
2791
+ break
2792
+ end
2793
+ end
2794
+ if s2.empty?
2795
+ @index = i2
2796
+ r2 = nil
2797
+ else
2798
+ r2 = instantiate_node(SyntaxNode,input, i2...index, s2)
2799
+ end
2800
+ s0 << r2
2801
+ if r2
2802
+ if has_terminal?(']', false, index)
2803
+ r14 = instantiate_node(SyntaxNode,input, index...(index + 1))
2804
+ @index += 1
2805
+ else
2806
+ terminal_parse_failure(']')
2807
+ r14 = nil
2808
+ end
2809
+ s0 << r14
2810
+ end
2811
+ end
2812
+ if s0.last
2813
+ r0 = instantiate_node(CharacterClass,input, i0...index, s0)
2814
+ r0.extend(CharacterClass3)
2815
+ r0.extend(CharacterClass4)
2816
+ else
2817
+ @index = i0
2818
+ r0 = nil
2819
+ end
2820
+
2821
+ node_cache[:character_class][start_index] = r0
2822
+
2823
+ r0
2824
+ end
2825
+
2826
+ def _nt_anything_symbol
2827
+ start_index = index
2828
+ if node_cache[:anything_symbol].has_key?(index)
2829
+ cached = node_cache[:anything_symbol][index]
2830
+ if cached
2831
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
2832
+ @index = cached.interval.end
2833
+ end
2834
+ return cached
2835
+ end
2836
+
2837
+ if has_terminal?('.', false, index)
2838
+ r0 = instantiate_node(AnythingSymbol,input, index...(index + 1))
2839
+ @index += 1
2840
+ else
2841
+ terminal_parse_failure('.')
2842
+ r0 = nil
2843
+ end
2844
+
2845
+ node_cache[:anything_symbol][start_index] = r0
2846
+
2847
+ r0
2848
+ end
2849
+
2850
+ module NodeClassExpression0
2851
+ end
2852
+
2853
+ module NodeClassExpression1
2854
+ def space
2855
+ elements[0]
2856
+ end
2857
+
2858
+ end
2859
+
2860
+ module NodeClassExpression2
2861
+ def node_class_name
2862
+ elements[2].text_value
2863
+ end
2864
+ end
2865
+
2866
+ module NodeClassExpression3
2867
+ def node_class_name
2868
+ nil
2869
+ end
2870
+ end
2871
+
2872
+ def _nt_node_class_expression
2873
+ start_index = index
2874
+ if node_cache[:node_class_expression].has_key?(index)
2875
+ cached = node_cache[:node_class_expression][index]
2876
+ if cached
2877
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
2878
+ @index = cached.interval.end
2879
+ end
2880
+ return cached
2881
+ end
2882
+
2883
+ i0 = index
2884
+ i1, s1 = index, []
2885
+ r2 = _nt_space
2886
+ s1 << r2
2887
+ if r2
2888
+ if has_terminal?('<', false, index)
2889
+ r3 = instantiate_node(SyntaxNode,input, index...(index + 1))
2890
+ @index += 1
2891
+ else
2892
+ terminal_parse_failure('<')
2893
+ r3 = nil
2894
+ end
2895
+ s1 << r3
2896
+ if r3
2897
+ s4, i4 = [], index
2898
+ loop do
2899
+ i5, s5 = index, []
2900
+ i6 = index
2901
+ if has_terminal?('>', false, index)
2902
+ r7 = instantiate_node(SyntaxNode,input, index...(index + 1))
2903
+ @index += 1
2904
+ else
2905
+ terminal_parse_failure('>')
2906
+ r7 = nil
2907
+ end
2908
+ if r7
2909
+ r6 = nil
2910
+ else
2911
+ @index = i6
2912
+ r6 = instantiate_node(SyntaxNode,input, index...index)
2913
+ end
2914
+ s5 << r6
2915
+ if r6
2916
+ if index < input_length
2917
+ r8 = instantiate_node(SyntaxNode,input, index...(index + 1))
2918
+ @index += 1
2919
+ else
2920
+ terminal_parse_failure("any character")
2921
+ r8 = nil
2922
+ end
2923
+ s5 << r8
2924
+ end
2925
+ if s5.last
2926
+ r5 = instantiate_node(SyntaxNode,input, i5...index, s5)
2927
+ r5.extend(NodeClassExpression0)
2928
+ else
2929
+ @index = i5
2930
+ r5 = nil
2931
+ end
2932
+ if r5
2933
+ s4 << r5
2934
+ else
2935
+ break
2936
+ end
2937
+ end
2938
+ if s4.empty?
2939
+ @index = i4
2940
+ r4 = nil
2941
+ else
2942
+ r4 = instantiate_node(SyntaxNode,input, i4...index, s4)
2943
+ end
2944
+ s1 << r4
2945
+ if r4
2946
+ if has_terminal?('>', false, index)
2947
+ r9 = instantiate_node(SyntaxNode,input, index...(index + 1))
2948
+ @index += 1
2949
+ else
2950
+ terminal_parse_failure('>')
2951
+ r9 = nil
2952
+ end
2953
+ s1 << r9
2954
+ end
2955
+ end
2956
+ end
2957
+ if s1.last
2958
+ r1 = instantiate_node(SyntaxNode,input, i1...index, s1)
2959
+ r1.extend(NodeClassExpression1)
2960
+ r1.extend(NodeClassExpression2)
2961
+ else
2962
+ @index = i1
2963
+ r1 = nil
2964
+ end
2965
+ if r1
2966
+ r0 = r1
2967
+ else
2968
+ if has_terminal?('', false, index)
2969
+ r10 = instantiate_node(SyntaxNode,input, index...(index + 0))
2970
+ r10.extend(NodeClassExpression3)
2971
+ @index += 0
2972
+ else
2973
+ terminal_parse_failure('')
2974
+ r10 = nil
2975
+ end
2976
+ if r10
2977
+ r0 = r10
2978
+ else
2979
+ @index = i0
2980
+ r0 = nil
2981
+ end
2982
+ end
2983
+
2984
+ node_cache[:node_class_expression][start_index] = r0
2985
+
2986
+ r0
2987
+ end
2988
+
2989
+ module TrailingInlineModule0
2990
+ def space
2991
+ elements[0]
2992
+ end
2993
+
2994
+ def inline_module
2995
+ elements[1]
2996
+ end
2997
+ end
2998
+
2999
+ module TrailingInlineModule1
3000
+ def inline_modules
3001
+ [inline_module]
3002
+ end
3003
+
3004
+ def inline_module_name
3005
+ inline_module.module_name
3006
+ end
3007
+ end
3008
+
3009
+ module TrailingInlineModule2
3010
+ def inline_modules
3011
+ []
3012
+ end
3013
+
3014
+ def inline_module
3015
+ nil
3016
+ end
3017
+
3018
+ def inline_module_name
3019
+ nil
3020
+ end
3021
+ end
3022
+
3023
+ def _nt_trailing_inline_module
3024
+ start_index = index
3025
+ if node_cache[:trailing_inline_module].has_key?(index)
3026
+ cached = node_cache[:trailing_inline_module][index]
3027
+ if cached
3028
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
3029
+ @index = cached.interval.end
3030
+ end
3031
+ return cached
3032
+ end
3033
+
3034
+ i0 = index
3035
+ i1, s1 = index, []
3036
+ r2 = _nt_space
3037
+ s1 << r2
3038
+ if r2
3039
+ r3 = _nt_inline_module
3040
+ s1 << r3
3041
+ end
3042
+ if s1.last
3043
+ r1 = instantiate_node(SyntaxNode,input, i1...index, s1)
3044
+ r1.extend(TrailingInlineModule0)
3045
+ r1.extend(TrailingInlineModule1)
3046
+ else
3047
+ @index = i1
3048
+ r1 = nil
3049
+ end
3050
+ if r1
3051
+ r0 = r1
3052
+ else
3053
+ if has_terminal?('', false, index)
3054
+ r4 = instantiate_node(SyntaxNode,input, index...(index + 0))
3055
+ r4.extend(TrailingInlineModule2)
3056
+ @index += 0
3057
+ else
3058
+ terminal_parse_failure('')
3059
+ r4 = nil
3060
+ end
3061
+ if r4
3062
+ r0 = r4
3063
+ else
3064
+ @index = i0
3065
+ r0 = nil
3066
+ end
3067
+ end
3068
+
3069
+ node_cache[:trailing_inline_module][start_index] = r0
3070
+
3071
+ r0
3072
+ end
3073
+
3074
+ module PredicateBlock0
3075
+ def inline_module
3076
+ elements[1]
3077
+ end
3078
+ end
3079
+
3080
+ def _nt_predicate_block
3081
+ start_index = index
3082
+ if node_cache[:predicate_block].has_key?(index)
3083
+ cached = node_cache[:predicate_block][index]
3084
+ if cached
3085
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
3086
+ @index = cached.interval.end
3087
+ end
3088
+ return cached
3089
+ end
3090
+
3091
+ i0, s0 = index, []
3092
+ if has_terminal?('', false, index)
3093
+ r1 = instantiate_node(SyntaxNode,input, index...(index + 0))
3094
+ @index += 0
3095
+ else
3096
+ terminal_parse_failure('')
3097
+ r1 = nil
3098
+ end
3099
+ s0 << r1
3100
+ if r1
3101
+ r2 = _nt_inline_module
3102
+ s0 << r2
3103
+ end
3104
+ if s0.last
3105
+ r0 = instantiate_node(PredicateBlock,input, i0...index, s0)
3106
+ r0.extend(PredicateBlock0)
3107
+ else
3108
+ @index = i0
3109
+ r0 = nil
3110
+ end
3111
+
3112
+ node_cache[:predicate_block][start_index] = r0
3113
+
3114
+ r0
3115
+ end
3116
+
3117
+ module InlineModule0
3118
+ end
3119
+
3120
+ module InlineModule1
3121
+ end
3122
+
3123
+ def _nt_inline_module
3124
+ start_index = index
3125
+ if node_cache[:inline_module].has_key?(index)
3126
+ cached = node_cache[:inline_module][index]
3127
+ if cached
3128
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
3129
+ @index = cached.interval.end
3130
+ end
3131
+ return cached
3132
+ end
3133
+
3134
+ i0, s0 = index, []
3135
+ if has_terminal?('{', false, index)
3136
+ r1 = instantiate_node(SyntaxNode,input, index...(index + 1))
3137
+ @index += 1
3138
+ else
3139
+ terminal_parse_failure('{')
3140
+ r1 = nil
3141
+ end
3142
+ s0 << r1
3143
+ if r1
3144
+ s2, i2 = [], index
3145
+ loop do
3146
+ i3 = index
3147
+ r4 = _nt_inline_module
3148
+ if r4
3149
+ r3 = r4
3150
+ else
3151
+ i5, s5 = index, []
3152
+ i6 = index
3153
+ if has_terminal?('\G[{}]', true, index)
3154
+ r7 = true
3155
+ @index += 1
3156
+ else
3157
+ r7 = nil
3158
+ end
3159
+ if r7
3160
+ r6 = nil
3161
+ else
3162
+ @index = i6
3163
+ r6 = instantiate_node(SyntaxNode,input, index...index)
3164
+ end
3165
+ s5 << r6
3166
+ if r6
3167
+ if index < input_length
3168
+ r8 = instantiate_node(SyntaxNode,input, index...(index + 1))
3169
+ @index += 1
3170
+ else
3171
+ terminal_parse_failure("any character")
3172
+ r8 = nil
3173
+ end
3174
+ s5 << r8
3175
+ end
3176
+ if s5.last
3177
+ r5 = instantiate_node(SyntaxNode,input, i5...index, s5)
3178
+ r5.extend(InlineModule0)
3179
+ else
3180
+ @index = i5
3181
+ r5 = nil
3182
+ end
3183
+ if r5
3184
+ r3 = r5
3185
+ else
3186
+ @index = i3
3187
+ r3 = nil
3188
+ end
3189
+ end
3190
+ if r3
3191
+ s2 << r3
3192
+ else
3193
+ break
3194
+ end
3195
+ end
3196
+ r2 = instantiate_node(SyntaxNode,input, i2...index, s2)
3197
+ s0 << r2
3198
+ if r2
3199
+ if has_terminal?('}', false, index)
3200
+ r9 = instantiate_node(SyntaxNode,input, index...(index + 1))
3201
+ @index += 1
3202
+ else
3203
+ terminal_parse_failure('}')
3204
+ r9 = nil
3205
+ end
3206
+ s0 << r9
3207
+ end
3208
+ end
3209
+ if s0.last
3210
+ r0 = instantiate_node(InlineModule,input, i0...index, s0)
3211
+ r0.extend(InlineModule1)
3212
+ else
3213
+ @index = i0
3214
+ r0 = nil
3215
+ end
3216
+
3217
+ node_cache[:inline_module][start_index] = r0
3218
+
3219
+ r0
3220
+ end
3221
+
3222
+ module KeywordInsideGrammar0
3223
+ end
3224
+
3225
+ def _nt_keyword_inside_grammar
3226
+ start_index = index
3227
+ if node_cache[:keyword_inside_grammar].has_key?(index)
3228
+ cached = node_cache[:keyword_inside_grammar][index]
3229
+ if cached
3230
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
3231
+ @index = cached.interval.end
3232
+ end
3233
+ return cached
3234
+ end
3235
+
3236
+ i0, s0 = index, []
3237
+ i1 = index
3238
+ if has_terminal?('rule', false, index)
3239
+ r2 = instantiate_node(SyntaxNode,input, index...(index + 4))
3240
+ @index += 4
3241
+ else
3242
+ terminal_parse_failure('rule')
3243
+ r2 = nil
3244
+ end
3245
+ if r2
3246
+ r1 = r2
3247
+ else
3248
+ if has_terminal?('end', false, index)
3249
+ r3 = instantiate_node(SyntaxNode,input, index...(index + 3))
3250
+ @index += 3
3251
+ else
3252
+ terminal_parse_failure('end')
3253
+ r3 = nil
3254
+ end
3255
+ if r3
3256
+ r1 = r3
3257
+ else
3258
+ @index = i1
3259
+ r1 = nil
3260
+ end
3261
+ end
3262
+ s0 << r1
3263
+ if r1
3264
+ i4 = index
3265
+ r5 = _nt_non_space_char
3266
+ if r5
3267
+ r4 = nil
3268
+ else
3269
+ @index = i4
3270
+ r4 = instantiate_node(SyntaxNode,input, index...index)
3271
+ end
3272
+ s0 << r4
3273
+ end
3274
+ if s0.last
3275
+ r0 = instantiate_node(SyntaxNode,input, i0...index, s0)
3276
+ r0.extend(KeywordInsideGrammar0)
3277
+ else
3278
+ @index = i0
3279
+ r0 = nil
3280
+ end
3281
+
3282
+ node_cache[:keyword_inside_grammar][start_index] = r0
3283
+
3284
+ r0
3285
+ end
3286
+
3287
+ module NonSpaceChar0
3288
+ end
3289
+
3290
+ def _nt_non_space_char
3291
+ start_index = index
3292
+ if node_cache[:non_space_char].has_key?(index)
3293
+ cached = node_cache[:non_space_char][index]
3294
+ if cached
3295
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
3296
+ @index = cached.interval.end
3297
+ end
3298
+ return cached
3299
+ end
3300
+
3301
+ i0, s0 = index, []
3302
+ i1 = index
3303
+ r2 = _nt_space
3304
+ if r2
3305
+ r1 = nil
3306
+ else
3307
+ @index = i1
3308
+ r1 = instantiate_node(SyntaxNode,input, index...index)
3309
+ end
3310
+ s0 << r1
3311
+ if r1
3312
+ if index < input_length
3313
+ r3 = instantiate_node(SyntaxNode,input, index...(index + 1))
3314
+ @index += 1
3315
+ else
3316
+ terminal_parse_failure("any character")
3317
+ r3 = nil
3318
+ end
3319
+ s0 << r3
3320
+ end
3321
+ if s0.last
3322
+ r0 = instantiate_node(SyntaxNode,input, i0...index, s0)
3323
+ r0.extend(NonSpaceChar0)
3324
+ else
3325
+ @index = i0
3326
+ r0 = nil
3327
+ end
3328
+
3329
+ node_cache[:non_space_char][start_index] = r0
3330
+
3331
+ r0
3332
+ end
3333
+
3334
+ def _nt_alpha_char
3335
+ start_index = index
3336
+ if node_cache[:alpha_char].has_key?(index)
3337
+ cached = node_cache[:alpha_char][index]
3338
+ if cached
3339
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
3340
+ @index = cached.interval.end
3341
+ end
3342
+ return cached
3343
+ end
3344
+
3345
+ if has_terminal?('\G[A-Za-z_]', true, index)
3346
+ r0 = instantiate_node(SyntaxNode,input, index...(index + 1))
3347
+ @index += 1
3348
+ else
3349
+ r0 = nil
3350
+ end
3351
+
3352
+ node_cache[:alpha_char][start_index] = r0
3353
+
3354
+ r0
3355
+ end
3356
+
3357
+ def _nt_alphanumeric_char
3358
+ start_index = index
3359
+ if node_cache[:alphanumeric_char].has_key?(index)
3360
+ cached = node_cache[:alphanumeric_char][index]
3361
+ if cached
3362
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
3363
+ @index = cached.interval.end
3364
+ end
3365
+ return cached
3366
+ end
3367
+
3368
+ i0 = index
3369
+ r1 = _nt_alpha_char
3370
+ if r1
3371
+ r0 = r1
3372
+ else
3373
+ if has_terminal?('\G[0-9]', true, index)
3374
+ r2 = true
3375
+ @index += 1
3376
+ else
3377
+ r2 = nil
3378
+ end
3379
+ if r2
3380
+ r0 = r2
3381
+ else
3382
+ @index = i0
3383
+ r0 = nil
3384
+ end
3385
+ end
3386
+
3387
+ node_cache[:alphanumeric_char][start_index] = r0
3388
+
3389
+ r0
3390
+ end
3391
+
3392
+ def _nt_space
3393
+ start_index = index
3394
+ if node_cache[:space].has_key?(index)
3395
+ cached = node_cache[:space][index]
3396
+ if cached
3397
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
3398
+ @index = cached.interval.end
3399
+ end
3400
+ return cached
3401
+ end
3402
+
3403
+ s0, i0 = [], index
3404
+ loop do
3405
+ i1 = index
3406
+ r2 = _nt_white
3407
+ if r2
3408
+ r1 = r2
3409
+ else
3410
+ r3 = _nt_comment_to_eol
3411
+ if r3
3412
+ r1 = r3
3413
+ else
3414
+ @index = i1
3415
+ r1 = nil
3416
+ end
3417
+ end
3418
+ if r1
3419
+ s0 << r1
3420
+ else
3421
+ break
3422
+ end
3423
+ end
3424
+ if s0.empty?
3425
+ @index = i0
3426
+ r0 = nil
3427
+ else
3428
+ r0 = instantiate_node(SyntaxNode,input, i0...index, s0)
3429
+ end
3430
+
3431
+ node_cache[:space][start_index] = r0
3432
+
3433
+ r0
3434
+ end
3435
+
3436
+ module CommentToEol0
3437
+ end
3438
+
3439
+ module CommentToEol1
3440
+ end
3441
+
3442
+ def _nt_comment_to_eol
3443
+ start_index = index
3444
+ if node_cache[:comment_to_eol].has_key?(index)
3445
+ cached = node_cache[:comment_to_eol][index]
3446
+ if cached
3447
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
3448
+ @index = cached.interval.end
3449
+ end
3450
+ return cached
3451
+ end
3452
+
3453
+ i0, s0 = index, []
3454
+ if has_terminal?('#', false, index)
3455
+ r1 = instantiate_node(SyntaxNode,input, index...(index + 1))
3456
+ @index += 1
3457
+ else
3458
+ terminal_parse_failure('#')
3459
+ r1 = nil
3460
+ end
3461
+ s0 << r1
3462
+ if r1
3463
+ s2, i2 = [], index
3464
+ loop do
3465
+ i3, s3 = index, []
3466
+ i4 = index
3467
+ if has_terminal?("\n", false, index)
3468
+ r5 = instantiate_node(SyntaxNode,input, index...(index + 1))
3469
+ @index += 1
3470
+ else
3471
+ terminal_parse_failure("\n")
3472
+ r5 = nil
3473
+ end
3474
+ if r5
3475
+ r4 = nil
3476
+ else
3477
+ @index = i4
3478
+ r4 = instantiate_node(SyntaxNode,input, index...index)
3479
+ end
3480
+ s3 << r4
3481
+ if r4
3482
+ if index < input_length
3483
+ r6 = instantiate_node(SyntaxNode,input, index...(index + 1))
3484
+ @index += 1
3485
+ else
3486
+ terminal_parse_failure("any character")
3487
+ r6 = nil
3488
+ end
3489
+ s3 << r6
3490
+ end
3491
+ if s3.last
3492
+ r3 = instantiate_node(SyntaxNode,input, i3...index, s3)
3493
+ r3.extend(CommentToEol0)
3494
+ else
3495
+ @index = i3
3496
+ r3 = nil
3497
+ end
3498
+ if r3
3499
+ s2 << r3
3500
+ else
3501
+ break
3502
+ end
3503
+ end
3504
+ r2 = instantiate_node(SyntaxNode,input, i2...index, s2)
3505
+ s0 << r2
3506
+ end
3507
+ if s0.last
3508
+ r0 = instantiate_node(SyntaxNode,input, i0...index, s0)
3509
+ r0.extend(CommentToEol1)
3510
+ else
3511
+ @index = i0
3512
+ r0 = nil
3513
+ end
3514
+
3515
+ node_cache[:comment_to_eol][start_index] = r0
3516
+
3517
+ r0
3518
+ end
3519
+
3520
+ def _nt_white
3521
+ start_index = index
3522
+ if node_cache[:white].has_key?(index)
3523
+ cached = node_cache[:white][index]
3524
+ if cached
3525
+ cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
3526
+ @index = cached.interval.end
3527
+ end
3528
+ return cached
3529
+ end
3530
+
3531
+ if has_terminal?('\G[ \\t\\n\\r]', true, index)
3532
+ r0 = instantiate_node(SyntaxNode,input, index...(index + 1))
3533
+ @index += 1
3534
+ else
3535
+ r0 = nil
3536
+ end
3537
+
3538
+ node_cache[:white][start_index] = r0
3539
+
3540
+ r0
3541
+ end
3542
+
3543
+ end
3544
+
3545
+ class MetagrammarParser < Treetop::Runtime::CompiledParser
3546
+ include Metagrammar
3547
+ end
3548
+
3549
+ end
3550
+ end