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,2327 @@
1
+ # Sass Changelog
2
+
3
+ * Table of contents
4
+ {:toc}
5
+
6
+ ## 3.1.11
7
+
8
+ * Allow control directives (such as `@if`) to be nested beneath properties.
9
+ * Allow property names to begin with a hyphen followed by interpolation (e.g. `-#{...}`).
10
+ * Fix a parsing error with interpolation in comma-separated lists.
11
+ * Make `--cache-store` with with `--update`.
12
+ * Properly report `ArgumentError`s that occur within user-defined functions.
13
+ * Don't crash on JRuby if the underlying Java doesn't support every Unicode encoding.
14
+ * Add new `updated_stylesheet` callback, which is run after each stylesheet has
15
+ been successfully compiled. Thanks to [Christian Peters](https://github.com/ChristianPeters).
16
+ * Allow absolute paths to be used in an importer with a different root.
17
+ * Don't destructively modify the options when running `Sass::Plugin.force_update`.
18
+
19
+ ### Deprecations -- Must Read!
20
+
21
+ * The `updating_stylesheet` is deprecated and will be removed in a
22
+ future release. Use the new `updated_stylesheet` callback instead.
23
+
24
+ ## 3.1.10
25
+
26
+ * Fix another aspect of the 3.1.8 regression relating to `+`.
27
+
28
+ ## 3.1.9
29
+
30
+ * Fix a regression in 3.1.8 that broke the `+` combinator in selectors.
31
+
32
+ * Deprecate the loud-comment flag when used with silent comments (e.g. `//!`).
33
+ Using it with multi-line comments (e.g. `/*!`) still works.
34
+
35
+ ## 3.1.8
36
+
37
+ * Deprecate parent selectors followed immediately by identifiers (e.g. `&foo`).
38
+ This should never have worked, since it violates the rule
39
+ of `&` only being usable where an element selector would.
40
+
41
+ * Add a `--force` option to the `sass` executable which makes `--update`
42
+ always compile all stylesheets, even if the CSS is newer.
43
+
44
+ * Disallow semicolons at the end of `@import` directives in the indented syntax.
45
+
46
+ * Don't error out when being used as a library without requiring `fileutil`.
47
+
48
+ * Don't crash when Compass-style sprite imports are used with `StalenessChecker`
49
+ (thanks to [Matthias Bauer](https://github.com/moeffju)).
50
+
51
+ * The numeric precision of numbers in Sass can now be set using the
52
+ `--precision` option to the command line. Additionally, the default
53
+ number of digits of precision in Sass output can now be
54
+ changed by setting `Sass::Script::Number.precision` to an integer
55
+ (defaults to 3). Since this value can now be changed, the `PRECISION`
56
+ constant in `Sass::Script::Number` has been deprecated. In the unlikely
57
+ event that you were using it in your code, you should now use
58
+ `Sass::Script::Number.precision_factor` instead.
59
+
60
+ * Don't crash when running `sass-convert` with selectors with two commas in a row.
61
+
62
+ * Explicitly require Ruby >= 1.8.7 (thanks [Eric Mason](https://github.com/ericmason)).
63
+
64
+ * Properly validate the nesting of elements in imported stylesheets.
65
+
66
+ * Properly compile files in parent directories with `--watch` and `--update`.
67
+
68
+ * Properly null out options in mixin definitions before caching them. This fixes
69
+ a caching bug that has been plaguing some Rails 3.1 users.
70
+
71
+ ## 3.1.7
72
+
73
+ * Don't crash when doing certain operations with `@function`s.
74
+
75
+ ## 3.1.6
76
+
77
+ * The option `:trace_selectors` can now be used to emit a full trace
78
+ before each selector. This can be helpful for in-browser debugging of
79
+ stylesheet imports and mixin includes. This option supersedes the
80
+ `:line_comments` option and is superseded by the `:debug_info`
81
+ option.
82
+
83
+ * Fix a bug where long `@if`/`@else` chains would cause exponential slowdown
84
+ under some circumstances.
85
+
86
+ ## 3.1.5
87
+
88
+ * Updated the vendored FSSM version, which will avoid segfaults on OS
89
+ X Lion when using `--watch`.
90
+
91
+ ## 3.1.4
92
+
93
+ * Sass no longer unnecessarily caches the sass options hash.
94
+ This allows objects that cannot be marshaled to be placed into the
95
+ options hash.
96
+
97
+ ## 3.1.3
98
+
99
+ * Sass now logs message thru a logger object which can be changed to
100
+ provide integration with other frameworks' logging infrastructure.
101
+
102
+
103
+ ## 3.1.2
104
+
105
+ * Fix some issues that were breaking Sass when running within Rubinius.
106
+ * Fix some issues that were affecting Rails 3.1 integration.
107
+ * New function `zip` allows several lists to be combined into one
108
+ list of lists. For example:
109
+ `zip(1px 1px 3px, solid dashed solid, red green blue)` becomes
110
+ `1px solid red, 1px dashed green, 3px solid blue`
111
+ * New function `index` returns the list index of a value
112
+ within a list. For example: `index(1px solid red, solid)`
113
+ returns `2`. When the value is not found `false` is returned.
114
+
115
+ ## 3.1.1
116
+
117
+ * Make sure `Sass::Plugin` is loaded at the correct time in Rails 3.
118
+
119
+ ## 3.1.0
120
+
121
+ * Add an {Sass::Script::Functions#invert `invert` function} that takes the inverse of colors.
122
+
123
+ * A new sass function called `if` can be used to emit one of two values
124
+ based on the truth value of the first argument.
125
+ For example, `if(true, 1px, 2px)` returns `1px` and `if(false, 1px, 2px)` returns `2px`.
126
+
127
+ * Compass users can now use the `--compass` flag
128
+ to make the Compass libraries available for import.
129
+ This will also load the Compass project configuration
130
+ if run from the project root.
131
+
132
+ * Many performance optimizations have been made by [thedarkone](http://github.com/thedarkone).
133
+
134
+ * Allow selectors to contain extra commas to make them easier to modify.
135
+ Extra commas will be removed when the selectors are converted to CSS.
136
+
137
+ * `@import` may now be used within CSS or `@media` rules.
138
+ The imported file will be treated as though it were nested within the rule.
139
+ Files with mixins may not be imported in nested contexts.
140
+
141
+ * If a comment starts with `!`, that comment will now be interpolated
142
+ (`#{...}` will be replaced with the resulting value of the expression
143
+ inside) and the comment will always be printed out in the generated CSS
144
+ file -- even with compressed output. This is useful for adding copyright
145
+ notices to your stylesheets.
146
+
147
+ * A new executable named `scss` is now available. It is exactly like the
148
+ `sass` executable except it defaults to assuming input is in the SCSS syntax.
149
+ Both programs will use the source file's extension to determine the syntax where
150
+ possible.
151
+
152
+ ### Sass-based Functions
153
+
154
+ While it has always been possible to add functions to Sass with Ruby, this release adds the ability to define new functions within Sass files directly.
155
+ For example:
156
+
157
+ $grid-width: 40px;
158
+ $gutter-width: 10px;
159
+
160
+ @function grid-width($n) {
161
+ @return $n * $grid-width + ($n - 1) * $gutter-width;
162
+ }
163
+
164
+ #sidebar { width: grid-width(5); }
165
+
166
+ Becomes:
167
+
168
+ #sidebar {
169
+ width: 240px; }
170
+
171
+ ### Keyword Arguments
172
+
173
+ Both mixins and Sass functions now support the ability to pass in keyword arguments.
174
+ For example, with mixins:
175
+
176
+ @mixin border-radius($value, $moz: true, $webkit: true, $css3: true) {
177
+ @if $moz { -moz-border-radius: $value }
178
+ @if $webkit { -webkit-border-radius: $value }
179
+ @if $css3 { border-radius: $value }
180
+ }
181
+
182
+ @include border-radius(10px, $webkit: false);
183
+
184
+ And with functions:
185
+
186
+ p {
187
+ color: hsl($hue: 180, $saturation: 78%, $lightness: 57%);
188
+ }
189
+
190
+ Keyword arguments are of the form `$name: value` and come after normal arguments.
191
+ They can be used for either optional or required arguments.
192
+ For mixins, the names are the same as the argument names for the mixins.
193
+ For functions, the names are defined along with the functions.
194
+ The argument names for the built-in functions are listed
195
+ {Sass::Script::Functions in the function documentation}.
196
+
197
+ Sass functions defined in Ruby can use the {Sass::Script::Functions.declare} method
198
+ to declare the names of the arguments they take.
199
+
200
+ #### New Keyword Functions
201
+
202
+ The new keyword argument functionality enables new Sass color functions
203
+ that use keywords to encompass a large amount of functionality in one function.
204
+
205
+ * The {Sass::Script::Functions#adjust_color adjust-color} function works like the old
206
+ `lighten`, `saturate`, and `adjust-hue` methods.
207
+ It increases and/or decreases the values of a color's properties by fixed amounts.
208
+ For example, `adjust-color($color, $lightness: 10%)` is the same as `lighten($color, 10%)`:
209
+ it returns `$color` with its lightness increased by 10%.
210
+
211
+ * The {Sass::Script::Functions#scale_color scale_color} function
212
+ is similar to {Sass::Script::Functions#adjust adjust},
213
+ but instead of increasing and/or decreasing a color's properties by fixed amounts,
214
+ it scales them fluidly by percentages.
215
+ The closer the percentage is to 100% (or -100%),
216
+ the closer the new property value will be to its maximum (or minimum).
217
+ For example, `scale-color(hsl(120, 70, 80), $lightness: 50%)`
218
+ will change the lightness from 80% to 90%,
219
+ because 90% is halfway between 80% and 100%.
220
+ Similarly, `scale-color(hsl(120, 70, 50), $lightness: 50%)`
221
+ will change the lightness from 50% to 75%.
222
+
223
+ * The {Sass::Script::Functions#change_color change-color} function simply changes a color's properties
224
+ regardless of their old values.
225
+ For example `change-color($color, $lightness: 10%)` returns `$color` with 10% lightness,
226
+ and `change-color($color, $alpha: 0.7)` returns color with opacity 0.7.
227
+
228
+ Each keyword function accepts `$hue`, `$saturation`, `$value`,
229
+ `$red`, `$green`, `$blue`, and `$alpha` keywords,
230
+ with the exception of `scale-color()` which doesn't accept `$hue`.
231
+ These keywords modify the respective properties of the given color.
232
+
233
+ Each keyword function can modify multiple properties at once.
234
+ For example, `adjust-color($color, $lightness: 15%, $saturation: -10%)`
235
+ both lightens and desaturates `$color`.
236
+ HSL properties cannot be modified at the same time as RGB properties, though.
237
+
238
+ ### Lists
239
+
240
+ Lists are now a first-class data type in Sass,
241
+ alongside strings, numbers, colors, and booleans.
242
+ They can be assigned to variables, passed to mixins,
243
+ and used in CSS declarations.
244
+ Just like the other data types (except booleans),
245
+ Sass lists look just like their CSS counterparts.
246
+ They can be separated either by spaces (e.g. `1px 2px 0 10px`)
247
+ or by commas (e.g. `Helvetica, Arial, sans-serif`).
248
+ In addition, individual values count as single-item lists.
249
+
250
+ Lists won't behave any differently in Sass 3.1 than they did in 3.0.
251
+ However, you can now do more with them using the new [list functions](Sass/Script/Functions.html#list-functions):
252
+
253
+ * The {Sass::Script::Functions#nth `nth($list, $n)` function} returns the nth item in a list.
254
+ For example, `nth(1px 2px 10px, 2)` returns the second item, `2px`.
255
+ Note that lists in Sass start at 1, not at 0 like they do in some other languages.
256
+
257
+ * The {Sass::Script::Functions#join `join($list1, $list2)` function}
258
+ joins together two lists into one.
259
+ For example, `join(1px 2px, 10px 5px)` returns `1px 2px 10px 5px`.
260
+
261
+ * The {Sass::Script::Functions#append `append($list, $val)` function}
262
+ appends values to the end of a list.
263
+ For example, `append(1px 2px, 10px)` returns `1px 2px 10px`.
264
+
265
+ * The {Sass::Script::Functions#join `length($list)` function}
266
+ returns the length of a list.
267
+ For example, `length(1px 2px 10px 5px)` returns `4`.
268
+
269
+ For more details about lists see {file:SASS_REFERENCE.md#lists the reference}.
270
+
271
+ #### `@each`
272
+
273
+ There's also a new directive that makes use of lists.
274
+ The {file:SASS_REFERENCE.md#each-directive `@each` directive} assigns a variable to each item in a list in turn,
275
+ like `@for` does for numbers.
276
+ This is useful for writing a bunch of similar styles
277
+ without having to go to the trouble of creating a mixin.
278
+ For example:
279
+
280
+ @each $animal in puma, sea-slug, egret, salamander {
281
+ .#{$animal}-icon {
282
+ background-image: url('/images/#{$animal}.png');
283
+ }
284
+ }
285
+
286
+ is compiled to:
287
+
288
+ .puma-icon {
289
+ background-image: url('/images/puma.png'); }
290
+ .sea-slug-icon {
291
+ background-image: url('/images/sea-slug.png'); }
292
+ .egret-icon {
293
+ background-image: url('/images/egret.png'); }
294
+ .salamander-icon {
295
+ background-image: url('/images/salamander.png'); }
296
+
297
+ ### `@media` Bubbling
298
+
299
+ Modern stylesheets often use `@media` rules to target styles
300
+ at certain sorts of devices, screen resolutions, or even orientations.
301
+ They're also useful for print and aural styling.
302
+ Unfortunately, it's annoying and repetitive to break the flow of a stylesheet
303
+ and add a `@media` rule containing selectors you've already written
304
+ just to tweak the style a little.
305
+
306
+ Thus, Sass 3.1 now allows you to nest `@media` rules within selectors.
307
+ It will automatically bubble them up to the top level,
308
+ putting all the selectors on the way inside the rule.
309
+ For example:
310
+
311
+ .sidebar {
312
+ width: 300px;
313
+ @media screen and (orientation: landscape) {
314
+ width: 500px;
315
+ }
316
+ }
317
+
318
+ is compiled to:
319
+
320
+ .sidebar {
321
+ width: 300px;
322
+ }
323
+ @media screen and (orientation: landscape) {
324
+ .sidebar {
325
+ width: 500px;
326
+ }
327
+ }
328
+
329
+ You can also nest `@media` directives within one another.
330
+ The queries will then be combined using the `and` operator.
331
+ For example:
332
+
333
+ @media screen {
334
+ .sidebar {
335
+ @media (orientation: landscape) {
336
+ width: 500px;
337
+ }
338
+ }
339
+ }
340
+
341
+ is compiled to:
342
+
343
+ @media screen and (orientation: landscape) {
344
+ .sidebar {
345
+ width: 500px;
346
+ }
347
+ }
348
+
349
+ ### Nested `@import`
350
+
351
+ The `@import` statement can now be nested within other structures
352
+ such as CSS rules and `@media` rules. For example:
353
+
354
+ @media print {
355
+ @import "print";
356
+ }
357
+
358
+ This imports `print.scss` and places all rules so imported within the `@media print` block.
359
+ This makes it easier to create stylesheets for specific media or sections of the document
360
+ and distributing those stylesheets across multiple files.
361
+
362
+ ### Backwards Incompatibilities -- Must Read!
363
+
364
+ * When `@import` is given a path without `.sass`, `.scss`, or `.css` extension,
365
+ and no file exists at that path, it will now throw an error.
366
+ The old behavior of becoming a plain-CSS `@import` was deprecated
367
+ and has now been removed.
368
+
369
+ * Get rid of the `--rails` flag for the `sass` executable.
370
+ This flag hasn't been necessary since Rails 2.0.
371
+ Existing Rails 2.0 installations will continue to work.
372
+
373
+ * Removed deprecated support for ! prefixed variables. Use $ to prefix variables now.
374
+
375
+ * Removed the deprecated css2sass executable. Use sass-convert now.
376
+
377
+ * Removed support for the equals operator in variable assignment. Use : now.
378
+
379
+ * Removed the sass2 mode from sass-convert. Users who have to migrate from sass2
380
+ should install Sass 3.0 and quiet all deprecation warnings before installing Sass 3.1.
381
+
382
+ ### Sass Internals
383
+
384
+ * It is now possible to define a custom importer that can be used to find imports using different import semantics than the default filesystem importer that Sass provides. For instance, you can use this to generate imports on the fly, look them up from a database, or implement different file naming conventions. See the {Sass::Importers::Base Importer Base class} for more information.
385
+
386
+ * It is now possible to define a custom cache store to allow for efficient caching of Sass files using alternative cache stores like memcached in environments where a writable filesystem is not available or where the cache need to be shared across many servers for dynamically generated stylesheet environments. See the {Sass::CacheStores::Base CacheStore Base class} for more information.
387
+
388
+ ## 3.0.26 (Unreleased)
389
+
390
+ * Fix a performance bug in large SCSS stylesheets with many nested selectors.
391
+ This should dramatically decrease compilation time of such stylesheets.
392
+
393
+ * Upgrade the bundled FSSM to version 0.2.3.
394
+ This means `sass --watch` will work out of the box with Rubinius.
395
+
396
+ ## 3.0.25
397
+
398
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.25).
399
+
400
+ * When displaying a Sass error in an imported stylesheet,
401
+ use the imported stylesheet's contents rather than the top-level stylesheet.
402
+
403
+ * Fix a bug that caused some lines with non-ASCII characters to be ignored in Ruby 1.8.
404
+
405
+ * Fix a bug where boolean operators (`and`, `or`, and `not`) wouldn't work at the end of a line
406
+ in a multiline SassScript expression.
407
+
408
+ * When using `sass --update`, only update individual files when they've changed.
409
+
410
+ ## 3.0.24
411
+
412
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.24).
413
+
414
+ * Raise an error when `@else` appears without an `@if` in SCSS.
415
+
416
+ * Fix some cases where `@if` rules were causing the line numbers in error reports
417
+ to become incorrect.
418
+
419
+ ## 3.0.23
420
+
421
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.23).
422
+
423
+ * Fix the error message for unloadable modules when running the executables under Ruby 1.9.2.
424
+
425
+ ### `@charset` Change
426
+
427
+ The behavior of `@charset` has changed in version 3.0.23
428
+ in order to work around a bug in Safari,
429
+ where `@charset` declarations placed anywhere other than the beginning of the document
430
+ cause some CSS rules to be ignored.
431
+ This change also makes `@charset`s in imported files behave in a more useful way.
432
+
433
+ #### Ruby 1.9
434
+
435
+ When using Ruby 1.9, which keeps track of the character encoding of the Sass document internally,
436
+ `@charset` directive in the Sass stylesheet and any stylesheets it imports
437
+ are no longer directly output to the generated CSS.
438
+ They're still used for determining the encoding of the input and output stylesheets,
439
+ but they aren't rendered in the same way other directives are.
440
+
441
+ Instead, Sass adds a single `@charset` directive at the beginning of the output stylesheet
442
+ if necessary, whether or not the input stylesheet had a `@charset` directive.
443
+ It will add this directive if and only if the output stylesheet contains non-ASCII characters.
444
+ By default, the declared charset will be UTF-8,
445
+ but if the Sass stylesheet declares a different charset then that will be used instead if possible.
446
+
447
+ One important consequence of this scheme is that it's possible for a Sass file
448
+ to import partials with different encodings (e.g. one encoded as UTF-8 and one as IBM866).
449
+ The output will then be UTF-8, unless the importing stylesheet
450
+ declares a different charset.
451
+
452
+ #### Ruby 1.8
453
+
454
+ Ruby 1.8 doesn't have good support for encodings, so it uses a simpler but less accurate
455
+ scheme for figuring out what `@charset` declaration to use for the output stylesheet.
456
+ It just takes the first `@charset` declaration to appear in the stylesheet
457
+ or any of its imports and moves it to the beginning of the document.
458
+ This means that under Ruby 1.8 it's *not* safe to import files with different encodings.
459
+
460
+ ## 3.0.22
461
+
462
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.22).
463
+
464
+ * Remove `vendor/sass`, which snuck into the gem by mistake
465
+ and was causing trouble for Heroku users (thanks to [Jacques Crocker](http://railsjedi.com/)).
466
+
467
+ * `sass-convert` now understands better when it's acceptable
468
+ to remove parentheses from expressions.
469
+
470
+ ## 3.0.21
471
+
472
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.21).
473
+
474
+ * Fix the permissions errors for good.
475
+
476
+ * Fix more `#options` attribute errors.
477
+
478
+ ## 3.0.20
479
+
480
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.20).
481
+
482
+ * Fix some permissions errors.
483
+
484
+ * Fix `#options` attribute errors when CSS functions were used with commas.
485
+
486
+ ## 3.0.19
487
+
488
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.19).
489
+
490
+ * Make the alpha value for `rgba` colors respect {Sass::Script::Number::PRECISION}.
491
+
492
+ * Remove all newlines in selectors in `:compressed` mode.
493
+
494
+ * Make color names case-insensitive.
495
+
496
+ * Properly detect SCSS files when using `sass -c`.
497
+
498
+ * Remove spaces after commas in `:compressed` mode.
499
+
500
+ * Allow the `--unix-newlines` flag to work on Unix, where it's a no-op.
501
+
502
+ ## 3.0.18
503
+
504
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.18).
505
+
506
+ * Don't require `rake` in the gemspec, for bundler compatibility under
507
+ JRuby. Thanks to [Gordon McCreight](http://www.gmccreight.com/blog).
508
+
509
+ * Add a command-line option `--stop-on-error` that causes Sass to exit
510
+ when a file fails to compile using `--watch` or `--update`.
511
+
512
+ * Fix a bug in `haml_tag` that would allow duplicate attributes to be added
513
+ and make `data-` attributes not work.
514
+
515
+ * Get rid of the annoying RDoc errors on install.
516
+
517
+ * Disambiguate references to the `Rails` module when `haml-rails` is installed.
518
+
519
+ * Allow `@import` in SCSS to import multiple files in the same `@import` rule.
520
+
521
+ ## 3.0.17
522
+
523
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.17).
524
+
525
+ * Disallow `#{}` interpolation in `@media` queries or unrecognized directives.
526
+ This was never allowed, but now it explicitly throws an error
527
+ rather than just producing invalid CSS.
528
+
529
+ * Make `sass --watch` not throw an error when passed a single file or directory.
530
+
531
+ * Understand that mingw counts as Windows.
532
+
533
+ * Make `sass --update` return a non-0 exit code if one or more files being updated
534
+ contained an error.
535
+
536
+ ## 3.0.16
537
+
538
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.16).
539
+
540
+ * Fix a bug where certain sorts of comments would get improperly
541
+ rendered in the `:compact` style.
542
+
543
+ * Always allow a trailing `*/` in loud comments in the indented syntax.
544
+
545
+ * Fix a performance issue with SCSS parsing in rare cases.
546
+ Thanks to [Chris Eppstein](http://chriseppstein.github.com).
547
+
548
+ * Use better heuristics for figuring out when someone might be using
549
+ the wrong syntax with `sass --watch`.
550
+
551
+ ## 3.0.15
552
+
553
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.15).
554
+
555
+ * Fix a bug where `sass --watch` and `sass --update` were completely broken.
556
+
557
+ * Allow `@import`ed values to contain commas.
558
+
559
+ ## 3.0.14
560
+
561
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.14).
562
+
563
+ * Properly parse paths with drive letters on Windows (e.g. `C:\Foo\Bar.sass`)
564
+ in the Sass executable.
565
+
566
+ * Compile Sass files in a deterministic order.
567
+
568
+ * Fix a bug where comments after `@if` statements in SCSS
569
+ weren't getting passed through to the output document.
570
+
571
+ ## 3.0.13
572
+
573
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.13).
574
+
575
+ ## CSS `@import` Directives
576
+
577
+ Sass is now more intelligent about when to compile `@import` directives to plain CSS.
578
+ Any of the following conditions will cause a literal CSS `@import`:
579
+
580
+ * Importing a path with a `.css` extension (e.g. `@import "foo.css"`).
581
+ * Importing a path with a media type (e.g. `@import "foo" screen;`).
582
+ * Importing an HTTP path (e.g. `@import "http://foo.com/style.css"`).
583
+ * Importing any URL (e.g. `@import url(foo)`).
584
+
585
+ The former two conditions always worked, but the latter two are new.
586
+
587
+ ## `-moz-calc` Support
588
+
589
+ The new [`-moz-calc()` function](http://hacks.mozilla.org/2010/06/css3-calc/) in Firefox 4
590
+ will now be properly parsed by Sass.
591
+ `calc()` was already supported, but because the parsing rules are different
592
+ than for normal CSS functions, this had to be expanded to include `-moz-calc`.
593
+
594
+ In anticipation of wider browser support, in fact,
595
+ *any* function named `-*-calc` (such as `-webkit-calc` or `-ms-calc`)
596
+ will be parsed the same as the `calc` function.
597
+
598
+ ## `:-moz-any` Support
599
+
600
+ The [`:-moz-any` pseudoclass selector](http://hacks.mozilla.org/2010/05/moz-any-selector-grouping/)
601
+ is now parsed by Sass.
602
+
603
+ ## `--require` Flag
604
+
605
+ The Sass command-line executable can now require Ruby files
606
+ using the `--require` flag (or `-r` for short).
607
+
608
+ ## Rails Support
609
+
610
+ Make sure the default Rails options take precedence over the default non-Rails options.
611
+ This makes `./script/server --daemon` work again.
612
+
613
+ ### Rails 3 Support
614
+
615
+ Support for Rails 3 versions prior to beta 4 has been removed.
616
+ Upgrade to Rails 3.0.0.beta4 if you haven't already.
617
+
618
+ ## 3.0.12
619
+
620
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.12).
621
+
622
+ ## Rails 3 Support
623
+
624
+ Apparently the last version broke in new and exciting ways under Rails 3,
625
+ due to the inconsistent load order caused by certain combinations of gems.
626
+ 3.0.12 hacks around that inconsistency, and *should* be fully Rails 3-compatible.
627
+
628
+ ### Deprecated: Rails 3 Beta 3
629
+
630
+ Haml's support for Rails 3.0.0.beta.3 has been deprecated.
631
+ Haml 3.0.13 will only support 3.0.0.beta.4.
632
+
633
+ ## 3.0.11
634
+
635
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.11).
636
+
637
+ There were no changes made to Haml between versions 3.0.10 and 3.0.11.
638
+
639
+ ## Rails 3 Support
640
+
641
+ Make sure Sass *actually* regenerates stylesheets under Rails 3.
642
+ The fix in 3.0.10 didn't work because the Rack stack we were modifying
643
+ wasn't reloaded at the proper time.
644
+
645
+ ## Bug Fixes
646
+
647
+ * Give a decent error message when `--recursive` is used
648
+ in `sass-convert` without a directory.
649
+
650
+ ## 3.0.10
651
+
652
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.10).
653
+
654
+ ### Appengine-JRuby Support
655
+
656
+ The way we determine the location of the Haml installation
657
+ no longer breaks the version of JRuby
658
+ used by [`appengine-jruby`](http://code.google.com/p/appengine-jruby/).
659
+
660
+ ### Rails 3 Support
661
+
662
+ Sass will regenerate stylesheets under Rails 3
663
+ even when no controllers are being accessed.
664
+
665
+ ### Other Improvements
666
+
667
+ * When using `sass-convert --from sass2 --to sass --recursive`,
668
+ suggest the use of `--in-place` as well.
669
+
670
+ ## 3.0.9
671
+
672
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.9).
673
+
674
+ There were no changes made to Sass between versions 3.0.8 and 3.0.9.
675
+ A bug in Gemcutter caused the gem to be uploaded improperly.
676
+
677
+ ## 3.0.8
678
+
679
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.8).
680
+
681
+ * Fix a bug with Rails versions prior to Rails 3.
682
+
683
+ ## 3.0.7
684
+
685
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.7).
686
+
687
+ ### Encoding Support
688
+
689
+ Sass 3.0.7 adds support for `@charset` for declaring the encoding of a stylesheet.
690
+ For details see {file:SASS_REFERENCE.md#encodings the reference}.
691
+
692
+ The `sass` and `sass-convert` executables also now take an `-E` option
693
+ for specifying the encoding of Sass/SCSS/CSS files.
694
+
695
+ ### Bug Fixes
696
+
697
+ * When compiling a file named `.sass` but with SCSS syntax specified,
698
+ use the latter (and vice versa).
699
+
700
+ * Fix a bug where interpolation would cause some selectors to render improperly.
701
+
702
+ * If a line in a Sass comment starts with `*foo`,
703
+ render it as `*foo` rather than `* *foo`.
704
+
705
+ ## 3.0.6
706
+
707
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.6).
708
+
709
+ There were no changes made to Sass between versions 3.0.5 and 3.0.6.
710
+
711
+ ## 3.0.5
712
+
713
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.5).
714
+
715
+ ### `#{}` Interpolation in Properties
716
+
717
+ Previously, using `#{}` in some places in properties
718
+ would cause a syntax error.
719
+ Now it can be used just about anywhere.
720
+
721
+ Note that when `#{}` is used near operators like `/`,
722
+ those operators are treated as plain CSS
723
+ rather than math operators.
724
+ For example:
725
+
726
+ p {
727
+ $font-size: 12px;
728
+ $line-height: 30px;
729
+ font: #{$font-size}/#{$line-height};
730
+ }
731
+
732
+ is compiled to:
733
+
734
+ p {
735
+ font: 12px/30px;
736
+ }
737
+
738
+ This is useful, since normally {file:SASS_REFERENCE.md#division-and-slash
739
+ a slash with variables is treated as division}.
740
+
741
+ ### Recursive Mixins
742
+
743
+ Mixins that include themselves will now print
744
+ much more informative error messages.
745
+ For example:
746
+
747
+ @mixin foo {@include bar}
748
+ @mixin bar {@include foo}
749
+ @include foo
750
+
751
+ will print:
752
+
753
+ An @include loop has been found:
754
+ foo includes bar
755
+ bar includes foo
756
+
757
+ Although it was previously possible to use recursive mixins
758
+ without causing infinite looping, this is now disallowed,
759
+ since there's no good reason to do it.
760
+
761
+ ### Rails 3 Support
762
+
763
+ Fix Sass configuration under Rails 3.
764
+ Thanks [Dan Cheail](http://github.com/codeape).
765
+
766
+ ### `sass --no-cache`
767
+
768
+ Make the `--no-cache` flag properly forbid Sass from writing `.sass-cache` files.
769
+
770
+ ## 3.0.4
771
+
772
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.4).
773
+
774
+ * Raise an informative error when function arguments have a mispaced comma,
775
+ as in `foo(bar, )`.
776
+
777
+ * Fix a performance problem when using long function names
778
+ such as `-moz-linear-gradient`.
779
+
780
+ ## 3.0.3
781
+
782
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.3).
783
+
784
+ ### Rails 3 Support
785
+
786
+ Make sure Sass is loaded properly when using Rails 3
787
+ along with non-Rails-3-compatible plugins like some versions of `will_paginate`.
788
+
789
+ Also, In order to make some Rails loading errors like the above easier to debug,
790
+ Sass will now raise an error if `Rails.root` is `nil` when Sass is loading.
791
+ Previously, this would just cause the paths to be mis-set.
792
+
793
+ ### Merb Support
794
+
795
+ Merb, including 1.1.0 as well as earlier versions,
796
+ should *really* work with this release.
797
+
798
+ ### Bug Fixes
799
+
800
+ * Raise an informative error when mixin arguments have a mispaced comma,
801
+ as in `@include foo(bar, )`.
802
+
803
+ * Make sure SassScript subtraction happens even when nothing else dynamic is going on.
804
+
805
+ * Raise an error when colors are used with the wrong number of digits.
806
+
807
+ ## 3.0.2
808
+
809
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.2).
810
+
811
+ ### Merb 1.1.0 Support
812
+
813
+ Fixed a bug inserting the Sass plugin into the Merb 1.1.0 Rack application.
814
+
815
+ ### Bug Fixes
816
+
817
+ * Allow identifiers to begin with multiple underscores.
818
+
819
+ * Don't raise an error when using `haml --rails` with older Rails versions.
820
+
821
+ ## 3.0.1
822
+
823
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.1).
824
+
825
+ ### Installation in Rails
826
+
827
+ `haml --rails` is no longer necessary for installing Sass in Rails.
828
+ Now all you need to do is add `gem "haml"` to the Gemfile for Rails 3,
829
+ or add `config.gem "haml"` to `config/environment.rb` for previous versions.
830
+
831
+ `haml --rails` will still work,
832
+ but it has been deprecated and will print an error message.
833
+ It will not work in the next version of Sass.
834
+
835
+ ### Rails 3 Beta Integration
836
+
837
+ * Make sure manually importing the Sass Rack plugin still works with Rails,
838
+ even though it's not necessary now.
839
+
840
+ * Allow Sass to be configured in Rails even when it's being lazy-loaded.
841
+
842
+ ### `:template_location` Methods
843
+
844
+ The {file:SASS_REFERENCE.md#template_location-option `:template_location` option}
845
+ can be either a String, a Hash, or an Array.
846
+ This makes it difficult to modify or use with confidence.
847
+ Thus, three new methods have been added for handling it:
848
+
849
+ * {Sass::Plugin::Configuration#template_location_array Sass::Plugin#template_location_array} --
850
+ Returns the template locations and CSS locations formatted as an array.
851
+
852
+ * {Sass::Plugin::Configuration#add_template_location Sass::Plugin#add_template_location} --
853
+ Converts the template location option to an array and adds a new location.
854
+
855
+ * {Sass::Plugin::Configuration#remove_template_location Sass::Plugin#remove_template_location} --
856
+ Converts the template location option to an array and removes an existing location.
857
+
858
+ ## 3.0.0
859
+ {#3-0-0}
860
+
861
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.0).
862
+
863
+ ### Deprecations -- Must Read!
864
+ {#3-0-0-deprecations}
865
+
866
+ * Using `=` for SassScript properties and variables is deprecated,
867
+ and will be removed in Sass 3.2.
868
+ Use `:` instead.
869
+ See also [this changelog entry](#3-0-0-sass-script-context)
870
+
871
+ * Because of the above, property values using `:`
872
+ will be parsed more thoroughly than they were before.
873
+ Although all valid CSS3 properties
874
+ as well as most hacks and proprietary syntax should be supported,
875
+ it's possible that some properties will break.
876
+ If this happens, please report it to [the Sass mailing list](http://groups.google.com/group/haml).
877
+
878
+ * In addition, setting the default value of variables
879
+ with `||=` is now deprecated
880
+ and will be removed in Sass 3.2.
881
+ Instead, add `!default` to the end of the value.
882
+ See also [this changelog entry](#3-0-0-default-flag)
883
+
884
+ * The `!` prefix for variables is deprecated,
885
+ and will be removed in Sass 3.2.
886
+ Use `$` as a prefix instead.
887
+ See also [this changelog entry](#3-0-0-dollar-prefix).
888
+
889
+ * The `css2sass` command-line tool has been deprecated,
890
+ and will be removed in Sass 3.2.
891
+ Use the new `sass-convert` tool instead.
892
+ See also [this changelog entry](#3-0-0-sass-convert).
893
+
894
+ * Selector parent references using `&` can now only be used
895
+ where element names are valid.
896
+ This is because Sass 3 fully parses selectors
897
+ to support the new [`@extend` directive](#3-0-0-extend),
898
+ and it's possible that the `&` could be replaced by an element name.
899
+
900
+ ### SCSS (Sassy CSS)
901
+
902
+ Sass 3 introduces a new syntax known as SCSS
903
+ which is fully compatible with the syntax of CSS3,
904
+ while still supporting the full power of Sass.
905
+ This means that every valid CSS3 stylesheet
906
+ is a valid SCSS file with the same meaning.
907
+ In addition, SCSS understands most CSS hacks
908
+ and vendor-specific syntax, such as [IE's old `filter` syntax](http://msdn.microsoft.com/en-us/library/ms533754%28VS.85%29.aspx).
909
+
910
+ SCSS files use the `.scss` extension.
911
+ They can import `.sass` files, and vice-versa.
912
+ Their syntax is fully described in the {file:SASS_REFERENCE.md Sass reference};
913
+ if you're already familiar with Sass, though,
914
+ you may prefer the {file:SCSS_FOR_SASS_USERS.md intro to SCSS for Sass users}.
915
+
916
+ Since SCSS is a much more approachable syntax for those new to Sass,
917
+ it will be used as the default syntax for the reference,
918
+ as well as for most other Sass documentation.
919
+ The indented syntax will continue to be fully supported, however.
920
+
921
+ Sass files can be converted to SCSS using the new `sass-convert` command-line tool.
922
+ For example:
923
+
924
+ # Convert a Sass file to SCSS
925
+ $ sass-convert style.sass style.scss
926
+
927
+ **Note that if you're converting a Sass file written for Sass 2**,
928
+ you should use the `--from sass2` flag.
929
+ For example:
930
+
931
+ # Convert a Sass file to SCSS
932
+ $ sass-convert --from sass2 style.sass style.scss
933
+
934
+ # Convert all Sass files to SCSS
935
+ $ sass-convert --recursive --in-place --from sass2 --to scss stylesheets/
936
+
937
+ ### Syntax Changes {#3-0-0-syntax-changes}
938
+
939
+ #### SassScript Context
940
+ {#3-0-0-sass-script-context}
941
+
942
+ The `=` character is no longer required for properties that use SassScript
943
+ (that is, variables and operations).
944
+ All properties now use SassScript automatically;
945
+ this means that `:` should be used instead.
946
+ Variables should also be set with `:`.
947
+ For example, what used to be
948
+
949
+ // Indented syntax
950
+ .page
951
+ color = 5px + 9px
952
+
953
+ should now be
954
+
955
+ // Indented syntax
956
+ .page
957
+ color: 5px + 9px
958
+
959
+ This means that SassScript is now an extension of the CSS3 property syntax.
960
+ All valid CSS3 properties are valid SassScript,
961
+ and will compile without modification
962
+ (some invalid properties work as well, such as Microsoft's proprietary `filter` syntax).
963
+ This entails a few changes to SassScript to make it fully CSS3-compatible,
964
+ which are detailed below.
965
+
966
+ This also means that Sass will now be fully parsing all property values,
967
+ rather than passing them through unchanged to the CSS.
968
+ Although care has been taken to support all valid CSS3,
969
+ as well as hacks and proprietary syntax,
970
+ it's possible that a property that worked in Sass 2 won't work in Sass 3.
971
+ If this happens, please report it to [the Sass mailing list](http://groups.google.com/group/haml).
972
+
973
+ Note that if `=` is used,
974
+ SassScript will be interpreted as backwards-compatibly as posssible.
975
+ In particular, the changes listed below don't apply in an `=` context.
976
+
977
+ The `sass-convert` command-line tool can be used
978
+ to upgrade Sass files to the new syntax using the `--in-place` flag.
979
+ For example:
980
+
981
+ # Upgrade style.sass:
982
+ $ sass-convert --in-place style.sass
983
+
984
+ # Upgrade all Sass files:
985
+ $ sass-convert --recursive --in-place --from sass2 --to sass stylesheets/
986
+
987
+ ##### Quoted Strings
988
+
989
+ Quoted strings (e.g. `"foo"`) in SassScript now render with quotes.
990
+ In addition, unquoted strings are no longer deprecated,
991
+ and render without quotes.
992
+ This means that almost all strings that had quotes in Sass 2
993
+ should not have quotes in Sass 3.
994
+
995
+ Although quoted strings render with quotes when used with `:`,
996
+ they do not render with quotes when used with `#{}`.
997
+ This allows quoted strings to be used for e.g. selectors
998
+ that are passed to mixins.
999
+
1000
+ Strings can be forced to be quoted and unquoted using the new
1001
+ \{Sass::Script::Functions#unquote unquote} and \{Sass::Script::Functions#quote quote}
1002
+ functions.
1003
+
1004
+ ##### Division and `/`
1005
+
1006
+ Two numbers separated by a `/` character
1007
+ are allowed as property syntax in CSS,
1008
+ e.g. for the `font` property.
1009
+ SassScript also uses `/` for division, however,
1010
+ which means it must decide what to do
1011
+ when it encounters numbers separated by `/`.
1012
+
1013
+ For CSS compatibility, SassScript does not perform division by default.
1014
+ However, division will be done in almost all cases where division is intended.
1015
+ In particular, SassScript will perform division
1016
+ in the following three situations:
1017
+
1018
+ 1. If the value, or any part of it, is stored in a variable.
1019
+ 2. If the value is surrounded by parentheses.
1020
+ 3. If the value is used as part of another arithmetic expression.
1021
+
1022
+ For example:
1023
+
1024
+ p
1025
+ font: 10px/8px
1026
+ $width: 1000px
1027
+ width: $width/2
1028
+ height: (500px/2)
1029
+ margin-left: 5px + 8px/2px
1030
+
1031
+ is compiled to:
1032
+
1033
+ p {
1034
+ font: 10px/8px;
1035
+ width: 500px;
1036
+ height: 250px;
1037
+ margin-left: 9px; }
1038
+
1039
+ ##### Variable Defaults
1040
+
1041
+ Since `=` is no longer used for variable assignment,
1042
+ assigning defaults to variables with `||=` no longer makes sense.
1043
+ Instead, the `!default` flag
1044
+ should be added to the end of the variable value.
1045
+ This syntax is meant to be similar to CSS's `!important` flag.
1046
+ For example:
1047
+
1048
+ $var: 12px !default;
1049
+
1050
+ #### Variable Prefix Character
1051
+ {#3-0-0-dollar-prefix}
1052
+
1053
+ The Sass variable character has been changed from `!`
1054
+ to the more aesthetically-appealing `$`.
1055
+ For example, what used to be
1056
+
1057
+ !width = 13px
1058
+ .icon
1059
+ width = !width
1060
+
1061
+ should now be
1062
+
1063
+ $width: 13px
1064
+ .icon
1065
+ width: $width
1066
+
1067
+ The `sass-convert` command-line tool can be used
1068
+ to upgrade Sass files to the new syntax using the `--in-place` flag.
1069
+ For example:
1070
+
1071
+ # Upgrade style.sass:
1072
+ $ sass-convert --in-place style.sass
1073
+
1074
+ # Upgrade all Sass files:
1075
+ $ sass-convert --recursive --in-place --from sass2 --to sass stylesheets/
1076
+
1077
+ `!` may still be used, but it's deprecated and will print a warning.
1078
+ It will be removed in the next version of Sass, 3.2.
1079
+
1080
+ #### Variable and Mixin Names
1081
+
1082
+ SassScript variable and mixin names may now contain hyphens.
1083
+ In fact, they may be any valid CSS3 identifier.
1084
+ For example:
1085
+
1086
+ $prettiest-color: #542FA9
1087
+ =pretty-text
1088
+ color: $prettiest-color
1089
+
1090
+ In order to allow frameworks like [Compass](http://compass-style.org)
1091
+ to use hyphens in variable names
1092
+ while maintaining backwards-compatibility,
1093
+ variables and mixins using hyphens may be referred to
1094
+ with underscores, and vice versa.
1095
+ For example:
1096
+
1097
+ $prettiest-color: #542FA9
1098
+ .pretty
1099
+ // Using an underscore instead of a hyphen works
1100
+ color: $prettiest_color
1101
+
1102
+ #### Single-Quoted Strings
1103
+
1104
+ SassScript now supports single-quoted strings.
1105
+ They behave identically to double-quoted strings,
1106
+ except that single quotes need to be backslash-escaped
1107
+ and double quotes do not.
1108
+
1109
+ #### Mixin Definition and Inclusion
1110
+
1111
+ Sass now supports the `@mixin` directive as a way of defining mixins (like `=`),
1112
+ as well as the `@include` directive as a way of including them (like `+`).
1113
+ The old syntax is *not* deprecated,
1114
+ and the two are fully compatible.
1115
+ For example:
1116
+
1117
+ @mixin pretty-text
1118
+ color: $prettiest-color
1119
+
1120
+ a
1121
+ @include pretty-text
1122
+
1123
+ is the same as:
1124
+
1125
+ =pretty-text
1126
+ color: $prettiest-color
1127
+
1128
+ a
1129
+ +pretty-text
1130
+
1131
+ #### Sass Properties
1132
+
1133
+ New-style properties (with the colon after the name) in indented syntax
1134
+ now allow whitespace before the colon. For example:
1135
+
1136
+ foo
1137
+ color : blue
1138
+
1139
+ #### Sass `@import`
1140
+
1141
+ The Sass `@import` statement now allows non-CSS files to be specified with quotes,
1142
+ for similarity with the SCSS syntax. For example, `@import "foo.sass"`
1143
+ will now import the `foo.sass` file, rather than compiling to `@import "foo.sass";`.
1144
+
1145
+ ### `@extend`
1146
+ {#3-0-0-extend}
1147
+
1148
+ There are often cases when designing a page
1149
+ when one class should have all the styles of another class,
1150
+ as well as its own specific styles.
1151
+ The most common way of handling this is to use both the more general class
1152
+ and the more specific class in the HTML.
1153
+ For example, suppose we have a design for a normal error
1154
+ and also for a serious error. We might write our markup like so:
1155
+
1156
+ <div class="error seriousError">
1157
+ Oh no! You've been hacked!
1158
+ </div>
1159
+
1160
+ And our styles like so:
1161
+
1162
+ .error {
1163
+ border: 1px #f00;
1164
+ background-color: #fdd;
1165
+ }
1166
+ .seriousError {
1167
+ border-width: 3px;
1168
+ }
1169
+
1170
+ Unfortunately, this means that we have to always remember
1171
+ to use `.error` with `.seriousError`.
1172
+ This is a maintenance burden, leads to tricky bugs,
1173
+ and can bring non-semantic style concerns into the markup.
1174
+
1175
+ The `@extend` directive avoids these problems
1176
+ by telling Sass that one selector should inherit the styles of another selector.
1177
+ For example:
1178
+
1179
+ .error {
1180
+ border: 1px #f00;
1181
+ background-color: #fdd;
1182
+ }
1183
+ .seriousError {
1184
+ @extend .error;
1185
+ border-width: 3px;
1186
+ }
1187
+
1188
+ This means that all styles defined for `.error`
1189
+ are also applied to `.seriousError`,
1190
+ in addition to the styles specific to `.seriousError`.
1191
+ In effect, everything with class `.seriousError` also has class `.error`.
1192
+
1193
+ Other rules that use `.error` will work for `.seriousError` as well.
1194
+ For example, if we have special styles for errors caused by hackers:
1195
+
1196
+ .error.intrusion {
1197
+ background-image: url("/image/hacked.png");
1198
+ }
1199
+
1200
+ Then `<div class="seriousError intrusion">`
1201
+ will have the `hacked.png` background image as well.
1202
+
1203
+ #### How it Works
1204
+
1205
+ `@extend` works by inserting the extending selector (e.g. `.seriousError`)
1206
+ anywhere in the stylesheet that the extended selector (.e.g `.error`) appears.
1207
+ Thus the example above:
1208
+
1209
+ .error {
1210
+ border: 1px #f00;
1211
+ background-color: #fdd;
1212
+ }
1213
+ .error.intrusion {
1214
+ background-image: url("/image/hacked.png");
1215
+ }
1216
+ .seriousError {
1217
+ @extend .error;
1218
+ border-width: 3px;
1219
+ }
1220
+
1221
+ is compiled to:
1222
+
1223
+ .error, .seriousError {
1224
+ border: 1px #f00;
1225
+ background-color: #fdd; }
1226
+
1227
+ .error.intrusion, .seriousError.intrusion {
1228
+ background-image: url("/image/hacked.png"); }
1229
+
1230
+ .seriousError {
1231
+ border-width: 3px; }
1232
+
1233
+ When merging selectors, `@extend` is smart enough
1234
+ to avoid unnecessary duplication,
1235
+ so something like `.seriousError.seriousError` gets translated to `.seriousError`.
1236
+ In addition, it won't produce selectors that can't match anything, like `#main#footer`.
1237
+
1238
+ See also {file:SASS_REFERENCE.md#extend the `@extend` reference documentation}.
1239
+
1240
+ ### Colors
1241
+
1242
+ SassScript color values are much more powerful than they were before.
1243
+ Support was added for alpha channels,
1244
+ and most of Chris Eppstein's [compass-colors](http://chriseppstein.github.com/compass-colors) plugin
1245
+ was merged in, providing color-theoretic functions for modifying colors.
1246
+
1247
+ One of the most interesting of these functions is {Sass::Script::Functions#mix mix},
1248
+ which mixes two colors together.
1249
+ This provides a much better way of combining colors and creating themes
1250
+ than standard color arithmetic.
1251
+
1252
+ #### Alpha Channels
1253
+
1254
+ Sass now supports colors with alpha channels,
1255
+ constructed via the {Sass::Script::Functions#rgba rgba}
1256
+ and {Sass::Script::Functions#hsla hsla} functions.
1257
+ Alpha channels are unaffected by color arithmetic.
1258
+ However, the {Sass::Script::Functions#opacify opacify}
1259
+ and {Sass::Script::Functions#transparentize transparentize} functions
1260
+ allow colors to be made more and less opaque, respectively.
1261
+
1262
+ Sass now also supports functions that return the values of the
1263
+ {Sass::Script::Functions#red red},
1264
+ {Sass::Script::Functions#blue blue},
1265
+ {Sass::Script::Functions#green green},
1266
+ and {Sass::Script::Functions#alpha alpha}
1267
+ components of colors.
1268
+
1269
+ #### HSL Colors
1270
+
1271
+ Sass has many new functions for using the HSL values of colors.
1272
+ For an overview of HSL colors, check out [the CSS3 Spec](http://www.w3.org/TR/css3-color/#hsl-color).
1273
+ All these functions work just as well on RGB colors
1274
+ as on colors constructed with the {Sass::Script::Functions#hsl hsl} function.
1275
+
1276
+ * The {Sass::Script::Functions#lighten lighten}
1277
+ and {Sass::Script::Functions#darken darken}
1278
+ functions adjust the lightness of a color.
1279
+
1280
+ * The {Sass::Script::Functions#saturate saturate}
1281
+ and {Sass::Script::Functions#desaturate desaturate}
1282
+ functions adjust the saturation of a color.
1283
+
1284
+ * The {Sass::Script::Functions#adjust_hue adjust-hue}
1285
+ function adjusts the hue of a color.
1286
+
1287
+ * The {Sass::Script::Functions#hue hue},
1288
+ {Sass::Script::Functions#saturation saturation},
1289
+ and {Sass::Script::Functions#lightness lightness}
1290
+ functions return the corresponding HSL values of the color.
1291
+
1292
+ * The {Sass::Script::Functions#grayscale grayscale}
1293
+ function converts a color to grayscale.
1294
+
1295
+ * The {Sass::Script::Functions#complement complement}
1296
+ function returns the complement of a color.
1297
+
1298
+ ### Other New Functions
1299
+
1300
+ Several other new functions were added to make it easier to have
1301
+ more flexible arguments to mixins and to enable deprecation
1302
+ of obsolete APIs.
1303
+
1304
+ * {Sass::Script::Functions#type_of `type-of`} -- Returns the type of a value.
1305
+ * {Sass::Script::Functions#unit `unit`} --
1306
+ Returns the units associated with a number.
1307
+ * {Sass::Script::Functions#unitless `unitless`} --
1308
+ Returns whether a number has units or not.
1309
+ * {Sass::Script::Functions#comparable `comparable`} --
1310
+ Returns whether two numbers can be added or compared.
1311
+
1312
+ ### Watching for Updates
1313
+ {#3-0-0-watch}
1314
+
1315
+ The `sass` command-line utility has a new flag: `--watch`.
1316
+ `sass --watch` monitors files or directories for updated Sass files
1317
+ and compiles those files to CSS automatically.
1318
+ This will allow people not using Ruby or [Compass](http://compass-style.org)
1319
+ to use Sass without having to manually recompile all the time.
1320
+
1321
+ Here's the syntax for watching a directory full of Sass files:
1322
+
1323
+ sass --watch app/stylesheets:public/stylesheets
1324
+
1325
+ This will watch every Sass file in `app/stylesheets`.
1326
+ Whenever one of them changes,
1327
+ the corresponding CSS file in `public/stylesheets` will be regenerated.
1328
+ Any files that import that file will be regenerated, too.
1329
+
1330
+ The syntax for watching individual files is the same:
1331
+
1332
+ sass --watch style.sass:out.css
1333
+
1334
+ You can also omit the output filename if you just want it to compile to name.css.
1335
+ For example:
1336
+
1337
+ sass --watch style.sass
1338
+
1339
+ This will update `style.css` whenever `style.sass` changes.
1340
+
1341
+ You can list more than one file and/or directory,
1342
+ and all of them will be watched:
1343
+
1344
+ sass --watch foo/style:public/foo bar/style:public/bar
1345
+ sass --watch screen.sass print.sass awful-hacks.sass:ie.css
1346
+ sass --watch app/stylesheets:public/stylesheets public/stylesheets/test.sass
1347
+
1348
+ File and directory watching is accessible from Ruby,
1349
+ using the {Sass::Plugin::Compiler#watch Sass::Plugin#watch} function.
1350
+
1351
+ #### Bulk Updating
1352
+
1353
+ Another new flag for the `sass` command-line utility is `--update`.
1354
+ It checks a group of Sass files to see if their CSS needs to be updated,
1355
+ and updates if so.
1356
+
1357
+ The syntax for `--update` is just like watch:
1358
+
1359
+ sass --update app/stylesheets:public/stylesheets
1360
+ sass --update style.sass:out.css
1361
+ sass --watch screen.sass print.sass awful-hacks.sass:ie.css
1362
+
1363
+ In fact, `--update` work exactly the same as `--watch`,
1364
+ except that it doesn't continue watching the files
1365
+ after the first check.
1366
+
1367
+ ### `sass-convert` (née `css2sass`) {#3-0-0-sass-convert}
1368
+
1369
+ The `sass-convert` tool, which used to be known as `css2sass`,
1370
+ has been greatly improved in various ways.
1371
+ It now uses a full-fledged CSS3 parser,
1372
+ so it should be able to handle any valid CSS3,
1373
+ as well as most hacks and proprietary syntax.
1374
+
1375
+ `sass-convert` can now convert between Sass and SCSS.
1376
+ This is normally inferred from the filename,
1377
+ but it can also be specified using the `--from` and `--to` flags.
1378
+ For example:
1379
+
1380
+ $ generate-sass | sass-convert --from sass --to scss | consume-scss
1381
+
1382
+ It's also now possible to convert a file in-place --
1383
+ that is, overwrite the old file with the new file.
1384
+ This is useful for converting files in the [Sass 2 syntax](#3-0-0-deprecations)
1385
+ to the new Sass 3 syntax,
1386
+ e.g. by doing `sass-convert --in-place --from sass2 style.sass`.
1387
+
1388
+ #### `--recursive`
1389
+
1390
+ The `--recursive` option allows `sass-convert` to convert an entire directory of files.
1391
+ `--recursive` requires both the `--from` and `--to` flags to be specified.
1392
+ For example:
1393
+
1394
+ # Convert all .sass files in stylesheets/ to SCSS.
1395
+ # "sass2" means that these files are assumed to use the Sass 2 syntax.
1396
+ $ sass-convert --recursive --from sass2 --to scss stylesheets/
1397
+
1398
+ #### `--dasherize`
1399
+
1400
+ The `--dasherize` options converts all underscores to hyphens,
1401
+ which are now allowed as part of identifiers in Sass.
1402
+ Note that since underscores may still be used in place of hyphens
1403
+ when referring to mixins and variables,
1404
+ this won't cause any backwards-incompatibilities.
1405
+
1406
+ #### Convert Less to SCSS
1407
+
1408
+ `sass-convert` can also convert [Less](http://lesscss.org) files
1409
+ to SCSS (or the indented syntax, although I anticipate less interest in that).
1410
+ For example:
1411
+
1412
+ # Convert all .less files in the current directory into .scss files
1413
+ sass-convert --from less --to scss --recursive .
1414
+
1415
+ This is done using the Less parser, so it requires that the `less` RubyGem be installed.
1416
+
1417
+ ##### Incompatibilities
1418
+
1419
+ Because of the reasonably substantial differences between Sass and Less,
1420
+ there are some things that can't be directly translated,
1421
+ and one feature that can't be translated at all.
1422
+ In the tests I've run on open-source Less stylesheets,
1423
+ none of these have presented issues, but it's good to be aware of them.
1424
+
1425
+ First, Less doesn't distinguish fully between mixins and selector inheritance.
1426
+ In Less, all classes and some other selectors may be used as mixins,
1427
+ alongside more Sass-like mixins.
1428
+ If a class is being used as a mixin,
1429
+ it may also be used directly in the HTML,
1430
+ so it's not safe to translate it into a Sass mixin.
1431
+ What `sass-convert` does instead is leave the class in the stylesheet as a class,
1432
+ and use {file:SASS_REFERENCE.md#extend `@extend`}
1433
+ rather than {file:SASS_REFERENCE.md#including_a_mixin `@include`}
1434
+ to take on the styles of that class.
1435
+ Although `@extend` and mixins work quite differently,
1436
+ using `@extend` here doesn't actually seem to make a difference in practice.
1437
+
1438
+ Another issue with Less mixins is that Less allows nested selectors
1439
+ (such as `.body .button` or `.colors > .teal`) to be used
1440
+ as a means of "namespacing" mixins.
1441
+ Sass's `@extend` doesn't work that way,
1442
+ so it does away with the namespacing and just extends the base class
1443
+ (so `.colors > .teal` becomes simply `@extend .teal`).
1444
+ In practice, this feature doesn't seem to be widely-used,
1445
+ but `sass-convert` will print a warning and leave a comment
1446
+ when it encounters it just in case.
1447
+
1448
+ Finally, Less has the ability to directly access variables and property values
1449
+ defined in other selectors, which Sass does not support.
1450
+ Whenever such an accessor is used,
1451
+ `sass-convert` will print a warning
1452
+ and comment it out in the SCSS output.
1453
+ Like namespaced mixins, though,
1454
+ this does not seem to be a widely-used feature.
1455
+
1456
+ ### `@warn` Directive
1457
+
1458
+ A new directive `@warn` has been added that allows Sass libraries to emit warnings.
1459
+ This can be used to issue deprecation warnings, discourage sloppy use of mixins, etc.
1460
+ `@warn` takes a single argument: a SassScript expression that will be
1461
+ displayed on the console along with a stylesheet trace for locating the warning.
1462
+ For example:
1463
+
1464
+ @mixin blue-text {
1465
+ @warn "The blue-text mixin is deprecated. Use new-blue-text instead.";
1466
+ color: #00f;
1467
+ }
1468
+
1469
+ Warnings may be silenced with the new `--quiet` command line option,
1470
+ or the corresponding {file:SASS_REFERENCE.md#quiet-option `:quiey` Sass option}.
1471
+ This option will also affect warnings printed by Sass itself.
1472
+ Warnings are off by default in the Rails, Rack, and Merb production environments.
1473
+
1474
+ ### Sass::Plugin API
1475
+
1476
+ {Sass::Plugin} now has a large collection of callbacks that allow users
1477
+ to run code when various actions are performed.
1478
+ For example:
1479
+
1480
+ Sass::Plugin.on_updating_stylesheet do |template, css|
1481
+ puts "#{template} has been compiled to #{css}!"
1482
+ end
1483
+
1484
+ For a full list of callbacks and usage notes, see the {Sass::Plugin} documentation.
1485
+
1486
+ {Sass::Plugin} also has a new method,
1487
+ {Sass::Plugin#force_update_stylesheets force_update_stylesheets}.
1488
+ This works just like {Sass::Plugin#update_stylesheets},
1489
+ except that it doesn't check modification times and doesn't use the cache;
1490
+ all stylesheets are always compiled anew.
1491
+
1492
+ ### Output Formatting
1493
+
1494
+ Properties with a value and *also* nested properties
1495
+ are now rendered with the nested properties indented.
1496
+ For example:
1497
+
1498
+ margin: auto
1499
+ top: 10px
1500
+ bottom: 20px
1501
+
1502
+ is now compiled to:
1503
+
1504
+ margin: auto;
1505
+ margin-top: 10px;
1506
+ margin-bottom: 20px;
1507
+
1508
+ #### `:compressed` Style
1509
+
1510
+ When the `:compressed` style is used,
1511
+ colors will be output as the minimal possible representation.
1512
+ This means whichever is smallest of the HTML4 color name
1513
+ and the hex representation (shortened to the three-letter version if possible).
1514
+
1515
+ ### Stylesheet Updating Speed
1516
+
1517
+ Several caching layers were added to Sass's stylesheet updater.
1518
+ This means that it should run significantly faster.
1519
+ This benefit will be seen by people using Sass in development mode
1520
+ with Rails, Rack, and Merb,
1521
+ as well as people using `sass --watch` from the command line,
1522
+ and to a lesser (but still significant) extent `sass --update`.
1523
+ Thanks to [thedarkone](http://github.com/thedarkone).
1524
+
1525
+ ### Error Backtraces
1526
+
1527
+ Numerous bugs were fixed with the backtraces given for Sass errors,
1528
+ especially when importing files and using mixins.
1529
+ All imports and mixins will now show up in the Ruby backtrace,
1530
+ with the proper filename and line number.
1531
+
1532
+ In addition, when the `sass` executable encounters an error,
1533
+ it now prints the filename where the error occurs,
1534
+ as well as a backtrace of Sass imports and mixins.
1535
+
1536
+ ### Ruby 1.9 Support
1537
+
1538
+ * Sass and `css2sass` now produce more descriptive errors
1539
+ when given a template with invalid byte sequences for that template's encoding,
1540
+ including the line number and the offending character.
1541
+
1542
+ * Sass and `css2sass` now accept Unicode documents with a
1543
+ [byte-order-mark](http://en.wikipedia.org/wiki/Byte_order_mark).
1544
+
1545
+ ### Firebug Support
1546
+
1547
+ A new {file:SASS_REFERENCE.md#debug_info-option `:debug_info` option}
1548
+ has been added that emits line-number and filename information
1549
+ to the CSS file in a browser-readable format.
1550
+ This can be used with the new [FireSass Firebug extension](https://addons.mozilla.org/en-US/firefox/addon/103988)
1551
+ to report the Sass filename and line number for generated CSS files.
1552
+
1553
+ This is also available via the `--debug-info` command-line flag.
1554
+
1555
+ ### Minor Improvements
1556
+
1557
+ * If a CSS or Sass function is used that has the name of a color,
1558
+ it will now be parsed as a function rather than as a color.
1559
+ For example, `fuchsia(12)` now renders as `fuchsia(12)`
1560
+ rather than `fuchsia 12`,
1561
+ and `tealbang(12)` now renders as `tealbang(12)`
1562
+ rather than `teal bang(12)`.
1563
+
1564
+ * The Sass Rails and Merb plugins now use Rack middleware by default.
1565
+
1566
+ * Haml is now compatible with the [Rip](http://hellorip.com/) package management system.
1567
+ Thanks to [Josh Peek](http://joshpeek.com/).
1568
+
1569
+ * Indented-syntax `/*` comments may now include `*` on lines beyond the first.
1570
+
1571
+ * A {file:SASS_REFERENCE.md#read_cache-option `:read_cache`} option has been added
1572
+ to allow the Sass cache to be read from but not written to.
1573
+
1574
+ * Stylesheets are no longer checked during each request
1575
+ when running tests in Rails.
1576
+ This should speed up some tests significantly.
1577
+
1578
+ ## 2.2.24
1579
+
1580
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.24).
1581
+
1582
+ * Parent references -- the `&` character --
1583
+ may only be placed at the beginning of simple selector sequences in Sass 3.
1584
+ Placing them elsewhere is deprecated in 2.2.24 and will print a warning.
1585
+ For example, `foo &.bar` is allowed, but `foo .bar&` is not.
1586
+
1587
+ ## 2.2.23
1588
+
1589
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.23).
1590
+
1591
+ * Don't crash when `rake gems` is run in Rails with Sass installed.
1592
+ Thanks to [Florian Frank](http://github.com/flori).
1593
+
1594
+ * When raising a file-not-found error,
1595
+ add a list of load paths that were checked.
1596
+
1597
+ * If an import isn't found for a cached Sass file and the
1598
+ {file:SASS_REFERENCE.md#full_exception `:full_exception option`} is enabled,
1599
+ print the full exception rather than raising it.
1600
+
1601
+ * Fix a bug with a weird interaction with Haml, DataMapper, and Rails 3
1602
+ that caused some tag helpers to go into infinite recursion.
1603
+
1604
+ ## 2.2.22
1605
+
1606
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.22).
1607
+
1608
+ * Add a railtie so Haml and Sass will be automatically loaded in Rails 3.
1609
+ Thanks to [Daniel Neighman](http://pancakestacks.wordpress.com/).
1610
+
1611
+ * Make loading the gemspec not crash on read-only filesystems like Heroku's.
1612
+
1613
+ ## 2.2.21
1614
+
1615
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.21).
1616
+
1617
+ * Fix a few bugs in the git-revision-reporting in {Sass::Version#version}.
1618
+ In particular, it will still work if `git gc` has been called recently,
1619
+ or if various files are missing.
1620
+
1621
+ * Always use `__FILE__` when reading files within the Haml repo in the `Rakefile`.
1622
+ According to [this bug report](http://github.com/carlhuda/bundler/issues/issue/44),
1623
+ this should make Sass work better with Bundler.
1624
+
1625
+ ## 2.2.20
1626
+
1627
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.20).
1628
+
1629
+ * If the cache file for a given Sass file is corrupt
1630
+ because it doesn't have enough content,
1631
+ produce a warning and read the Sass file
1632
+ rather than letting the exception bubble up.
1633
+ This is consistent with other sorts of sassc corruption handling.
1634
+
1635
+ * Calls to `defined?` shouldn't interfere with Rails' autoloading
1636
+ in very old versions (1.2.x).
1637
+
1638
+ ## 2.2.19
1639
+
1640
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.18).
1641
+
1642
+ There were no changes made to Sass between versions 2.2.18 and 2.2.19.
1643
+
1644
+ ## 2.2.18
1645
+
1646
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.18).
1647
+
1648
+ * Use `Rails.env` rather than `RAILS_ENV` when running under Rails 3.0.
1649
+ Thanks to [Duncan Grazier](http://duncangrazier.com/).
1650
+
1651
+ * Support `:line_numbers` as an alias for {file:SASS_REFERENCE.md#line_numbers-option `:line_comments`},
1652
+ since that's what the docs have said forever.
1653
+ Similarly, support `--line-numbers` as a command-line option.
1654
+
1655
+ * Add a `--unix-newlines` flag to all executables
1656
+ for outputting Unix-style newlines on Windows.
1657
+
1658
+ * Add a {file:SASS_REFERENCE.md#unix_newlines-option `:unix_newlines` option}
1659
+ for {Sass::Plugin} for outputting Unix-style newlines on Windows.
1660
+
1661
+ * Fix the `--cache-location` flag, which was previously throwing errors.
1662
+ Thanks to [tav](http://tav.espians.com/).
1663
+
1664
+ * Allow comments at the beginning of the document to have arbitrary indentation,
1665
+ just like comments elsewhere.
1666
+ Similarly, comment parsing is a little nicer than before.
1667
+
1668
+ ## 2.2.17
1669
+
1670
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.16).
1671
+
1672
+ * When the {file:SASS_REFERENCE.md#full_exception-option `:full_exception` option}
1673
+ is false, raise the error in Ruby code rather than swallowing it
1674
+ and printing something uninformative.
1675
+
1676
+ * Fixed error-reporting when something goes wrong when loading Sass
1677
+ using the `sass` executable.
1678
+ This used to raise a NameError because `Sass::SyntaxError` wasn't defined.
1679
+ Now it'll raise the correct exception instead.
1680
+
1681
+ * Report the filename in warnings about selectors without properties.
1682
+
1683
+ * `nil` values for Sass options are now ignored,
1684
+ rather than raising errors.
1685
+
1686
+ * Fix a bug that appears when Plugin template locations
1687
+ have multiple trailing slashes.
1688
+ Thanks to [Jared Grippe](http://jaredgrippe.com/).
1689
+
1690
+ ### Must Read!
1691
+
1692
+ * When `@import` is given a filename without an extension,
1693
+ the behavior of rendering a CSS `@import` if no Sass file is found
1694
+ is deprecated.
1695
+ In future versions, `@import foo` will either import the template
1696
+ or raise an error.
1697
+
1698
+ ## 2.2.16
1699
+
1700
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.16).
1701
+
1702
+ * Fixed a bug where modules containing user-defined Sass functions
1703
+ weren't made available when simply included in {Sass::Script::Functions}
1704
+ ({Sass::Script::Functions Functions} needed to be re-included in
1705
+ {Sass::Script::Functions::EvaluationContext Functions::EvaluationContext}).
1706
+ Now the module simply needs to be included in {Sass::Script::Functions}.
1707
+
1708
+ ## 2.2.15
1709
+
1710
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.15).
1711
+
1712
+ * Added {Sass::Script::Color#with} for a way of setting color channels
1713
+ that's easier than manually constructing a new color
1714
+ and is forwards-compatible with alpha-channel colors
1715
+ (to be introduced in Sass 2.4).
1716
+
1717
+ * Added a missing require in Sass that caused crashes
1718
+ when it was being run standalone.
1719
+
1720
+ ## 2.2.14
1721
+
1722
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.14).
1723
+
1724
+ * All Sass functions now raise explicit errors if their inputs
1725
+ are of the incorrect type.
1726
+
1727
+ * Allow the SassScript `rgb()` function to take percentages
1728
+ in addition to numerical values.
1729
+
1730
+ * Fixed a bug where SassScript strings with `#` followed by `#{}` interpolation
1731
+ didn't evaluate the interpolation.
1732
+
1733
+ ### SassScript Ruby API
1734
+
1735
+ These changes only affect people defining their own Sass functions
1736
+ using {Sass::Script::Functions}.
1737
+
1738
+ * Sass::Script::Color#value attribute is deprecated.
1739
+ Use {Sass::Script::Color#rgb} instead.
1740
+ The returned array is now frozen as well.
1741
+
1742
+ * Add an `assert_type` function that's available to {Sass::Script::Functions}.
1743
+ This is useful for typechecking the inputs to functions.
1744
+
1745
+ ### Rack Support
1746
+
1747
+ Sass 2.2.14 includes Rack middleware for running Sass,
1748
+ meaning that all Rack-enabled frameworks can now use Sass.
1749
+ To activate this, just add
1750
+
1751
+ require 'sass/plugin/rack'
1752
+ use Sass::Plugin::Rack
1753
+
1754
+ to your `config.ru`.
1755
+ See the {Sass::Plugin::Rack} documentation for more details.
1756
+
1757
+ ## 2.2.13
1758
+
1759
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.13).
1760
+
1761
+ There were no changes made to Sass between versions 2.2.12 and 2.2.13.
1762
+
1763
+ ## 2.2.12
1764
+
1765
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.12).
1766
+
1767
+ * Fix a stupid bug introduced in 2.2.11 that broke the Sass Rails plugin.
1768
+
1769
+ ## 2.2.11
1770
+
1771
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.11).
1772
+
1773
+ * Added a note to errors on properties that could be pseudo-classes (e.g. `:focus`)
1774
+ indicating that they should be backslash-escaped.
1775
+
1776
+ * Automatically interpret properties that could be pseudo-classes as such
1777
+ if {file:SASS_REFERENCE.md.html#property_syntax-option `:property_syntax`}
1778
+ is set to `:new`.
1779
+
1780
+ * Fixed `css2sass`'s generation of pseudo-classes so that they're backslash-escaped.
1781
+
1782
+ * Don't crash if the Haml plugin skeleton is installed and `rake gems:install` is run.
1783
+
1784
+ * Don't use `RAILS_ROOT` directly.
1785
+ This no longer exists in Rails 3.0.
1786
+ Instead abstract this out as `Haml::Util.rails_root`.
1787
+ This changes makes Haml fully compatible with edge Rails as of this writing.
1788
+
1789
+ * Make use of a Rails callback rather than a monkeypatch to check for stylesheet updates
1790
+ in Rails 3.0+.
1791
+
1792
+ ## 2.2.10
1793
+
1794
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.10).
1795
+
1796
+ * Add support for attribute selectors with spaces around the `=`.
1797
+ For example:
1798
+
1799
+ a[href = http://google.com]
1800
+ color: blue
1801
+
1802
+ ## 2.2.9
1803
+
1804
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.9).
1805
+
1806
+ There were no changes made to Sass between versions 2.2.8 and 2.2.9.
1807
+
1808
+ ## 2.2.8
1809
+
1810
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.8).
1811
+
1812
+ There were no changes made to Sass between versions 2.2.7 and 2.2.8.
1813
+
1814
+ ## 2.2.7
1815
+
1816
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.7).
1817
+
1818
+ There were no changes made to Sass between versions 2.2.6 and 2.2.7.
1819
+
1820
+ ## 2.2.6
1821
+
1822
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.6).
1823
+
1824
+ * Don't crash when the `__FILE__` constant of a Ruby file is a relative path,
1825
+ as apparently happens sometimes in TextMate
1826
+ (thanks to [Karl Varga](http://github.com/kjvarga)).
1827
+
1828
+ * Add "Sass" to the `--version` string for the executables.
1829
+
1830
+ ## 2.2.5
1831
+
1832
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.5).
1833
+
1834
+ There were no changes made to Sass between versions 2.2.4 and 2.2.5.
1835
+
1836
+ ## 2.2.4
1837
+
1838
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.4).
1839
+
1840
+ * Don't add `require 'rubygems'` to the top of init.rb when installed
1841
+ via `sass --rails`. This isn't necessary, and actually gets
1842
+ clobbered as soon as haml/template is loaded.
1843
+
1844
+ * Document the previously-undocumented {file:SASS_REFERENCE.md#line-option `:line` option},
1845
+ which allows the number of the first line of a Sass file to be set for error reporting.
1846
+
1847
+ ## 2.2.3
1848
+
1849
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.3).
1850
+
1851
+ Sass 2.2.3 prints line numbers for warnings about selectors
1852
+ with no properties.
1853
+
1854
+ ## 2.2.2
1855
+
1856
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.2).
1857
+
1858
+ Sass 2.2.2 is a minor bug-fix release.
1859
+ Notable changes include better parsing of mixin definitions and inclusions
1860
+ and better support for Ruby 1.9.
1861
+
1862
+ ## 2.2.1
1863
+
1864
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.1).
1865
+
1866
+ Sass 2.2.1 is a minor bug-fix release.
1867
+
1868
+ ### Must Read!
1869
+
1870
+ * It used to be acceptable to use `-` immediately following variable names,
1871
+ without any whitespace in between (for example, `!foo-!bar`).
1872
+ This is now deprecated, so that in the future variables with hyphens
1873
+ can be supported. Surround `-` with spaces.
1874
+
1875
+ ## 2.2.0
1876
+
1877
+ [Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.0).
1878
+
1879
+ The 2.2 release marks a significant step in the evolution of the Sass
1880
+ language. The focus has been to increase the power of Sass to keep
1881
+ your stylesheets maintainable by allowing new forms of abstraction to
1882
+ be created within your stylesheets and the stylesheets provided by
1883
+ others that you can download and import into your own. The fundamental
1884
+ units of abstraction in Sass are variables and mixins. Please read
1885
+ below for a list of changes:
1886
+
1887
+ ### Must Read!
1888
+
1889
+ * Sass Comments (//) used to only comment out a single line. This was deprecated
1890
+ in 2.0.10 and starting in 2.2, Sass comments will comment out any lines indented
1891
+ under them. Upgrade to 2.0.10 in order to see deprecation warnings where this change
1892
+ affects you.
1893
+
1894
+ * Implicit Strings within SassScript are now deprecated and will be removed in 2.4.
1895
+ For example: `border= !width solid #00F` should now be written as `border: #{!width} solid #00F`
1896
+ or as `border= !width "solid" #00F`. After upgrading to 2.2, you will see deprecation warnings
1897
+ if you have sass files that use implicit strings.
1898
+
1899
+
1900
+ ### Sass Syntax Changes
1901
+
1902
+ #### Flexible Indentation
1903
+
1904
+ The indentation of Sass documents is now flexible. The first indent
1905
+ that is detected will determine the indentation style for that
1906
+ document. Tabs and spaces may never be mixed, but within a document,
1907
+ you may choose to use tabs or a flexible number of spaces.
1908
+
1909
+ #### Multiline Sass Comments
1910
+
1911
+ Sass Comments (//) will now comment out whatever is indented beneath
1912
+ them. Previously they were single line when used at the top level of a
1913
+ document. Upgrading to the latest stable version will give you
1914
+ deprecation warnings if you have silent comments with indentation
1915
+ underneath them.
1916
+
1917
+ #### Mixin Arguments
1918
+
1919
+ Sass Mixins now accept any number of arguments. To define a mixin with
1920
+ arguments, specify the arguments as a comma-delimited list of
1921
+ variables like so:
1922
+
1923
+ =my-mixin(!arg1, !arg2, !arg3)
1924
+
1925
+ As before, the definition of the mixin is indented below the mixin
1926
+ declaration. The variables declared in the argument list may be used
1927
+ and will be bound to the values passed to the mixin when it is
1928
+ invoked. Trailing arguments may have default values as part of the
1929
+ declaration:
1930
+
1931
+ =my-mixin(!arg1, !arg2 = 1px, !arg3 = blue)
1932
+
1933
+ In the example above, the mixin may be invoked by passing 1, 2 or 3
1934
+ arguments to it. A similar syntax is used to invoke a mixin that
1935
+ accepts arguments:
1936
+
1937
+ div.foo
1938
+ +my-mixin(1em, 3px)
1939
+
1940
+ When a mixin has no required arguments, the parenthesis are optional.
1941
+
1942
+ The default values for mixin arguments are evaluated in the global
1943
+ context at the time when the mixin is invoked, they may also reference
1944
+ the previous arguments in the declaration. For example:
1945
+
1946
+ !default_width = 30px
1947
+ =my-fancy-mixin(!width = !default_width, !height = !width)
1948
+ width= !width
1949
+ height= !height
1950
+
1951
+ .default-box
1952
+ +my-fancy-mixin
1953
+
1954
+ .square-box
1955
+ +my-fancy-mixin(50px)
1956
+
1957
+ .rectangle-box
1958
+ +my-fancy-mixin(25px, 75px)
1959
+
1960
+ !default_width = 10px
1961
+ .small-default-box
1962
+ +my-fancy-mixin
1963
+
1964
+
1965
+ compiles to:
1966
+
1967
+ .default-box {
1968
+ width: 30px;
1969
+ height: 30px; }
1970
+
1971
+ .square-box {
1972
+ width: 50px;
1973
+ height: 50px; }
1974
+
1975
+ .rectangle-box {
1976
+ width: 25px;
1977
+ height: 75px; }
1978
+
1979
+ .small-default-box {
1980
+ width: 10px;
1981
+ height: 10px; }
1982
+
1983
+
1984
+ ### Sass, Interactive
1985
+
1986
+ The sass command line option -i now allows you to quickly and
1987
+ interactively experiment with SassScript expressions. The value of the
1988
+ expression you enter will be printed out after each line. Example:
1989
+
1990
+ $ sass -i
1991
+ >> 5px
1992
+ 5px
1993
+ >> 5px + 10px
1994
+ 15px
1995
+ >> !five_pixels = 5px
1996
+ 5px
1997
+ >> !five_pixels + 10px
1998
+ 15px
1999
+
2000
+ ### SassScript
2001
+
2002
+ The features of SassScript have been greatly enhanced with new control
2003
+ directives, new fundamental data types, and variable scoping.
2004
+
2005
+ #### New Data Types
2006
+
2007
+ SassScript now has four fundamental data types:
2008
+
2009
+ 1. Number
2010
+ 2. String
2011
+ 3. Boolean (New in 2.2)
2012
+ 4. Colors
2013
+
2014
+ #### More Flexible Numbers
2015
+
2016
+ Like JavaScript, SassScript numbers can now change between floating
2017
+ point and integers. No explicit casting or decimal syntax is
2018
+ required. When a number is emitted into a CSS file it will be rounded
2019
+ to the nearest thousandth, however the internal representation
2020
+ maintains much higher precision.
2021
+
2022
+ #### Improved Handling of Units
2023
+
2024
+ While Sass has long supported numbers with units, it now has a much
2025
+ deeper understanding of them. The following are examples of legal
2026
+ numbers in SassScript:
2027
+
2028
+ 0, 1000, 6%, -2px, 5pc, 20em, or 2foo.
2029
+
2030
+ Numbers of the same unit may always be added and subtracted. Numbers
2031
+ that have units that Sass understands and finds comparable, can be
2032
+ combined, taking the unit of the first number. Numbers that have
2033
+ non-comparable units may not be added nor subtracted -- any attempt to
2034
+ do so will cause an error. However, a unitless number takes on the
2035
+ unit of the other number during a mathematical operation. For example:
2036
+
2037
+ >> 3mm + 4cm
2038
+ 43mm
2039
+ >> 4cm + 3mm
2040
+ 4.3cm
2041
+ >> 3cm + 2in
2042
+ 8.08cm
2043
+ >> 5foo + 6foo
2044
+ 11foo
2045
+ >> 4% + 5px
2046
+ SyntaxError: Incompatible units: 'px' and '%'.
2047
+ >> 5 + 10px
2048
+ 15px
2049
+
2050
+ Sass allows compound units to be stored in any intermediate form, but
2051
+ will raise an error if you try to emit a compound unit into your css
2052
+ file.
2053
+
2054
+ >> !em_ratio = 1em / 16px
2055
+ 0.063em/px
2056
+ >> !em_ratio * 32px
2057
+ 2em
2058
+ >> !em_ratio * 40px
2059
+ 2.5em
2060
+
2061
+ #### Colors
2062
+
2063
+ A color value can be declared using a color name, hexadecimal,
2064
+ shorthand hexadecimal, the rgb function, or the hsl function. When
2065
+ outputting a color into css, the color name is used, if any, otherwise
2066
+ it is emitted as hexadecimal value. Examples:
2067
+
2068
+ > #fff
2069
+ white
2070
+ >> white
2071
+ white
2072
+ >> #FFFFFF
2073
+ white
2074
+ >> hsl(180, 100, 100)
2075
+ white
2076
+ >> rgb(255, 255, 255)
2077
+ white
2078
+ >> #AAA
2079
+ #aaaaaa
2080
+
2081
+ Math on color objects is performed piecewise on the rgb
2082
+ components. However, these operations rarely have meaning in the
2083
+ design domain (mostly they make sense for gray-scale colors).
2084
+
2085
+ >> #aaa + #123
2086
+ #bbccdd
2087
+ >> #333 * 2
2088
+ #666666
2089
+
2090
+ #### Booleans
2091
+
2092
+ Boolean objects can be created by comparison operators or via the
2093
+ `true` and `false` keywords. Booleans can be combined using the
2094
+ `and`, `or`, and `not` keywords.
2095
+
2096
+ >> true
2097
+ true
2098
+ >> true and false
2099
+ false
2100
+ >> 5 < 10
2101
+ true
2102
+ >> not (5 < 10)
2103
+ false
2104
+ >> not (5 < 10) or not (10 < 5)
2105
+ true
2106
+ >> 30mm == 3cm
2107
+ true
2108
+ >> 1px == 1em
2109
+ false
2110
+
2111
+ #### Strings
2112
+
2113
+ Unicode escapes are now allowed within SassScript strings.
2114
+
2115
+ ### Control Directives
2116
+
2117
+ New directives provide branching and looping within a sass stylesheet
2118
+ based on SassScript expressions. See the [Sass
2119
+ Reference](SASS_REFERENCE.md.html#control_directives) for complete
2120
+ details.
2121
+
2122
+ #### @for
2123
+
2124
+ The `@for` directive loops over a set of numbers in sequence, defining
2125
+ the current number into the variable specified for each loop. The
2126
+ `through` keyword means that the last iteration will include the
2127
+ number, the `to` keyword means that it will stop just before that
2128
+ number.
2129
+
2130
+ @for !x from 1px through 5px
2131
+ .border-#{!x}
2132
+ border-width= !x
2133
+
2134
+ compiles to:
2135
+
2136
+ .border-1px {
2137
+ border-width: 1px; }
2138
+
2139
+ .border-2px {
2140
+ border-width: 2px; }
2141
+
2142
+ .border-3px {
2143
+ border-width: 3px; }
2144
+
2145
+ .border-4px {
2146
+ border-width: 4px; }
2147
+
2148
+ .border-5px {
2149
+ border-width: 5px; }
2150
+
2151
+ #### @if / @else if / @else
2152
+
2153
+ The branching directives `@if`, `@else if`, and `@else` let you select
2154
+ between several branches of sass to be emitted, based on the result of
2155
+ a SassScript expression. Example:
2156
+
2157
+ !type = "monster"
2158
+ p
2159
+ @if !type == "ocean"
2160
+ color: blue
2161
+ @else if !type == "matador"
2162
+ color: red
2163
+ @else if !type == "monster"
2164
+ color: green
2165
+ @else
2166
+ color: black
2167
+
2168
+ is compiled to:
2169
+
2170
+ p {
2171
+ color: green; }
2172
+
2173
+ #### @while
2174
+
2175
+ The `@while` directive lets you iterate until a condition is
2176
+ met. Example:
2177
+
2178
+ !i = 6
2179
+ @while !i > 0
2180
+ .item-#{!i}
2181
+ width = 2em * !i
2182
+ !i = !i - 2
2183
+
2184
+ is compiled to:
2185
+
2186
+ .item-6 {
2187
+ width: 12em; }
2188
+
2189
+ .item-4 {
2190
+ width: 8em; }
2191
+
2192
+ .item-2 {
2193
+ width: 4em; }
2194
+
2195
+ ### Variable Scoping
2196
+
2197
+ The term "constant" has been renamed to "variable." Variables can be
2198
+ declared at any scope (a.k.a. nesting level) and they will only be
2199
+ visible to the code until the next outdent. However, if a variable is
2200
+ already defined in a higher level scope, setting it will overwrite the
2201
+ value stored previously.
2202
+
2203
+ In this code, the `!local_var` variable is scoped and hidden from
2204
+ other higher level scopes or sibling scopes:
2205
+
2206
+ .foo
2207
+ .bar
2208
+ !local_var = 1px
2209
+ width= !local_var
2210
+ .baz
2211
+ // this will raise an undefined variable error.
2212
+ width= !local_var
2213
+ // as will this
2214
+ width= !local_var
2215
+
2216
+ In this example, since the `!global_var` variable is first declared at
2217
+ a higher scope, it is shared among all lower scopes:
2218
+
2219
+ !global_var = 1px
2220
+ .foo
2221
+ .bar
2222
+ !global_var = 2px
2223
+ width= !global_var
2224
+ .baz
2225
+ width= !global_var
2226
+ width= !global_var
2227
+
2228
+ compiles to:
2229
+
2230
+ .foo {
2231
+ width: 2px; }
2232
+ .foo .bar {
2233
+ width: 2px; }
2234
+ .foo .baz {
2235
+ width: 2px; }
2236
+
2237
+
2238
+ ### Interpolation
2239
+
2240
+ Interpolation has been added. This allows SassScript to be used to
2241
+ create dynamic properties and selectors. It also cleans up some uses
2242
+ of dynamic values when dealing with compound properties. Using
2243
+ interpolation, the result of a SassScript expression can be placed
2244
+ anywhere:
2245
+
2246
+ !x = 1
2247
+ !d = 3
2248
+ !property = "border"
2249
+ div.#{!property}
2250
+ #{!property}: #{!x + !d}px solid
2251
+ #{!property}-color: blue
2252
+
2253
+ is compiled to:
2254
+
2255
+ div.border {
2256
+ border: 4px solid;
2257
+ border-color: blue; }
2258
+
2259
+ ### Sass Functions
2260
+
2261
+ SassScript defines some useful functions that are called using the
2262
+ normal CSS function syntax:
2263
+
2264
+ p
2265
+ color = hsl(0, 100%, 50%)
2266
+
2267
+ is compiled to:
2268
+
2269
+ #main {
2270
+ color: #ff0000; }
2271
+
2272
+ The following functions are provided: `hsl`, `percentage`, `round`,
2273
+ `ceil`, `floor`, and `abs`. You can define additional functions in
2274
+ ruby.
2275
+
2276
+ See {Sass::Script::Functions} for more information.
2277
+
2278
+
2279
+ ### New Options
2280
+
2281
+ #### `:line_comments`
2282
+
2283
+ To aid in debugging, You may set the `:line_comments` option to
2284
+ `true`. This will cause the sass engine to insert a comment before
2285
+ each selector saying where that selector was defined in your sass
2286
+ code.
2287
+
2288
+ #### `:template_location`
2289
+
2290
+ The {Sass::Plugin} `:template_location` option now accepts a hash of
2291
+ sass paths to corresponding css paths. Please be aware that it is
2292
+ possible to import sass files between these separate locations -- they
2293
+ are not isolated from each other.
2294
+
2295
+ ### Miscellaneous Features
2296
+
2297
+ #### `@debug` Directive
2298
+
2299
+ The `@debug` directive accepts a SassScript expression and emits the
2300
+ value of that expression to the terminal (stderr).
2301
+
2302
+ Example:
2303
+
2304
+ @debug 1px + 2px
2305
+
2306
+ During compilation the following will be printed:
2307
+
2308
+ Line 1 DEBUG: 3px
2309
+
2310
+ #### Ruby 1.9 Support
2311
+
2312
+ Sass now fully supports Ruby 1.9.1.
2313
+
2314
+ #### Sass Cache
2315
+
2316
+ By default, Sass caches compiled templates and
2317
+ [partials](SASS_REFERENCE.md.html#partials). This dramatically speeds
2318
+ up re-compilation of large collections of Sass files, and works best
2319
+ if the Sass templates are split up into separate files that are all
2320
+ [`@import`](SASS_REFERENCE.md.html#import)ed into one large file.
2321
+
2322
+ Without a framework, Sass puts the cached templates in the
2323
+ `.sass-cache` directory. In Rails and Merb, they go in
2324
+ `tmp/sass-cache`. The directory can be customized with the
2325
+ [`:cache_location`](#cache_location-option) option. If you don't want
2326
+ Sass to use caching at all, set the [`:cache`](#cache-option) option
2327
+ to `false`.