mango 0.6.3 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.ruby-version +1 -0
- data/CHANGES.md +50 -10
- data/Gemfile +2 -1
- data/Gemfile.lock +38 -41
- data/README.md +40 -55
- data/Rakefile +0 -1
- data/bin/autospec +16 -0
- data/bin/bluecloth +16 -0
- data/bin/dotenv +16 -0
- data/bin/foreman +16 -0
- data/bin/haml +16 -0
- data/bin/html2haml +16 -0
- data/bin/htmldiff +16 -0
- data/bin/ldiff +16 -0
- data/bin/mango +13 -5
- data/bin/puma +16 -0
- data/bin/pumactl +16 -0
- data/bin/rackup +16 -0
- data/bin/rake2thor +16 -0
- data/bin/rspec +16 -0
- data/bin/sass +16 -0
- data/bin/sass-convert +16 -0
- data/bin/scss +16 -0
- data/bin/thor +16 -0
- data/bin/tilt +16 -0
- data/bin/yard +16 -0
- data/bin/yardoc +16 -0
- data/bin/yri +16 -0
- data/exec/mango +4 -0
- data/lib/mango.rb +1 -5
- data/lib/mango/application.rb +16 -26
- data/lib/mango/content_page.rb +1 -3
- data/lib/mango/core_ext/string.rb +0 -2
- data/lib/mango/core_ext/uri.rb +1 -3
- data/lib/mango/runner.rb +2 -2
- data/lib/mango/templates/Gemfile +2 -2
- data/lib/mango/templates/Procfile +1 -0
- data/lib/mango/templates/config.ru +0 -1
- data/lib/mango/templates/themes/default/views/404.haml +1 -1
- data/lib/mango/templates/themes/default/views/layout.haml +8 -8
- data/lib/mango/version.rb +1 -3
- data/mango.gemspec +18 -22
- data/spec/bin/mango_spec.rb +2 -3
- data/spec/fixture/themes/default/public/404.html +1 -1
- data/spec/fixture/themes/default/public/images/index.html +1 -1
- data/spec/fixture/themes/default/public/override +1 -1
- data/spec/fixture/themes/default/views/404.erb +1 -1
- data/spec/fixture/themes/default/views/404.haml +1 -1
- data/spec/fixture/themes/default/views/404.liquid +1 -1
- data/spec/fixture/themes/default/views/layout.erb +1 -1
- data/spec/fixture/themes/default/views/layout.haml +1 -1
- data/spec/fixture/themes/default/views/layout.liquid +1 -1
- data/spec/lib/application/routing_content_pages_spec.rb +18 -19
- data/spec/lib/application/routing_javascript_templates_spec.rb +6 -4
- data/spec/lib/application/routing_not_found_spec.rb +4 -5
- data/spec/lib/application/routing_public_files_spec.rb +7 -8
- data/spec/lib/application/routing_stylesheet_templates_spec.rb +3 -4
- data/spec/lib/application_spec.rb +2 -3
- data/spec/lib/content_page/initializing_spec.rb +12 -13
- data/spec/lib/content_page_spec.rb +1 -2
- data/spec/lib/core_ext/string_spec.rb +0 -1
- data/spec/lib/core_ext/uri_spec.rb +0 -1
- data/spec/lib/flavored_markdown_spec.rb +1 -2
- data/spec/lib/runner_spec.rb +19 -13
- data/spec/lib/version_spec.rb +1 -2
- data/spec/quality_spec.rb +0 -15
- data/spec/spec_helper.rb +0 -9
- data/vendor/bundler/ruby/2.0.0/bin/autospec +23 -0
- data/vendor/bundler/ruby/2.0.0/bin/bluecloth +23 -0
- data/vendor/bundler/ruby/2.0.0/bin/dotenv +23 -0
- data/vendor/bundler/ruby/2.0.0/bin/foreman +23 -0
- data/vendor/bundler/ruby/2.0.0/bin/haml +23 -0
- data/vendor/bundler/ruby/2.0.0/bin/htmldiff +25 -0
- data/vendor/bundler/ruby/2.0.0/bin/ldiff +25 -0
- data/vendor/bundler/ruby/2.0.0/bin/mango +23 -0
- data/vendor/bundler/ruby/2.0.0/bin/puma +23 -0
- data/vendor/bundler/ruby/2.0.0/bin/pumactl +23 -0
- data/vendor/bundler/ruby/2.0.0/bin/rackup +23 -0
- data/vendor/bundler/ruby/2.0.0/bin/rake2thor +23 -0
- data/vendor/bundler/ruby/2.0.0/bin/rspec +23 -0
- data/vendor/bundler/ruby/2.0.0/bin/sass +23 -0
- data/vendor/bundler/ruby/2.0.0/bin/sass-convert +23 -0
- data/vendor/bundler/ruby/2.0.0/bin/scss +23 -0
- data/vendor/bundler/ruby/2.0.0/bin/thor +23 -0
- data/vendor/bundler/ruby/2.0.0/bin/tilt +23 -0
- data/vendor/bundler/ruby/2.0.0/bin/yard +23 -0
- data/vendor/bundler/ruby/2.0.0/bin/yardoc +23 -0
- data/vendor/bundler/ruby/2.0.0/bin/yri +23 -0
- data/vendor/bundler/ruby/2.0.0/build_info/backports-3.3.5.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/bluecloth-2.1.0.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/coffee-script-2.2.0.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/coffee-script-source-1.1.1.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/coffee-script-source-1.6.3.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/diff-lcs-1.1.2.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/diff-lcs-1.2.5.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/dotenv-0.9.0.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/execjs-1.0.0.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/execjs-2.0.2.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/foreman-0.63.0.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/haml-3.1.1.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/haml-3.1.8.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/haml-4.0.4.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/liquid-2.2.2.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/multi_json-1.0.3.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/puma-2.6.0.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/rack-1.2.3.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/rack-1.5.2.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/rack-protection-1.5.1.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/rack-test-0.6.0.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/rspec-2.14.1.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/rspec-2.6.0.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/rspec-core-2.14.7.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/rspec-core-2.6.3.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/rspec-expectations-2.14.4.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/rspec-expectations-2.6.0.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/rspec-mocks-2.14.4.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/rspec-mocks-2.6.0.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/sass-3.1.1.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/sass-3.2.12.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/sinatra-1.2.6.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/sinatra-1.2.9.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/sinatra-1.4.4.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/thor-0.14.6.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/tilt-1.3.2.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/tilt-1.4.1.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/yard-0.7.1.info +1 -0
- data/vendor/bundler/ruby/2.0.0/build_info/yard-0.8.7.3.info +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/.gemtest +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/History.md +97 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/LICENSE +27 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/LICENSE.discount +47 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/Manifest.txt +103 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/README.md +103 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/Rakefile +135 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/bin/bluecloth +84 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/.RUBYARCHDIR.time +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/Csio.c +61 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/Csio.o +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/Makefile +238 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/VERSION +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/amalloc.h +29 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/bluecloth.c +429 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/bluecloth.h +30 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/bluecloth.o +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/bluecloth_ext.bundle +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/config.h +68 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/css.c +85 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/css.o +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/cstring.h +77 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/docheader.c +49 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/docheader.o +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/emmatch.c +188 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/emmatch.o +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/extconf.h +10 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/extconf.rb +49 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/generate.c +1747 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/generate.o +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/html5.c +24 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/html5.o +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/markdown.c +1237 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/markdown.h +183 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/markdown.o +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/mkdio.c +357 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/mkdio.h +108 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/mkdio.o +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/mkmf.log +162 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/resource.c +157 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/resource.o +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/setup.c +47 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/setup.o +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/tags.c +123 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/tags.h +19 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/tags.o +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/version.c +27 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/version.o +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/xml.c +82 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/xml.o +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/xmlpage.c +48 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/xmlpage.o +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/lib/bluecloth.rb +214 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/lib/bluecloth_ext.bundle +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/bluecloth/101_changes_spec.rb +138 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/bluecloth/TEMPLATE +36 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/bluecloth/autolinks_spec.rb +46 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/bluecloth/blockquotes_spec.rb +142 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/bluecloth/code_spans_spec.rb +161 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/bluecloth/emphasis_spec.rb +161 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/bluecloth/entities_spec.rb +80 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/bluecloth/hrules_spec.rb +87 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/bluecloth/images_spec.rb +89 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/bluecloth/inline_html_spec.rb +198 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/bluecloth/links_spec.rb +167 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/bluecloth/lists_spec.rb +291 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/bluecloth/paragraphs_spec.rb +72 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/bluecloth/titles_spec.rb +302 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/bluecloth_spec.rb +297 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/bugfix_spec.rb +252 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/contributions_spec.rb +77 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/antsugar.txt +34 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Amps and angle encoding.html +17 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Amps and angle encoding.text +21 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Auto links.html +18 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Auto links.text +13 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Backslash escapes.html +118 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Backslash escapes.text +120 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Blockquotes with code blocks.html +15 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Blockquotes with code blocks.text +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Code Blocks.html +18 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Code Blocks.text +14 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Code Spans.html +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Code Spans.text +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Hard-wrapped paragraphs with list-like lines.html +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Hard-wrapped paragraphs with list-like lines.text +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Horizontal rules.html +71 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Horizontal rules.text +67 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Inline HTML (Advanced).html +15 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Inline HTML (Advanced).text +15 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Inline HTML (Simple).html +72 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Inline HTML (Simple).text +69 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Inline HTML comments.html +13 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Inline HTML comments.text +13 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Links, inline style.html +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Links, inline style.text +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Links, reference style.html +52 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Links, reference style.text +71 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Links, shortcut references.html +9 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Links, shortcut references.text +20 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Literal quotes in titles.html +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Literal quotes in titles.text +7 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Markdown Documentation - Basics.html +314 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Markdown Documentation - Basics.text +306 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Markdown Documentation - Syntax.html +942 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Markdown Documentation - Syntax.text +888 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Nested blockquotes.html +9 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Nested blockquotes.text +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Ordered and unordered lists.html +148 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Ordered and unordered lists.text +131 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Strong and em together.html +7 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Strong and em together.text +7 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Tabs.html +25 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Tabs.text +21 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Tidyness.html +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Tidyness.text +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/ml-announce.txt +17 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/re-overflow.txt +67 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/re-overflow2.txt +281 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/discount_spec.rb +426 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/lib/constants.rb +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/lib/helpers.rb +38 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/lib/matchers.rb +224 -0
- data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/markdowntest_spec.rb +43 -0
- data/vendor/bundler/ruby/2.0.0/gems/coffee-script-2.2.0/LICENSE +22 -0
- data/vendor/bundler/ruby/2.0.0/gems/coffee-script-2.2.0/README.md +43 -0
- data/vendor/bundler/ruby/2.0.0/gems/coffee-script-2.2.0/lib/coffee-script.rb +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/coffee-script-2.2.0/lib/coffee_script.rb +60 -0
- data/vendor/bundler/ruby/2.0.0/gems/coffee-script-source-1.6.3/lib/coffee_script/coffee-script.js +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/coffee-script-source-1.6.3/lib/coffee_script/source.rb +7 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/.autotest +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/.gemtest +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/.hoerc +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/.rspec +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/.travis.yml +22 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/Contributing.rdoc +64 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/Gemfile +20 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/History.rdoc +152 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/License.rdoc +39 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/Manifest.txt +38 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/README.rdoc +85 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/Rakefile +41 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/autotest/discover.rb +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/bin/htmldiff +32 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/bin/ldiff +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/docs/COPYING.txt +339 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/docs/artistic.txt +127 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/lib/diff-lcs.rb +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/lib/diff/lcs.rb +805 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/lib/diff/lcs/array.rb +7 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/lib/diff/lcs/block.rb +37 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/lib/diff/lcs/callbacks.rb +322 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/lib/diff/lcs/change.rb +177 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/lib/diff/lcs/htmldiff.rb +149 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/lib/diff/lcs/hunk.rb +276 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/lib/diff/lcs/internals.rb +301 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/lib/diff/lcs/ldiff.rb +195 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/lib/diff/lcs/string.rb +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/spec/change_spec.rb +65 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/spec/diff_spec.rb +47 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/spec/hunk_spec.rb +72 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/spec/issues_spec.rb +24 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/spec/lcs_spec.rb +54 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/spec/patch_spec.rb +414 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/spec/sdiff_spec.rb +214 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/spec/spec_helper.rb +290 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/spec/traverse_balanced_spec.rb +310 -0
- data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/spec/traverse_sequences_spec.rb +139 -0
- data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/.env +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/.gitignore +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/.travis.yml +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/Changelog.md +83 -0
- data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/Gemfile +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/Guardfile +9 -0
- data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/LICENSE +22 -0
- data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/README.md +95 -0
- data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/Rakefile +30 -0
- data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/bin/dotenv +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/dotenv-rails.gemspec +17 -0
- data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/dotenv.gemspec +20 -0
- data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/lib/dotenv-rails.rb +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/lib/dotenv.rb +25 -0
- data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/lib/dotenv/capistrano.rb +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/lib/dotenv/capistrano/recipes.rb +10 -0
- data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/lib/dotenv/environment.rb +76 -0
- data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/lib/dotenv/format_error.rb +4 -0
- data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/lib/dotenv/railtie.rb +14 -0
- data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/lib/dotenv/tasks.rb +7 -0
- data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/lib/dotenv/version.rb +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/spec/dotenv/environment_spec.rb +137 -0
- data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/spec/dotenv_spec.rb +92 -0
- data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/spec/fixtures/exported.env +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/spec/fixtures/plain.env +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/spec/fixtures/quoted.env +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/spec/fixtures/yaml.env +4 -0
- data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/spec/spec_helper.rb +7 -0
- data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/LICENSE +21 -0
- data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/README.md +42 -0
- data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs.rb +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/disabled_runtime.rb +29 -0
- data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/encoding.rb +33 -0
- data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/external_runtime.rb +205 -0
- data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/johnson_runtime.rb +106 -0
- data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/module.rb +38 -0
- data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/mustang_runtime.rb +76 -0
- data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/ruby_racer_runtime.rb +105 -0
- data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/ruby_rhino_runtime.rb +89 -0
- data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/runtime.rb +55 -0
- data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/runtimes.rb +94 -0
- data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/support/jsc_runner.js +19 -0
- data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/support/jscript_runner.js +22 -0
- data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/support/json2.js +481 -0
- data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/support/node_runner.js +20 -0
- data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/support/spidermonkey_runner.js +19 -0
- data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/version.rb +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/README.md +48 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/bin/foreman +7 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/bin/foreman-runner +41 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/bin/taskman +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/example/Procfile +4 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/example/Procfile.without_colon +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/example/error +7 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/example/log/neverdie.log +4 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/example/spawnee +14 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/example/spawner +7 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/example/ticker +14 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/example/utf8 +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/export/bluepill/master.pill.erb +28 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/export/launchd/launchd.plist.erb +33 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/export/runit/log/run.erb +7 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/export/runit/run.erb +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/export/supervisord/app.conf.erb +27 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/export/upstart/master.conf.erb +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/export/upstart/process.conf.erb +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/export/upstart/process_master.conf.erb +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman.rb +23 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/capistrano.rb +54 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/cli.rb +155 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/distribution.rb +9 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/engine.rb +428 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/engine/cli.rb +104 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/export.rb +34 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/export/base.rb +146 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/export/bluepill.rb +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/export/inittab.rb +42 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/export/launchd.rb +17 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/export/runit.rb +34 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/export/supervisord.rb +16 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/export/upstart.rb +25 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/helpers.rb +45 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/process.rb +125 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/procfile.rb +92 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/version.rb +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/man/foreman.1 +240 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/foreman/cli_spec.rb +96 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/foreman/engine_spec.rb +112 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/foreman/export/base_spec.rb +19 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/foreman/export/bluepill_spec.rb +37 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/foreman/export/inittab_spec.rb +40 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/foreman/export/launchd_spec.rb +31 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/foreman/export/runit_spec.rb +36 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/foreman/export/supervisord_spec.rb +36 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/foreman/export/upstart_spec.rb +104 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/foreman/export_spec.rb +24 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/foreman/helpers_spec.rb +26 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/foreman/process_spec.rb +48 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/foreman/procfile_spec.rb +43 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/foreman_spec.rb +16 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/helper_spec.rb +18 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/Procfile +4 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/bin/echo +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/bin/env +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/bin/test +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/bin/utf8 +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/bluepill/app-concurrency.pill +49 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/bluepill/app.pill +81 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/inittab/inittab.concurrency +4 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/inittab/inittab.default +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/launchd/launchd-a.default +29 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/launchd/launchd-b.default +29 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/launchd/launchd-c.default +30 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/runit/app-alpha-1/log/run +7 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/runit/app-alpha-1/run +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/runit/app-alpha-2/log/run +7 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/runit/app-alpha-2/run +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/runit/app-bravo-1/log/run +7 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/runit/app-bravo-1/run +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/supervisord/app-alpha-1.conf +44 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/supervisord/app-alpha-2.conf +24 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/upstart/app-alpha-1.conf +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/upstart/app-alpha-2.conf +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/upstart/app-alpha.conf +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/upstart/app-bravo-1.conf +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/upstart/app-bravo.conf +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/upstart/app.conf +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/spec_helper.rb +159 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/.yardopts +23 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/CHANGELOG.md +1341 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/FAQ.md +157 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/MIT-LICENSE +20 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/README.md +173 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/REFERENCE.md +1294 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/Rakefile +134 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/bin/haml +9 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml.rb +23 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/buffer.rb +345 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/compiler.rb +540 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/engine.rb +245 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/error.rb +61 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/exec.rb +329 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/filters.rb +404 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/helpers.rb +655 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/helpers/action_view_extensions.rb +58 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/helpers/action_view_mods.rb +154 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/helpers/action_view_xss_mods.rb +58 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/helpers/safe_erubis_template.rb +29 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/helpers/xss_mods.rb +104 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/options.rb +277 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/parser.rb +764 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/railtie.rb +22 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/sass_rails_filter.rb +33 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/template.rb +32 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/template/options.rb +16 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/template/plugin.rb +41 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/util.rb +377 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/version.rb +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/engine_test.rb +2013 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/erb/_av_partial_1.erb +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/erb/_av_partial_2.erb +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/erb/action_view.erb +62 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/erb/standard.erb +55 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/filters_test.rb +254 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/gemfiles/Gemfile.rails-3.0.x +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/gemfiles/Gemfile.rails-3.1.x +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/gemfiles/Gemfile.rails-3.2.x +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/gemfiles/Gemfile.rails-4.0.x +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/gemfiles/Gemfile.rails-4.0.x.lock +101 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/helper_test.rb +565 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/markaby/standard.mab +52 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/mocks/article.rb +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/parser_test.rb +105 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/content_for_layout.xhtml +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/eval_suppressed.xhtml +9 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/helpers.xhtml +70 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/helpful.xhtml +10 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/just_stuff.xhtml +70 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/list.xhtml +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/nuke_inner_whitespace.xhtml +40 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/nuke_outer_whitespace.xhtml +148 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/original_engine.xhtml +20 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/partial_layout.xhtml +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/partial_layout_erb.xhtml +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/partials.xhtml +21 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/render_layout.xhtml +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/silent_script.xhtml +74 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/standard.xhtml +162 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/tag_parsing.xhtml +23 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/very_basic.xhtml +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/whitespace_handling.xhtml +90 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/template_test.rb +331 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/_av_partial_1.haml +9 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/_av_partial_1_ugly.haml +9 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/_av_partial_2.haml +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/_av_partial_2_ugly.haml +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/_layout.erb +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/_layout_for_partial.haml +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/_partial.haml +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/_text_area.haml +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/_text_area_helper.html.haml +4 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/action_view.haml +47 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/action_view_ugly.haml +47 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/breakage.haml +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/content_for_layout.haml +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/eval_suppressed.haml +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/helpers.haml +55 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/helpful.haml +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/just_stuff.haml +85 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/list.haml +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/nuke_inner_whitespace.haml +32 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/nuke_outer_whitespace.haml +144 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/original_engine.haml +17 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/partial_layout.haml +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/partial_layout_erb.erb +4 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/partialize.haml +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/partials.haml +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/render_layout.haml +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/silent_script.haml +45 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/standard.haml +43 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/standard_ugly.haml +43 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/tag_parsing.haml +21 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/very_basic.haml +4 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/whitespace_handling.haml +87 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/test_helper.rb +85 -0
- data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/util_test.rb +63 -0
- data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/History.txt +53 -0
- data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/MIT-LICENSE +20 -0
- data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/Manifest.txt +34 -0
- data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/README.md +42 -0
- data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/extras/liquid_view.rb +51 -0
- data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid.rb +69 -0
- data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/block.rb +101 -0
- data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/condition.rb +120 -0
- data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/context.rb +249 -0
- data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/document.rb +17 -0
- data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/drop.rb +51 -0
- data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/errors.rb +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/extensions.rb +56 -0
- data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/file_system.rb +62 -0
- data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/htmltags.rb +74 -0
- data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/module_ex.rb +62 -0
- data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/standardfilters.rb +226 -0
- data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/strainer.rb +54 -0
- data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/tag.rb +26 -0
- data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/tags/assign.rb +33 -0
- data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/tags/capture.rb +35 -0
- data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/tags/case.rb +83 -0
- data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/tags/comment.rb +9 -0
- data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/tags/cycle.rb +59 -0
- data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/tags/for.rb +136 -0
- data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/tags/if.rb +79 -0
- data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/tags/ifchanged.rb +20 -0
- data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/tags/include.rb +56 -0
- data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/tags/literal.rb +42 -0
- data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/tags/unless.rb +33 -0
- data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/template.rb +149 -0
- data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/variable.rb +50 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/COPYING +55 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/Gemfile +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/History.txt +423 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/LICENSE +26 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/Manifest.txt +66 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/README.md +211 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/Rakefile +158 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/TODO +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/bin/puma +10 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/bin/pumactl +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/docs/config.md +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/docs/nginx.md +80 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/.RUBYARCHDIR.time +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/Makefile +238 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/PumaHttp11Service.java +17 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/ext_help.h +15 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/extconf.rb +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/http11_parser.c +1225 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/http11_parser.h +64 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/http11_parser.java.rl +161 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/http11_parser.o +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/http11_parser.rl +146 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/http11_parser_common.rl +54 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/io_buffer.c +155 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/io_buffer.o +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/mini_ssl.c +195 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/mini_ssl.o +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/org/jruby/puma/Http11.java +225 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/org/jruby/puma/Http11Parser.java +488 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/org/jruby/puma/MiniSSL.java +289 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/puma_http11.bundle +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/puma_http11.c +491 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/puma_http11.o +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma.rb +14 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/accept_nonblock.rb +23 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/app/status.rb +59 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/binder.rb +293 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/capistrano.rb +72 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/cli.rb +522 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/client.rb +277 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/cluster.rb +317 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/compat.rb +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/configuration.rb +330 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/const.rb +158 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/control_cli.rb +251 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/daemon_ext.rb +20 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/delegation.rb +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/detect.rb +4 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/events.rb +130 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/io_buffer.rb +7 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/java_io_buffer.rb +45 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/jruby_restart.rb +83 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/minissl.rb +140 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/null_io.rb +34 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/puma_http11.bundle +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/rack_default.rb +7 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/rack_patch.rb +45 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/reactor.rb +162 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/runner.rb +138 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/server.rb +790 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/single.rb +102 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/tcp_logger.rb +32 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/thread_pool.rb +185 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/util.rb +9 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/rack/handler/puma.rb +66 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/puma.gemspec +54 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_app_status.rb +92 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_cli.rb +173 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_config.rb +16 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_http10.rb +27 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_http11.rb +126 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_integration.rb +165 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_iobuffer.rb +38 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_minissl.rb +25 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_null_io.rb +31 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_persistent.rb +238 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_puma_server.rb +292 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_rack_handler.rb +10 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_rack_server.rb +141 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_tcp_rack.rb +42 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_thread_pool.rb +156 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_unix_socket.rb +39 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_ws.rb +89 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/tools/jungle/README.md +9 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/tools/jungle/init.d/README.md +54 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/tools/jungle/init.d/puma +332 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/tools/jungle/init.d/run-puma +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/tools/jungle/upstart/README.md +61 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/tools/jungle/upstart/puma-manager.conf +31 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/tools/jungle/upstart/puma.conf +64 -0
- data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/tools/trickletest.rb +45 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/COPYING +18 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/KNOWN-ISSUES +30 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/README.rdoc +624 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/Rakefile +125 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/SPEC +237 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/bin/rackup +4 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/contrib/rack.png +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/contrib/rack.svg +150 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/contrib/rack_logo.svg +111 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/contrib/rdoc.css +412 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/example/lobster.ru +4 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/example/protectedlobster.rb +14 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/example/protectedlobster.ru +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack.rb +87 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/auth/abstract/handler.rb +37 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/auth/abstract/request.rb +43 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/auth/basic.rb +58 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/auth/digest/md5.rb +129 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/auth/digest/nonce.rb +51 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/auth/digest/params.rb +53 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/auth/digest/request.rb +41 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/backports/uri/common_18.rb +56 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/backports/uri/common_192.rb +52 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/backports/uri/common_193.rb +29 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/body_proxy.rb +39 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb +149 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/cascade.rb +52 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/chunked.rb +58 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/commonlogger.rb +64 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/conditionalget.rb +67 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/config.rb +20 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb +33 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/content_type.rb +29 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/deflater.rb +116 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/directory.rb +161 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/etag.rb +64 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/file.rb +138 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler.rb +107 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/cgi.rb +61 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/evented_mongrel.rb +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/fastcgi.rb +98 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/lsws.rb +61 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/mongrel.rb +100 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/scgi.rb +67 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/swiftiplied_mongrel.rb +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/thin.rb +27 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb +81 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/head.rb +22 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lint.rb +699 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lobster.rb +65 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb +26 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/logger.rb +18 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb +31 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/mime.rb +677 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/mock.rb +190 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/multipart.rb +34 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/multipart/generator.rb +93 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/multipart/parser.rb +176 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/multipart/uploaded_file.rb +34 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/nulllogger.rb +18 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/recursive.rb +61 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/reloader.rb +109 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/request.rb +380 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/response.rb +155 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/rewindable_input.rb +104 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb +27 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb +155 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb +362 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb +398 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/session/cookie.rb +178 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/session/memcache.rb +93 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/session/pool.rb +79 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/showexceptions.rb +378 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/showstatus.rb +113 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/static.rb +153 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/urlmap.rb +76 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/utils.rb +628 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/utils/okjson.rb +599 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/rack.gemspec +33 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/builder/anything.rb +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/builder/comment.ru +4 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/builder/end.ru +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/builder/line.ru +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/builder/options.ru +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/cgi/assets/folder/test.js +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/cgi/assets/fonts/font.eot +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/cgi/assets/images/image.png +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/cgi/assets/index.html +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/cgi/assets/javascripts/app.js +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/cgi/assets/stylesheets/app.css +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/cgi/lighttpd.conf +26 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/cgi/rackup_stub.rb +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/cgi/sample_rackup.ru +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/cgi/test +9 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/cgi/test+directory/test+file +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/cgi/test.fcgi +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/cgi/test.ru +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/gemloader.rb +10 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/bad_robots +259 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/binary +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/content_type_and_no_filename +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/empty +10 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/fail_16384_nofile +814 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/file1.txt +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/filename_and_modification_param +7 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/filename_with_escaped_quotes +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/filename_with_escaped_quotes_and_modification_param +7 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/filename_with_percent_escaped_quotes +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/filename_with_unescaped_percentages +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/filename_with_unescaped_percentages2 +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/filename_with_unescaped_percentages3 +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/filename_with_unescaped_quotes +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/ie +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/mixed_files +21 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/nested +10 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/none +9 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/semicolon +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/text +15 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/webkit +32 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/rackup/config.ru +31 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/registering_handler/rack/handler/registering_myself.rb +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_auth_basic.rb +81 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_auth_digest.rb +259 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_body_proxy.rb +69 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_builder.rb +214 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_cascade.rb +61 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_cgi.rb +102 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_chunked.rb +85 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_commonlogger.rb +57 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_conditionalget.rb +102 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_config.rb +22 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_content_length.rb +83 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_content_type.rb +45 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_deflater.rb +204 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_directory.rb +88 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_etag.rb +98 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_fastcgi.rb +107 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_file.rb +213 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_handler.rb +59 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_head.rb +43 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_lint.rb +522 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_lobster.rb +58 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_lock.rb +164 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_logger.rb +23 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_methodoverride.rb +75 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_mime.rb +51 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_mock.rb +269 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_mongrel.rb +182 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_multipart.rb +445 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_nulllogger.rb +20 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_recursive.rb +72 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_request.rb +1078 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_response.rb +313 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_rewindable_input.rb +118 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_runtime.rb +49 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_sendfile.rb +130 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_server.rb +143 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_session_abstract_id.rb +53 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_session_cookie.rb +367 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_session_memcache.rb +321 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_session_pool.rb +209 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_showexceptions.rb +92 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_showstatus.rb +84 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_static.rb +145 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_thin.rb +91 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_urlmap.rb +213 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_utils.rb +573 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_webrick.rb +143 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/static/another/index.html +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/static/index.html +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/testrequest.rb +78 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/unregistered_handler/rack/handler/unregistered.rb +7 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/unregistered_handler/rack/handler/unregistered_long_one.rb +7 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/License +20 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/README.md +90 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/Rakefile +48 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/lib/rack-protection.rb +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/lib/rack/protection.rb +40 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/lib/rack/protection/authenticity_token.rb +31 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/lib/rack/protection/base.rb +119 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/lib/rack/protection/escaped_params.rb +87 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/lib/rack/protection/form_token.rb +23 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/lib/rack/protection/frame_options.rb +37 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/lib/rack/protection/http_origin.rb +32 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/lib/rack/protection/ip_spoofing.rb +23 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/lib/rack/protection/json_csrf.rb +35 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/lib/rack/protection/path_traversal.rb +47 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/lib/rack/protection/remote_referrer.rb +20 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/lib/rack/protection/remote_token.rb +22 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/lib/rack/protection/session_hijacking.rb +36 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/lib/rack/protection/version.rb +16 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/lib/rack/protection/xss_header.rb +25 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/rack-protection.gemspec +108 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/spec/authenticity_token_spec.rb +48 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/spec/base_spec.rb +9 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/spec/escaped_params_spec.rb +44 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/spec/form_token_spec.rb +33 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/spec/frame_options_spec.rb +39 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/spec/http_origin_spec.rb +38 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/spec/ip_spoofing_spec.rb +35 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/spec/json_csrf_spec.rb +58 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/spec/path_traversal_spec.rb +41 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/spec/protection_spec.rb +70 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/spec/remote_referrer_spec.rb +31 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/spec/remote_token_spec.rb +42 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/spec/session_hijacking_spec.rb +54 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/spec/spec_helper.rb +163 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/spec/xss_header_spec.rb +56 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/.document +4 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/.gitignore +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/Gemfile +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/Gemfile.lock +26 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/History.txt +145 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/MIT-LICENSE.txt +19 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/README.rdoc +57 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/Rakefile +33 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/Thorfile +114 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/lib/rack/mock_session.rb +66 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/lib/rack/test.rb +292 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/lib/rack/test/cookie_jar.rb +176 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/lib/rack/test/methods.rb +81 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/lib/rack/test/mock_digest_request.rb +29 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/lib/rack/test/uploaded_file.rb +46 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/lib/rack/test/utils.rb +131 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/rack-test.gemspec +78 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/spec/fixtures/bar.txt +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/spec/fixtures/config.ru +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/spec/fixtures/fake_app.rb +128 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/spec/fixtures/foo.txt +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/spec/rack/test/cookie_spec.rb +201 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/spec/rack/test/digest_auth_spec.rb +40 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/spec/rack/test/multipart_spec.rb +147 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/spec/rack/test/utils_spec.rb +121 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/spec/rack/test_spec.rb +475 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/spec/spec_helper.rb +66 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/spec/support/matchers/body.rb +9 -0
- data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/spec/support/matchers/challenge.rb +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-2.14.1/License.txt +24 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-2.14.1/README.md +47 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-2.14.1/lib/rspec.rb +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-2.14.1/lib/rspec/version.rb +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/.document +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/.yardopts +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/Changelog.md +904 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/License.txt +24 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/README.md +261 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/exe/autospec +13 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/exe/rspec +25 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/Autotest.md +38 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/README.md +17 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/Upgrade.md +364 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/command_line/README.md +28 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/command_line/example_name_option.feature +97 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/command_line/exit_status.feature +82 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/command_line/format_option.feature +75 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/command_line/init.feature +18 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/command_line/line_number_appended_to_path.feature +140 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/command_line/line_number_option.feature +58 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/command_line/order.feature +29 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/command_line/pattern_option.feature +49 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/command_line/rake_task.feature +122 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/command_line/require_option.feature +43 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/command_line/ruby.feature +22 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/command_line/tag.feature +98 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/command_line/warnings_option.feature +29 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/configuration/alias_example_to.feature +48 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/configuration/backtrace_clean_patterns.feature +102 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/configuration/custom_settings.feature +84 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/configuration/default_path.feature +38 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/configuration/deprecation_stream.feature +58 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/configuration/fail_fast.feature +77 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/configuration/failure_exit_code.feature +36 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/configuration/order_and_seed.feature +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/configuration/output_stream.feature +24 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/configuration/pattern.feature +38 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/configuration/profile.feature +220 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/configuration/read_options_from_file.feature +90 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/configuration/run_all_when_everything_filtered.feature +76 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/configuration/show_failures_in_pending_blocks.feature +61 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/configuration/treat_symbols_as_metadata_keys_with_true_values.feature +52 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/example_groups/basic_structure.feature +55 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/example_groups/shared_context.feature +74 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/example_groups/shared_examples.feature +294 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/expectation_framework_integration/configure_expectation_framework.feature +102 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/filtering/exclusion_filters.feature +138 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/filtering/if_and_unless.feature +168 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/filtering/inclusion_filters.feature +105 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/formatters/configurable_colors.feature +31 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/formatters/custom_formatter.feature +36 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/formatters/json_formatter.feature +30 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/formatters/text_formatter.feature +46 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/helper_methods/arbitrary_methods.feature +40 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/helper_methods/let.feature +50 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/helper_methods/modules.feature +149 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/hooks/around_hooks.feature +343 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/hooks/before_and_after_hooks.feature +427 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/hooks/filtering.feature +234 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/metadata/current_example.feature +17 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/metadata/described_class.feature +17 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/metadata/user_defined.feature +113 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/mock_framework_integration/use_any_framework.feature +106 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/mock_framework_integration/use_flexmock.feature +96 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/mock_framework_integration/use_mocha.feature +97 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/mock_framework_integration/use_rr.feature +98 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/mock_framework_integration/use_rspec.feature +97 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/pending/pending_examples.feature +229 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/spec_files/arbitrary_file_suffix.feature +13 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/step_definitions/additional_cli_steps.rb +49 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/subject/attribute_of_subject.feature +124 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/subject/explicit_subject.feature +101 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/subject/implicit_receiver.feature +29 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/subject/implicit_subject.feature +63 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/support/env.rb +14 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/support/rubinius.rb +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/autotest/discover.rb +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/autotest/rspec2.rb +73 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/autorun.rb +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core.rb +169 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/backtrace_cleaner.rb +46 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/backward_compatibility.rb +55 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb +36 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/configuration.rb +1174 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/configuration_options.rb +156 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/deprecation.rb +31 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/drb_command_line.rb +26 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/drb_options.rb +87 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/dsl.rb +26 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/example.rb +325 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb +479 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb +44 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/extensions/kernel.rb +9 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/extensions/module_eval_with_args.rb +38 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/extensions/ordered.rb +27 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/filter_manager.rb +203 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/formatters.rb +55 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/formatters/base_formatter.rb +246 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/formatters/base_text_formatter.rb +329 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/formatters/deprecation_formatter.rb +39 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/formatters/documentation_formatter.rb +67 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/formatters/helpers.rb +110 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/formatters/html_formatter.rb +155 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/formatters/html_printer.rb +408 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/formatters/json_formatter.rb +70 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/formatters/progress_formatter.rb +32 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/formatters/snippet_extractor.rb +92 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/formatters/text_mate_formatter.rb +34 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb +519 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb +514 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/metadata.rb +299 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/metadata_hash_builder.rb +97 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/mocking/with_absolutely_nothing.rb +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/mocking/with_flexmock.rb +27 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/mocking/with_mocha.rb +52 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/mocking/with_rr.rb +27 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/mocking/with_rspec.rb +27 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/option_parser.rb +219 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/pending.rb +113 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/project_initializer.rb +86 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/rake_task.rb +206 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb +132 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/ruby_project.rb +44 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb +87 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/shared_context.rb +55 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/shared_example_group.rb +185 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/shared_example_group/collection.rb +43 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/version.rb +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/world.rb +127 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/autotest/discover_spec.rb +19 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/autotest/failed_results_re_spec.rb +45 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/autotest/rspec_spec.rb +133 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/command_line/order_spec.rb +204 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/backtrace_cleaner_spec.rb +68 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/command_line_spec.rb +108 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/command_line_spec_output.txt +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/configuration_options_spec.rb +417 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/configuration_spec.rb +1561 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/deprecation_spec.rb +46 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/deprecations_spec.rb +73 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/drb_command_line_spec.rb +102 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/drb_options_spec.rb +193 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/dsl_spec.rb +25 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/example_group_spec.rb +1187 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/example_spec.rb +465 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/filter_manager_spec.rb +246 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/base_formatter_spec.rb +108 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/base_text_formatter_spec.rb +494 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/deprecation_formatter_spec.rb +96 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/documentation_formatter_spec.rb +88 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/helpers_spec.rb +104 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/html_formatted-1.8.7-jruby.html +404 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/html_formatted-1.8.7-rbx.html +477 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/html_formatted-1.8.7.html +414 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/html_formatted-1.9.2.html +425 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/html_formatted-1.9.3-jruby.html +404 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/html_formatted-1.9.3-rbx.html +477 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/html_formatted-1.9.3.html +425 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/html_formatted-2.0.0.html +425 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/html_formatter_spec.rb +110 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/json_formatter_spec.rb +115 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/progress_formatter_spec.rb +30 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/snippet_extractor_spec.rb +26 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/text_mate_formatted-1.8.7-jruby.html +395 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/text_mate_formatted-1.8.7-rbx.html +477 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/text_mate_formatted-1.8.7.html +414 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/text_mate_formatted-1.9.2.html +425 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/text_mate_formatted-1.9.3-jruby.html +404 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/text_mate_formatted-1.9.3-rbx.html +477 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/text_mate_formatted-1.9.3.html +425 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/text_mate_formatted-2.0.0.html +425 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/text_mate_formatter_spec.rb +96 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/hooks_filtering_spec.rb +227 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/hooks_spec.rb +267 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/kernel_extensions_spec.rb +9 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/memoized_helpers_spec.rb +688 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/metadata_spec.rb +491 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/option_parser_spec.rb +242 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/pending_example_spec.rb +220 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/project_initializer_spec.rb +130 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/rake_task_spec.rb +181 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/reporter_spec.rb +141 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/resources/a_bar.rb +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/resources/a_foo.rb +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/resources/a_spec.rb +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/resources/custom_example_group_runner.rb +14 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/resources/formatter_specs.rb +60 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/resources/utf8_encoded.rb +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/rspec_matchers_spec.rb +45 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/ruby_project_spec.rb +26 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/runner_spec.rb +82 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/shared_context_spec.rb +114 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/shared_example_group/collection_spec.rb +70 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/shared_example_group_spec.rb +120 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/world_spec.rb +142 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core_spec.rb +74 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/spec_helper.rb +132 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/support/config_options_helper.rb +15 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/support/helper_methods.rb +36 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/support/in_sub_process.rb +37 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/support/isolate_load_path_mutation.rb +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/support/isolated_directory.rb +10 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/support/isolated_home_directory.rb +16 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/support/matchers.rb +65 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/support/mathn_integration_support.rb +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/support/sandboxed_mock_space.rb +100 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/support/shared_example_groups.rb +41 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/support/spec_files.rb +44 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/.document +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/.yardopts +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/Changelog.md +419 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/License.txt +23 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/README.md +184 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/README.md +48 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/Upgrade.md +53 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/README.md +90 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/be.feature +175 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/be_within.feature +48 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/cover.feature +47 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/end_with.feature +48 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/equality.feature +139 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/exist.feature +45 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/expect_change.feature +59 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/expect_error.feature +144 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/have.feature +109 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/include.feature +174 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/match.feature +52 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/operators.feature +227 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/predicates.feature +137 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/respond_to.feature +84 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/satisfy.feature +33 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/start_with.feature +48 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/throw_symbol.feature +91 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/types.feature +116 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/yield.feature +161 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/custom_matchers/access_running_example.feature +53 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/custom_matchers/define_diffable_matcher.feature +27 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/custom_matchers/define_matcher.feature +368 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/custom_matchers/define_matcher_outside_rspec.feature +38 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/custom_matchers/define_matcher_with_fluent_interface.feature +24 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/customized_message.feature +22 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/diffing.feature +85 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/implicit_docstrings.feature +52 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/step_definitions/additional_cli_steps.rb +22 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/support/env.rb +14 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/support/rubinius.rb +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/syntax_configuration.feature +71 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/test_frameworks/test_unit.feature +44 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec-expectations.rb +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/expectations.rb +73 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/expectations/deprecation.rb +31 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/expectations/differ.rb +154 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/expectations/errors.rb +9 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/expectations/expectation_target.rb +87 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/expectations/extensions.rb +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/expectations/extensions/array.rb +9 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/expectations/extensions/object.rb +29 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/expectations/fail_with.rb +79 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/expectations/handler.rb +68 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/expectations/syntax.rb +164 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/expectations/version.rb +9 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers.rb +694 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/be_close.rb +9 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in.rb +39 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/base_matcher.rb +68 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/be.rb +197 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/be_instance_of.rb +15 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/be_kind_of.rb +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/be_within.rb +55 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/change.rb +141 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/cover.rb +21 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/eq.rb +22 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/eql.rb +23 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/equal.rb +48 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/exist.rb +26 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/has.rb +48 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/have.rb +124 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/include.rb +61 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/match.rb +17 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/match_array.rb +51 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/raise_error.rb +127 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/respond_to.rb +74 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/satisfy.rb +30 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/start_and_end_with.rb +48 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/throw_symbol.rb +94 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/yield.rb +296 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/compatibility.rb +14 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/configuration.rb +108 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/dsl.rb +24 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/extensions/instance_eval_with_args.rb +39 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/generated_descriptions.rb +35 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/matcher.rb +300 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/method_missing.rb +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/operator_matcher.rb +113 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/pretty.rb +70 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/test_unit_integration.rb +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/expectations/differ_spec.rb +229 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/expectations/expectation_target_spec.rb +82 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/expectations/extensions/kernel_spec.rb +67 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/expectations/fail_with_spec.rb +114 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/expectations/handler_spec.rb +227 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/expectations/syntax_spec.rb +139 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/expectations_spec.rb +50 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/base_matcher_spec.rb +62 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/be_close_spec.rb +22 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/be_instance_of_spec.rb +63 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/be_kind_of_spec.rb +41 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/be_spec.rb +522 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/be_within_spec.rb +137 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/change_spec.rb +567 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/configuration_spec.rb +206 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/cover_spec.rb +69 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/description_generation_spec.rb +190 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/dsl_spec.rb +57 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/eq_spec.rb +60 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/eql_spec.rb +41 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/equal_spec.rb +78 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/exist_spec.rb +124 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/has_spec.rb +122 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/have_spec.rb +455 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/include_matcher_integration_spec.rb +30 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/include_spec.rb +531 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/match_array_spec.rb +194 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/match_spec.rb +74 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/matcher_spec.rb +471 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/matchers_spec.rb +37 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/method_missing_spec.rb +28 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/operator_matcher_spec.rb +252 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/raise_error_spec.rb +535 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/respond_to_spec.rb +292 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/satisfy_spec.rb +44 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/start_with_end_with_spec.rb +186 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/throw_symbol_spec.rb +116 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/yield_spec.rb +514 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/spec_helper.rb +54 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/support/classes.rb +56 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/support/in_sub_process.rb +38 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/support/matchers.rb +22 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/support/ruby_version.rb +10 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/support/shared_examples.rb +13 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/.document +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/.yardopts +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/Changelog.md +420 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/License.txt +23 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/README.md +315 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/README.md +67 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/Scope.md +17 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/Upgrade.md +22 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/argument_matchers/README.md +27 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/argument_matchers/explicit.feature +59 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/argument_matchers/general_matchers.feature +85 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/argument_matchers/type_matchers.feature +26 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/message_expectations/README.md +73 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/message_expectations/allow_any_instance_of.feature +26 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/message_expectations/any_instance.feature +21 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/message_expectations/block_local_expectations.feature.pending +55 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/message_expectations/call_original.feature +24 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/message_expectations/expect_any_instance_of.feature +27 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/message_expectations/expect_message_using_expect.feature +107 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/message_expectations/expect_message_using_should_receive.feature +118 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/message_expectations/receive_counts.feature +209 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/message_expectations/warn_when_expectation_is_set_on_nil.feature +50 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/method_stubs/README.md +73 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/method_stubs/any_instance.feature +136 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/method_stubs/as_null_object.feature +40 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/method_stubs/simple_return_value_with_allow.feature +44 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/method_stubs/simple_return_value_with_stub.feature +64 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/method_stubs/stub_chain.feature +51 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/method_stubs/stub_implementation.feature +48 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/method_stubs/to_ary.feature +51 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/mutating_constants/README.md +82 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/mutating_constants/hiding_defined_constant.feature +64 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/mutating_constants/stub_defined_constant.feature +79 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/mutating_constants/stub_undefined_constant.feature +50 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/outside_rspec/configuration.feature +62 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/outside_rspec/standalone.feature +33 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/spies/spy_partial_mock_method.feature +34 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/spies/spy_pure_mock_method.feature +76 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/spies/spy_unstubbed_method.feature +18 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/step_definitions/additional_cli_steps.rb +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/support/env.rb +13 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/support/rubinius.rb +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/test_frameworks/test_unit.feature +43 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks.rb +96 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/any_instance/chain.rb +94 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/any_instance/expectation_chain.rb +42 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/any_instance/message_chains.rb +60 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/any_instance/recorder.rb +211 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/any_instance/stub_chain.rb +40 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/argument_list_matcher.rb +97 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/argument_matchers.rb +238 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/configuration.rb +55 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/deprecation.rb +18 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/error_generator.rb +179 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/errors.rb +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/example_methods.rb +156 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/extensions/instance_exec.rb +34 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/extensions/marshal.rb +17 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/framework.rb +34 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/instance_method_stasher.rb +94 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/matchers/have_received.rb +93 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/matchers/receive.rb +97 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/message_expectation.rb +583 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/method_double.rb +271 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/mock.rb +7 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/mutate_const.rb +403 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/order_group.rb +40 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/proxy.rb +223 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/proxy_for_nil.rb +37 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/space.rb +91 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/standalone.rb +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/stub_chain.rb +51 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/syntax.rb +349 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/targets.rb +69 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/test_double.rb +135 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/version.rb +7 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/spec/mocks.rb +4 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/and_call_original_spec.rb +243 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/and_yield_spec.rb +127 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/any_instance/message_chains_spec.rb +41 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/any_instance_spec.rb +987 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/any_number_of_times_spec.rb +36 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/argument_expectation_spec.rb +32 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/at_least_spec.rb +151 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/at_most_spec.rb +90 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/block_return_value_spec.rb +88 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/bug_report_10260_spec.rb +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/bug_report_10263_spec.rb +27 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/bug_report_11545_spec.rb +32 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/bug_report_496_spec.rb +17 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/bug_report_600_spec.rb +22 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/bug_report_7611_spec.rb +16 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/bug_report_8165_spec.rb +31 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/bug_report_830_spec.rb +21 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/bug_report_957_spec.rb +22 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/combining_implementation_instructions_spec.rb +205 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/configuration_spec.rb +150 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/double_spec.rb +24 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/extensions/marshal_spec.rb +54 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/failing_argument_matchers_spec.rb +110 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/hash_excluding_matcher_spec.rb +67 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/hash_including_matcher_spec.rb +90 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/instance_method_stasher_spec.rb +58 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/matchers/have_received_spec.rb +266 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/matchers/receive_spec.rb +336 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/methods_spec.rb +27 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/mock_ordering_spec.rb +103 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/mock_space_spec.rb +113 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/mock_spec.rb +798 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/multiple_return_value_spec.rb +132 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/mutate_const_spec.rb +501 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/nil_expectation_warning_spec.rb +68 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/null_object_mock_spec.rb +123 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/once_counts_spec.rb +52 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/options_hash_spec.rb +35 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/partial_mock_spec.rb +205 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/partial_mock_using_mocks_directly_spec.rb +95 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/passing_argument_matchers_spec.rb +142 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/precise_counts_spec.rb +68 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/record_messages_spec.rb +26 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/serialization_spec.rb +89 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/space_spec.rb +32 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/stash_spec.rb +46 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/stub_chain_spec.rb +154 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/stub_implementation_spec.rb +81 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/stub_spec.rb +353 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/stubbed_message_expectations_spec.rb +58 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb +81 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/test_double_spec.rb +67 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/to_ary_spec.rb +54 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/twice_counts_spec.rb +66 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks_spec.rb +65 -0
- data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/spec_helper.rb +60 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/.yardopts +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/CONTRIBUTING +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/MIT-LICENSE +20 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/README.md +201 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/REVISION +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/Rakefile +347 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/VERSION +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/VERSION_DATE +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/VERSION_NAME +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/bin/sass +9 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/bin/sass-convert +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/bin/scss +9 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/extra/update_watch.rb +13 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/init.rb +18 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass.rb +95 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/cache_stores.rb +15 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/cache_stores/base.rb +88 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/cache_stores/chain.rb +33 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/cache_stores/filesystem.rb +60 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/cache_stores/memory.rb +47 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/cache_stores/null.rb +25 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/callbacks.rb +66 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/css.rb +409 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/engine.rb +928 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/environment.rb +101 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/error.rb +201 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/exec.rb +707 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/importers.rb +22 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/importers/base.rb +139 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/importers/filesystem.rb +190 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/logger.rb +15 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/logger/base.rb +32 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/logger/log_level.rb +49 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/media.rb +213 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/plugin.rb +132 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/plugin/compiler.rb +406 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/plugin/configuration.rb +123 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/plugin/generic.rb +15 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/plugin/merb.rb +48 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/plugin/rack.rb +60 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/plugin/rails.rb +47 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/plugin/staleness_checker.rb +199 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/railtie.rb +9 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/repl.rb +57 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/root.rb +7 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script.rb +39 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/arg_list.rb +52 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/bool.rb +18 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/color.rb +606 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/css_lexer.rb +29 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/css_parser.rb +31 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/funcall.rb +237 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/functions.rb +1543 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/interpolation.rb +79 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/lexer.rb +348 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/list.rb +85 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/literal.rb +221 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/node.rb +99 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/null.rb +37 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/number.rb +453 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/operation.rb +110 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/parser.rb +495 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/string.rb +51 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/string_interpolation.rb +103 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/unary_operation.rb +69 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/variable.rb +58 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/scss.rb +16 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/scss/css_parser.rb +36 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/scss/parser.rb +1179 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/scss/rx.rb +133 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/scss/script_lexer.rb +15 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/scss/script_parser.rb +25 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/scss/static_parser.rb +54 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/selector.rb +452 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/selector/abstract_sequence.rb +94 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/selector/comma_sequence.rb +92 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/selector/sequence.rb +507 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/selector/simple.rb +119 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/selector/simple_sequence.rb +212 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/shared.rb +76 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/supports.rb +229 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/charset_node.rb +22 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/comment_node.rb +82 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/content_node.rb +9 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/css_import_node.rb +60 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/debug_node.rb +18 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/directive_node.rb +42 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/each_node.rb +24 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/extend_node.rb +36 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/for_node.rb +36 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/function_node.rb +34 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/if_node.rb +52 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/import_node.rb +75 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/media_node.rb +58 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/mixin_def_node.rb +38 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/mixin_node.rb +39 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/node.rb +196 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/prop_node.rb +152 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/return_node.rb +18 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/root_node.rb +28 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/rule_node.rb +132 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/supports_node.rb +51 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/trace_node.rb +32 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/variable_node.rb +30 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb +75 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/check_nesting.rb +147 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/convert.rb +316 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/cssize.rb +229 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/deep_copy.rb +102 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/extend.rb +68 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb +446 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/set_options.rb +125 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/to_css.rb +228 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/warn_node.rb +18 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/while_node.rb +18 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/util.rb +930 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/util/multibyte_string_scanner.rb +155 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/util/subset_map.rb +109 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/util/test.rb +10 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/version.rb +126 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/rails/init.rb +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/Gemfile +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/Gemfile.lock +10 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/cache_test.rb +89 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/callbacks_test.rb +61 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/conversion_test.rb +1760 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/css2sass_test.rb +439 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/data/hsl-rgb.txt +319 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/engine_test.rb +3243 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/exec_test.rb +86 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/extend_test.rb +1482 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/fixtures/test_staleness_check_across_importers.css +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/fixtures/test_staleness_check_across_importers.scss +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/functions_test.rb +1139 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/importer_test.rb +192 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/logger_test.rb +58 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/mock_importer.rb +49 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/more_results/more1.css +9 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/more_results/more1_with_line_comments.css +26 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/more_results/more_import.css +29 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/more_templates/_more_partial.sass +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/more_templates/more1.sass +23 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/more_templates/more_import.sass +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/plugin_test.rb +550 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/alt.css +4 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/basic.css +9 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/cached_import_option.css +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/compact.css +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/complex.css +86 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/compressed.css +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/expanded.css +19 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/filename_fn.css +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/if.css +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/import.css +31 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/import_charset.css +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/import_charset_1_8.css +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/import_charset_ibm866.css +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/import_content.css +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/line_numbers.css +49 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/mixins.css +95 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/multiline.css +24 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/nested.css +22 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/options.css +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/parent_ref.css +13 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/script.css +16 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/scss_import.css +31 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/scss_importee.css +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/subdir/nested_subdir/nested_subdir.css +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/subdir/subdir.css +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/units.css +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/warn.css +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/warn_imported.css +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/script_conversion_test.rb +299 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/script_test.rb +591 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/scss/css_test.rb +1093 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/scss/rx_test.rb +156 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/scss/scss_test.rb +2043 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/scss/test_helper.rb +37 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/_cached_import_option_partial.scss +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/_double_import_loop2.sass +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/_filename_fn_import.scss +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/_imported_charset_ibm866.sass +4 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/_imported_charset_utf8.sass +4 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/_imported_content.sass +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/_partial.sass +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/_same_name_different_partiality.scss +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/alt.sass +16 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/basic.sass +23 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/bork1.sass +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/bork2.sass +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/bork3.sass +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/bork4.sass +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/bork5.sass +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/cached_import_option.scss +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/compact.sass +17 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/complex.sass +305 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/compressed.sass +15 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/double_import_loop1.sass +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/expanded.sass +17 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/filename_fn.scss +18 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/if.sass +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/import.sass +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/import_charset.sass +9 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/import_charset_1_8.sass +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/import_charset_ibm866.sass +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/import_content.sass +4 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/importee.less +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/importee.sass +19 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/line_numbers.sass +13 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/mixin_bork.sass +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/mixins.sass +76 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/multiline.sass +20 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/nested.sass +25 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/nested_bork1.sass +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/nested_bork2.sass +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/nested_bork3.sass +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/nested_bork4.sass +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/nested_import.sass +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/nested_mixin_bork.sass +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/options.sass +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/parent_ref.sass +25 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/same_name_different_ext.sass +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/same_name_different_ext.scss +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/same_name_different_partiality.scss +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/script.sass +101 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/scss_import.scss +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/scss_importee.scss +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/single_import_loop.sass +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/subdir/nested_subdir/_nested_partial.sass +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/subdir/nested_subdir/nested_subdir.sass +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/subdir/subdir.sass +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/units.sass +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/warn.sass +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/warn_imported.sass +4 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/test_helper.rb +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/util/multibyte_string_scanner_test.rb +147 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/util/subset_map_test.rb +91 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/util_test.rb +361 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/test_helper.rb +80 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/CHANGELOG.md +228 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/CONTRIBUTING.md +38 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/Gemfile +30 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/Guardfile +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/LICENSE +20 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/README.md +315 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/Rakefile +47 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/Vagrantfile +96 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/lib/listen.rb +40 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/lib/listen/adapter.rb +214 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/lib/listen/adapters/bsd.rb +112 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/lib/listen/adapters/darwin.rb +85 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/lib/listen/adapters/linux.rb +113 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/lib/listen/adapters/polling.rb +67 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/lib/listen/adapters/windows.rb +87 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/lib/listen/dependency_manager.rb +126 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/lib/listen/directory_record.rb +371 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/lib/listen/listener.rb +225 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/lib/listen/multi_listener.rb +143 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/lib/listen/turnstile.rb +28 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/lib/listen/version.rb +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/listen.gemspec +22 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/listen/adapter_spec.rb +183 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/listen/adapters/bsd_spec.rb +36 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/listen/adapters/darwin_spec.rb +37 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/listen/adapters/linux_spec.rb +47 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/listen/adapters/polling_spec.rb +68 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/listen/adapters/windows_spec.rb +30 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/listen/dependency_manager_spec.rb +107 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/listen/directory_record_spec.rb +1225 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/listen/listener_spec.rb +169 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/listen/multi_listener_spec.rb +174 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/listen/turnstile_spec.rb +56 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/listen_spec.rb +73 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/spec_helper.rb +21 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/support/adapter_helper.rb +629 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/support/directory_record_helper.rb +55 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/support/fixtures_helper.rb +29 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/support/listeners_helper.rb +156 -0
- data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/support/platform_helper.rb +15 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/.yardopts +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/AUTHORS +61 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/CHANGES +1276 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/Gemfile +93 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/LICENSE +22 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/README.de.md +2865 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/README.es.md +2779 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/README.fr.md +2925 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/README.hu.md +694 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/README.jp.md +1141 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/README.ko.md +2489 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/README.md +2889 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/README.pt-br.md +965 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/README.pt-pt.md +791 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/README.ru.md +2731 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/README.zh.md +2139 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/Rakefile +199 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/examples/chat.rb +61 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/examples/simple.rb +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/examples/stream.ru +26 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra.rb +4 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb +2034 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/images/404.png +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/images/500.png +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/main.rb +34 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/show_exceptions.rb +345 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/version.rb +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/sinatra.gemspec +18 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/base_test.rb +171 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/builder_test.rb +91 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/coffee_test.rb +90 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/compile_test.rb +183 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/contest.rb +100 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/creole_test.rb +65 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/delegator_test.rb +160 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/encoding_test.rb +20 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/erb_test.rb +116 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/extensions_test.rb +98 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/filter_test.rb +487 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/haml_test.rb +109 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/helper.rb +131 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/helpers_test.rb +1917 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/integration/app.rb +79 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/integration_helper.rb +236 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/integration_test.rb +104 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/less_test.rb +69 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/liquid_test.rb +77 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/mapped_error_test.rb +285 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/markaby_test.rb +80 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/markdown_test.rb +82 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/middleware_test.rb +68 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/nokogiri_test.rb +67 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/public/favicon.ico +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/rabl_test.rb +89 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/rack_test.rb +45 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/radius_test.rb +59 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/rdoc_test.rb +66 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/readme_test.rb +130 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/request_test.rb +92 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/response_test.rb +63 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/result_test.rb +76 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/route_added_hook_test.rb +59 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/routing_test.rb +1409 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/sass_test.rb +116 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/scss_test.rb +89 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/server_test.rb +48 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/settings_test.rb +582 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/sinatra_test.rb +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/slim_test.rb +102 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/static_test.rb +219 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/streaming_test.rb +149 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/stylus_test.rb +90 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/templates_test.rb +382 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/textile_test.rb +65 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/a/in_a.str +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/ascii.erb +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/b/in_b.str +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/calc.html.erb +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/error.builder +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/error.erb +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/error.haml +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/error.sass +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/explicitly_nested.str +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/foo/hello.test +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.builder +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.coffee +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.creole +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.erb +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.haml +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.less +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.liquid +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.mab +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.md +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.nokogiri +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.rabl +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.radius +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.rdoc +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.sass +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.scss +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.slim +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.str +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.styl +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.test +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.textile +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.wlang +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.yajl +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/layout2.builder +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/layout2.erb +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/layout2.haml +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/layout2.liquid +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/layout2.mab +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/layout2.nokogiri +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/layout2.rabl +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/layout2.radius +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/layout2.slim +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/layout2.str +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/layout2.test +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/layout2.wlang +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/nested.str +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/utf8.erb +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/wlang_test.rb +87 -0
- data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/yajl_test.rb +86 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/CHANGELOG.rdoc +103 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/LICENSE +20 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/README.md +307 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/Thorfile +24 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/bin/rake2thor +86 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/bin/thor +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor.rb +334 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/actions.rb +314 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/actions/create_file.rb +105 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/actions/create_link.rb +57 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/actions/directory.rb +93 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/actions/empty_directory.rb +134 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/actions/file_manipulation.rb +270 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/actions/inject_into_file.rb +109 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/base.rb +579 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/core_ext/file_binary_read.rb +9 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/core_ext/hash_with_indifferent_access.rb +75 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/core_ext/ordered_hash.rb +100 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/error.rb +30 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/group.rb +273 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/invocation.rb +168 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/parser.rb +4 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/parser/argument.rb +67 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/parser/arguments.rb +161 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/parser/option.rb +120 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/parser/options.rb +173 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/rake_compat.rb +66 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/runner.rb +309 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/shell.rb +88 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/shell/basic.rb +290 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/shell/color.rb +108 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/shell/html.rb +121 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/task.rb +114 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/util.rb +229 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/version.rb +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/actions/create_file_spec.rb +170 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/actions/directory_spec.rb +136 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/actions/empty_directory_spec.rb +98 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/actions/file_manipulation_spec.rb +310 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/actions/inject_into_file_spec.rb +135 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/actions_spec.rb +322 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/base_spec.rb +269 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/core_ext/hash_with_indifferent_access_spec.rb +43 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/core_ext/ordered_hash_spec.rb +115 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/fixtures/application.rb +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/fixtures/bundle/execute.rb +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/fixtures/bundle/main.thor +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/fixtures/doc/%file_name%.rb.tt +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/fixtures/doc/README +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/fixtures/doc/block_helper.rb +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/fixtures/doc/components/.empty_directory +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/fixtures/doc/config.rb +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/fixtures/group.thor +114 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/fixtures/invoke.thor +112 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/fixtures/path with spaces b/data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/fixtures/path with → spaces +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/fixtures/script.thor +184 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/fixtures/task.thor +10 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/group_spec.rb +178 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/invocation_spec.rb +100 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/parser/argument_spec.rb +47 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/parser/arguments_spec.rb +64 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/parser/option_spec.rb +202 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/parser/options_spec.rb +319 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/rake_compat_spec.rb +68 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/register_spec.rb +92 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/runner_spec.rb +210 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/shell/basic_spec.rb +223 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/shell/color_spec.rb +41 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/shell/html_spec.rb +27 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/shell_spec.rb +47 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/spec_helper.rb +54 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/task_spec.rb +69 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/thor_spec.rb +334 -0
- data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/util_spec.rb +163 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/CHANGELOG.md +44 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/COPYING +18 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/Gemfile +32 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/HACKING +16 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/README.md +232 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/Rakefile +104 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/TEMPLATES.md +516 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/bin/tilt +112 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt.rb +204 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/asciidoc.rb +34 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/builder.rb +40 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/coffee.rb +54 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/css.rb +80 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/csv.rb +71 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/erb.rb +110 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/etanni.rb +27 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/haml.rb +64 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/liquid.rb +45 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/markaby.rb +52 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/markdown.rb +214 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/nokogiri.rb +43 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/plain.rb +20 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/radius.rb +55 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/rdoc.rb +47 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/string.rb +21 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/template.rb +292 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/textile.rb +30 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/wiki.rb +58 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/yajl.rb +94 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/contest.rb +68 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/markaby/locals.mab +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/markaby/markaby.mab +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/markaby/markaby_other_static.mab +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/markaby/render_twice.mab +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/markaby/scope.mab +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/markaby/yielding.mab +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_asciidoctor_test.rb +44 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_blueclothtemplate_test.rb +45 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_buildertemplate_test.rb +59 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_cache_test.rb +32 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_coffeescripttemplate_test.rb +114 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_compilesite_test.rb +51 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_creoletemplate_test.rb +28 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_csv_test.rb +69 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_erbtemplate_test.rb +239 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_erubistemplate_test.rb +151 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_etannitemplate_test.rb +173 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_fallback_test.rb +122 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_hamltemplate_test.rb +144 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_kramdown_test.rb +42 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_lesstemplate_test.less +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_lesstemplate_test.rb +42 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_liquidtemplate_test.rb +78 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_markaby_test.rb +88 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_markdown_test.rb +172 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_marukutemplate_test.rb +48 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_nokogiritemplate_test.rb +87 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_radiustemplate_test.rb +75 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_rdiscounttemplate_test.rb +55 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_rdoctemplate_test.rb +31 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_redcarpettemplate_test.rb +71 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_redclothtemplate_test.rb +36 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_sasstemplate_test.rb +41 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_stringtemplate_test.rb +170 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_template_test.rb +323 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_test.rb +65 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_wikiclothtemplate_test.rb +32 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_yajltemplate_test.rb +101 -0
- data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/tilt.gemspec +120 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/.yardopts +25 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/LEGAL +66 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/LICENSE +22 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/README.md +620 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/Rakefile +61 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/builtins_vs_eval.rb +23 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/concat_vs_join.rb +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/erb_vs_erubis.rb +53 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/format_args.rb +46 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/generation.rb +37 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/marshal_vs_dbm.rb +63 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/parsing.rb +46 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/pathname_vs_string.rb +50 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/rdoc_vs_yardoc.rb +10 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/registry_store_types.rb +48 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/ri_vs_yri.rb +18 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/ripper_parser.rb +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/splat_vs_flatten.rb +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/template_erb.rb +22 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/template_format.rb +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/template_profile.rb +17 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/yri_cache.rb +19 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/bin/yard +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/bin/yardoc +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/bin/yri +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/CodeObjects.md +115 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/GettingStarted.md +592 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/Handlers.md +152 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/Overview.md +61 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/Parser.md +191 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/Tags.md +282 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/TagsArch.md +123 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/Templates.md +496 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/WhatsNew.md +1244 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/images/code-objects-class-diagram.png +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/images/handlers-class-diagram.png +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/images/overview-class-diagram.png +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/images/parser-class-diagram.png +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/images/tags-class-diagram.png +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/templates/default/fulldoc/html/full_list_tag.erb +7 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/templates/default/fulldoc/html/setup.rb +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/templates/default/layout/html/setup.rb +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/templates/default/layout/html/tag_list.erb +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/templates/default/yard_tags/html/list.erb +18 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/templates/default/yard_tags/html/setup.rb +27 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/templates/plugin.rb +65 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/rubygems_plugin.rb +4 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard.rb +71 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/autoload.rb +290 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/cli/command.rb +84 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/cli/command_parser.rb +92 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/cli/config.rb +136 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/cli/diff.rb +270 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/cli/display.rb +68 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/cli/gems.rb +83 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/cli/graph.rb +126 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/cli/help.rb +18 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/cli/i18n.rb +69 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/cli/list.rb +22 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/cli/markup_types.rb +33 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/cli/server.rb +253 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/cli/stats.rb +213 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/cli/yardoc.rb +752 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/cli/yardopts_command.rb +109 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/cli/yri.rb +214 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/code_objects/base.rb +585 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/code_objects/class_object.rb +143 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/code_objects/class_variable_object.rb +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/code_objects/constant_object.rb +13 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/code_objects/extended_method_object.rb +23 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/code_objects/extra_file_object.rb +128 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/code_objects/macro_object.rb +172 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/code_objects/method_object.rb +191 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/code_objects/module_object.rb +18 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/code_objects/namespace_object.rb +200 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/code_objects/proxy.rb +258 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/code_objects/root_object.rb +17 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/config.rb +270 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/core_ext/array.rb +15 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/core_ext/file.rb +65 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/core_ext/hash.rb +15 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/core_ext/insertion.rb +60 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/core_ext/module.rb +19 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/core_ext/string.rb +67 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/core_ext/symbol_hash.rb +73 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/docstring.rb +362 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/docstring_parser.rb +321 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/globals.rb +18 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/base.rb +597 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/alias_handler.rb +15 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/attribute_handler.rb +13 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/base.rb +110 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/class_handler.rb +26 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/constant_handler.rb +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/handler_methods.rb +166 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/init_handler.rb +18 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/method_handler.rb +35 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/mixin_handler.rb +13 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/module_handler.rb +16 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/override_comment_handler.rb +30 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/path_handler.rb +10 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/struct_handler.rb +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/symbol_handler.rb +7 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/processor.rb +201 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/alias_handler.rb +41 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/attribute_handler.rb +82 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/base.rb +164 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/class_condition_handler.rb +86 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/class_handler.rb +121 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/class_variable_handler.rb +16 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/comment_handler.rb +9 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/constant_handler.rb +45 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/dsl_handler.rb +14 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/dsl_handler_methods.rb +77 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/exception_handler.rb +26 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/extend_handler.rb +21 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/alias_handler.rb +35 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/attribute_handler.rb +60 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/base.rb +250 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/class_condition_handler.rb +83 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/class_handler.rb +111 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/class_variable_handler.rb +14 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/comment_handler.rb +9 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/constant_handler.rb +28 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/dsl_handler.rb +16 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/exception_handler.rb +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/extend_handler.rb +20 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/method_handler.rb +85 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/mixin_handler.rb +39 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/module_function_handler.rb +18 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/module_handler.rb +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/private_constant_handler.rb +21 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/visibility_handler.rb +16 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/yield_handler.rb +28 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/method_condition_handler.rb +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/method_handler.rb +92 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/mixin_handler.rb +36 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/module_function_handler.rb +26 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/module_handler.rb +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/private_constant_handler.rb +36 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/struct_handler_methods.rb +141 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/visibility_handler.rb +24 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/yield_handler.rb +30 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/i18n/locale.rb +66 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/i18n/message.rb +56 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/i18n/messages.rb +55 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/i18n/po_parser.rb +60 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/i18n/pot_generator.rb +280 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/i18n/text.rb +173 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/logging.rb +190 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/options.rb +216 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/parser/base.rb +56 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/parser/c/c_parser.rb +231 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/parser/c/comment_parser.rb +131 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/parser/c/statement.rb +63 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/parser/ruby/ast_node.rb +496 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/parser/ruby/legacy/ruby_lex.rb +1377 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/parser/ruby/legacy/ruby_parser.rb +31 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/parser/ruby/legacy/statement.rb +65 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/parser/ruby/legacy/statement_list.rb +384 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/parser/ruby/legacy/token_list.rb +71 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/parser/ruby/ruby_parser.rb +625 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/parser/source_parser.rb +517 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/rake/yardoc_task.rb +74 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/registry.rb +438 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/registry_store.rb +319 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/rubygems/backports.rb +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/rubygems/backports/LICENSE.txt +57 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/rubygems/backports/MIT.txt +20 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/rubygems/backports/gem.rb +9 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/rubygems/backports/source_index.rb +370 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/rubygems/doc_manager.rb +88 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/rubygems/specification.rb +41 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/serializers/base.rb +80 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/serializers/file_system_serializer.rb +90 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/serializers/process_serializer.rb +24 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/serializers/stdout_serializer.rb +32 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/serializers/yardoc_serializer.rb +124 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server.rb +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/adapter.rb +100 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/commands/base.rb +192 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/commands/display_file_command.rb +24 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/commands/display_object_command.rb +58 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/commands/frames_command.rb +15 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/commands/library_command.rb +148 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/commands/library_index_command.rb +24 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/commands/list_command.rb +24 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/commands/search_command.rb +78 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/commands/static_file_command.rb +57 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/doc_server_helper.rb +76 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/doc_server_serializer.rb +43 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/library_version.rb +227 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/rack_adapter.rb +88 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/router.rb +176 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/static_caching.rb +45 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/default/fulldoc/html/css/custom.css +78 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/default/fulldoc/html/images/processing.gif +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/default/fulldoc/html/js/autocomplete.js +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/default/layout/html/breadcrumb.erb +46 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/default/layout/html/script_setup.erb +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/default/layout/html/setup.rb +7 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/default/method_details/html/permalink.erb +4 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/default/method_details/html/setup.rb +4 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/doc_server/library_list/html/contents.erb +13 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/doc_server/library_list/html/headers.erb +26 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/doc_server/library_list/html/library_list.erb +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/doc_server/library_list/html/setup.rb +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/doc_server/library_list/html/title.erb +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/doc_server/processing/html/processing.erb +51 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/doc_server/processing/html/setup.rb +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/doc_server/search/html/search.erb +18 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/doc_server/search/html/setup.rb +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/webrick_adapter.rb +43 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/tags/default_factory.rb +176 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/tags/default_tag.rb +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/tags/directives.rb +599 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/tags/library.rb +630 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/tags/option_tag.rb +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/tags/overload_tag.rb +66 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/tags/ref_tag.rb +7 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/tags/ref_tag_list.rb +27 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/tags/tag.rb +57 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/tags/tag_format_error.rb +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/templates/engine.rb +185 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/templates/erb_cache.rb +22 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/templates/helpers/base_helper.rb +212 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/templates/helpers/filter_helper.rb +26 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/templates/helpers/html_helper.rb +599 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/templates/helpers/html_syntax_highlight_helper.rb +60 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/templates/helpers/markup/rdoc_markdown.rb +22 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/templates/helpers/markup/rdoc_markup.rb +106 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/templates/helpers/markup_helper.rb +169 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/templates/helpers/method_helper.rb +74 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/templates/helpers/module_helper.rb +19 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/templates/helpers/text_helper.rb +95 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/templates/helpers/uml_helper.rb +46 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/templates/section.rb +106 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/templates/template.rb +407 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/templates/template_options.rb +88 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/verifier.rb +148 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/version.rb +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/cli/command_parser_spec.rb +43 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/cli/command_spec.rb +36 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/cli/config_spec.rb +92 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/cli/diff_spec.rb +260 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/cli/display_spec.rb +30 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/cli/gems_spec.rb +81 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/cli/graph_spec.rb +17 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/cli/help_spec.rb +22 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/cli/i18n_spec.rb +111 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/cli/list_spec.rb +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/cli/markup_types_spec.rb +22 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/cli/server_spec.rb +327 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/cli/stats_spec.rb +90 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/cli/yardoc_spec.rb +804 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/cli/yri_spec.rb +99 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/code_objects/base_spec.rb +438 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/code_objects/class_object_spec.rb +225 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/code_objects/code_object_list_spec.rb +33 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/code_objects/constants_spec.rb +82 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/code_objects/extra_file_object_spec.rb +147 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/code_objects/macro_object_spec.rb +148 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/code_objects/method_object_spec.rb +175 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/code_objects/module_object_spec.rb +141 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/code_objects/namespace_object_spec.rb +170 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/code_objects/proxy_spec.rb +140 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/code_objects/spec_helper.rb +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/config_spec.rb +176 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/core_ext/array_spec.rb +14 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/core_ext/file_spec.rb +68 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/core_ext/hash_spec.rb +14 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/core_ext/insertion_spec.rb +37 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/core_ext/module_spec.rb +15 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/core_ext/string_spec.rb +42 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/core_ext/symbol_hash_spec.rb +86 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/docstring_parser_spec.rb +228 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/docstring_spec.rb +335 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/alias_handler_spec.rb +81 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/attribute_handler_spec.rb +94 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/base_spec.rb +206 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/c/alias_handler_spec.rb +33 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/c/attribute_handler_spec.rb +40 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/c/class_handler_spec.rb +63 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/c/constant_handler_spec.rb +68 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/c/init_handler_spec.rb +47 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/c/method_handler_spec.rb +239 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/c/mixin_handler_spec.rb +27 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/c/module_handler_spec.rb +38 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/c/override_comment_handler_spec.rb +46 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/c/path_handler_spec.rb +35 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/c/spec_helper.rb +13 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/c/struct_handler_spec.rb +15 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/class_condition_handler_spec.rb +67 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/class_handler_spec.rb +246 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/class_variable_handler_spec.rb +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/constant_handler_spec.rb +64 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/dsl_handler_spec.rb +197 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/alias_handler_001.rb.txt +46 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/attribute_handler_001.rb.txt +32 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/class_condition_handler_001.rb.txt +69 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/class_handler_001.rb.txt +120 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/class_variable_handler_001.rb.txt +10 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/constant_handler_001.rb.txt +25 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/dsl_handler_001.rb.txt +125 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/exception_handler_001.rb.txt +59 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/extend_handler_001.rb.txt +16 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/method_condition_handler_001.rb.txt +10 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/method_handler_001.rb.txt +126 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/mixin_handler_001.rb.txt +37 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/module_handler_001.rb.txt +29 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/private_constant_handler_001.rb.txt +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/process_handler_001.rb.txt +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/visibility_handler_001.rb.txt +32 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/yield_handler_001.rb.txt +54 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/exception_handler_spec.rb +48 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/extend_handler_spec.rb +23 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/legacy_base_spec.rb +128 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/method_condition_handler_spec.rb +14 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/method_handler_spec.rb +184 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/mixin_handler_spec.rb +55 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/module_function_handler_spec.rb +105 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/module_handler_spec.rb +34 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/private_constant_handler_spec.rb +24 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/processor_spec.rb +34 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/ruby/base_spec.rb +94 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/ruby/legacy/base_spec.rb +82 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/spec_helper.rb +33 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/visibility_handler_spec.rb +39 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/yield_handler_spec.rb +51 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/i18n/locale_spec.rb +81 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/i18n/message_spec.rb +52 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/i18n/messages_spec.rb +67 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/i18n/pot_generator_spec.rb +262 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/i18n/text_spec.rb +180 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/logging_spec.rb +35 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/options_spec.rb +171 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/parser/base_spec.rb +24 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/parser/c_parser_spec.rb +171 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/parser/examples/array.c.txt +3887 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/parser/examples/example1.rb.txt +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/parser/examples/extrafile.c.txt +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/parser/examples/multifile.c.txt +22 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/parser/examples/override.c.txt +424 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/parser/examples/parse_in_order_001.rb.txt +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/parser/examples/parse_in_order_002.rb.txt +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/parser/examples/tag_handler_001.rb.txt +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/parser/ruby/ast_node_spec.rb +33 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/parser/ruby/legacy/statement_list_spec.rb +299 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/parser/ruby/legacy/token_list_spec.rb +77 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/parser/ruby/ruby_parser_spec.rb +334 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/parser/source_parser_spec.rb +717 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/parser/tag_parsing_spec.rb +18 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/rake/yardoc_task_spec.rb +101 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/registry_spec.rb +393 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/registry_store_spec.rb +315 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/rubygems/doc_manager_spec.rb +112 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/serializers/data/serialized_yardoc/checksums +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/serializers/data/serialized_yardoc/objects/Foo.dat +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/serializers/data/serialized_yardoc/objects/Foo/bar_i.dat +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/serializers/data/serialized_yardoc/objects/Foo/baz_i.dat +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/serializers/data/serialized_yardoc/objects/root.dat +0 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/serializers/data/serialized_yardoc/proxy_types +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/serializers/file_system_serializer_spec.rb +124 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/serializers/spec_helper.rb +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/serializers/yardoc_serializer_spec.rb +46 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/server/adapter_spec.rb +38 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/server/commands/base_spec.rb +87 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/server/commands/library_command_spec.rb +39 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/server/commands/static_file_command_spec.rb +84 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/server/doc_server_helper_spec.rb +53 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/server/doc_server_serializer_spec.rb +50 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/server/rack_adapter_spec.rb +20 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/server/router_spec.rb +122 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/server/spec_helper.rb +17 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/server/static_caching_spec.rb +39 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/server/webrick_servlet_spec.rb +20 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/server_spec.rb +10 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/spec_helper.rb +128 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/tags/default_factory_spec.rb +152 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/tags/default_tag_spec.rb +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/tags/directives_spec.rb +453 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/tags/library_spec.rb +34 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/tags/overload_tag_spec.rb +53 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/tags/ref_tag_list_spec.rb +53 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/class_spec.rb +44 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/constant_spec.rb +40 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/engine_spec.rb +121 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/class001.html +280 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/class001.txt +36 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/class002.html +35 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/constant001.txt +25 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/constant002.txt +7 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/constant003.txt +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/method001.html +130 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/method001.txt +35 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/method002.html +86 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/method002.txt +20 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/method003.html +159 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/method003.txt +45 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/method004.html +44 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/method004.txt +10 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/method005.html +99 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/method005.txt +33 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/module001.dot +33 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/module001.html +825 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/module001.txt +33 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/module002.html +318 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/module003.html +185 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/module004.html +387 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/tag001.txt +82 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/helpers/base_helper_spec.rb +175 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/helpers/html_helper_spec.rb +612 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/helpers/html_syntax_highlight_helper_spec.rb +53 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/helpers/markup/rdoc_markup_spec.rb +93 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/helpers/markup_helper_spec.rb +135 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/helpers/method_helper_spec.rb +82 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/helpers/shared_signature_examples.rb +123 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/helpers/text_helper_spec.rb +44 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/method_spec.rb +102 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/module_spec.rb +181 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/onefile_spec.rb +64 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/section_spec.rb +146 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/spec_helper.rb +73 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/tag_spec.rb +51 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/template_spec.rb +409 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/verifier_spec.rb +106 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/class/dot/setup.rb +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/class/dot/superklass.erb +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/class/html/constructor_details.erb +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/class/html/setup.rb +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/class/html/subclasses.erb +4 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/class/setup.rb +36 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/class/text/setup.rb +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/class/text/subclasses.erb +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/constant/text/header.erb +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/constant/text/setup.rb +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/html/abstract.erb +4 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/html/deprecated.erb +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/html/index.erb +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/html/note.erb +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/html/private.erb +4 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/html/returns_void.erb +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/html/text.erb +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/html/todo.erb +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/setup.rb +51 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/text/abstract.erb +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/text/deprecated.erb +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/text/index.erb +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/text/note.erb +4 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/text/private.erb +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/text/returns_void.erb +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/text/text.erb +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/text/todo.erb +4 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/css/common.css +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/css/full_list.css +57 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/css/style.css +338 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/frames.erb +26 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/full_list.erb +40 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/full_list_class.erb +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/full_list_file.erb +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/full_list_method.erb +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/js/app.js +219 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/js/full_list.js +178 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/js/jquery.js +4 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/setup.rb +199 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/layout/dot/header.erb +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/layout/dot/setup.rb +14 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/layout/html/breadcrumb.erb +13 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/layout/html/files.erb +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/layout/html/footer.erb +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/layout/html/headers.erb +14 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/layout/html/index.erb +2 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/layout/html/layout.erb +20 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/layout/html/listing.erb +4 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/layout/html/objects.erb +32 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/layout/html/script_setup.erb +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/layout/html/search.erb +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/layout/html/setup.rb +71 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/method/html/header.erb +16 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/method/setup.rb +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/method/text/header.erb +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/method_details/html/header.erb +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/method_details/html/method_signature.erb +25 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/method_details/html/source.erb +10 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/method_details/setup.rb +10 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/method_details/text/header.erb +10 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/method_details/text/method_signature.erb +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/method_details/text/setup.rb +10 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/dot/child.erb +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/dot/dependencies.erb +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/dot/header.erb +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/dot/info.erb +14 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/dot/setup.rb +14 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/html/attribute_details.erb +10 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/html/attribute_summary.erb +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/html/box_info.erb +37 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/html/children.erb +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/html/constant_summary.erb +13 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/html/defines.erb +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/html/header.erb +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/html/inherited_attributes.erb +14 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/html/inherited_constants.erb +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/html/inherited_methods.erb +19 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/html/item_summary.erb +40 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/html/method_details_list.erb +9 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/html/method_summary.erb +14 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/html/methodmissing.erb +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/html/pre_docstring.erb +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/setup.rb +164 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/text/children.erb +10 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/text/class_meths_list.erb +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/text/extends.erb +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/text/header.erb +7 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/text/includes.erb +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/text/instance_meths_list.erb +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/text/setup.rb +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/onefile/html/files.erb +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/onefile/html/headers.erb +6 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/onefile/html/layout.erb +17 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/onefile/html/readme.erb +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/onefile/html/setup.rb +61 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/root/dot/child.erb +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/root/dot/setup.rb +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/root/html/setup.rb +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/tags/html/example.erb +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/tags/html/index.erb +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/tags/html/option.erb +24 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/tags/html/overload.erb +14 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/tags/html/see.erb +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/tags/html/tag.erb +20 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/tags/setup.rb +55 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/tags/text/example.erb +12 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/tags/text/index.erb +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/tags/text/option.erb +20 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/tags/text/overload.erb +19 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/tags/text/see.erb +11 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/tags/text/tag.erb +13 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/class/html/setup.rb +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/docstring/html/setup.rb +1 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/fulldoc/html/css/style.css +108 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/fulldoc/html/js/app.js +33 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/fulldoc/html/setup.rb +73 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/layout/html/layout.erb +81 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/layout/html/setup.rb +28 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/method/html/header.erb +18 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/method/html/setup.rb +21 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/module/html/header.erb +7 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/module/html/method_list.erb +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/module/html/setup.rb +26 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/onefile/html/files.erb +4 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/onefile/html/setup.rb +5 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/onefile/html/toc.erb +3 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/tags/html/setup.rb +8 -0
- data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/yard.gemspec +25 -0
- data/vendor/bundler/ruby/2.0.0/specifications/bluecloth-2.1.0.gemspec +52 -0
- data/vendor/bundler/ruby/2.0.0/specifications/coffee-script-2.2.0.gemspec +31 -0
- data/vendor/bundler/ruby/2.0.0/specifications/coffee-script-source-1.6.3.gemspec +18 -0
- data/vendor/bundler/ruby/2.0.0/specifications/diff-lcs-1.2.5.gemspec +65 -0
- data/vendor/bundler/ruby/2.0.0/specifications/dotenv-0.9.0.gemspec +33 -0
- data/vendor/bundler/ruby/2.0.0/specifications/execjs-2.0.2.gemspec +29 -0
- data/vendor/bundler/ruby/2.0.0/specifications/foreman-0.63.0.gemspec +34 -0
- data/vendor/bundler/ruby/2.0.0/specifications/haml-4.0.4.gemspec +44 -0
- data/vendor/bundler/ruby/2.0.0/specifications/liquid-2.2.2.gemspec +18 -0
- data/vendor/bundler/ruby/2.0.0/specifications/puma-2.6.0.gemspec +44 -0
- data/vendor/bundler/ruby/2.0.0/specifications/rack-1.5.2.gemspec +36 -0
- data/vendor/bundler/ruby/2.0.0/specifications/rack-protection-1.5.1.gemspec +35 -0
- data/vendor/bundler/ruby/2.0.0/specifications/rack-test-0.6.0.gemspec +31 -0
- data/vendor/bundler/ruby/2.0.0/specifications/rspec-2.14.1.gemspec +39 -0
- data/vendor/bundler/ruby/2.0.0/specifications/rspec-core-2.14.7.gemspec +58 -0
- data/vendor/bundler/ruby/2.0.0/specifications/rspec-expectations-2.14.4.gemspec +40 -0
- data/vendor/bundler/ruby/2.0.0/specifications/rspec-mocks-2.14.4.gemspec +37 -0
- data/vendor/bundler/ruby/2.0.0/specifications/sass-3.2.12.gemspec +36 -0
- data/vendor/bundler/ruby/2.0.0/specifications/sinatra-1.4.4.gemspec +37 -0
- data/vendor/bundler/ruby/2.0.0/specifications/thor-0.14.6.gemspec +47 -0
- data/vendor/bundler/ruby/2.0.0/specifications/tilt-1.4.1.gemspec +98 -0
- data/vendor/bundler/ruby/2.0.0/specifications/yard-0.8.7.3.gemspec +20 -0
- metadata +2632 -223
- data/.rvmrc +0 -1
- data/lib/mango/dependencies.rb +0 -32
- data/lib/mango/rack/debugger.rb +0 -42
- data/spec/lib/dependencies_spec.rb +0 -68
- data/spec/lib/rack/debugger_spec.rb +0 -112
- data/spec/support/matchers/malformed_whitespace_matchers.rb +0 -60
@@ -0,0 +1,3243 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# -*- coding: utf-8 -*-
|
3
|
+
require File.dirname(__FILE__) + '/../test_helper'
|
4
|
+
require File.dirname(__FILE__) + '/test_helper'
|
5
|
+
require 'sass/engine'
|
6
|
+
require 'stringio'
|
7
|
+
require 'mock_importer'
|
8
|
+
require 'pathname'
|
9
|
+
|
10
|
+
module Sass::Script::Functions::UserFunctions
|
11
|
+
def option(name)
|
12
|
+
Sass::Script::String.new(@options[name.value.to_sym].to_s)
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
class SassEngineTest < Test::Unit::TestCase
|
17
|
+
FAKE_FILE_NAME = __FILE__.gsub(/rb$/,"sass")
|
18
|
+
# A map of erroneous Sass documents to the error messages they should produce.
|
19
|
+
# The error messages may be arrays;
|
20
|
+
# if so, the second element should be the line number that should be reported for the error.
|
21
|
+
# If this isn't provided, the tests will assume the line number should be the last line of the document.
|
22
|
+
EXCEPTION_MAP = {
|
23
|
+
"$a: 1 + " => 'Invalid CSS after "1 +": expected expression (e.g. 1px, bold), was ""',
|
24
|
+
"$a: 1 + 2 +" => 'Invalid CSS after "1 + 2 +": expected expression (e.g. 1px, bold), was ""',
|
25
|
+
"$a: 1 + 2 + %" => 'Invalid CSS after "1 + 2 + ": expected expression (e.g. 1px, bold), was "%"',
|
26
|
+
"$a: foo(\"bar\"" => 'Invalid CSS after "foo("bar"": expected ")", was ""',
|
27
|
+
"$a: 1 }" => 'Invalid CSS after "1 ": expected expression (e.g. 1px, bold), was "}"',
|
28
|
+
"$a: 1 }foo\"" => 'Invalid CSS after "1 ": expected expression (e.g. 1px, bold), was "}foo""',
|
29
|
+
":" => 'Invalid property: ":".',
|
30
|
+
": a" => 'Invalid property: ": a".',
|
31
|
+
"a\n :b" => <<MSG,
|
32
|
+
Invalid property: ":b" (no value).
|
33
|
+
If ":b" should be a selector, use "\\:b" instead.
|
34
|
+
MSG
|
35
|
+
"a\n b:" => 'Invalid property: "b:" (no value).',
|
36
|
+
"a\n :b: c" => 'Invalid property: ":b: c".',
|
37
|
+
"a\n :b:c d" => 'Invalid property: ":b:c d".',
|
38
|
+
"a\n :b c;" => 'Invalid CSS after "c": expected expression (e.g. 1px, bold), was ";"',
|
39
|
+
"a\n b: c;" => 'Invalid CSS after "c": expected expression (e.g. 1px, bold), was ";"',
|
40
|
+
".foo ^bar\n a: b" => ['Invalid CSS after ".foo ": expected selector, was "^bar"', 1],
|
41
|
+
"a\n @extend .foo ^bar" => 'Invalid CSS after ".foo ": expected selector, was "^bar"',
|
42
|
+
"a\n @extend .foo .bar" => "Can't extend .foo .bar: can't extend nested selectors",
|
43
|
+
"a\n @extend >" => "Can't extend >: invalid selector",
|
44
|
+
"a\n @extend &.foo" => "Can't extend &.foo: can't extend parent selectors",
|
45
|
+
"a: b" => 'Properties are only allowed within rules, directives, mixin includes, or other properties.',
|
46
|
+
":a b" => 'Properties are only allowed within rules, directives, mixin includes, or other properties.',
|
47
|
+
"$" => 'Invalid variable: "$".',
|
48
|
+
"$a" => 'Invalid variable: "$a".',
|
49
|
+
"$ a" => 'Invalid variable: "$ a".',
|
50
|
+
"$a b" => 'Invalid variable: "$a b".',
|
51
|
+
"$a: 1b + 2c" => "Incompatible units: 'c' and 'b'.",
|
52
|
+
"$a: 1b < 2c" => "Incompatible units: 'c' and 'b'.",
|
53
|
+
"$a: 1b > 2c" => "Incompatible units: 'c' and 'b'.",
|
54
|
+
"$a: 1b <= 2c" => "Incompatible units: 'c' and 'b'.",
|
55
|
+
"$a: 1b >= 2c" => "Incompatible units: 'c' and 'b'.",
|
56
|
+
"a\n b: 1b * 2c" => "2b*c isn't a valid CSS value.",
|
57
|
+
"a\n b: 1b % 2c" => "Cannot modulo by a number with units: 2c.",
|
58
|
+
"$a: 2px + #ccc" => "Cannot add a number with units (2px) to a color (#cccccc).",
|
59
|
+
"$a: #ccc + 2px" => "Cannot add a number with units (2px) to a color (#cccccc).",
|
60
|
+
"& a\n :b c" => ["Base-level rules cannot contain the parent-selector-referencing character '&'.", 1],
|
61
|
+
"a\n :b\n c" => "Illegal nesting: Only properties may be nested beneath properties.",
|
62
|
+
"$a: b\n :c d\n" => "Illegal nesting: Nothing may be nested beneath variable declarations.",
|
63
|
+
"$a: b\n :c d\n" => "Illegal nesting: Nothing may be nested beneath variable declarations.",
|
64
|
+
"@import templates/basic\n foo" => "Illegal nesting: Nothing may be nested beneath import directives.",
|
65
|
+
"foo\n @import foo.css" => "CSS import directives may only be used at the root of a document.",
|
66
|
+
"@if true\n @import foo" => "Import directives may not be used within control directives or mixins.",
|
67
|
+
"@if true\n .foo\n @import foo" => "Import directives may not be used within control directives or mixins.",
|
68
|
+
"@mixin foo\n @import foo" => "Import directives may not be used within control directives or mixins.",
|
69
|
+
"@mixin foo\n .foo\n @import foo" => "Import directives may not be used within control directives or mixins.",
|
70
|
+
"@import foo;" => "Invalid @import: expected end of line, was \";\".",
|
71
|
+
'$foo: "bar" "baz" !' => %Q{Invalid CSS after ""bar" "baz" ": expected expression (e.g. 1px, bold), was "!"},
|
72
|
+
'$foo: "bar" "baz" $' => %Q{Invalid CSS after ""bar" "baz" ": expected expression (e.g. 1px, bold), was "$"}, #'
|
73
|
+
"=foo\n :color red\n.bar\n +bang" => "Undefined mixin 'bang'.",
|
74
|
+
"=foo\n :color red\n.bar\n +bang_bop" => "Undefined mixin 'bang_bop'.",
|
75
|
+
"=foo\n :color red\n.bar\n +bang-bop" => "Undefined mixin 'bang-bop'.",
|
76
|
+
".foo\n =foo\n :color red\n.bar\n +foo" => "Undefined mixin 'foo'.",
|
77
|
+
" a\n b: c" => ["Indenting at the beginning of the document is illegal.", 1],
|
78
|
+
" \n \n\t\n a\n b: c" => ["Indenting at the beginning of the document is illegal.", 4],
|
79
|
+
"a\n b: c\n b: c" => ["Inconsistent indentation: 1 space was used for indentation, but the rest of the document was indented using 2 spaces.", 3],
|
80
|
+
"a\n b: c\na\n b: c" => ["Inconsistent indentation: 1 space was used for indentation, but the rest of the document was indented using 2 spaces.", 4],
|
81
|
+
"a\n\t\tb: c\n\tb: c" => ["Inconsistent indentation: 1 tab was used for indentation, but the rest of the document was indented using 2 tabs.", 3],
|
82
|
+
"a\n b: c\n b: c" => ["Inconsistent indentation: 3 spaces were used for indentation, but the rest of the document was indented using 2 spaces.", 3],
|
83
|
+
"a\n b: c\n a\n d: e" => ["Inconsistent indentation: 3 spaces were used for indentation, but the rest of the document was indented using 2 spaces.", 4],
|
84
|
+
"a\n b: c\na\n d: e" => ["The line was indented 2 levels deeper than the previous line.", 4],
|
85
|
+
"a\n b: c\n a\n d: e" => ["The line was indented 3 levels deeper than the previous line.", 4],
|
86
|
+
"a\n \tb: c" => ["Indentation can't use both tabs and spaces.", 2],
|
87
|
+
"=a(" => 'Invalid CSS after "(": expected variable (e.g. $foo), was ""',
|
88
|
+
"=a(b)" => 'Invalid CSS after "(": expected variable (e.g. $foo), was "b)"',
|
89
|
+
"=a(,)" => 'Invalid CSS after "(": expected variable (e.g. $foo), was ",)"',
|
90
|
+
"=a($)" => 'Invalid CSS after "(": expected variable (e.g. $foo), was "$)"',
|
91
|
+
"=a($foo bar)" => 'Invalid CSS after "($foo ": expected ")", was "bar)"',
|
92
|
+
"=foo\n bar: baz\n+foo" => ["Properties are only allowed within rules, directives, mixin includes, or other properties.", 2],
|
93
|
+
"a-\#{$b\n c: d" => ['Invalid CSS after "a-#{$b": expected "}", was ""', 1],
|
94
|
+
"=a($b: 1, $c)" => "Required argument $c must come before any optional arguments.",
|
95
|
+
"=a($b: 1)\n a: $b\ndiv\n +a(1,2)" => "Mixin a takes 1 argument but 2 were passed.",
|
96
|
+
"=a($b: 1)\n a: $b\ndiv\n +a(1,$c: 3)" => "Mixin a doesn't have an argument named $c.",
|
97
|
+
"=a($b)\n a: $b\ndiv\n +a" => "Mixin a is missing argument $b.",
|
98
|
+
"@function foo()\n 1 + 2" => "Functions can only contain variable declarations and control directives.",
|
99
|
+
"@function foo()\n foo: bar" => "Functions can only contain variable declarations and control directives.",
|
100
|
+
"@function foo()\n foo: bar\n @return 3" => ["Functions can only contain variable declarations and control directives.", 2],
|
101
|
+
"@function foo\n @return 1" => ['Invalid CSS after "": expected "(", was ""', 1],
|
102
|
+
"@function foo(\n @return 1" => ['Invalid CSS after "(": expected variable (e.g. $foo), was ""', 1],
|
103
|
+
"@function foo(b)\n @return 1" => ['Invalid CSS after "(": expected variable (e.g. $foo), was "b)"', 1],
|
104
|
+
"@function foo(,)\n @return 1" => ['Invalid CSS after "(": expected variable (e.g. $foo), was ",)"', 1],
|
105
|
+
"@function foo($)\n @return 1" => ['Invalid CSS after "(": expected variable (e.g. $foo), was "$)"', 1],
|
106
|
+
"@function foo()\n @return" => 'Invalid @return: expected expression.',
|
107
|
+
"@function foo()\n @return 1\n $var: val" => 'Illegal nesting: Nothing may be nested beneath return directives.',
|
108
|
+
"@function foo($a)\n @return 1\na\n b: foo()" => 'Function foo is missing argument $a.',
|
109
|
+
"@function foo()\n @return 1\na\n b: foo(2)" => 'Function foo takes 0 arguments but 1 was passed.',
|
110
|
+
"@function foo()\n @return 1\na\n b: foo($a: 1)" => "Function foo doesn't have an argument named $a.",
|
111
|
+
"@function foo()\n @return 1\na\n b: foo($a: 1, $b: 2)" => "Function foo doesn't have the following arguments: $a, $b.",
|
112
|
+
"@return 1" => '@return may only be used within a function.',
|
113
|
+
"@if true\n @return 1" => '@return may only be used within a function.',
|
114
|
+
"@mixin foo\n @return 1\n@include foo" => ['@return may only be used within a function.', 2],
|
115
|
+
"@else\n a\n b: c" => ["@else must come after @if.", 1],
|
116
|
+
"@if false\n@else foo" => "Invalid else directive '@else foo': expected 'if <expr>'.",
|
117
|
+
"@if false\n@else if " => "Invalid else directive '@else if': expected 'if <expr>'.",
|
118
|
+
"a\n $b: 12\nc\n d: $b" => 'Undefined variable: "$b".',
|
119
|
+
"=foo\n $b: 12\nc\n +foo\n d: $b" => 'Undefined variable: "$b".',
|
120
|
+
"c\n d: $b-foo" => 'Undefined variable: "$b-foo".',
|
121
|
+
"c\n d: $b_foo" => 'Undefined variable: "$b_foo".',
|
122
|
+
'@for $a from "foo" to 1' => '"foo" is not an integer.',
|
123
|
+
'@for $a from 1 to "2"' => '"2" is not an integer.',
|
124
|
+
'@for $a from 1 to "foo"' => '"foo" is not an integer.',
|
125
|
+
'@for $a from 1 to 1.232323' => '1.23232 is not an integer.',
|
126
|
+
'@for $a from 1px to 3em' => "Incompatible units: 'em' and 'px'.",
|
127
|
+
'@if' => "Invalid if directive '@if': expected expression.",
|
128
|
+
'@while' => "Invalid while directive '@while': expected expression.",
|
129
|
+
'@debug' => "Invalid debug directive '@debug': expected expression.",
|
130
|
+
%Q{@debug "a message"\n "nested message"} => "Illegal nesting: Nothing may be nested beneath debug directives.",
|
131
|
+
'@warn' => "Invalid warn directive '@warn': expected expression.",
|
132
|
+
%Q{@warn "a message"\n "nested message"} => "Illegal nesting: Nothing may be nested beneath warn directives.",
|
133
|
+
"/* foo\n bar\n baz" => "Inconsistent indentation: previous line was indented by 4 spaces, but this line was indented by 2 spaces.",
|
134
|
+
'+foo(1 + 1: 2)' => 'Invalid CSS after "(1 + 1": expected comma, was ": 2)"',
|
135
|
+
'+foo($var: )' => 'Invalid CSS after "($var: ": expected mixin argument, was ")"',
|
136
|
+
'+foo($var: a, $var: b)' => 'Keyword argument "$var" passed more than once',
|
137
|
+
'+foo($var-var: a, $var_var: b)' => 'Keyword argument "$var_var" passed more than once',
|
138
|
+
'+foo($var_var: a, $var-var: b)' => 'Keyword argument "$var-var" passed more than once',
|
139
|
+
"a\n b: foo(1 + 1: 2)" => 'Invalid CSS after "foo(1 + 1": expected comma, was ": 2)"',
|
140
|
+
"a\n b: foo($var: )" => 'Invalid CSS after "foo($var: ": expected function argument, was ")"',
|
141
|
+
"a\n b: foo($var: a, $var: b)" => 'Keyword argument "$var" passed more than once',
|
142
|
+
"a\n b: foo($var-var: a, $var_var: b)" => 'Keyword argument "$var_var" passed more than once',
|
143
|
+
"a\n b: foo($var_var: a, $var-var: b)" => 'Keyword argument "$var-var" passed more than once',
|
144
|
+
"@if foo\n @extend .bar" => ["Extend directives may only be used within rules.", 2],
|
145
|
+
"$var: true\n@while $var\n @extend .bar\n $var: false" => ["Extend directives may only be used within rules.", 3],
|
146
|
+
"@for $i from 0 to 1\n @extend .bar" => ["Extend directives may only be used within rules.", 2],
|
147
|
+
"@mixin foo\n @extend .bar\n@include foo" => ["Extend directives may only be used within rules.", 2],
|
148
|
+
"foo\n &a\n b: c" => ["Invalid CSS after \"&\": expected \"{\", was \"a\"\n\n\"a\" may only be used at the beginning of a compound selector.", 2],
|
149
|
+
"foo\n &1\n b: c" => ["Invalid CSS after \"&\": expected \"{\", was \"1\"\n\n\"1\" may only be used at the beginning of a compound selector.", 2],
|
150
|
+
"foo %\n a: b" => ['Invalid CSS after "foo %": expected placeholder name, was ""', 1],
|
151
|
+
"=foo\n @content error" => "Invalid content directive. Trailing characters found: \"error\".",
|
152
|
+
"=foo\n @content\n b: c" => "Illegal nesting: Nothing may be nested beneath @content directives.",
|
153
|
+
"@content" => '@content may only be used within a mixin.',
|
154
|
+
"=simple\n .simple\n color: red\n+simple\n color: blue" => ['Mixin "simple" does not accept a content block.', 4],
|
155
|
+
"@import \"foo\" // bar" => "Invalid CSS after \"\"foo\" \": expected media query list, was \"// bar\"",
|
156
|
+
|
157
|
+
# Regression tests
|
158
|
+
"a\n b:\n c\n d" => ["Illegal nesting: Only properties may be nested beneath properties.", 3],
|
159
|
+
"& foo\n bar: baz\n blat: bang" => ["Base-level rules cannot contain the parent-selector-referencing character '&'.", 1],
|
160
|
+
"a\n b: c\n& foo\n bar: baz\n blat: bang" => ["Base-level rules cannot contain the parent-selector-referencing character '&'.", 3],
|
161
|
+
}
|
162
|
+
|
163
|
+
def teardown
|
164
|
+
clean_up_sassc
|
165
|
+
end
|
166
|
+
|
167
|
+
def test_basic_render
|
168
|
+
renders_correctly "basic", { :style => :compact }
|
169
|
+
end
|
170
|
+
|
171
|
+
def test_empty_render
|
172
|
+
assert_equal "", render("")
|
173
|
+
end
|
174
|
+
|
175
|
+
def test_multiple_calls_to_render
|
176
|
+
sass = Sass::Engine.new("a\n b: c")
|
177
|
+
assert_equal sass.render, sass.render
|
178
|
+
end
|
179
|
+
|
180
|
+
def test_alternate_styles
|
181
|
+
renders_correctly "expanded", { :style => :expanded }
|
182
|
+
renders_correctly "compact", { :style => :compact }
|
183
|
+
renders_correctly "nested", { :style => :nested }
|
184
|
+
renders_correctly "compressed", { :style => :compressed }
|
185
|
+
end
|
186
|
+
|
187
|
+
def test_compile
|
188
|
+
assert_equal "div { hello: world; }\n", Sass.compile("$who: world\ndiv\n hello: $who", :syntax => :sass, :style => :compact)
|
189
|
+
assert_equal "div { hello: world; }\n", Sass.compile("$who: world; div { hello: $who }", :style => :compact)
|
190
|
+
end
|
191
|
+
|
192
|
+
def test_compile_file
|
193
|
+
FileUtils.mkdir_p(absolutize("tmp"))
|
194
|
+
open(absolutize("tmp/test_compile_file.sass"), "w") {|f| f.write("$who: world\ndiv\n hello: $who")}
|
195
|
+
open(absolutize("tmp/test_compile_file.scss"), "w") {|f| f.write("$who: world; div { hello: $who }")}
|
196
|
+
assert_equal "div { hello: world; }\n", Sass.compile_file(absolutize("tmp/test_compile_file.sass"), :style => :compact)
|
197
|
+
assert_equal "div { hello: world; }\n", Sass.compile_file(absolutize("tmp/test_compile_file.scss"), :style => :compact)
|
198
|
+
ensure
|
199
|
+
FileUtils.rm_rf(absolutize("tmp"))
|
200
|
+
end
|
201
|
+
|
202
|
+
def test_compile_file_to_css_file
|
203
|
+
FileUtils.mkdir_p(absolutize("tmp"))
|
204
|
+
open(absolutize("tmp/test_compile_file.sass"), "w") {|f| f.write("$who: world\ndiv\n hello: $who")}
|
205
|
+
open(absolutize("tmp/test_compile_file.scss"), "w") {|f| f.write("$who: world; div { hello: $who }")}
|
206
|
+
Sass.compile_file(absolutize("tmp/test_compile_file.sass"), absolutize("tmp/test_compile_file_sass.css"), :style => :compact)
|
207
|
+
Sass.compile_file(absolutize("tmp/test_compile_file.scss"), absolutize("tmp/test_compile_file_scss.css"), :style => :compact)
|
208
|
+
assert_equal "div { hello: world; }\n", File.read(absolutize("tmp/test_compile_file_sass.css"))
|
209
|
+
assert_equal "div { hello: world; }\n", File.read(absolutize("tmp/test_compile_file_scss.css"))
|
210
|
+
ensure
|
211
|
+
FileUtils.rm_rf(absolutize("tmp"))
|
212
|
+
end
|
213
|
+
|
214
|
+
def test_flexible_tabulation
|
215
|
+
assert_equal("p {\n a: b; }\n p q {\n c: d; }\n",
|
216
|
+
render("p\n a: b\n q\n c: d\n"))
|
217
|
+
assert_equal("p {\n a: b; }\n p q {\n c: d; }\n",
|
218
|
+
render("p\n\ta: b\n\tq\n\t\tc: d\n"))
|
219
|
+
end
|
220
|
+
|
221
|
+
def test_import_same_name_different_ext
|
222
|
+
assert_warning <<WARNING do
|
223
|
+
WARNING: On line 1 of test_import_same_name_different_ext_inline.sass:
|
224
|
+
It's not clear which file to import for '@import "same_name_different_ext"'.
|
225
|
+
Candidates:
|
226
|
+
same_name_different_ext.sass
|
227
|
+
same_name_different_ext.scss
|
228
|
+
For now I'll choose same_name_different_ext.sass.
|
229
|
+
This will be an error in future versions of Sass.
|
230
|
+
WARNING
|
231
|
+
options = {:load_paths => [File.dirname(__FILE__) + '/templates/']}
|
232
|
+
munge_filename options
|
233
|
+
result = Sass::Engine.new("@import 'same_name_different_ext'", options).render
|
234
|
+
assert_equal(<<CSS, result)
|
235
|
+
.foo {
|
236
|
+
ext: sass; }
|
237
|
+
CSS
|
238
|
+
end
|
239
|
+
end
|
240
|
+
|
241
|
+
def test_import_same_name_different_partiality
|
242
|
+
assert_warning <<WARNING do
|
243
|
+
WARNING: On line 1 of test_import_same_name_different_partiality_inline.sass:
|
244
|
+
It's not clear which file to import for '@import "same_name_different_partiality"'.
|
245
|
+
Candidates:
|
246
|
+
_same_name_different_partiality.scss
|
247
|
+
same_name_different_partiality.scss
|
248
|
+
For now I'll choose _same_name_different_partiality.scss.
|
249
|
+
This will be an error in future versions of Sass.
|
250
|
+
WARNING
|
251
|
+
options = {:load_paths => [File.dirname(__FILE__) + '/templates/']}
|
252
|
+
munge_filename options
|
253
|
+
result = Sass::Engine.new("@import 'same_name_different_partiality'", options).render
|
254
|
+
assert_equal(<<CSS, result)
|
255
|
+
.foo {
|
256
|
+
partial: yes; }
|
257
|
+
CSS
|
258
|
+
end
|
259
|
+
end
|
260
|
+
|
261
|
+
EXCEPTION_MAP.each do |key, value|
|
262
|
+
define_method("test_exception (#{key.inspect})") do
|
263
|
+
line = 10
|
264
|
+
begin
|
265
|
+
silence_warnings {Sass::Engine.new(key, :filename => FAKE_FILE_NAME, :line => line).render}
|
266
|
+
rescue Sass::SyntaxError => err
|
267
|
+
value = [value] unless value.is_a?(Array)
|
268
|
+
|
269
|
+
assert_equal(value.first.rstrip, err.message, "Line: #{key}")
|
270
|
+
assert_equal(FAKE_FILE_NAME, err.sass_filename)
|
271
|
+
assert_equal((value[1] || key.split("\n").length) + line - 1, err.sass_line, "Line: #{key}")
|
272
|
+
assert_match(/#{Regexp.escape(FAKE_FILE_NAME)}:[0-9]+/, err.backtrace[0], "Line: #{key}")
|
273
|
+
else
|
274
|
+
assert(false, "Exception not raised for\n#{key}")
|
275
|
+
end
|
276
|
+
end
|
277
|
+
end
|
278
|
+
|
279
|
+
def test_exception_line
|
280
|
+
to_render = <<SASS
|
281
|
+
rule
|
282
|
+
:prop val
|
283
|
+
// comment!
|
284
|
+
|
285
|
+
:broken
|
286
|
+
SASS
|
287
|
+
begin
|
288
|
+
Sass::Engine.new(to_render).render
|
289
|
+
rescue Sass::SyntaxError => err
|
290
|
+
assert_equal(5, err.sass_line)
|
291
|
+
else
|
292
|
+
assert(false, "Exception not raised for '#{to_render}'!")
|
293
|
+
end
|
294
|
+
end
|
295
|
+
|
296
|
+
def test_exception_location
|
297
|
+
to_render = <<SASS
|
298
|
+
rule
|
299
|
+
:prop val
|
300
|
+
// comment!
|
301
|
+
|
302
|
+
:broken
|
303
|
+
SASS
|
304
|
+
begin
|
305
|
+
Sass::Engine.new(to_render, :filename => FAKE_FILE_NAME, :line => (__LINE__-7)).render
|
306
|
+
rescue Sass::SyntaxError => err
|
307
|
+
assert_equal(FAKE_FILE_NAME, err.sass_filename)
|
308
|
+
assert_equal((__LINE__-6), err.sass_line)
|
309
|
+
else
|
310
|
+
assert(false, "Exception not raised for '#{to_render}'!")
|
311
|
+
end
|
312
|
+
end
|
313
|
+
|
314
|
+
def test_imported_exception
|
315
|
+
[1, 2, 3, 4].each do |i|
|
316
|
+
begin
|
317
|
+
Sass::Engine.new("@import bork#{i}", :load_paths => [File.dirname(__FILE__) + '/templates/']).render
|
318
|
+
rescue Sass::SyntaxError => err
|
319
|
+
assert_equal(2, err.sass_line)
|
320
|
+
assert_match(/(\/|^)bork#{i}\.sass$/, err.sass_filename)
|
321
|
+
|
322
|
+
assert_hash_has(err.sass_backtrace.first,
|
323
|
+
:filename => err.sass_filename, :line => err.sass_line)
|
324
|
+
|
325
|
+
assert_nil(err.sass_backtrace[1][:filename])
|
326
|
+
assert_equal(1, err.sass_backtrace[1][:line])
|
327
|
+
|
328
|
+
assert_match(/(\/|^)bork#{i}\.sass:2$/, err.backtrace.first)
|
329
|
+
assert_equal("(sass):1", err.backtrace[1])
|
330
|
+
else
|
331
|
+
assert(false, "Exception not raised for imported template: bork#{i}")
|
332
|
+
end
|
333
|
+
end
|
334
|
+
end
|
335
|
+
|
336
|
+
def test_double_imported_exception
|
337
|
+
[1, 2, 3, 4].each do |i|
|
338
|
+
begin
|
339
|
+
Sass::Engine.new("@import nested_bork#{i}", :load_paths => [File.dirname(__FILE__) + '/templates/']).render
|
340
|
+
rescue Sass::SyntaxError => err
|
341
|
+
assert_equal(2, err.sass_line)
|
342
|
+
assert_match(/(\/|^)bork#{i}\.sass$/, err.sass_filename)
|
343
|
+
|
344
|
+
assert_hash_has(err.sass_backtrace.first,
|
345
|
+
:filename => err.sass_filename, :line => err.sass_line)
|
346
|
+
|
347
|
+
assert_match(/(\/|^)nested_bork#{i}\.sass$/, err.sass_backtrace[1][:filename])
|
348
|
+
assert_equal(2, err.sass_backtrace[1][:line])
|
349
|
+
|
350
|
+
assert_nil(err.sass_backtrace[2][:filename])
|
351
|
+
assert_equal(1, err.sass_backtrace[2][:line])
|
352
|
+
|
353
|
+
assert_match(/(\/|^)bork#{i}\.sass:2$/, err.backtrace.first)
|
354
|
+
assert_match(/(\/|^)nested_bork#{i}\.sass:2$/, err.backtrace[1])
|
355
|
+
assert_equal("(sass):1", err.backtrace[2])
|
356
|
+
else
|
357
|
+
assert(false, "Exception not raised for imported template: bork#{i}")
|
358
|
+
end
|
359
|
+
end
|
360
|
+
end
|
361
|
+
|
362
|
+
def test_selector_tracing
|
363
|
+
actual_css = render(<<-SCSS, :syntax => :scss, :trace_selectors => true)
|
364
|
+
@mixin mixed {
|
365
|
+
.mixed { color: red; }
|
366
|
+
}
|
367
|
+
.context {
|
368
|
+
@include mixed;
|
369
|
+
}
|
370
|
+
SCSS
|
371
|
+
assert_equal(<<CSS,actual_css)
|
372
|
+
/* on line 2 of test_selector_tracing_inline.scss, in `mixed'
|
373
|
+
from line 5 of test_selector_tracing_inline.scss */
|
374
|
+
.context .mixed {
|
375
|
+
color: red; }
|
376
|
+
CSS
|
377
|
+
end
|
378
|
+
|
379
|
+
def test_mixin_exception
|
380
|
+
render(<<SASS)
|
381
|
+
=error-mixin($a)
|
382
|
+
color: $a * 1em * 1px
|
383
|
+
|
384
|
+
=outer-mixin($a)
|
385
|
+
+error-mixin($a)
|
386
|
+
|
387
|
+
.error
|
388
|
+
+outer-mixin(12)
|
389
|
+
SASS
|
390
|
+
assert(false, "Exception not raised")
|
391
|
+
rescue Sass::SyntaxError => err
|
392
|
+
assert_equal(2, err.sass_line)
|
393
|
+
assert_equal(filename_for_test, err.sass_filename)
|
394
|
+
assert_equal("error-mixin", err.sass_mixin)
|
395
|
+
|
396
|
+
assert_hash_has(err.sass_backtrace.first, :line => err.sass_line,
|
397
|
+
:filename => err.sass_filename, :mixin => err.sass_mixin)
|
398
|
+
assert_hash_has(err.sass_backtrace[1], :line => 5,
|
399
|
+
:filename => filename_for_test, :mixin => "outer-mixin")
|
400
|
+
assert_hash_has(err.sass_backtrace[2], :line => 8,
|
401
|
+
:filename => filename_for_test, :mixin => nil)
|
402
|
+
|
403
|
+
assert_equal("#{filename_for_test}:2:in `error-mixin'", err.backtrace.first)
|
404
|
+
assert_equal("#{filename_for_test}:5:in `outer-mixin'", err.backtrace[1])
|
405
|
+
assert_equal("#{filename_for_test}:8", err.backtrace[2])
|
406
|
+
end
|
407
|
+
|
408
|
+
def test_mixin_callsite_exception
|
409
|
+
render(<<SASS)
|
410
|
+
=one-arg-mixin($a)
|
411
|
+
color: $a
|
412
|
+
|
413
|
+
=outer-mixin($a)
|
414
|
+
+one-arg-mixin($a, 12)
|
415
|
+
|
416
|
+
.error
|
417
|
+
+outer-mixin(12)
|
418
|
+
SASS
|
419
|
+
assert(false, "Exception not raised")
|
420
|
+
rescue Sass::SyntaxError => err
|
421
|
+
assert_hash_has(err.sass_backtrace.first, :line => 5,
|
422
|
+
:filename => filename_for_test, :mixin => "one-arg-mixin")
|
423
|
+
assert_hash_has(err.sass_backtrace[1], :line => 5,
|
424
|
+
:filename => filename_for_test, :mixin => "outer-mixin")
|
425
|
+
assert_hash_has(err.sass_backtrace[2], :line => 8,
|
426
|
+
:filename => filename_for_test, :mixin => nil)
|
427
|
+
end
|
428
|
+
|
429
|
+
def test_mixin_exception_cssize
|
430
|
+
render(<<SASS)
|
431
|
+
=parent-ref-mixin
|
432
|
+
& foo
|
433
|
+
a: b
|
434
|
+
|
435
|
+
=outer-mixin
|
436
|
+
+parent-ref-mixin
|
437
|
+
|
438
|
+
+outer-mixin
|
439
|
+
SASS
|
440
|
+
assert(false, "Exception not raised")
|
441
|
+
rescue Sass::SyntaxError => err
|
442
|
+
assert_hash_has(err.sass_backtrace.first, :line => 2,
|
443
|
+
:filename => filename_for_test, :mixin => "parent-ref-mixin")
|
444
|
+
assert_hash_has(err.sass_backtrace[1], :line => 6,
|
445
|
+
:filename => filename_for_test, :mixin => "outer-mixin")
|
446
|
+
assert_hash_has(err.sass_backtrace[2], :line => 8,
|
447
|
+
:filename => filename_for_test, :mixin => nil)
|
448
|
+
end
|
449
|
+
|
450
|
+
def test_mixin_and_import_exception
|
451
|
+
Sass::Engine.new("@import nested_mixin_bork", :load_paths => [File.dirname(__FILE__) + '/templates/']).render
|
452
|
+
assert(false, "Exception not raised")
|
453
|
+
rescue Sass::SyntaxError => err
|
454
|
+
assert_match(/(\/|^)nested_mixin_bork\.sass$/, err.sass_backtrace.first[:filename])
|
455
|
+
assert_hash_has(err.sass_backtrace.first, :mixin => "error-mixin", :line => 4)
|
456
|
+
|
457
|
+
assert_match(/(\/|^)mixin_bork\.sass$/, err.sass_backtrace[1][:filename])
|
458
|
+
assert_hash_has(err.sass_backtrace[1], :mixin => "outer-mixin", :line => 2)
|
459
|
+
|
460
|
+
assert_match(/(\/|^)mixin_bork\.sass$/, err.sass_backtrace[2][:filename])
|
461
|
+
assert_hash_has(err.sass_backtrace[2], :mixin => nil, :line => 5)
|
462
|
+
|
463
|
+
assert_match(/(\/|^)nested_mixin_bork\.sass$/, err.sass_backtrace[3][:filename])
|
464
|
+
assert_hash_has(err.sass_backtrace[3], :mixin => nil, :line => 6)
|
465
|
+
|
466
|
+
assert_hash_has(err.sass_backtrace[4], :filename => nil, :mixin => nil, :line => 1)
|
467
|
+
end
|
468
|
+
|
469
|
+
def test_basic_mixin_loop_exception
|
470
|
+
render <<SASS
|
471
|
+
@mixin foo
|
472
|
+
@include foo
|
473
|
+
@include foo
|
474
|
+
SASS
|
475
|
+
assert(false, "Exception not raised")
|
476
|
+
rescue Sass::SyntaxError => err
|
477
|
+
assert_equal("An @include loop has been found: foo includes itself", err.message)
|
478
|
+
assert_hash_has(err.sass_backtrace[0], :mixin => "foo", :line => 2)
|
479
|
+
end
|
480
|
+
|
481
|
+
def test_double_mixin_loop_exception
|
482
|
+
render <<SASS
|
483
|
+
@mixin foo
|
484
|
+
@include bar
|
485
|
+
@mixin bar
|
486
|
+
@include foo
|
487
|
+
@include foo
|
488
|
+
SASS
|
489
|
+
assert(false, "Exception not raised")
|
490
|
+
rescue Sass::SyntaxError => err
|
491
|
+
assert_equal(<<MESSAGE.rstrip, err.message)
|
492
|
+
An @include loop has been found:
|
493
|
+
foo includes bar
|
494
|
+
bar includes foo
|
495
|
+
MESSAGE
|
496
|
+
assert_hash_has(err.sass_backtrace[0], :mixin => "bar", :line => 4)
|
497
|
+
assert_hash_has(err.sass_backtrace[1], :mixin => "foo", :line => 2)
|
498
|
+
end
|
499
|
+
|
500
|
+
def test_deep_mixin_loop_exception
|
501
|
+
render <<SASS
|
502
|
+
@mixin foo
|
503
|
+
@include bar
|
504
|
+
|
505
|
+
@mixin bar
|
506
|
+
@include baz
|
507
|
+
|
508
|
+
@mixin baz
|
509
|
+
@include foo
|
510
|
+
|
511
|
+
@include foo
|
512
|
+
SASS
|
513
|
+
assert(false, "Exception not raised")
|
514
|
+
rescue Sass::SyntaxError => err
|
515
|
+
assert_equal(<<MESSAGE.rstrip, err.message)
|
516
|
+
An @include loop has been found:
|
517
|
+
foo includes bar
|
518
|
+
bar includes baz
|
519
|
+
baz includes foo
|
520
|
+
MESSAGE
|
521
|
+
assert_hash_has(err.sass_backtrace[0], :mixin => "baz", :line => 8)
|
522
|
+
assert_hash_has(err.sass_backtrace[1], :mixin => "bar", :line => 5)
|
523
|
+
assert_hash_has(err.sass_backtrace[2], :mixin => "foo", :line => 2)
|
524
|
+
end
|
525
|
+
|
526
|
+
def test_mixin_loop_with_content
|
527
|
+
render <<SASS
|
528
|
+
=foo
|
529
|
+
@content
|
530
|
+
=bar
|
531
|
+
+foo
|
532
|
+
+bar
|
533
|
+
+bar
|
534
|
+
SASS
|
535
|
+
assert(false, "Exception not raised")
|
536
|
+
rescue Sass::SyntaxError => err
|
537
|
+
assert_equal("An @include loop has been found: bar includes itself", err.message)
|
538
|
+
assert_hash_has(err.sass_backtrace[0], :mixin => "@content", :line => 5)
|
539
|
+
end
|
540
|
+
|
541
|
+
def test_basic_import_loop_exception
|
542
|
+
import = filename_for_test
|
543
|
+
importer = MockImporter.new
|
544
|
+
importer.add_import(import, "@import '#{import}'")
|
545
|
+
|
546
|
+
engine = Sass::Engine.new("@import '#{import}'", :filename => import,
|
547
|
+
:load_paths => [importer])
|
548
|
+
|
549
|
+
assert_raise_message(Sass::SyntaxError, <<ERR.rstrip) {engine.render}
|
550
|
+
An @import loop has been found: #{import} imports itself
|
551
|
+
ERR
|
552
|
+
end
|
553
|
+
|
554
|
+
def test_double_import_loop_exception
|
555
|
+
importer = MockImporter.new
|
556
|
+
importer.add_import("foo", "@import 'bar'")
|
557
|
+
importer.add_import("bar", "@import 'foo'")
|
558
|
+
|
559
|
+
engine = Sass::Engine.new('@import "foo"', :filename => filename_for_test,
|
560
|
+
:load_paths => [importer], :importer => importer)
|
561
|
+
|
562
|
+
assert_raise_message(Sass::SyntaxError, <<ERR.rstrip) {engine.render}
|
563
|
+
An @import loop has been found:
|
564
|
+
#{filename_for_test} imports foo
|
565
|
+
foo imports bar
|
566
|
+
bar imports foo
|
567
|
+
ERR
|
568
|
+
end
|
569
|
+
|
570
|
+
def test_deep_import_loop_exception
|
571
|
+
importer = MockImporter.new
|
572
|
+
importer.add_import("foo", "@import 'bar'")
|
573
|
+
importer.add_import("bar", "@import 'baz'")
|
574
|
+
importer.add_import("baz", "@import 'foo'")
|
575
|
+
|
576
|
+
engine = Sass::Engine.new('@import "foo"', :filename => filename_for_test,
|
577
|
+
:load_paths => [importer], :importer => importer)
|
578
|
+
|
579
|
+
assert_raise_message(Sass::SyntaxError, <<ERR.rstrip) {engine.render}
|
580
|
+
An @import loop has been found:
|
581
|
+
#{filename_for_test} imports foo
|
582
|
+
foo imports bar
|
583
|
+
bar imports baz
|
584
|
+
baz imports foo
|
585
|
+
ERR
|
586
|
+
end
|
587
|
+
|
588
|
+
def test_exception_css_with_offset
|
589
|
+
opts = {:full_exception => true, :line => 362}
|
590
|
+
render(("a\n b: c\n" * 10) + "d\n e:\n" + ("f\n g: h\n" * 10), opts)
|
591
|
+
rescue Sass::SyntaxError => e
|
592
|
+
assert_equal(<<CSS, Sass::SyntaxError.exception_to_css(e, opts).split("\n")[0..15].join("\n"))
|
593
|
+
/*
|
594
|
+
Syntax error: Invalid property: "e:" (no value).
|
595
|
+
on line 383 of test_exception_css_with_offset_inline.sass
|
596
|
+
|
597
|
+
378: a
|
598
|
+
379: b: c
|
599
|
+
380: a
|
600
|
+
381: b: c
|
601
|
+
382: d
|
602
|
+
383: e:
|
603
|
+
384: f
|
604
|
+
385: g: h
|
605
|
+
386: f
|
606
|
+
387: g: h
|
607
|
+
388: f
|
608
|
+
CSS
|
609
|
+
else
|
610
|
+
assert(false, "Exception not raised for test_exception_css_with_offset")
|
611
|
+
end
|
612
|
+
|
613
|
+
def test_exception_css_with_mixins
|
614
|
+
opts = {:full_exception => true}
|
615
|
+
render(<<SASS, opts)
|
616
|
+
=error-mixin($a)
|
617
|
+
color: $a * 1em * 1px
|
618
|
+
|
619
|
+
=outer-mixin($a)
|
620
|
+
+error-mixin($a)
|
621
|
+
|
622
|
+
.error
|
623
|
+
+outer-mixin(12)
|
624
|
+
SASS
|
625
|
+
rescue Sass::SyntaxError => e
|
626
|
+
assert_equal(<<CSS, Sass::SyntaxError.exception_to_css(e, opts).split("\n")[0..13].join("\n"))
|
627
|
+
/*
|
628
|
+
Syntax error: 12em*px isn't a valid CSS value.
|
629
|
+
on line 2 of test_exception_css_with_mixins_inline.sass, in `error-mixin'
|
630
|
+
from line 5 of test_exception_css_with_mixins_inline.sass, in `outer-mixin'
|
631
|
+
from line 8 of test_exception_css_with_mixins_inline.sass
|
632
|
+
|
633
|
+
1: =error-mixin($a)
|
634
|
+
2: color: $a * 1em * 1px
|
635
|
+
3:
|
636
|
+
4: =outer-mixin($a)
|
637
|
+
5: +error-mixin($a)
|
638
|
+
6:
|
639
|
+
7: .error
|
640
|
+
CSS
|
641
|
+
else
|
642
|
+
assert(false, "Exception not raised")
|
643
|
+
end
|
644
|
+
|
645
|
+
def test_cssize_exception_css
|
646
|
+
opts = {:full_exception => true}
|
647
|
+
render(<<SASS, opts)
|
648
|
+
.filler
|
649
|
+
stuff: "stuff!"
|
650
|
+
|
651
|
+
a: b
|
652
|
+
|
653
|
+
.more.filler
|
654
|
+
a: b
|
655
|
+
SASS
|
656
|
+
rescue Sass::SyntaxError => e
|
657
|
+
assert_equal(<<CSS, Sass::SyntaxError.exception_to_css(e, opts).split("\n")[0..11].join("\n"))
|
658
|
+
/*
|
659
|
+
Syntax error: Properties are only allowed within rules, directives, mixin includes, or other properties.
|
660
|
+
on line 4 of test_cssize_exception_css_inline.sass
|
661
|
+
|
662
|
+
1: .filler
|
663
|
+
2: stuff: "stuff!"
|
664
|
+
3:
|
665
|
+
4: a: b
|
666
|
+
5:
|
667
|
+
6: .more.filler
|
668
|
+
7: a: b
|
669
|
+
CSS
|
670
|
+
else
|
671
|
+
assert(false, "Exception not raised")
|
672
|
+
end
|
673
|
+
|
674
|
+
def test_css_import
|
675
|
+
assert_equal("@import url(./fonts.css);\n", render("@import \"./fonts.css\""))
|
676
|
+
end
|
677
|
+
|
678
|
+
def test_http_import
|
679
|
+
assert_equal("@import url(http://fonts.googleapis.com/css?family=Droid+Sans);\n",
|
680
|
+
render("@import \"http://fonts.googleapis.com/css?family=Droid+Sans\""))
|
681
|
+
end
|
682
|
+
|
683
|
+
def test_protocol_relative_import
|
684
|
+
assert_equal("@import url(//fonts.googleapis.com/css?family=Droid+Sans);\n",
|
685
|
+
render("@import \"//fonts.googleapis.com/css?family=Droid+Sans\""))
|
686
|
+
end
|
687
|
+
|
688
|
+
def test_import_with_interpolation
|
689
|
+
assert_equal(<<CSS, render(<<SASS))
|
690
|
+
@import url("http://fonts.googleapis.com/css?family=Droid+Sans");
|
691
|
+
CSS
|
692
|
+
$family: unquote("Droid+Sans")
|
693
|
+
@import url("http://fonts.googleapis.com/css?family=\#{$family}")
|
694
|
+
SASS
|
695
|
+
end
|
696
|
+
|
697
|
+
def test_import_with_dynamic_media_query
|
698
|
+
assert_equal(<<CSS, render(<<SASS))
|
699
|
+
@import "foo" print and (-webkit-min-device-pixel-ratio-foo: 25);
|
700
|
+
CSS
|
701
|
+
$media: print
|
702
|
+
$key: -webkit-min-device-pixel-ratio
|
703
|
+
$value: 20
|
704
|
+
@import "foo" \#{$media} and ($key + "-foo": $value + 5)
|
705
|
+
SASS
|
706
|
+
end
|
707
|
+
|
708
|
+
def test_url_import
|
709
|
+
assert_equal("@import url(fonts.sass);\n", render("@import url(fonts.sass)"))
|
710
|
+
end
|
711
|
+
|
712
|
+
def test_sass_import
|
713
|
+
sassc_file = sassc_path("importee")
|
714
|
+
assert !File.exists?(sassc_file)
|
715
|
+
renders_correctly "import", { :style => :compact, :load_paths => [File.dirname(__FILE__) + "/templates"] }
|
716
|
+
assert File.exists?(sassc_file)
|
717
|
+
end
|
718
|
+
|
719
|
+
def test_sass_pathname_import
|
720
|
+
sassc_file = sassc_path("importee")
|
721
|
+
assert !File.exists?(sassc_file)
|
722
|
+
renders_correctly("import",
|
723
|
+
:style => :compact,
|
724
|
+
:load_paths => [Pathname.new(File.dirname(__FILE__) + "/templates")])
|
725
|
+
assert File.exists?(sassc_file)
|
726
|
+
end
|
727
|
+
|
728
|
+
def test_import_from_global_load_paths
|
729
|
+
importer = MockImporter.new
|
730
|
+
importer.add_import("imported", "div{color:red}")
|
731
|
+
Sass.load_paths << importer
|
732
|
+
|
733
|
+
assert_equal "div {\n color: red; }\n", Sass::Engine.new('@import "imported"', :importer => importer).render
|
734
|
+
ensure
|
735
|
+
Sass.load_paths.clear
|
736
|
+
end
|
737
|
+
|
738
|
+
def test_nonexistent_import
|
739
|
+
assert_raise_message(Sass::SyntaxError, <<ERR.rstrip) do
|
740
|
+
File to import not found or unreadable: nonexistent.sass.
|
741
|
+
Load path: #{Dir.pwd}
|
742
|
+
ERR
|
743
|
+
render("@import nonexistent.sass")
|
744
|
+
end
|
745
|
+
end
|
746
|
+
|
747
|
+
def test_nonexistent_extensionless_import
|
748
|
+
assert_raise_message(Sass::SyntaxError, <<ERR.rstrip) do
|
749
|
+
File to import not found or unreadable: nonexistent.
|
750
|
+
Load path: #{Dir.pwd}
|
751
|
+
ERR
|
752
|
+
render("@import nonexistent")
|
753
|
+
end
|
754
|
+
end
|
755
|
+
|
756
|
+
def test_no_cache
|
757
|
+
assert !File.exists?(sassc_path("importee"))
|
758
|
+
renders_correctly("import", {
|
759
|
+
:style => :compact, :cache => false,
|
760
|
+
:load_paths => [File.dirname(__FILE__) + "/templates"],
|
761
|
+
})
|
762
|
+
assert !File.exists?(sassc_path("importee"))
|
763
|
+
end
|
764
|
+
|
765
|
+
def test_import_in_rule
|
766
|
+
assert_equal(<<CSS, render(<<SASS, :load_paths => [File.dirname(__FILE__) + '/templates/']))
|
767
|
+
.foo #foo {
|
768
|
+
background-color: #bbaaff; }
|
769
|
+
|
770
|
+
.bar {
|
771
|
+
a: b; }
|
772
|
+
.bar #foo {
|
773
|
+
background-color: #bbaaff; }
|
774
|
+
CSS
|
775
|
+
.foo
|
776
|
+
@import partial
|
777
|
+
|
778
|
+
.bar
|
779
|
+
a: b
|
780
|
+
@import partial
|
781
|
+
SASS
|
782
|
+
end
|
783
|
+
|
784
|
+
def test_units
|
785
|
+
renders_correctly "units"
|
786
|
+
end
|
787
|
+
|
788
|
+
def test_default_function
|
789
|
+
assert_equal(<<CSS, render(<<SASS))
|
790
|
+
foo {
|
791
|
+
bar: url("foo.png"); }
|
792
|
+
CSS
|
793
|
+
foo
|
794
|
+
bar: url("foo.png")
|
795
|
+
SASS
|
796
|
+
assert_equal("foo {\n bar: url(); }\n", render("foo\n bar: url()\n"));
|
797
|
+
end
|
798
|
+
|
799
|
+
def test_string_minus
|
800
|
+
assert_equal("foo {\n bar: baz-boom-bat; }\n", render(%Q{foo\n bar: baz-boom-bat}))
|
801
|
+
assert_equal("foo {\n bar: -baz-boom; }\n", render(%Q{foo\n bar: -baz-boom}))
|
802
|
+
end
|
803
|
+
|
804
|
+
def test_string_div
|
805
|
+
assert_equal("foo {\n bar: baz/boom/bat; }\n", render(%Q{foo\n bar: baz/boom/bat}))
|
806
|
+
assert_equal("foo {\n bar: /baz/boom; }\n", render(%Q{foo\n bar: /baz/boom}))
|
807
|
+
end
|
808
|
+
|
809
|
+
def test_basic_multiline_selector
|
810
|
+
assert_equal("#foo #bar,\n#baz #boom {\n foo: bar; }\n",
|
811
|
+
render("#foo #bar,\n#baz #boom\n :foo bar"))
|
812
|
+
assert_equal("#foo #bar,\n#foo #baz {\n foo: bar; }\n",
|
813
|
+
render("#foo\n #bar,\n #baz\n :foo bar"))
|
814
|
+
assert_equal("#foo,\n#bar {\n foo: bar; }\n #foo #baz,\n #bar #baz {\n foo: bar; }\n",
|
815
|
+
render("#foo,\n#bar\n :foo bar\n #baz\n :foo bar"))
|
816
|
+
assert_equal("#foo #bar, #baz #boom { foo: bar; }\n",
|
817
|
+
render("#foo #bar,\n#baz #boom\n :foo bar", :style => :compact))
|
818
|
+
|
819
|
+
assert_equal("#foo #bar,#baz #boom{foo:bar}\n",
|
820
|
+
render("#foo #bar,\n#baz #boom\n :foo bar", :style => :compressed))
|
821
|
+
|
822
|
+
assert_equal("#foo #bar,\n#baz #boom {\n foo: bar; }\n",
|
823
|
+
render("#foo #bar,,\n,#baz #boom,\n :foo bar"))
|
824
|
+
|
825
|
+
assert_equal("#bip #bop {\n foo: bar; }\n",
|
826
|
+
render("#bip #bop,, ,\n :foo bar"))
|
827
|
+
end
|
828
|
+
|
829
|
+
def test_complex_multiline_selector
|
830
|
+
renders_correctly "multiline"
|
831
|
+
end
|
832
|
+
|
833
|
+
def test_colon_only
|
834
|
+
begin
|
835
|
+
render("a\n b: c", :property_syntax => :old)
|
836
|
+
rescue Sass::SyntaxError => e
|
837
|
+
assert_equal("Illegal property syntax: can't use new syntax when :property_syntax => :old is set.",
|
838
|
+
e.message)
|
839
|
+
assert_equal(2, e.sass_line)
|
840
|
+
else
|
841
|
+
assert(false, "SyntaxError not raised for :property_syntax => :old")
|
842
|
+
end
|
843
|
+
|
844
|
+
begin
|
845
|
+
render("a\n :b c", :property_syntax => :new)
|
846
|
+
assert_equal(2, e.sass_line)
|
847
|
+
rescue Sass::SyntaxError => e
|
848
|
+
assert_equal("Illegal property syntax: can't use old syntax when :property_syntax => :new is set.",
|
849
|
+
e.message)
|
850
|
+
else
|
851
|
+
assert(false, "SyntaxError not raised for :property_syntax => :new")
|
852
|
+
end
|
853
|
+
end
|
854
|
+
|
855
|
+
def test_pseudo_elements
|
856
|
+
assert_equal(<<CSS, render(<<SASS))
|
857
|
+
::first-line {
|
858
|
+
size: 10em; }
|
859
|
+
CSS
|
860
|
+
::first-line
|
861
|
+
size: 10em
|
862
|
+
SASS
|
863
|
+
end
|
864
|
+
|
865
|
+
def test_directive
|
866
|
+
assert_equal("@a b;\n", render("@a b"))
|
867
|
+
|
868
|
+
assert_equal("@a {\n b: c; }\n", render("@a\n :b c"))
|
869
|
+
assert_equal("@a { b: c; }\n", render("@a\n :b c", :style => :compact))
|
870
|
+
assert_equal("@a {\n b: c;\n}\n", render("@a\n :b c", :style => :expanded))
|
871
|
+
assert_equal("@a{b:c}\n", render("@a\n :b c", :style => :compressed))
|
872
|
+
|
873
|
+
assert_equal("@a {\n b: c;\n d: e; }\n",
|
874
|
+
render("@a\n :b c\n :d e"))
|
875
|
+
assert_equal("@a { b: c; d: e; }\n",
|
876
|
+
render("@a\n :b c\n :d e", :style => :compact))
|
877
|
+
assert_equal("@a {\n b: c;\n d: e;\n}\n",
|
878
|
+
render("@a\n :b c\n :d e", :style => :expanded))
|
879
|
+
assert_equal("@a{b:c;d:e}\n",
|
880
|
+
render("@a\n :b c\n :d e", :style => :compressed))
|
881
|
+
|
882
|
+
assert_equal("@a {\n #b {\n c: d; } }\n",
|
883
|
+
render("@a\n #b\n :c d"))
|
884
|
+
assert_equal("@a { #b { c: d; } }\n",
|
885
|
+
render("@a\n #b\n :c d", :style => :compact))
|
886
|
+
assert_equal("@a {\n #b {\n c: d;\n }\n}\n",
|
887
|
+
render("@a\n #b\n :c d", :style => :expanded))
|
888
|
+
assert_equal("@a{#b{c:d}}\n",
|
889
|
+
render("@a\n #b\n :c d", :style => :compressed))
|
890
|
+
|
891
|
+
assert_equal("@a {\n #b {\n a: b; }\n #b #c {\n d: e; } }\n",
|
892
|
+
render("@a\n #b\n :a b\n #c\n :d e"))
|
893
|
+
assert_equal("@a { #b { a: b; }\n #b #c { d: e; } }\n",
|
894
|
+
render("@a\n #b\n :a b\n #c\n :d e", :style => :compact))
|
895
|
+
assert_equal("@a {\n #b {\n a: b;\n }\n #b #c {\n d: e;\n }\n}\n",
|
896
|
+
render("@a\n #b\n :a b\n #c\n :d e", :style => :expanded))
|
897
|
+
assert_equal("@a{#b{a:b}#b #c{d:e}}\n",
|
898
|
+
render("@a\n #b\n :a b\n #c\n :d e", :style => :compressed))
|
899
|
+
|
900
|
+
assert_equal("@a {\n #foo,\n #bar {\n b: c; } }\n",
|
901
|
+
render("@a\n #foo, \n #bar\n :b c"))
|
902
|
+
assert_equal("@a { #foo, #bar { b: c; } }\n",
|
903
|
+
render("@a\n #foo, \n #bar\n :b c", :style => :compact))
|
904
|
+
assert_equal("@a {\n #foo,\n #bar {\n b: c;\n }\n}\n",
|
905
|
+
render("@a\n #foo, \n #bar\n :b c", :style => :expanded))
|
906
|
+
assert_equal("@a{#foo,#bar{b:c}}\n",
|
907
|
+
render("@a\n #foo, \n #bar\n :b c", :style => :compressed))
|
908
|
+
|
909
|
+
to_render = <<END
|
910
|
+
@a
|
911
|
+
:b c
|
912
|
+
#d
|
913
|
+
:e f
|
914
|
+
:g h
|
915
|
+
END
|
916
|
+
rendered = <<END
|
917
|
+
@a { b: c;
|
918
|
+
#d { e: f; }
|
919
|
+
g: h; }
|
920
|
+
END
|
921
|
+
assert_equal(rendered, render(to_render, :style => :compact))
|
922
|
+
|
923
|
+
assert_equal("@a{b:c;#d{e:f}g:h}\n", render(to_render, :style => :compressed))
|
924
|
+
end
|
925
|
+
|
926
|
+
def test_property_hacks
|
927
|
+
assert_equal(<<CSS, render(<<SASS))
|
928
|
+
foo {
|
929
|
+
_name: val;
|
930
|
+
*name: val;
|
931
|
+
#name: val;
|
932
|
+
.name: val;
|
933
|
+
name/**/: val;
|
934
|
+
name/*\\**/: val;
|
935
|
+
name: val; }
|
936
|
+
CSS
|
937
|
+
foo
|
938
|
+
_name: val
|
939
|
+
*name: val
|
940
|
+
#name: val
|
941
|
+
.name: val
|
942
|
+
name/**/: val
|
943
|
+
name/*\\**/: val
|
944
|
+
name: val
|
945
|
+
SASS
|
946
|
+
end
|
947
|
+
|
948
|
+
def test_properties_with_space_after_colon
|
949
|
+
assert_equal <<CSS, render(<<SASS)
|
950
|
+
foo {
|
951
|
+
bar: baz;
|
952
|
+
bizz: bap; }
|
953
|
+
CSS
|
954
|
+
foo
|
955
|
+
bar : baz
|
956
|
+
bizz : bap
|
957
|
+
SASS
|
958
|
+
end
|
959
|
+
|
960
|
+
def test_line_annotations
|
961
|
+
assert_equal(<<CSS, render(<<SASS, :line_comments => true, :style => :compact))
|
962
|
+
/* line 2, test_line_annotations_inline.sass */
|
963
|
+
foo bar { foo: bar; }
|
964
|
+
/* line 5, test_line_annotations_inline.sass */
|
965
|
+
foo baz { blip: blop; }
|
966
|
+
|
967
|
+
/* line 9, test_line_annotations_inline.sass */
|
968
|
+
floodle { flop: blop; }
|
969
|
+
|
970
|
+
/* line 18, test_line_annotations_inline.sass */
|
971
|
+
bup { mix: on; }
|
972
|
+
/* line 15, test_line_annotations_inline.sass */
|
973
|
+
bup mixin { moop: mup; }
|
974
|
+
|
975
|
+
/* line 22, test_line_annotations_inline.sass */
|
976
|
+
bip hop, skip hop { a: b; }
|
977
|
+
CSS
|
978
|
+
foo
|
979
|
+
bar
|
980
|
+
foo: bar
|
981
|
+
|
982
|
+
baz
|
983
|
+
blip: blop
|
984
|
+
|
985
|
+
|
986
|
+
floodle
|
987
|
+
|
988
|
+
flop: blop
|
989
|
+
|
990
|
+
=mxn
|
991
|
+
mix: on
|
992
|
+
mixin
|
993
|
+
moop: mup
|
994
|
+
|
995
|
+
bup
|
996
|
+
+mxn
|
997
|
+
|
998
|
+
bip, skip
|
999
|
+
hop
|
1000
|
+
a: b
|
1001
|
+
SASS
|
1002
|
+
end
|
1003
|
+
|
1004
|
+
def test_line_annotations_with_filename
|
1005
|
+
renders_correctly "line_numbers", :line_comments => true, :load_paths => [File.dirname(__FILE__) + "/templates"]
|
1006
|
+
end
|
1007
|
+
|
1008
|
+
def test_debug_info
|
1009
|
+
esc_file_name = Sass::SCSS::RX.escape_ident(Sass::Util.scope("test_debug_info_inline.sass"))
|
1010
|
+
|
1011
|
+
assert_equal(<<CSS, render(<<SASS, :debug_info => true, :style => :compact))
|
1012
|
+
@media -sass-debug-info{filename{font-family:file\\:\\/\\/#{esc_file_name}}line{font-family:\\000032}}
|
1013
|
+
foo bar { foo: bar; }
|
1014
|
+
@media -sass-debug-info{filename{font-family:file\\:\\/\\/#{esc_file_name}}line{font-family:\\000035}}
|
1015
|
+
foo baz { blip: blop; }
|
1016
|
+
|
1017
|
+
@media -sass-debug-info{filename{font-family:file\\:\\/\\/#{esc_file_name}}line{font-family:\\000039}}
|
1018
|
+
floodle { flop: blop; }
|
1019
|
+
|
1020
|
+
@media -sass-debug-info{filename{font-family:file\\:\\/\\/#{esc_file_name}}line{font-family:\\0000318}}
|
1021
|
+
bup { mix: on; }
|
1022
|
+
@media -sass-debug-info{filename{font-family:file\\:\\/\\/#{esc_file_name}}line{font-family:\\0000315}}
|
1023
|
+
bup mixin { moop: mup; }
|
1024
|
+
|
1025
|
+
@media -sass-debug-info{filename{font-family:file\\:\\/\\/#{esc_file_name}}line{font-family:\\0000322}}
|
1026
|
+
bip hop, skip hop { a: b; }
|
1027
|
+
CSS
|
1028
|
+
foo
|
1029
|
+
bar
|
1030
|
+
foo: bar
|
1031
|
+
|
1032
|
+
baz
|
1033
|
+
blip: blop
|
1034
|
+
|
1035
|
+
|
1036
|
+
floodle
|
1037
|
+
|
1038
|
+
flop: blop
|
1039
|
+
|
1040
|
+
=mxn
|
1041
|
+
mix: on
|
1042
|
+
mixin
|
1043
|
+
moop: mup
|
1044
|
+
|
1045
|
+
bup
|
1046
|
+
+mxn
|
1047
|
+
|
1048
|
+
bip, skip
|
1049
|
+
hop
|
1050
|
+
a: b
|
1051
|
+
SASS
|
1052
|
+
end
|
1053
|
+
|
1054
|
+
def test_debug_info_without_filename
|
1055
|
+
assert_equal(<<CSS, Sass::Engine.new(<<SASS, :debug_info => true).render)
|
1056
|
+
@media -sass-debug-info{filename{}line{font-family:\\000031}}
|
1057
|
+
foo {
|
1058
|
+
a: b; }
|
1059
|
+
CSS
|
1060
|
+
foo
|
1061
|
+
a: b
|
1062
|
+
SASS
|
1063
|
+
end
|
1064
|
+
|
1065
|
+
def test_debug_info_with_compressed
|
1066
|
+
assert_equal(<<CSS, render(<<SASS, :debug_info => true, :style => :compressed))
|
1067
|
+
foo{a:b}
|
1068
|
+
CSS
|
1069
|
+
foo
|
1070
|
+
a: b
|
1071
|
+
SASS
|
1072
|
+
end
|
1073
|
+
|
1074
|
+
def test_debug_info_with_line_annotations
|
1075
|
+
esc_file_name = Sass::SCSS::RX.escape_ident(Sass::Util.scope("test_debug_info_with_line_annotations_inline.sass"))
|
1076
|
+
|
1077
|
+
assert_equal(<<CSS, render(<<SASS, :debug_info => true, :line_comments => true))
|
1078
|
+
@media -sass-debug-info{filename{font-family:file\\:\\/\\/#{esc_file_name}}line{font-family:\\000031}}
|
1079
|
+
foo {
|
1080
|
+
a: b; }
|
1081
|
+
CSS
|
1082
|
+
foo
|
1083
|
+
a: b
|
1084
|
+
SASS
|
1085
|
+
end
|
1086
|
+
|
1087
|
+
def test_debug_info_in_keyframes
|
1088
|
+
assert_equal(<<CSS, render(<<SASS, :debug_info => true))
|
1089
|
+
@-webkit-keyframes warm {
|
1090
|
+
from {
|
1091
|
+
color: black; }
|
1092
|
+
|
1093
|
+
to {
|
1094
|
+
color: red; } }
|
1095
|
+
CSS
|
1096
|
+
@-webkit-keyframes warm
|
1097
|
+
from
|
1098
|
+
color: black
|
1099
|
+
to
|
1100
|
+
color: red
|
1101
|
+
SASS
|
1102
|
+
end
|
1103
|
+
|
1104
|
+
def test_empty_first_line
|
1105
|
+
assert_equal("#a {\n b: c; }\n", render("#a\n\n b: c"))
|
1106
|
+
end
|
1107
|
+
|
1108
|
+
def test_escaped_rule
|
1109
|
+
assert_equal(":focus {\n a: b; }\n", render("\\:focus\n a: b"))
|
1110
|
+
assert_equal("a {\n b: c; }\n a :focus {\n d: e; }\n", render("\\a\n b: c\n \\:focus\n d: e"))
|
1111
|
+
end
|
1112
|
+
|
1113
|
+
def test_cr_newline
|
1114
|
+
assert_equal("foo {\n a: b;\n c: d;\n e: f; }\n", render("foo\r a: b\r\n c: d\n\r e: f"))
|
1115
|
+
end
|
1116
|
+
|
1117
|
+
def test_property_with_content_and_nested_props
|
1118
|
+
assert_equal(<<CSS, render(<<SASS))
|
1119
|
+
foo {
|
1120
|
+
a: b;
|
1121
|
+
a-c: d;
|
1122
|
+
a-c-e: f; }
|
1123
|
+
CSS
|
1124
|
+
foo
|
1125
|
+
a: b
|
1126
|
+
c: d
|
1127
|
+
e: f
|
1128
|
+
SASS
|
1129
|
+
|
1130
|
+
assert_equal(<<CSS, render(<<SASS))
|
1131
|
+
foo {
|
1132
|
+
a: b;
|
1133
|
+
a-c-e: f; }
|
1134
|
+
CSS
|
1135
|
+
foo
|
1136
|
+
a: b
|
1137
|
+
c:
|
1138
|
+
e: f
|
1139
|
+
SASS
|
1140
|
+
end
|
1141
|
+
|
1142
|
+
def test_guarded_assign
|
1143
|
+
assert_equal("foo {\n a: b; }\n", render(%Q{$foo: b\n$foo: c !default\nfoo\n a: $foo}))
|
1144
|
+
assert_equal("foo {\n a: b; }\n", render(%Q{$foo: b !default\nfoo\n a: $foo}))
|
1145
|
+
assert_equal("foo {\n a: b; }\n", render(%Q{$foo: null\n$foo: b !default\nfoo\n a: $foo}))
|
1146
|
+
end
|
1147
|
+
|
1148
|
+
def test_mixins
|
1149
|
+
renders_correctly "mixins", { :style => :expanded }
|
1150
|
+
end
|
1151
|
+
|
1152
|
+
def test_directive_style_mixins
|
1153
|
+
assert_equal <<CSS, render(<<SASS)
|
1154
|
+
bar {
|
1155
|
+
prop: baz; }
|
1156
|
+
CSS
|
1157
|
+
@mixin foo($arg)
|
1158
|
+
prop: $arg
|
1159
|
+
|
1160
|
+
bar
|
1161
|
+
@include foo(baz)
|
1162
|
+
SASS
|
1163
|
+
end
|
1164
|
+
|
1165
|
+
def test_mixins_dont_interfere_with_sibling_combinator
|
1166
|
+
assert_equal("foo + bar {\n a: b; }\nfoo + baz {\n c: d; }\n",
|
1167
|
+
render("foo\n +\n bar\n a: b\n baz\n c: d"))
|
1168
|
+
end
|
1169
|
+
|
1170
|
+
def test_mixin_args
|
1171
|
+
assert_equal("blat {\n baz: hi; }\n", render(<<SASS))
|
1172
|
+
=foo($bar)
|
1173
|
+
baz: $bar
|
1174
|
+
blat
|
1175
|
+
+foo(hi)
|
1176
|
+
SASS
|
1177
|
+
assert_equal("blat {\n baz: 3; }\n", render(<<SASS))
|
1178
|
+
=foo($a, $b)
|
1179
|
+
baz: $a + $b
|
1180
|
+
blat
|
1181
|
+
+foo(1, 2)
|
1182
|
+
SASS
|
1183
|
+
assert_equal("blat {\n baz: 4;\n baz: 3;\n baz: 5;\n bang: 3; }\n", render(<<SASS))
|
1184
|
+
=foo($c: (6 + 4) / 2)
|
1185
|
+
baz: $c
|
1186
|
+
$c: 3
|
1187
|
+
blat
|
1188
|
+
+foo($c + 1)
|
1189
|
+
+foo(($c + 3)/2)
|
1190
|
+
+foo
|
1191
|
+
bang: $c
|
1192
|
+
SASS
|
1193
|
+
end
|
1194
|
+
|
1195
|
+
def test_default_values_for_mixin_arguments
|
1196
|
+
assert_equal("white {\n color: white; }\n\nblack {\n color: black; }\n", render(<<SASS))
|
1197
|
+
=foo($a: #FFF)
|
1198
|
+
:color $a
|
1199
|
+
white
|
1200
|
+
+foo
|
1201
|
+
black
|
1202
|
+
+foo(#000)
|
1203
|
+
SASS
|
1204
|
+
assert_equal(<<CSS, render(<<SASS))
|
1205
|
+
one {
|
1206
|
+
color: white;
|
1207
|
+
padding: 1px;
|
1208
|
+
margin: 4px; }
|
1209
|
+
|
1210
|
+
two {
|
1211
|
+
color: white;
|
1212
|
+
padding: 2px;
|
1213
|
+
margin: 5px; }
|
1214
|
+
|
1215
|
+
three {
|
1216
|
+
color: white;
|
1217
|
+
padding: 2px;
|
1218
|
+
margin: 3px; }
|
1219
|
+
CSS
|
1220
|
+
$a: 5px
|
1221
|
+
=foo($a, $b: 1px, $c: 3px + $b)
|
1222
|
+
:color $a
|
1223
|
+
:padding $b
|
1224
|
+
:margin $c
|
1225
|
+
one
|
1226
|
+
+foo(#fff)
|
1227
|
+
two
|
1228
|
+
+foo(#fff, 2px)
|
1229
|
+
three
|
1230
|
+
+foo(#fff, 2px, 3px)
|
1231
|
+
SASS
|
1232
|
+
assert_equal(<<CSS, render(<<SASS))
|
1233
|
+
one {
|
1234
|
+
color: white;
|
1235
|
+
padding: 1px;
|
1236
|
+
margin: 4px; }
|
1237
|
+
|
1238
|
+
two {
|
1239
|
+
color: white;
|
1240
|
+
padding: 2px;
|
1241
|
+
margin: 5px; }
|
1242
|
+
|
1243
|
+
three {
|
1244
|
+
color: white;
|
1245
|
+
padding: 2px;
|
1246
|
+
margin: 3px; }
|
1247
|
+
CSS
|
1248
|
+
$a: 5px
|
1249
|
+
=foo($a, $b: 1px, $c: null)
|
1250
|
+
$c: 3px + $b !default
|
1251
|
+
color: $a
|
1252
|
+
padding: $b
|
1253
|
+
margin: $c
|
1254
|
+
one
|
1255
|
+
+foo(#fff)
|
1256
|
+
two
|
1257
|
+
+foo(#fff, 2px)
|
1258
|
+
three
|
1259
|
+
+foo(#fff, 2px, 3px)
|
1260
|
+
SASS
|
1261
|
+
end
|
1262
|
+
|
1263
|
+
def test_hyphen_underscore_insensitive_mixins
|
1264
|
+
assert_equal(<<CSS, render(<<SASS))
|
1265
|
+
a {
|
1266
|
+
b: 12;
|
1267
|
+
c: foo; }
|
1268
|
+
CSS
|
1269
|
+
=mixin-hyphen
|
1270
|
+
b: 12
|
1271
|
+
|
1272
|
+
=mixin_under
|
1273
|
+
c: foo
|
1274
|
+
|
1275
|
+
a
|
1276
|
+
+mixin_hyphen
|
1277
|
+
+mixin-under
|
1278
|
+
SASS
|
1279
|
+
end
|
1280
|
+
|
1281
|
+
def test_css_identifier_mixin
|
1282
|
+
assert_equal(<<CSS, render(<<SASS))
|
1283
|
+
a {
|
1284
|
+
foo: 12; }
|
1285
|
+
CSS
|
1286
|
+
=\\{foo\\(12\\)($a)
|
1287
|
+
foo: $a
|
1288
|
+
|
1289
|
+
a
|
1290
|
+
+\\{foo\\(12\\)(12)
|
1291
|
+
SASS
|
1292
|
+
end
|
1293
|
+
|
1294
|
+
def test_basic_function
|
1295
|
+
assert_equal(<<CSS, render(<<SASS))
|
1296
|
+
bar {
|
1297
|
+
a: 3; }
|
1298
|
+
CSS
|
1299
|
+
@function foo()
|
1300
|
+
@return 1 + 2
|
1301
|
+
|
1302
|
+
bar
|
1303
|
+
a: foo()
|
1304
|
+
SASS
|
1305
|
+
end
|
1306
|
+
|
1307
|
+
def test_function_args
|
1308
|
+
assert_equal(<<CSS, render(<<SASS))
|
1309
|
+
bar {
|
1310
|
+
a: 3; }
|
1311
|
+
CSS
|
1312
|
+
@function plus($var1, $var2)
|
1313
|
+
@return $var1 + $var2
|
1314
|
+
|
1315
|
+
bar
|
1316
|
+
a: plus(1, 2)
|
1317
|
+
SASS
|
1318
|
+
end
|
1319
|
+
|
1320
|
+
def test_function_arg_default
|
1321
|
+
assert_equal(<<CSS, render(<<SASS))
|
1322
|
+
bar {
|
1323
|
+
a: 3; }
|
1324
|
+
CSS
|
1325
|
+
@function plus($var1, $var2: 2)
|
1326
|
+
@return $var1 + $var2
|
1327
|
+
|
1328
|
+
bar
|
1329
|
+
a: plus(1)
|
1330
|
+
SASS
|
1331
|
+
end
|
1332
|
+
|
1333
|
+
def test_function_arg_keyword
|
1334
|
+
assert_equal(<<CSS, render(<<SASS))
|
1335
|
+
bar {
|
1336
|
+
a: 1bar; }
|
1337
|
+
CSS
|
1338
|
+
@function plus($var1: 1, $var2: 2)
|
1339
|
+
@return $var1 + $var2
|
1340
|
+
|
1341
|
+
bar
|
1342
|
+
a: plus($var2: bar)
|
1343
|
+
SASS
|
1344
|
+
end
|
1345
|
+
|
1346
|
+
def test_function_with_missing_argument
|
1347
|
+
render(<<SASS)
|
1348
|
+
@function plus($var1, $var2)
|
1349
|
+
@return $var1 + $var2
|
1350
|
+
|
1351
|
+
bar
|
1352
|
+
a: plus($var2: bar)
|
1353
|
+
SASS
|
1354
|
+
flunk("Expected exception")
|
1355
|
+
rescue Sass::SyntaxError => e
|
1356
|
+
assert_equal("Function plus is missing argument $var1.", e.message)
|
1357
|
+
end
|
1358
|
+
|
1359
|
+
def test_function_with_extra_argument
|
1360
|
+
render(<<SASS)
|
1361
|
+
@function plus($var1, $var2)
|
1362
|
+
@return $var1 + $var2
|
1363
|
+
|
1364
|
+
bar
|
1365
|
+
a: plus($var1: foo, $var2: bar, $var3: baz)
|
1366
|
+
SASS
|
1367
|
+
flunk("Expected exception")
|
1368
|
+
rescue Sass::SyntaxError => e
|
1369
|
+
assert_equal("Function plus doesn't have an argument named $var3.", e.message)
|
1370
|
+
end
|
1371
|
+
|
1372
|
+
def test_function_with_positional_and_keyword_argument
|
1373
|
+
render(<<SASS)
|
1374
|
+
@function plus($var1, $var2)
|
1375
|
+
@return $var1 + $var2
|
1376
|
+
|
1377
|
+
bar
|
1378
|
+
a: plus(foo, bar, $var2: baz)
|
1379
|
+
SASS
|
1380
|
+
flunk("Expected exception")
|
1381
|
+
rescue Sass::SyntaxError => e
|
1382
|
+
assert_equal("Function plus was passed argument $var2 both by position and by name.", e.message)
|
1383
|
+
end
|
1384
|
+
|
1385
|
+
def test_function_with_keyword_before_positional_argument
|
1386
|
+
render(<<SASS)
|
1387
|
+
@function plus($var1, $var2)
|
1388
|
+
@return $var1 + $var2
|
1389
|
+
|
1390
|
+
bar
|
1391
|
+
a: plus($var2: foo, bar)
|
1392
|
+
SASS
|
1393
|
+
flunk("Expected exception")
|
1394
|
+
rescue Sass::SyntaxError => e
|
1395
|
+
assert_equal("Positional arguments must come before keyword arguments.", e.message)
|
1396
|
+
end
|
1397
|
+
|
1398
|
+
def test_function_with_if
|
1399
|
+
assert_equal(<<CSS, render(<<SASS))
|
1400
|
+
bar {
|
1401
|
+
a: foo;
|
1402
|
+
b: bar; }
|
1403
|
+
CSS
|
1404
|
+
@function my-if($cond, $val1, $val2)
|
1405
|
+
@if $cond
|
1406
|
+
@return $val1
|
1407
|
+
@else
|
1408
|
+
@return $val2
|
1409
|
+
|
1410
|
+
bar
|
1411
|
+
a: my-if(true, foo, bar)
|
1412
|
+
b: my-if(false, foo, bar)
|
1413
|
+
SASS
|
1414
|
+
end
|
1415
|
+
|
1416
|
+
def test_function_with_var
|
1417
|
+
assert_equal(<<CSS, render(<<SASS))
|
1418
|
+
bar {
|
1419
|
+
a: 1; }
|
1420
|
+
CSS
|
1421
|
+
@function foo($val1, $val2)
|
1422
|
+
$intermediate: $val1 + $val2
|
1423
|
+
@return $intermediate/3
|
1424
|
+
|
1425
|
+
bar
|
1426
|
+
a: foo(1, 2)
|
1427
|
+
SASS
|
1428
|
+
end
|
1429
|
+
|
1430
|
+
def test_control_directive_in_nested_property
|
1431
|
+
assert_equal(<<CSS, render(<<SASS))
|
1432
|
+
foo {
|
1433
|
+
a-b: c; }
|
1434
|
+
CSS
|
1435
|
+
foo
|
1436
|
+
a:
|
1437
|
+
@if true
|
1438
|
+
b: c
|
1439
|
+
SASS
|
1440
|
+
end
|
1441
|
+
|
1442
|
+
def test_interpolation
|
1443
|
+
assert_equal("a-1 {\n b-2-3: c-3; }\n", render(<<SASS))
|
1444
|
+
$a: 1
|
1445
|
+
$b: 2
|
1446
|
+
$c: 3
|
1447
|
+
a-\#{$a}
|
1448
|
+
b-\#{$b}-\#{$c}: c-\#{$a + $b}
|
1449
|
+
SASS
|
1450
|
+
end
|
1451
|
+
|
1452
|
+
def test_complex_property_interpolation
|
1453
|
+
assert_equal(<<CSS, render(<<SASS))
|
1454
|
+
a-1 {
|
1455
|
+
b-2 3-fizzap18: c-3; }
|
1456
|
+
CSS
|
1457
|
+
$a: 1
|
1458
|
+
$b: 2
|
1459
|
+
$c: 3
|
1460
|
+
a-\#{$a}
|
1461
|
+
b-\#{$b $c}-\#{fizzap + ($c + 15)}: c-\#{$a + $b}
|
1462
|
+
SASS
|
1463
|
+
end
|
1464
|
+
|
1465
|
+
def test_if_directive
|
1466
|
+
assert_equal("a {\n b: 1; }\n", render(<<SASS))
|
1467
|
+
$var: true
|
1468
|
+
a
|
1469
|
+
@if $var
|
1470
|
+
b: 1
|
1471
|
+
@if not $var
|
1472
|
+
b: 2
|
1473
|
+
SASS
|
1474
|
+
|
1475
|
+
assert_equal("a {\n b: 2; }\n", render(<<SASS))
|
1476
|
+
$var: null
|
1477
|
+
a
|
1478
|
+
@if $var
|
1479
|
+
b: 1
|
1480
|
+
@if not $var
|
1481
|
+
b: 2
|
1482
|
+
SASS
|
1483
|
+
end
|
1484
|
+
|
1485
|
+
def test_for
|
1486
|
+
assert_equal(<<CSS, render(<<SASS))
|
1487
|
+
a-0 {
|
1488
|
+
two-i: 0; }
|
1489
|
+
|
1490
|
+
a-1 {
|
1491
|
+
two-i: 2; }
|
1492
|
+
|
1493
|
+
a-2 {
|
1494
|
+
two-i: 4; }
|
1495
|
+
|
1496
|
+
a-3 {
|
1497
|
+
two-i: 6; }
|
1498
|
+
|
1499
|
+
b-1 {
|
1500
|
+
j-1: 0; }
|
1501
|
+
|
1502
|
+
b-2 {
|
1503
|
+
j-1: 1; }
|
1504
|
+
|
1505
|
+
b-3 {
|
1506
|
+
j-1: 2; }
|
1507
|
+
|
1508
|
+
b-4 {
|
1509
|
+
j-1: 3; }
|
1510
|
+
CSS
|
1511
|
+
$a: 3
|
1512
|
+
@for $i from 0 to $a + 1
|
1513
|
+
a-\#{$i}
|
1514
|
+
two-i: 2 * $i
|
1515
|
+
|
1516
|
+
@for $j from 1 through 4
|
1517
|
+
b-\#{$j}
|
1518
|
+
j-1: $j - 1
|
1519
|
+
SASS
|
1520
|
+
end
|
1521
|
+
|
1522
|
+
def test_while
|
1523
|
+
assert_equal(<<CSS, render(<<SASS))
|
1524
|
+
a-5 {
|
1525
|
+
blooble: gloop; }
|
1526
|
+
|
1527
|
+
a-4 {
|
1528
|
+
blooble: gloop; }
|
1529
|
+
|
1530
|
+
a-3 {
|
1531
|
+
blooble: gloop; }
|
1532
|
+
|
1533
|
+
a-2 {
|
1534
|
+
blooble: gloop; }
|
1535
|
+
|
1536
|
+
a-1 {
|
1537
|
+
blooble: gloop; }
|
1538
|
+
CSS
|
1539
|
+
$a: 5
|
1540
|
+
@while $a != 0
|
1541
|
+
a-\#{$a}
|
1542
|
+
blooble: gloop
|
1543
|
+
$a: $a - 1
|
1544
|
+
SASS
|
1545
|
+
end
|
1546
|
+
|
1547
|
+
def test_else
|
1548
|
+
assert_equal(<<CSS, render(<<SASS))
|
1549
|
+
a {
|
1550
|
+
t1: t;
|
1551
|
+
t2: t;
|
1552
|
+
t3: t;
|
1553
|
+
t4: t; }
|
1554
|
+
CSS
|
1555
|
+
a
|
1556
|
+
@if true
|
1557
|
+
t1: t
|
1558
|
+
@else
|
1559
|
+
f1: f
|
1560
|
+
|
1561
|
+
@if false
|
1562
|
+
f2: f
|
1563
|
+
@else
|
1564
|
+
t2: t
|
1565
|
+
|
1566
|
+
@if false
|
1567
|
+
f3: f1
|
1568
|
+
@else if 1 + 1 == 3
|
1569
|
+
f3: f2
|
1570
|
+
@else
|
1571
|
+
t3: t
|
1572
|
+
|
1573
|
+
@if false
|
1574
|
+
f4: f1
|
1575
|
+
@else if 1 + 1 == 2
|
1576
|
+
t4: t
|
1577
|
+
@else
|
1578
|
+
f4: f2
|
1579
|
+
|
1580
|
+
@if false
|
1581
|
+
f5: f1
|
1582
|
+
@else if false
|
1583
|
+
f5: f2
|
1584
|
+
SASS
|
1585
|
+
end
|
1586
|
+
|
1587
|
+
def test_each
|
1588
|
+
assert_equal(<<CSS, render(<<SASS))
|
1589
|
+
a {
|
1590
|
+
b: 1px;
|
1591
|
+
b: 2px;
|
1592
|
+
b: 3px;
|
1593
|
+
b: 4px;
|
1594
|
+
c: foo;
|
1595
|
+
c: bar;
|
1596
|
+
c: baz;
|
1597
|
+
c: bang;
|
1598
|
+
d: blue; }
|
1599
|
+
CSS
|
1600
|
+
a
|
1601
|
+
@each $number in 1px 2px 3px 4px
|
1602
|
+
b: $number
|
1603
|
+
@each $str in foo, bar, baz, bang
|
1604
|
+
c: $str
|
1605
|
+
@each $single in blue
|
1606
|
+
d: $single
|
1607
|
+
SASS
|
1608
|
+
end
|
1609
|
+
|
1610
|
+
def test_variable_reassignment
|
1611
|
+
assert_equal(<<CSS, render(<<SASS))
|
1612
|
+
a {
|
1613
|
+
b: 1;
|
1614
|
+
c: 2; }
|
1615
|
+
CSS
|
1616
|
+
$a: 1
|
1617
|
+
a
|
1618
|
+
b: $a
|
1619
|
+
$a: 2
|
1620
|
+
c: $a
|
1621
|
+
SASS
|
1622
|
+
end
|
1623
|
+
|
1624
|
+
def test_variable_scope
|
1625
|
+
assert_equal(<<CSS, render(<<SASS))
|
1626
|
+
a {
|
1627
|
+
b-1: c;
|
1628
|
+
b-2: c;
|
1629
|
+
d: 12; }
|
1630
|
+
|
1631
|
+
b {
|
1632
|
+
d: 17; }
|
1633
|
+
CSS
|
1634
|
+
$i: 12
|
1635
|
+
a
|
1636
|
+
@for $i from 1 through 2
|
1637
|
+
b-\#{$i}: c
|
1638
|
+
d: $i
|
1639
|
+
|
1640
|
+
=foo
|
1641
|
+
$i: 17
|
1642
|
+
|
1643
|
+
b
|
1644
|
+
+foo
|
1645
|
+
d: $i
|
1646
|
+
SASS
|
1647
|
+
end
|
1648
|
+
|
1649
|
+
def test_hyphen_underscore_insensitive_variables
|
1650
|
+
assert_equal(<<CSS, render(<<SASS))
|
1651
|
+
a {
|
1652
|
+
b: c; }
|
1653
|
+
|
1654
|
+
d {
|
1655
|
+
e: 13;
|
1656
|
+
f: foobar; }
|
1657
|
+
CSS
|
1658
|
+
$var-hyphen: 12
|
1659
|
+
$var_under: foo
|
1660
|
+
|
1661
|
+
a
|
1662
|
+
$var_hyphen: 1 + $var_hyphen
|
1663
|
+
$var-under: $var-under + bar
|
1664
|
+
b: c
|
1665
|
+
|
1666
|
+
d
|
1667
|
+
e: $var-hyphen
|
1668
|
+
f: $var_under
|
1669
|
+
SASS
|
1670
|
+
end
|
1671
|
+
|
1672
|
+
def test_css_identifier_variable
|
1673
|
+
assert_equal(<<CSS, render(<<SASS))
|
1674
|
+
a {
|
1675
|
+
b: 12; }
|
1676
|
+
CSS
|
1677
|
+
$\\{foo\\(12\\): 12
|
1678
|
+
|
1679
|
+
a
|
1680
|
+
b: $\\{foo\\(12\\)
|
1681
|
+
SASS
|
1682
|
+
end
|
1683
|
+
|
1684
|
+
def test_important
|
1685
|
+
assert_equal(<<CSS, render(<<SASS))
|
1686
|
+
a {
|
1687
|
+
b: 12px !important; }
|
1688
|
+
CSS
|
1689
|
+
$foo: 12px
|
1690
|
+
a
|
1691
|
+
b: $foo !important
|
1692
|
+
SASS
|
1693
|
+
end
|
1694
|
+
|
1695
|
+
def test_argument_error
|
1696
|
+
assert_raise(Sass::SyntaxError) { render("a\n b: hsl(1)") }
|
1697
|
+
end
|
1698
|
+
|
1699
|
+
def test_comments_at_the_top_of_a_document
|
1700
|
+
render(<<SASS)
|
1701
|
+
//
|
1702
|
+
This is a comment that
|
1703
|
+
continues to the second line.
|
1704
|
+
foo
|
1705
|
+
bar: baz
|
1706
|
+
SASS
|
1707
|
+
end
|
1708
|
+
|
1709
|
+
def test_loud_comments_containing_a_comment_close
|
1710
|
+
actual_css = render(<<SASS)
|
1711
|
+
/*
|
1712
|
+
This is a comment that
|
1713
|
+
continues to the second line. */
|
1714
|
+
foo
|
1715
|
+
bar: baz
|
1716
|
+
SASS
|
1717
|
+
assert_equal(<<CSS, actual_css)
|
1718
|
+
/* This is a comment that
|
1719
|
+
* continues to the second line. */
|
1720
|
+
foo {
|
1721
|
+
bar: baz; }
|
1722
|
+
CSS
|
1723
|
+
end
|
1724
|
+
|
1725
|
+
def test_loud_comments_with_starred_lines
|
1726
|
+
assert_equal(<<CSS, render(<<SASS))
|
1727
|
+
/* This is a comment that
|
1728
|
+
* continues to the second line.
|
1729
|
+
* And even to the third! */
|
1730
|
+
CSS
|
1731
|
+
/* This is a comment that
|
1732
|
+
* continues to the second line.
|
1733
|
+
* And even to the third!
|
1734
|
+
SASS
|
1735
|
+
end
|
1736
|
+
|
1737
|
+
def test_loud_comments_with_no_space_after_starred_lines
|
1738
|
+
assert_equal(<<CSS, render(<<SASS))
|
1739
|
+
/*bip bop
|
1740
|
+
*beep boop
|
1741
|
+
*bap blimp */
|
1742
|
+
CSS
|
1743
|
+
/*bip bop
|
1744
|
+
*beep boop
|
1745
|
+
*bap blimp
|
1746
|
+
SASS
|
1747
|
+
end
|
1748
|
+
|
1749
|
+
def test_comment_indentation_at_beginning_of_doc
|
1750
|
+
assert_equal <<CSS, render(<<SASS)
|
1751
|
+
/* foo
|
1752
|
+
* bar
|
1753
|
+
* baz */
|
1754
|
+
foo {
|
1755
|
+
a: b; }
|
1756
|
+
CSS
|
1757
|
+
/* foo
|
1758
|
+
bar
|
1759
|
+
baz
|
1760
|
+
foo
|
1761
|
+
a: b
|
1762
|
+
SASS
|
1763
|
+
end
|
1764
|
+
|
1765
|
+
def test_unusual_comment_indentation
|
1766
|
+
assert_equal <<CSS, render(<<SASS)
|
1767
|
+
foo {
|
1768
|
+
/* foo
|
1769
|
+
* bar
|
1770
|
+
* baz */ }
|
1771
|
+
CSS
|
1772
|
+
foo
|
1773
|
+
/* foo
|
1774
|
+
bar
|
1775
|
+
baz
|
1776
|
+
SASS
|
1777
|
+
end
|
1778
|
+
|
1779
|
+
def test_loud_comment_with_close
|
1780
|
+
assert_equal <<CSS, render(<<SASS)
|
1781
|
+
foo {
|
1782
|
+
/* foo
|
1783
|
+
* bar */ }
|
1784
|
+
CSS
|
1785
|
+
foo
|
1786
|
+
/* foo
|
1787
|
+
bar */
|
1788
|
+
SASS
|
1789
|
+
end
|
1790
|
+
|
1791
|
+
def test_loud_comment_with_separate_line_close
|
1792
|
+
assert_equal <<CSS, render(<<SASS)
|
1793
|
+
foo {
|
1794
|
+
/* foo
|
1795
|
+
* bar
|
1796
|
+
*/ }
|
1797
|
+
CSS
|
1798
|
+
foo
|
1799
|
+
/* foo
|
1800
|
+
* bar
|
1801
|
+
*/
|
1802
|
+
SASS
|
1803
|
+
end
|
1804
|
+
|
1805
|
+
def test_loud_comment_in_compressed_mode
|
1806
|
+
assert_equal <<CSS, render(<<SASS, :style => :compressed)
|
1807
|
+
foo{color:blue;/*! foo
|
1808
|
+
* bar
|
1809
|
+
*/}
|
1810
|
+
CSS
|
1811
|
+
foo
|
1812
|
+
color: blue
|
1813
|
+
/*! foo
|
1814
|
+
* bar
|
1815
|
+
*/
|
1816
|
+
SASS
|
1817
|
+
end
|
1818
|
+
|
1819
|
+
def test_loud_comment_is_evaluated
|
1820
|
+
assert_equal <<CSS, render(<<SASS)
|
1821
|
+
/*!
|
1822
|
+
* Hue: 327.21649deg */
|
1823
|
+
CSS
|
1824
|
+
/*!
|
1825
|
+
Hue: \#{hue(#f836a0)}
|
1826
|
+
SASS
|
1827
|
+
end
|
1828
|
+
|
1829
|
+
def test_attribute_selector_with_spaces
|
1830
|
+
assert_equal(<<CSS, render(<<SASS))
|
1831
|
+
a b[foo=bar] {
|
1832
|
+
c: d; }
|
1833
|
+
CSS
|
1834
|
+
a
|
1835
|
+
b[foo = bar]
|
1836
|
+
c: d
|
1837
|
+
SASS
|
1838
|
+
end
|
1839
|
+
|
1840
|
+
def test_quoted_colon
|
1841
|
+
assert_equal(<<CSS, render(<<SASS))
|
1842
|
+
a b[foo="bar: baz"] {
|
1843
|
+
c: d; }
|
1844
|
+
CSS
|
1845
|
+
a
|
1846
|
+
b[foo="bar: baz"]
|
1847
|
+
c: d
|
1848
|
+
SASS
|
1849
|
+
end
|
1850
|
+
|
1851
|
+
def test_quoted_comma
|
1852
|
+
assert_equal(<<CSS, render(<<SASS))
|
1853
|
+
a b[foo="bar, baz"] {
|
1854
|
+
c: d; }
|
1855
|
+
CSS
|
1856
|
+
a
|
1857
|
+
b[foo="bar, baz"]
|
1858
|
+
c: d
|
1859
|
+
SASS
|
1860
|
+
end
|
1861
|
+
|
1862
|
+
def test_quoted_ampersand
|
1863
|
+
assert_equal(<<CSS, render(<<SASS))
|
1864
|
+
a b[foo="bar & baz"] {
|
1865
|
+
c: d; }
|
1866
|
+
CSS
|
1867
|
+
a
|
1868
|
+
b[foo="bar & baz"]
|
1869
|
+
c: d
|
1870
|
+
SASS
|
1871
|
+
end
|
1872
|
+
|
1873
|
+
def test_empty_selector_warning
|
1874
|
+
assert_warning(<<END) {render("foo bar")}
|
1875
|
+
WARNING on line 1 of test_empty_selector_warning_inline.sass:
|
1876
|
+
This selector doesn't have any properties and will not be rendered.
|
1877
|
+
END
|
1878
|
+
end
|
1879
|
+
|
1880
|
+
def test_nonprinting_empty_property
|
1881
|
+
assert_equal(<<CSS, render(<<SASS))
|
1882
|
+
a {
|
1883
|
+
c: "";
|
1884
|
+
e: f; }
|
1885
|
+
CSS
|
1886
|
+
$null-value: null
|
1887
|
+
$empty-string: ''
|
1888
|
+
$empty-list: (null)
|
1889
|
+
a
|
1890
|
+
b: $null-value
|
1891
|
+
c: $empty-string
|
1892
|
+
d: $empty-list
|
1893
|
+
e: f
|
1894
|
+
|
1895
|
+
g
|
1896
|
+
h: null
|
1897
|
+
SASS
|
1898
|
+
end
|
1899
|
+
|
1900
|
+
def test_root_level_pseudo_class_with_new_properties
|
1901
|
+
assert_equal(<<CSS, render(<<SASS, :property_syntax => :new))
|
1902
|
+
:focus {
|
1903
|
+
outline: 0; }
|
1904
|
+
CSS
|
1905
|
+
:focus
|
1906
|
+
outline: 0
|
1907
|
+
SASS
|
1908
|
+
end
|
1909
|
+
|
1910
|
+
def test_pseudo_class_with_new_properties
|
1911
|
+
assert_equal(<<CSS, render(<<SASS, :property_syntax => :new))
|
1912
|
+
p :focus {
|
1913
|
+
outline: 0; }
|
1914
|
+
CSS
|
1915
|
+
p
|
1916
|
+
:focus
|
1917
|
+
outline: 0
|
1918
|
+
SASS
|
1919
|
+
end
|
1920
|
+
|
1921
|
+
def test_nil_option
|
1922
|
+
assert_equal(<<CSS, render(<<SASS, :format => nil))
|
1923
|
+
foo {
|
1924
|
+
a: b; }
|
1925
|
+
CSS
|
1926
|
+
foo
|
1927
|
+
a: b
|
1928
|
+
SASS
|
1929
|
+
end
|
1930
|
+
|
1931
|
+
def test_interpolation_in_raw_functions
|
1932
|
+
assert_equal(<<CSS, render(<<SASS))
|
1933
|
+
foo {
|
1934
|
+
filter: progid:Microsoft.foo.bar.Baz(flip=foobar, bang=#00ff00cc); }
|
1935
|
+
CSS
|
1936
|
+
foo
|
1937
|
+
filter: progid:Microsoft.foo.bar.Baz(flip=\#{foo + bar}, bang=#00ff00cc)
|
1938
|
+
SASS
|
1939
|
+
end
|
1940
|
+
|
1941
|
+
# SassScript string behavior
|
1942
|
+
|
1943
|
+
def test_plus_preserves_quotedness
|
1944
|
+
assert_equal(<<CSS, render(<<SASS))
|
1945
|
+
foo {
|
1946
|
+
a: "foo1";
|
1947
|
+
b: "1foo";
|
1948
|
+
c: foo1;
|
1949
|
+
d: 1foo;
|
1950
|
+
e: "foobar";
|
1951
|
+
f: foobar; }
|
1952
|
+
CSS
|
1953
|
+
foo
|
1954
|
+
a: "foo" + 1
|
1955
|
+
b: 1 + "foo"
|
1956
|
+
c: foo + 1
|
1957
|
+
d: 1 + foo
|
1958
|
+
e: "foo" + bar
|
1959
|
+
f: foo + "bar"
|
1960
|
+
SASS
|
1961
|
+
end
|
1962
|
+
|
1963
|
+
def test_colon_properties_preserve_quotedness
|
1964
|
+
assert_equal(<<CSS, render(<<SASS))
|
1965
|
+
foo {
|
1966
|
+
a: "foo";
|
1967
|
+
b: bar;
|
1968
|
+
c: "foo" bar;
|
1969
|
+
d: foo, "bar"; }
|
1970
|
+
CSS
|
1971
|
+
foo
|
1972
|
+
a: "foo"
|
1973
|
+
b: bar
|
1974
|
+
c: "foo" bar
|
1975
|
+
d: foo, "bar"
|
1976
|
+
SASS
|
1977
|
+
end
|
1978
|
+
|
1979
|
+
def test_colon_variables_preserve_quotedness
|
1980
|
+
assert_equal(<<CSS, render(<<SASS))
|
1981
|
+
foo {
|
1982
|
+
a: "foo";
|
1983
|
+
b: bar; }
|
1984
|
+
CSS
|
1985
|
+
$a: "foo"
|
1986
|
+
$b: bar
|
1987
|
+
|
1988
|
+
foo
|
1989
|
+
a: $a
|
1990
|
+
b: $b
|
1991
|
+
SASS
|
1992
|
+
end
|
1993
|
+
|
1994
|
+
def test_colon_args_preserve_quotedness
|
1995
|
+
assert_equal(<<CSS, render(<<SASS))
|
1996
|
+
foo {
|
1997
|
+
a: "foo";
|
1998
|
+
b: bar;
|
1999
|
+
c: "foo" bar;
|
2000
|
+
d: foo, "bar"; }
|
2001
|
+
CSS
|
2002
|
+
=foo($a: "foo", $b: bar, $c: "foo" bar, $d: (foo, "bar"))
|
2003
|
+
foo
|
2004
|
+
a: $a
|
2005
|
+
b: $b
|
2006
|
+
c: $c
|
2007
|
+
d: $d
|
2008
|
+
|
2009
|
+
+foo
|
2010
|
+
SASS
|
2011
|
+
end
|
2012
|
+
|
2013
|
+
def test_interpolation_unquotes_strings
|
2014
|
+
assert_equal(<<CSS, render(<<SASS))
|
2015
|
+
.foo-bar {
|
2016
|
+
a: b; }
|
2017
|
+
CSS
|
2018
|
+
.foo-\#{"bar"}
|
2019
|
+
a: b
|
2020
|
+
SASS
|
2021
|
+
|
2022
|
+
assert_equal(<<CSS, render(<<SASS))
|
2023
|
+
.foo {
|
2024
|
+
a: b c; }
|
2025
|
+
CSS
|
2026
|
+
.foo
|
2027
|
+
a: b \#{"c"}
|
2028
|
+
SASS
|
2029
|
+
end
|
2030
|
+
|
2031
|
+
def test_interpolation_unquotes_strings_in_vars
|
2032
|
+
assert_equal(<<CSS, render(<<SASS))
|
2033
|
+
.foo-bar {
|
2034
|
+
a: b; }
|
2035
|
+
CSS
|
2036
|
+
$var: "bar"
|
2037
|
+
|
2038
|
+
.foo-\#{$var}
|
2039
|
+
a: b
|
2040
|
+
SASS
|
2041
|
+
end
|
2042
|
+
|
2043
|
+
def test_interpolation_doesnt_deep_unquote_strings
|
2044
|
+
assert_equal(<<CSS, render(<<SASS))
|
2045
|
+
.foo {
|
2046
|
+
a: "bar" "baz"; }
|
2047
|
+
CSS
|
2048
|
+
.foo
|
2049
|
+
a: \#{"bar" "baz"}
|
2050
|
+
SASS
|
2051
|
+
end
|
2052
|
+
|
2053
|
+
def test_warn_directive
|
2054
|
+
expected_warning = <<EXPECTATION
|
2055
|
+
WARNING: this is a warning
|
2056
|
+
on line 4 of test_warn_directive_inline.sass
|
2057
|
+
|
2058
|
+
WARNING: this is a mixin warning
|
2059
|
+
on line 2 of test_warn_directive_inline.sass, in `foo'
|
2060
|
+
from line 7 of test_warn_directive_inline.sass
|
2061
|
+
EXPECTATION
|
2062
|
+
assert_warning expected_warning do
|
2063
|
+
assert_equal <<CSS, render(<<SASS)
|
2064
|
+
bar {
|
2065
|
+
c: d; }
|
2066
|
+
CSS
|
2067
|
+
=foo
|
2068
|
+
@warn "this is a mixin warning"
|
2069
|
+
|
2070
|
+
@warn "this is a warning"
|
2071
|
+
bar
|
2072
|
+
c: d
|
2073
|
+
+foo
|
2074
|
+
SASS
|
2075
|
+
end
|
2076
|
+
end
|
2077
|
+
|
2078
|
+
def test_warn_directive_when_quiet
|
2079
|
+
assert_warning "" do
|
2080
|
+
assert_equal <<CSS, render(<<SASS, :quiet => true)
|
2081
|
+
CSS
|
2082
|
+
@warn "this is a warning"
|
2083
|
+
SASS
|
2084
|
+
end
|
2085
|
+
end
|
2086
|
+
|
2087
|
+
def test_warn_with_imports
|
2088
|
+
expected_warning = <<WARN
|
2089
|
+
WARNING: In the main file
|
2090
|
+
on line 1 of #{File.dirname(__FILE__)}/templates/warn.sass
|
2091
|
+
|
2092
|
+
WARNING: Imported
|
2093
|
+
on line 1 of #{File.dirname(__FILE__)}/templates/warn_imported.sass
|
2094
|
+
from line 2 of #{File.dirname(__FILE__)}/templates/warn.sass
|
2095
|
+
|
2096
|
+
WARNING: In an imported mixin
|
2097
|
+
on line 4 of #{File.dirname(__FILE__)}/templates/warn_imported.sass, in `emits-a-warning'
|
2098
|
+
from line 3 of #{File.dirname(__FILE__)}/templates/warn.sass
|
2099
|
+
WARN
|
2100
|
+
assert_warning expected_warning do
|
2101
|
+
renders_correctly "warn", :style => :compact, :load_paths => [File.dirname(__FILE__) + "/templates"]
|
2102
|
+
end
|
2103
|
+
end
|
2104
|
+
|
2105
|
+
def test_media_bubbling
|
2106
|
+
assert_equal <<CSS, render(<<SASS)
|
2107
|
+
.foo {
|
2108
|
+
a: b; }
|
2109
|
+
@media bar {
|
2110
|
+
.foo {
|
2111
|
+
c: d; } }
|
2112
|
+
.foo .baz {
|
2113
|
+
e: f; }
|
2114
|
+
@media bip {
|
2115
|
+
.foo .baz {
|
2116
|
+
g: h; } }
|
2117
|
+
|
2118
|
+
.other {
|
2119
|
+
i: j; }
|
2120
|
+
CSS
|
2121
|
+
.foo
|
2122
|
+
a: b
|
2123
|
+
@media bar
|
2124
|
+
c: d
|
2125
|
+
.baz
|
2126
|
+
e: f
|
2127
|
+
@media bip
|
2128
|
+
g: h
|
2129
|
+
|
2130
|
+
.other
|
2131
|
+
i: j
|
2132
|
+
SASS
|
2133
|
+
|
2134
|
+
assert_equal <<CSS, render(<<SASS, :style => :compact)
|
2135
|
+
.foo { a: b; }
|
2136
|
+
@media bar { .foo { c: d; } }
|
2137
|
+
.foo .baz { e: f; }
|
2138
|
+
@media bip { .foo .baz { g: h; } }
|
2139
|
+
|
2140
|
+
.other { i: j; }
|
2141
|
+
CSS
|
2142
|
+
.foo
|
2143
|
+
a: b
|
2144
|
+
@media bar
|
2145
|
+
c: d
|
2146
|
+
.baz
|
2147
|
+
e: f
|
2148
|
+
@media bip
|
2149
|
+
g: h
|
2150
|
+
|
2151
|
+
.other
|
2152
|
+
i: j
|
2153
|
+
SASS
|
2154
|
+
|
2155
|
+
assert_equal <<CSS, render(<<SASS, :style => :expanded)
|
2156
|
+
.foo {
|
2157
|
+
a: b;
|
2158
|
+
}
|
2159
|
+
@media bar {
|
2160
|
+
.foo {
|
2161
|
+
c: d;
|
2162
|
+
}
|
2163
|
+
}
|
2164
|
+
.foo .baz {
|
2165
|
+
e: f;
|
2166
|
+
}
|
2167
|
+
@media bip {
|
2168
|
+
.foo .baz {
|
2169
|
+
g: h;
|
2170
|
+
}
|
2171
|
+
}
|
2172
|
+
|
2173
|
+
.other {
|
2174
|
+
i: j;
|
2175
|
+
}
|
2176
|
+
CSS
|
2177
|
+
.foo
|
2178
|
+
a: b
|
2179
|
+
@media bar
|
2180
|
+
c: d
|
2181
|
+
.baz
|
2182
|
+
e: f
|
2183
|
+
@media bip
|
2184
|
+
g: h
|
2185
|
+
|
2186
|
+
.other
|
2187
|
+
i: j
|
2188
|
+
SASS
|
2189
|
+
end
|
2190
|
+
|
2191
|
+
def test_double_media_bubbling
|
2192
|
+
assert_equal <<CSS, render(<<SASS)
|
2193
|
+
@media bar and (a: b) {
|
2194
|
+
.foo {
|
2195
|
+
c: d; } }
|
2196
|
+
CSS
|
2197
|
+
@media bar
|
2198
|
+
@media (a: b)
|
2199
|
+
.foo
|
2200
|
+
c: d
|
2201
|
+
SASS
|
2202
|
+
|
2203
|
+
assert_equal <<CSS, render(<<SASS)
|
2204
|
+
@media bar {
|
2205
|
+
.foo {
|
2206
|
+
a: b; } }
|
2207
|
+
@media bar and (a: b) {
|
2208
|
+
.foo {
|
2209
|
+
c: d; } }
|
2210
|
+
CSS
|
2211
|
+
.foo
|
2212
|
+
@media bar
|
2213
|
+
a: b
|
2214
|
+
@media (a: b)
|
2215
|
+
c: d
|
2216
|
+
SASS
|
2217
|
+
end
|
2218
|
+
|
2219
|
+
def test_double_media_bubbling_with_commas
|
2220
|
+
assert_equal <<CSS, render(<<SASS)
|
2221
|
+
@media (a: b) and (e: f), (c: d) and (e: f), (a: b) and (g: h), (c: d) and (g: h) {
|
2222
|
+
.foo {
|
2223
|
+
c: d; } }
|
2224
|
+
CSS
|
2225
|
+
@media (a: b), (c: d)
|
2226
|
+
@media (e: f), (g: h)
|
2227
|
+
.foo
|
2228
|
+
c: d
|
2229
|
+
SASS
|
2230
|
+
end
|
2231
|
+
|
2232
|
+
def test_rule_media_rule_bubbling
|
2233
|
+
assert_equal <<CSS, render(<<SASS)
|
2234
|
+
@media bar {
|
2235
|
+
.foo {
|
2236
|
+
a: b;
|
2237
|
+
e: f; }
|
2238
|
+
.foo .baz {
|
2239
|
+
c: d; } }
|
2240
|
+
CSS
|
2241
|
+
.foo
|
2242
|
+
@media bar
|
2243
|
+
a: b
|
2244
|
+
.baz
|
2245
|
+
c: d
|
2246
|
+
e: f
|
2247
|
+
SASS
|
2248
|
+
end
|
2249
|
+
|
2250
|
+
def test_nested_media_around_properties
|
2251
|
+
assert_equal <<CSS, render(<<SASS)
|
2252
|
+
.outside {
|
2253
|
+
color: red;
|
2254
|
+
background: blue; }
|
2255
|
+
@media print {
|
2256
|
+
.outside {
|
2257
|
+
color: black; } }
|
2258
|
+
@media print and (a: b) {
|
2259
|
+
.outside .inside {
|
2260
|
+
border: 1px solid black; } }
|
2261
|
+
.outside .middle {
|
2262
|
+
display: block; }
|
2263
|
+
CSS
|
2264
|
+
.outside
|
2265
|
+
color: red
|
2266
|
+
@media print
|
2267
|
+
color: black
|
2268
|
+
.inside
|
2269
|
+
@media (a: b)
|
2270
|
+
border: 1px solid black
|
2271
|
+
background: blue
|
2272
|
+
.middle
|
2273
|
+
display: block
|
2274
|
+
SASS
|
2275
|
+
end
|
2276
|
+
|
2277
|
+
def test_media_with_parent_references
|
2278
|
+
sass_str = <<SASS
|
2279
|
+
.outside
|
2280
|
+
@media print
|
2281
|
+
&.inside
|
2282
|
+
border: 1px solid black
|
2283
|
+
SASS
|
2284
|
+
css_str = <<CSS
|
2285
|
+
@media print {
|
2286
|
+
.outside.inside {
|
2287
|
+
border: 1px solid black; } }
|
2288
|
+
CSS
|
2289
|
+
assert_equal css_str, render(sass_str)
|
2290
|
+
end
|
2291
|
+
|
2292
|
+
def test_eliminated_media_bubbling
|
2293
|
+
assert_equal <<CSS, render(<<SASS)
|
2294
|
+
@media screen {
|
2295
|
+
a: b; }
|
2296
|
+
CSS
|
2297
|
+
@media screen
|
2298
|
+
a: b
|
2299
|
+
@media print
|
2300
|
+
c: d
|
2301
|
+
SASS
|
2302
|
+
|
2303
|
+
assert_equal <<CSS, render(<<SASS)
|
2304
|
+
@media not print {
|
2305
|
+
a: b; }
|
2306
|
+
CSS
|
2307
|
+
@media not print
|
2308
|
+
a: b
|
2309
|
+
@media print
|
2310
|
+
c: d
|
2311
|
+
SASS
|
2312
|
+
|
2313
|
+
assert_equal <<CSS, render(<<SASS)
|
2314
|
+
@media not print {
|
2315
|
+
a: b; }
|
2316
|
+
CSS
|
2317
|
+
@media not print
|
2318
|
+
a: b
|
2319
|
+
@media not screen
|
2320
|
+
c: d
|
2321
|
+
SASS
|
2322
|
+
end
|
2323
|
+
|
2324
|
+
def test_non_eliminated_media_bubbling
|
2325
|
+
assert_equal <<CSS, render(<<SASS)
|
2326
|
+
@media screen {
|
2327
|
+
a: b; }
|
2328
|
+
@media screen and (a: b) {
|
2329
|
+
c: d; }
|
2330
|
+
CSS
|
2331
|
+
@media screen
|
2332
|
+
a: b
|
2333
|
+
@media screen and (a: b)
|
2334
|
+
c: d
|
2335
|
+
SASS
|
2336
|
+
|
2337
|
+
assert_equal <<CSS, render(<<SASS)
|
2338
|
+
@media not print {
|
2339
|
+
a: b; }
|
2340
|
+
@media screen {
|
2341
|
+
c: d; }
|
2342
|
+
CSS
|
2343
|
+
@media not print
|
2344
|
+
a: b
|
2345
|
+
@media screen
|
2346
|
+
c: d
|
2347
|
+
SASS
|
2348
|
+
|
2349
|
+
assert_equal <<CSS, render(<<SASS)
|
2350
|
+
@media only screen {
|
2351
|
+
a: b; }
|
2352
|
+
@media only screen and (a: b) {
|
2353
|
+
c: d; }
|
2354
|
+
CSS
|
2355
|
+
@media only screen
|
2356
|
+
a: b
|
2357
|
+
@media screen and (a: b)
|
2358
|
+
c: d
|
2359
|
+
SASS
|
2360
|
+
end
|
2361
|
+
|
2362
|
+
def test_directive_interpolation
|
2363
|
+
assert_equal <<CSS, render(<<SASS)
|
2364
|
+
@foo bar12 qux {
|
2365
|
+
a: b; }
|
2366
|
+
CSS
|
2367
|
+
$baz: 12
|
2368
|
+
@foo bar\#{$baz} qux
|
2369
|
+
a: b
|
2370
|
+
SASS
|
2371
|
+
end
|
2372
|
+
|
2373
|
+
def test_media_interpolation
|
2374
|
+
assert_equal <<CSS, render(<<SASS)
|
2375
|
+
@media bar12 {
|
2376
|
+
a: b; }
|
2377
|
+
CSS
|
2378
|
+
$baz: 12
|
2379
|
+
@media bar\#{$baz}
|
2380
|
+
a: b
|
2381
|
+
SASS
|
2382
|
+
end
|
2383
|
+
|
2384
|
+
def test_variables_in_media
|
2385
|
+
assert_equal <<CSS, render(<<SASS)
|
2386
|
+
@media screen and (-webkit-min-device-pixel-ratio-foo: 25), only print {
|
2387
|
+
a: b; }
|
2388
|
+
CSS
|
2389
|
+
$media1: screen
|
2390
|
+
$media2: print
|
2391
|
+
$var: -webkit-min-device-pixel-ratio
|
2392
|
+
$val: 20
|
2393
|
+
@media \#{$media1} and ($var + "-foo": $val + 5), only \#{$media2}
|
2394
|
+
a: b
|
2395
|
+
SASS
|
2396
|
+
end
|
2397
|
+
|
2398
|
+
# Regression tests
|
2399
|
+
|
2400
|
+
def test_parent_mixin_in_content_nested
|
2401
|
+
assert_equal(<<CSS, render(<<SASS))
|
2402
|
+
a {
|
2403
|
+
b: c; }
|
2404
|
+
CSS
|
2405
|
+
=foo
|
2406
|
+
@content
|
2407
|
+
|
2408
|
+
=bar
|
2409
|
+
+foo
|
2410
|
+
+foo
|
2411
|
+
a
|
2412
|
+
b: c
|
2413
|
+
|
2414
|
+
+bar
|
2415
|
+
SASS
|
2416
|
+
end
|
2417
|
+
|
2418
|
+
def test_supports_bubbles
|
2419
|
+
assert_equal <<CSS, render(<<SASS)
|
2420
|
+
parent {
|
2421
|
+
background: orange; }
|
2422
|
+
@supports (perspective: 10px) or (-moz-perspective: 10px) {
|
2423
|
+
parent child {
|
2424
|
+
background: blue; } }
|
2425
|
+
CSS
|
2426
|
+
parent
|
2427
|
+
background: orange
|
2428
|
+
@supports (perspective: 10px) or (-moz-perspective: 10px)
|
2429
|
+
child
|
2430
|
+
background: blue
|
2431
|
+
SASS
|
2432
|
+
end
|
2433
|
+
|
2434
|
+
def test_line_numbers_with_dos_line_endings
|
2435
|
+
assert_equal <<CSS, render(<<SASS, :line_comments => true)
|
2436
|
+
/* line 5, test_line_numbers_with_dos_line_endings_inline.sass */
|
2437
|
+
.foo {
|
2438
|
+
a: b; }
|
2439
|
+
CSS
|
2440
|
+
\r
|
2441
|
+
\r
|
2442
|
+
\r
|
2443
|
+
\r
|
2444
|
+
.foo
|
2445
|
+
a: b
|
2446
|
+
SASS
|
2447
|
+
end
|
2448
|
+
|
2449
|
+
def test_variable_in_media_in_mixin
|
2450
|
+
assert_equal <<CSS, render(<<SASS)
|
2451
|
+
@media screen and (min-width: 10px) {
|
2452
|
+
body {
|
2453
|
+
background: red; } }
|
2454
|
+
@media screen and (min-width: 20px) {
|
2455
|
+
body {
|
2456
|
+
background: blue; } }
|
2457
|
+
CSS
|
2458
|
+
@mixin respond-to($width)
|
2459
|
+
@media screen and (min-width: $width)
|
2460
|
+
@content
|
2461
|
+
|
2462
|
+
body
|
2463
|
+
@include respond-to(10px)
|
2464
|
+
background: red
|
2465
|
+
@include respond-to(20px)
|
2466
|
+
background: blue
|
2467
|
+
SASS
|
2468
|
+
end
|
2469
|
+
|
2470
|
+
def test_tricky_mixin_loop_exception
|
2471
|
+
render <<SASS
|
2472
|
+
@mixin foo($a)
|
2473
|
+
@if $a
|
2474
|
+
@include foo(false)
|
2475
|
+
@include foo(true)
|
2476
|
+
@else
|
2477
|
+
a: b
|
2478
|
+
|
2479
|
+
a
|
2480
|
+
@include foo(true)
|
2481
|
+
SASS
|
2482
|
+
assert(false, "Exception not raised")
|
2483
|
+
rescue Sass::SyntaxError => err
|
2484
|
+
assert_equal("An @include loop has been found: foo includes itself", err.message)
|
2485
|
+
assert_hash_has(err.sass_backtrace[0], :mixin => "foo", :line => 3)
|
2486
|
+
end
|
2487
|
+
|
2488
|
+
def test_interpolated_comment_in_mixin
|
2489
|
+
assert_equal <<CSS, render(<<SASS)
|
2490
|
+
/*! color: red */
|
2491
|
+
.foo {
|
2492
|
+
color: red; }
|
2493
|
+
|
2494
|
+
/*! color: blue */
|
2495
|
+
.foo {
|
2496
|
+
color: blue; }
|
2497
|
+
|
2498
|
+
/*! color: green */
|
2499
|
+
.foo {
|
2500
|
+
color: green; }
|
2501
|
+
CSS
|
2502
|
+
=foo($var)
|
2503
|
+
/*! color: \#{$var}
|
2504
|
+
.foo
|
2505
|
+
color: $var
|
2506
|
+
|
2507
|
+
+foo(red)
|
2508
|
+
+foo(blue)
|
2509
|
+
+foo(green)
|
2510
|
+
SASS
|
2511
|
+
end
|
2512
|
+
|
2513
|
+
def test_parens_in_mixins
|
2514
|
+
assert_equal(<<CSS, render(<<SASS))
|
2515
|
+
.foo {
|
2516
|
+
color: #01ff7f;
|
2517
|
+
background-color: #000102; }
|
2518
|
+
CSS
|
2519
|
+
=foo($c1, $c2: rgb(0, 1, 2))
|
2520
|
+
color: $c1
|
2521
|
+
background-color: $c2
|
2522
|
+
|
2523
|
+
.foo
|
2524
|
+
+foo(rgb(1,255,127))
|
2525
|
+
SASS
|
2526
|
+
end
|
2527
|
+
|
2528
|
+
def test_comment_beneath_prop
|
2529
|
+
assert_equal(<<RESULT, render(<<SOURCE))
|
2530
|
+
.box {
|
2531
|
+
border-style: solid; }
|
2532
|
+
RESULT
|
2533
|
+
.box
|
2534
|
+
:border
|
2535
|
+
//:color black
|
2536
|
+
:style solid
|
2537
|
+
SOURCE
|
2538
|
+
|
2539
|
+
assert_equal(<<RESULT, render(<<SOURCE))
|
2540
|
+
.box {
|
2541
|
+
/* :color black */
|
2542
|
+
border-style: solid; }
|
2543
|
+
RESULT
|
2544
|
+
.box
|
2545
|
+
:border
|
2546
|
+
/* :color black
|
2547
|
+
:style solid
|
2548
|
+
SOURCE
|
2549
|
+
|
2550
|
+
assert_equal(<<RESULT, render(<<SOURCE, :style => :compressed))
|
2551
|
+
.box{border-style:solid}
|
2552
|
+
RESULT
|
2553
|
+
.box
|
2554
|
+
:border
|
2555
|
+
/*:color black
|
2556
|
+
:style solid
|
2557
|
+
SOURCE
|
2558
|
+
end
|
2559
|
+
|
2560
|
+
def test_compressed_comment_beneath_directive
|
2561
|
+
assert_equal(<<RESULT, render(<<SOURCE, :style => :compressed))
|
2562
|
+
@foo{a:b}
|
2563
|
+
RESULT
|
2564
|
+
@foo
|
2565
|
+
a: b
|
2566
|
+
/*b: c
|
2567
|
+
SOURCE
|
2568
|
+
end
|
2569
|
+
|
2570
|
+
def test_comment_with_crazy_indentation
|
2571
|
+
assert_equal(<<CSS, render(<<SASS))
|
2572
|
+
/* This is a loud comment:
|
2573
|
+
* Where the indentation is wonky. */
|
2574
|
+
.comment {
|
2575
|
+
width: 1px; }
|
2576
|
+
CSS
|
2577
|
+
/*
|
2578
|
+
This is a loud comment:
|
2579
|
+
Where the indentation is wonky.
|
2580
|
+
//
|
2581
|
+
This is a silent comment:
|
2582
|
+
Where the indentation is wonky.
|
2583
|
+
.comment
|
2584
|
+
width: 1px
|
2585
|
+
SASS
|
2586
|
+
end
|
2587
|
+
|
2588
|
+
def test_plus_with_space
|
2589
|
+
assert_equal(<<CSS, render(<<SASS))
|
2590
|
+
a + b {
|
2591
|
+
color: green; }
|
2592
|
+
CSS
|
2593
|
+
a
|
2594
|
+
+ b
|
2595
|
+
color: green
|
2596
|
+
SASS
|
2597
|
+
end
|
2598
|
+
|
2599
|
+
def test_empty_line_comment
|
2600
|
+
assert_equal(<<CSS, render(<<SASS))
|
2601
|
+
/* Foo
|
2602
|
+
*
|
2603
|
+
* Bar */
|
2604
|
+
CSS
|
2605
|
+
/*
|
2606
|
+
Foo
|
2607
|
+
|
2608
|
+
Bar
|
2609
|
+
SASS
|
2610
|
+
end
|
2611
|
+
|
2612
|
+
def test_empty_comment
|
2613
|
+
assert_equal(<<CSS, render(<<SASS))
|
2614
|
+
/* */
|
2615
|
+
a {
|
2616
|
+
/* */
|
2617
|
+
b: c; }
|
2618
|
+
CSS
|
2619
|
+
/*
|
2620
|
+
a
|
2621
|
+
/*
|
2622
|
+
b: c
|
2623
|
+
SASS
|
2624
|
+
end
|
2625
|
+
|
2626
|
+
def test_options_available_in_environment
|
2627
|
+
assert_equal(<<CSS, render(<<SASS))
|
2628
|
+
a {
|
2629
|
+
b: nested; }
|
2630
|
+
CSS
|
2631
|
+
a
|
2632
|
+
b: option("style")
|
2633
|
+
SASS
|
2634
|
+
end
|
2635
|
+
|
2636
|
+
def test_mixin_no_arg_error
|
2637
|
+
assert_raise_message(Sass::SyntaxError, 'Invalid CSS after "($bar,": expected variable (e.g. $foo), was ")"') do
|
2638
|
+
render(<<SASS)
|
2639
|
+
=foo($bar,)
|
2640
|
+
bip: bap
|
2641
|
+
SASS
|
2642
|
+
end
|
2643
|
+
end
|
2644
|
+
|
2645
|
+
def test_import_with_commas_in_url
|
2646
|
+
assert_equal <<CSS, render(<<SASS)
|
2647
|
+
@import url(foo.css?bar,baz);
|
2648
|
+
CSS
|
2649
|
+
@import url(foo.css?bar,baz)
|
2650
|
+
SASS
|
2651
|
+
end
|
2652
|
+
|
2653
|
+
def test_silent_comment_in_prop_val_after_important
|
2654
|
+
assert_equal(<<CSS, render(<<SASS))
|
2655
|
+
.advanced {
|
2656
|
+
display: none !important; }
|
2657
|
+
CSS
|
2658
|
+
.advanced
|
2659
|
+
display: none !important // yeah, yeah. it's not really a style anyway.
|
2660
|
+
SASS
|
2661
|
+
end
|
2662
|
+
|
2663
|
+
def test_mixin_with_keyword_args
|
2664
|
+
assert_equal <<CSS, render(<<SASS)
|
2665
|
+
.mixed {
|
2666
|
+
required: foo;
|
2667
|
+
arg1: default-val1;
|
2668
|
+
arg2: non-default-val2; }
|
2669
|
+
CSS
|
2670
|
+
=a-mixin($required, $arg1: default-val1, $arg2: default-val2)
|
2671
|
+
required: $required
|
2672
|
+
arg1: $arg1
|
2673
|
+
arg2: $arg2
|
2674
|
+
.mixed
|
2675
|
+
+a-mixin(foo, $arg2: non-default-val2)
|
2676
|
+
SASS
|
2677
|
+
end
|
2678
|
+
|
2679
|
+
def test_mixin_with_keyword_arg_variable_value
|
2680
|
+
assert_equal <<CSS, render(<<SASS)
|
2681
|
+
.mixed {
|
2682
|
+
required: foo;
|
2683
|
+
arg1: default-val1;
|
2684
|
+
arg2: a-value; }
|
2685
|
+
CSS
|
2686
|
+
=a-mixin($required, $arg1: default-val1, $arg2: default-val2)
|
2687
|
+
required: $required
|
2688
|
+
arg1: $arg1
|
2689
|
+
arg2: $arg2
|
2690
|
+
.mixed
|
2691
|
+
$a-value: a-value
|
2692
|
+
+a-mixin(foo, $arg2: $a-value)
|
2693
|
+
SASS
|
2694
|
+
end
|
2695
|
+
|
2696
|
+
def test_mixin_keyword_args_handle_variable_underscore_dash_equivalence
|
2697
|
+
assert_equal <<CSS, render(<<SASS)
|
2698
|
+
.mixed {
|
2699
|
+
required: foo;
|
2700
|
+
arg1: non-default-val1;
|
2701
|
+
arg2: non-default-val2; }
|
2702
|
+
CSS
|
2703
|
+
=a-mixin($required, $arg-1: default-val1, $arg_2: default-val2)
|
2704
|
+
required: $required
|
2705
|
+
arg1: $arg_1
|
2706
|
+
arg2: $arg-2
|
2707
|
+
.mixed
|
2708
|
+
+a-mixin(foo, $arg-2: non-default-val2, $arg_1: non-default-val1)
|
2709
|
+
SASS
|
2710
|
+
end
|
2711
|
+
|
2712
|
+
def test_passing_required_args_as_a_keyword_arg
|
2713
|
+
assert_equal <<CSS, render(<<SASS)
|
2714
|
+
.mixed {
|
2715
|
+
required: foo;
|
2716
|
+
arg1: default-val1;
|
2717
|
+
arg2: default-val2; }
|
2718
|
+
CSS
|
2719
|
+
=a-mixin($required, $arg1: default-val1, $arg2: default-val2)
|
2720
|
+
required: $required
|
2721
|
+
arg1: $arg1
|
2722
|
+
arg2: $arg2
|
2723
|
+
.mixed
|
2724
|
+
+a-mixin($required: foo)
|
2725
|
+
SASS
|
2726
|
+
end
|
2727
|
+
|
2728
|
+
def test_passing_all_as_keyword_args_in_opposite_order
|
2729
|
+
assert_equal <<CSS, render(<<SASS)
|
2730
|
+
.mixed {
|
2731
|
+
required: foo;
|
2732
|
+
arg1: non-default-val1;
|
2733
|
+
arg2: non-default-val2; }
|
2734
|
+
CSS
|
2735
|
+
=a-mixin($required, $arg1: default-val1, $arg2: default-val2)
|
2736
|
+
required: $required
|
2737
|
+
arg1: $arg1
|
2738
|
+
arg2: $arg2
|
2739
|
+
.mixed
|
2740
|
+
+a-mixin($arg2: non-default-val2, $arg1: non-default-val1, $required: foo)
|
2741
|
+
SASS
|
2742
|
+
end
|
2743
|
+
|
2744
|
+
def test_function_output_with_comma
|
2745
|
+
assert_equal <<CSS, render(<<SASS)
|
2746
|
+
foo {
|
2747
|
+
a: b(c), d(e); }
|
2748
|
+
CSS
|
2749
|
+
foo
|
2750
|
+
a: b(c), d(e)
|
2751
|
+
SASS
|
2752
|
+
end
|
2753
|
+
|
2754
|
+
def test_interpolation_with_comma
|
2755
|
+
assert_equal <<CSS, render(<<SASS)
|
2756
|
+
foo {
|
2757
|
+
a: foo, bar; }
|
2758
|
+
CSS
|
2759
|
+
$foo: foo
|
2760
|
+
foo
|
2761
|
+
a: \#{$foo}, bar
|
2762
|
+
SASS
|
2763
|
+
end
|
2764
|
+
|
2765
|
+
def test_string_interpolation_with_comma
|
2766
|
+
assert_equal <<CSS, render(<<SASS)
|
2767
|
+
foo {
|
2768
|
+
a: "bip foo bap", bar; }
|
2769
|
+
CSS
|
2770
|
+
$foo: foo
|
2771
|
+
foo
|
2772
|
+
a: "bip \#{$foo} bap", bar
|
2773
|
+
SASS
|
2774
|
+
end
|
2775
|
+
|
2776
|
+
def test_unknown_directive
|
2777
|
+
assert_equal <<CSS, render(<<SASS)
|
2778
|
+
@baz {
|
2779
|
+
c: d; }
|
2780
|
+
CSS
|
2781
|
+
@baz
|
2782
|
+
c: d
|
2783
|
+
SASS
|
2784
|
+
end
|
2785
|
+
|
2786
|
+
def test_loud_comment_interpolations_can_be_escaped
|
2787
|
+
assert_equal <<CSS, render(<<SASS)
|
2788
|
+
/* \#{foo} */
|
2789
|
+
CSS
|
2790
|
+
/* \\\#{foo}
|
2791
|
+
SASS
|
2792
|
+
assert_equal <<CSS, render(<<SASS)
|
2793
|
+
/*! \#{foo} */
|
2794
|
+
CSS
|
2795
|
+
/*! \\\#{foo}
|
2796
|
+
SASS
|
2797
|
+
end
|
2798
|
+
|
2799
|
+
def test_selector_compression
|
2800
|
+
assert_equal <<CSS, render(<<SASS, :style => :compressed)
|
2801
|
+
a>b,c+d,:-moz-any(e,f,g){h:i}
|
2802
|
+
CSS
|
2803
|
+
a > b, c + d, :-moz-any(e, f, g)
|
2804
|
+
h: i
|
2805
|
+
SASS
|
2806
|
+
end
|
2807
|
+
|
2808
|
+
def test_comment_like_selector
|
2809
|
+
assert_raise_message(Sass::SyntaxError, 'Invalid CSS after "/": expected identifier, was " foo"') {render(<<SASS)}
|
2810
|
+
/ foo
|
2811
|
+
a: b
|
2812
|
+
SASS
|
2813
|
+
end
|
2814
|
+
|
2815
|
+
def test_nested_empty_directive
|
2816
|
+
assert_equal <<CSS, render(<<SASS)
|
2817
|
+
@media screen {
|
2818
|
+
.foo {
|
2819
|
+
a: b; }
|
2820
|
+
|
2821
|
+
@unknown-directive; }
|
2822
|
+
CSS
|
2823
|
+
@media screen
|
2824
|
+
.foo
|
2825
|
+
a: b
|
2826
|
+
|
2827
|
+
@unknown-directive
|
2828
|
+
SASS
|
2829
|
+
end
|
2830
|
+
|
2831
|
+
# Encodings
|
2832
|
+
|
2833
|
+
unless Sass::Util.ruby1_8?
|
2834
|
+
def test_encoding_error
|
2835
|
+
render("foo\nbar\nb\xFEaz".force_encoding("utf-8"))
|
2836
|
+
assert(false, "Expected exception")
|
2837
|
+
rescue Sass::SyntaxError => e
|
2838
|
+
assert_equal(3, e.sass_line)
|
2839
|
+
assert_equal('Invalid UTF-8 character "\xFE"', e.message)
|
2840
|
+
end
|
2841
|
+
|
2842
|
+
def test_ascii_incompatible_encoding_error
|
2843
|
+
template = "foo\nbar\nb_z".encode("utf-16le")
|
2844
|
+
template[9] = "\xFE".force_encoding("utf-16le")
|
2845
|
+
render(template)
|
2846
|
+
assert(false, "Expected exception")
|
2847
|
+
rescue Sass::SyntaxError => e
|
2848
|
+
assert_equal(3, e.sass_line)
|
2849
|
+
assert_equal('Invalid UTF-16LE character "\xFE"', e.message)
|
2850
|
+
end
|
2851
|
+
|
2852
|
+
def test_same_charset_as_encoding
|
2853
|
+
assert_renders_encoded(<<CSS, <<SASS)
|
2854
|
+
@charset "UTF-8";
|
2855
|
+
fóó {
|
2856
|
+
a: b; }
|
2857
|
+
CSS
|
2858
|
+
@charset "utf-8"
|
2859
|
+
fóó
|
2860
|
+
a: b
|
2861
|
+
SASS
|
2862
|
+
end
|
2863
|
+
|
2864
|
+
def test_different_charset_than_encoding
|
2865
|
+
assert_renders_encoded(<<CSS.force_encoding("IBM866"), <<SASS)
|
2866
|
+
@charset "IBM866";
|
2867
|
+
fóó {
|
2868
|
+
a: b; }
|
2869
|
+
CSS
|
2870
|
+
@charset "ibm866"
|
2871
|
+
fóó
|
2872
|
+
a: b
|
2873
|
+
SASS
|
2874
|
+
end
|
2875
|
+
|
2876
|
+
def test_different_encoding_than_system
|
2877
|
+
assert_renders_encoded(<<CSS.encode("IBM866"), <<SASS.encode("IBM866"))
|
2878
|
+
@charset "IBM866";
|
2879
|
+
тАЬ {
|
2880
|
+
a: b; }
|
2881
|
+
CSS
|
2882
|
+
тАЬ
|
2883
|
+
a: b
|
2884
|
+
SASS
|
2885
|
+
end
|
2886
|
+
|
2887
|
+
def test_multibyte_charset
|
2888
|
+
assert_renders_encoded(<<CSS.encode("UTF-16LE"), <<SASS.encode("UTF-16LE").force_encoding("UTF-8"))
|
2889
|
+
@charset "UTF-16LE";
|
2890
|
+
fóó {
|
2891
|
+
a: b; }
|
2892
|
+
CSS
|
2893
|
+
@charset "utf-16le"
|
2894
|
+
fóó
|
2895
|
+
a: b
|
2896
|
+
SASS
|
2897
|
+
end
|
2898
|
+
|
2899
|
+
def test_multibyte_charset_without_endian_specifier
|
2900
|
+
assert_renders_encoded(<<CSS.encode("UTF-32BE"), <<SASS.encode("UTF-32BE").force_encoding("UTF-8"))
|
2901
|
+
@charset "UTF-32BE";
|
2902
|
+
fóó {
|
2903
|
+
a: b; }
|
2904
|
+
CSS
|
2905
|
+
@charset "utf-32"
|
2906
|
+
fóó
|
2907
|
+
a: b
|
2908
|
+
SASS
|
2909
|
+
end
|
2910
|
+
|
2911
|
+
def test_utf8_bom
|
2912
|
+
assert_renders_encoded(<<CSS, <<SASS.force_encoding("BINARY"))
|
2913
|
+
@charset "UTF-8";
|
2914
|
+
fóó {
|
2915
|
+
a: b; }
|
2916
|
+
CSS
|
2917
|
+
\uFEFFfóó
|
2918
|
+
a: b
|
2919
|
+
SASS
|
2920
|
+
end
|
2921
|
+
|
2922
|
+
def test_utf16le_bom
|
2923
|
+
assert_renders_encoded(<<CSS.encode("UTF-16LE"), <<SASS.encode("UTF-16LE").force_encoding("BINARY"))
|
2924
|
+
@charset "UTF-16LE";
|
2925
|
+
fóó {
|
2926
|
+
a: b; }
|
2927
|
+
CSS
|
2928
|
+
\uFEFFfóó
|
2929
|
+
a: b
|
2930
|
+
SASS
|
2931
|
+
end
|
2932
|
+
|
2933
|
+
def test_utf32be_bom
|
2934
|
+
assert_renders_encoded(<<CSS.encode("UTF-32BE"), <<SASS.encode("UTF-32BE").force_encoding("BINARY"))
|
2935
|
+
@charset "UTF-32BE";
|
2936
|
+
fóó {
|
2937
|
+
a: b; }
|
2938
|
+
CSS
|
2939
|
+
\uFEFFfóó
|
2940
|
+
a: b
|
2941
|
+
SASS
|
2942
|
+
end
|
2943
|
+
|
2944
|
+
# Encoding Regression Test
|
2945
|
+
|
2946
|
+
def test_multibyte_prop_name
|
2947
|
+
assert_equal(<<CSS, render(<<SASS))
|
2948
|
+
@charset "UTF-8";
|
2949
|
+
#bar {
|
2950
|
+
cölor: blue; }
|
2951
|
+
CSS
|
2952
|
+
#bar
|
2953
|
+
cölor: blue
|
2954
|
+
SASS
|
2955
|
+
end
|
2956
|
+
|
2957
|
+
def test_multibyte_and_interpolation
|
2958
|
+
assert_equal(<<CSS, render(<<SCSS, :syntax => :scss))
|
2959
|
+
#bar {
|
2960
|
+
background: a 0%; }
|
2961
|
+
CSS
|
2962
|
+
#bar {
|
2963
|
+
//
|
2964
|
+
background: \#{a} 0%;
|
2965
|
+
}
|
2966
|
+
SCSS
|
2967
|
+
end
|
2968
|
+
end
|
2969
|
+
|
2970
|
+
def test_original_filename_set
|
2971
|
+
importer = MockImporter.new
|
2972
|
+
importer.add_import("imported", "div{color:red}")
|
2973
|
+
|
2974
|
+
original_filename = filename_for_test
|
2975
|
+
engine = Sass::Engine.new('@import "imported"; div{color:blue}',
|
2976
|
+
:filename => original_filename, :load_paths => [importer], :syntax => :scss, :importer => importer)
|
2977
|
+
engine.render
|
2978
|
+
|
2979
|
+
assert_equal original_filename, engine.options[:original_filename]
|
2980
|
+
assert_equal original_filename, importer.engine("imported").options[:original_filename]
|
2981
|
+
end
|
2982
|
+
|
2983
|
+
def test_deprecated_PRECISION
|
2984
|
+
assert_warning(<<END) {assert_equal 100_000.0, Sass::Script::Number::PRECISION}
|
2985
|
+
Sass::Script::Number::PRECISION is deprecated and will be removed in a future release. Use Sass::Script::Number.precision_factor instead.
|
2986
|
+
END
|
2987
|
+
end
|
2988
|
+
|
2989
|
+
def test_changing_precision
|
2990
|
+
old_precision = Sass::Script::Number.precision
|
2991
|
+
begin
|
2992
|
+
Sass::Script::Number.precision = 8
|
2993
|
+
assert_equal <<CSS, render(<<SASS)
|
2994
|
+
div {
|
2995
|
+
maximum: 1.00000001;
|
2996
|
+
too-much: 1.0; }
|
2997
|
+
CSS
|
2998
|
+
div
|
2999
|
+
maximum : 1.00000001
|
3000
|
+
too-much: 1.000000001
|
3001
|
+
SASS
|
3002
|
+
ensure
|
3003
|
+
Sass::Script::Number.precision = old_precision
|
3004
|
+
end
|
3005
|
+
end
|
3006
|
+
|
3007
|
+
def test_content
|
3008
|
+
assert_equal <<CSS, render(<<SASS)
|
3009
|
+
.children {
|
3010
|
+
background-color: red;
|
3011
|
+
color: blue;
|
3012
|
+
border-color: red; }
|
3013
|
+
CSS
|
3014
|
+
$color: blue
|
3015
|
+
=context($class, $color: red)
|
3016
|
+
.\#{$class}
|
3017
|
+
background-color: $color
|
3018
|
+
@content
|
3019
|
+
border-color: $color
|
3020
|
+
+context(children)
|
3021
|
+
color: $color
|
3022
|
+
SASS
|
3023
|
+
end
|
3024
|
+
|
3025
|
+
def test_selector_in_content
|
3026
|
+
assert_equal <<CSS, render(<<SASS)
|
3027
|
+
.parent {
|
3028
|
+
background-color: red;
|
3029
|
+
border-color: red; }
|
3030
|
+
.parent .children {
|
3031
|
+
color: blue; }
|
3032
|
+
CSS
|
3033
|
+
$color: blue
|
3034
|
+
=context($class, $color: red)
|
3035
|
+
.\#{$class}
|
3036
|
+
background-color: $color
|
3037
|
+
@content
|
3038
|
+
border-color: $color
|
3039
|
+
+context(parent)
|
3040
|
+
.children
|
3041
|
+
color: $color
|
3042
|
+
SASS
|
3043
|
+
end
|
3044
|
+
|
3045
|
+
def test_using_parent_mixin_in_content
|
3046
|
+
assert_equal <<CSS, render(<<SASS)
|
3047
|
+
.parent {
|
3048
|
+
before-color: red;
|
3049
|
+
after-color: red; }
|
3050
|
+
.parent .sibling {
|
3051
|
+
before-color: yellow;
|
3052
|
+
after-color: yellow; }
|
3053
|
+
.parent .sibling .child {
|
3054
|
+
before-color: green;
|
3055
|
+
color: blue;
|
3056
|
+
after-color: green; }
|
3057
|
+
CSS
|
3058
|
+
$color: blue
|
3059
|
+
=context($class, $color: red)
|
3060
|
+
.\#{$class}
|
3061
|
+
before-color: $color
|
3062
|
+
@content
|
3063
|
+
after-color: $color
|
3064
|
+
+context(parent)
|
3065
|
+
+context(sibling, $color: yellow)
|
3066
|
+
+context(child, $color: green)
|
3067
|
+
color: $color
|
3068
|
+
SASS
|
3069
|
+
end
|
3070
|
+
|
3071
|
+
def test_content_more_than_once
|
3072
|
+
assert_equal <<CSS, render(<<SASS)
|
3073
|
+
.once {
|
3074
|
+
color: blue; }
|
3075
|
+
|
3076
|
+
.twice {
|
3077
|
+
color: blue; }
|
3078
|
+
CSS
|
3079
|
+
$color: blue
|
3080
|
+
=context($class, $color: red)
|
3081
|
+
.once
|
3082
|
+
@content
|
3083
|
+
.twice
|
3084
|
+
@content
|
3085
|
+
+context(parent)
|
3086
|
+
color: $color
|
3087
|
+
SASS
|
3088
|
+
end
|
3089
|
+
|
3090
|
+
def test_content_with_variable
|
3091
|
+
assert_equal <<CSS, render(<<SASS)
|
3092
|
+
.foo {
|
3093
|
+
a: 1px; }
|
3094
|
+
CSS
|
3095
|
+
=foo
|
3096
|
+
.foo
|
3097
|
+
@content
|
3098
|
+
+foo
|
3099
|
+
$a: 1px
|
3100
|
+
a: $a
|
3101
|
+
SASS
|
3102
|
+
end
|
3103
|
+
|
3104
|
+
def test_nested_content_blocks
|
3105
|
+
assert_equal <<CSS, render(<<SASS)
|
3106
|
+
.foo {
|
3107
|
+
a: foo; }
|
3108
|
+
.foo .bar {
|
3109
|
+
a: bar; }
|
3110
|
+
.foo .bar .baz {
|
3111
|
+
a: baz; }
|
3112
|
+
.foo .bar .baz .outside {
|
3113
|
+
a: outside;
|
3114
|
+
color: red; }
|
3115
|
+
CSS
|
3116
|
+
$a: outside
|
3117
|
+
=baz($a: baz)
|
3118
|
+
.baz
|
3119
|
+
a: $a
|
3120
|
+
@content
|
3121
|
+
=bar($a: bar)
|
3122
|
+
.bar
|
3123
|
+
a: $a
|
3124
|
+
+baz
|
3125
|
+
@content
|
3126
|
+
=foo($a: foo)
|
3127
|
+
.foo
|
3128
|
+
a: $a
|
3129
|
+
+bar
|
3130
|
+
@content
|
3131
|
+
+foo
|
3132
|
+
.outside
|
3133
|
+
a: $a
|
3134
|
+
color: red
|
3135
|
+
SASS
|
3136
|
+
end
|
3137
|
+
|
3138
|
+
def test_content_not_seen_through_mixin
|
3139
|
+
assert_equal <<CSS, render(<<SASS)
|
3140
|
+
a foo {
|
3141
|
+
mixin: foo;
|
3142
|
+
a: b; }
|
3143
|
+
a foo bar {
|
3144
|
+
mixin: bar; }
|
3145
|
+
CSS
|
3146
|
+
=foo
|
3147
|
+
foo
|
3148
|
+
mixin: foo
|
3149
|
+
@content
|
3150
|
+
+bar
|
3151
|
+
=bar
|
3152
|
+
bar
|
3153
|
+
mixin: bar
|
3154
|
+
@content
|
3155
|
+
a
|
3156
|
+
+foo
|
3157
|
+
a: b
|
3158
|
+
SASS
|
3159
|
+
end
|
3160
|
+
|
3161
|
+
def test_content_backtrace_for_perform
|
3162
|
+
render(<<SASS)
|
3163
|
+
=foo
|
3164
|
+
@content
|
3165
|
+
|
3166
|
+
a
|
3167
|
+
+foo
|
3168
|
+
b: 1em + 2px
|
3169
|
+
SASS
|
3170
|
+
assert(false, "Expected exception")
|
3171
|
+
rescue Sass::SyntaxError => e
|
3172
|
+
assert_equal([
|
3173
|
+
{:mixin => '@content', :line => 6, :filename => 'test_content_backtrace_for_perform_inline.sass'},
|
3174
|
+
{:mixin => 'foo', :line => 2, :filename => 'test_content_backtrace_for_perform_inline.sass'},
|
3175
|
+
{:line => 5, :filename => 'test_content_backtrace_for_perform_inline.sass'},
|
3176
|
+
], e.sass_backtrace)
|
3177
|
+
end
|
3178
|
+
|
3179
|
+
def test_content_backtrace_for_cssize
|
3180
|
+
render(<<SASS)
|
3181
|
+
=foo
|
3182
|
+
@content
|
3183
|
+
|
3184
|
+
a
|
3185
|
+
+foo
|
3186
|
+
@extend foo bar baz
|
3187
|
+
SASS
|
3188
|
+
assert(false, "Expected exception")
|
3189
|
+
rescue Sass::SyntaxError => e
|
3190
|
+
assert_equal([
|
3191
|
+
{:mixin => '@content', :line => 6, :filename => 'test_content_backtrace_for_cssize_inline.sass'},
|
3192
|
+
{:mixin => 'foo', :line => 2, :filename => 'test_content_backtrace_for_cssize_inline.sass'},
|
3193
|
+
{:line => 5, :filename => 'test_content_backtrace_for_cssize_inline.sass'},
|
3194
|
+
], e.sass_backtrace)
|
3195
|
+
end
|
3196
|
+
|
3197
|
+
private
|
3198
|
+
|
3199
|
+
def assert_hash_has(hash, expected)
|
3200
|
+
expected.each {|k, v| assert_equal(v, hash[k])}
|
3201
|
+
end
|
3202
|
+
|
3203
|
+
def assert_renders_encoded(css, sass)
|
3204
|
+
result = render(sass)
|
3205
|
+
assert_equal css.encoding, result.encoding
|
3206
|
+
assert_equal css, result
|
3207
|
+
end
|
3208
|
+
|
3209
|
+
def render(sass, options = {})
|
3210
|
+
munge_filename options
|
3211
|
+
options[:importer] ||= MockImporter.new
|
3212
|
+
Sass::Engine.new(sass, options).render
|
3213
|
+
end
|
3214
|
+
|
3215
|
+
def renders_correctly(name, options={})
|
3216
|
+
sass_file = load_file(name, "sass")
|
3217
|
+
css_file = load_file(name, "css")
|
3218
|
+
options[:filename] ||= filename(name, "sass")
|
3219
|
+
options[:syntax] ||= :sass
|
3220
|
+
options[:css_filename] ||= filename(name, "css")
|
3221
|
+
css_result = Sass::Engine.new(sass_file, options).render
|
3222
|
+
assert_equal css_file, css_result
|
3223
|
+
end
|
3224
|
+
|
3225
|
+
def load_file(name, type = "sass")
|
3226
|
+
@result = ''
|
3227
|
+
File.new(filename(name, type)).each_line { |l| @result += l }
|
3228
|
+
@result
|
3229
|
+
end
|
3230
|
+
|
3231
|
+
def filename(name, type)
|
3232
|
+
File.dirname(__FILE__) + "/#{type == 'sass' ? 'templates' : 'results'}/#{name}.#{type}"
|
3233
|
+
end
|
3234
|
+
|
3235
|
+
def sassc_path(template)
|
3236
|
+
sassc_path = File.join(File.dirname(__FILE__) + "/templates/#{template}.sass")
|
3237
|
+
engine = Sass::Engine.new("", :filename => sassc_path,
|
3238
|
+
:importer => Sass::Importers::Filesystem.new("."))
|
3239
|
+
key = engine.send(:sassc_key)
|
3240
|
+
File.join(engine.options[:cache_location], key)
|
3241
|
+
end
|
3242
|
+
end
|
3243
|
+
|