torquebox-console 0.2.5 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/console.rb +7 -0
- data/dependencies.rb +7 -7
- data/lib/torquebox/console/client.rb +5 -1
- data/lib/torquebox/console/version.rb +1 -1
- data/public/console.js +22 -12
- data/stomplets/torque_box_console.rb +19 -6
- data/views/index.haml +8 -3
- metadata +1424 -2690
- data/vendor/bundle/ruby/1.8/bin/catstomp +0 -23
- data/vendor/bundle/ruby/1.8/bin/haml +0 -23
- data/vendor/bundle/ruby/1.8/bin/html2haml +0 -23
- data/vendor/bundle/ruby/1.8/bin/rackup +0 -23
- data/vendor/bundle/ruby/1.8/bin/rake +0 -23
- data/vendor/bundle/ruby/1.8/bin/rake2thor +0 -23
- data/vendor/bundle/ruby/1.8/bin/stompcat +0 -23
- data/vendor/bundle/ruby/1.8/bin/thor +0 -23
- data/vendor/bundle/ruby/1.8/bin/tilt +0 -23
- data/vendor/bundle/ruby/1.8/cache/haml-3.1.8.gem +0 -0
- data/vendor/bundle/ruby/1.8/cache/rack-1.5.2.gem +0 -0
- data/vendor/bundle/ruby/1.8/cache/rack-protection-1.4.0.gem +0 -0
- data/vendor/bundle/ruby/1.8/cache/rake-10.0.3.gem +0 -0
- data/vendor/bundle/ruby/1.8/cache/sinatra-1.3.5.gem +0 -0
- data/vendor/bundle/ruby/1.8/cache/stomp-1.2.8.gem +0 -0
- data/vendor/bundle/ruby/1.8/cache/thor-0.17.0.gem +0 -0
- data/vendor/bundle/ruby/1.8/cache/tilt-1.3.4.gem +0 -0
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/CONTRIBUTING +0 -3
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/MIT-LICENSE +0 -20
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/README.md +0 -133
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/REVISION +0 -1
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/Rakefile +0 -419
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/VERSION +0 -1
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/VERSION_NAME +0 -1
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/bin/haml +0 -9
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/bin/html2haml +0 -7
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/extra/update_watch.rb +0 -13
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/init.rb +0 -18
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/lib/haml.rb +0 -47
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/lib/haml/buffer.rb +0 -301
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/lib/haml/compiler.rb +0 -453
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/lib/haml/engine.rb +0 -312
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/lib/haml/error.rb +0 -22
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/lib/haml/exec.rb +0 -362
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/lib/haml/filters.rb +0 -385
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/lib/haml/helpers.rb +0 -608
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/lib/haml/helpers/action_view_extensions.rb +0 -57
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/lib/haml/helpers/action_view_mods.rb +0 -260
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/lib/haml/helpers/rails_323_textarea_fix.rb +0 -41
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/lib/haml/helpers/xss_mods.rb +0 -165
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/lib/haml/html.rb +0 -412
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/lib/haml/html/erb.rb +0 -141
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/lib/haml/parser.rb +0 -711
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/lib/haml/railtie.rb +0 -19
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/lib/haml/root.rb +0 -7
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/lib/haml/shared.rb +0 -78
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/lib/haml/template.rb +0 -99
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/lib/haml/template/options.rb +0 -16
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/lib/haml/template/patch.rb +0 -58
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/lib/haml/template/plugin.rb +0 -123
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/lib/haml/util.rb +0 -842
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/lib/haml/version.rb +0 -109
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/lib/sass.rb +0 -8
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/lib/sass/plugin.rb +0 -10
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/lib/sass/rails2_shim.rb +0 -9
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/lib/sass/rails3_shim.rb +0 -16
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/rails/init.rb +0 -1
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/benchmark.rb +0 -91
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/gemfiles/Gemfile.rails-2.0.x +0 -8
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/gemfiles/Gemfile.rails-2.0.x.lock +0 -38
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/gemfiles/Gemfile.rails-2.1.x +0 -8
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/gemfiles/Gemfile.rails-2.1.x.lock +0 -38
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/gemfiles/Gemfile.rails-2.2.x +0 -8
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/gemfiles/Gemfile.rails-2.2.x.lock +0 -38
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/gemfiles/Gemfile.rails-2.3.x +0 -8
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/gemfiles/Gemfile.rails-2.3.x.lock +0 -40
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/gemfiles/Gemfile.rails-3.0.x +0 -8
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/gemfiles/Gemfile.rails-3.0.x.lock +0 -85
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/gemfiles/Gemfile.rails-3.1.x +0 -8
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/gemfiles/Gemfile.rails-3.1.x.lock +0 -97
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/gemfiles/Gemfile.rails-3.2.x +0 -8
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/gemfiles/Gemfile.rails-3.2.x.lock +0 -95
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/gemfiles/Gemfile.rails-xss-2.3.x +0 -9
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/gemfiles/Gemfile.rails-xss-2.3.x.lock +0 -42
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/engine_test.rb +0 -1950
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/erb/_av_partial_1.erb +0 -12
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/erb/_av_partial_2.erb +0 -8
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/erb/action_view.erb +0 -62
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/erb/standard.erb +0 -55
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/helper_test.rb +0 -467
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/html2haml/erb_tests.rb +0 -440
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/html2haml_test.rb +0 -336
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/markaby/standard.mab +0 -52
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/mocks/article.rb +0 -6
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/results/content_for_layout.xhtml +0 -12
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/results/eval_suppressed.xhtml +0 -9
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/results/filters.xhtml +0 -62
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/results/helpers.xhtml +0 -70
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/results/helpful.xhtml +0 -10
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/results/just_stuff.xhtml +0 -70
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/results/list.xhtml +0 -12
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/results/nuke_inner_whitespace.xhtml +0 -40
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/results/nuke_outer_whitespace.xhtml +0 -148
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/results/original_engine.xhtml +0 -20
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/results/partial_layout.xhtml +0 -5
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/results/partials.xhtml +0 -21
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/results/render_layout.xhtml +0 -3
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/results/silent_script.xhtml +0 -74
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/results/standard.xhtml +0 -162
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/results/tag_parsing.xhtml +0 -23
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/results/very_basic.xhtml +0 -5
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/results/whitespace_handling.xhtml +0 -85
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/spec/README.md +0 -97
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/spec/lua_haml_spec.lua +0 -30
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/spec/ruby_haml_test.rb +0 -19
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/spec/tests.json +0 -534
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/spec_test.rb +0 -44
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/template_test.rb +0 -443
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/templates/_av_partial_1.haml +0 -9
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/templates/_av_partial_1_ugly.haml +0 -9
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/templates/_av_partial_2.haml +0 -5
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/templates/_av_partial_2_ugly.haml +0 -5
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/templates/_layout.erb +0 -3
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/templates/_layout_for_partial.haml +0 -3
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/templates/_partial.haml +0 -8
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/templates/_text_area.haml +0 -3
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/templates/action_view.haml +0 -47
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/templates/action_view_ugly.haml +0 -47
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/templates/breakage.haml +0 -8
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/templates/content_for_layout.haml +0 -8
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/templates/eval_suppressed.haml +0 -11
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/templates/filters.haml +0 -66
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/templates/helpers.haml +0 -55
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/templates/helpful.haml +0 -11
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/templates/just_stuff.haml +0 -85
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/templates/list.haml +0 -12
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/templates/nuke_inner_whitespace.haml +0 -32
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/templates/nuke_outer_whitespace.haml +0 -144
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/templates/original_engine.haml +0 -17
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/templates/partial_layout.haml +0 -10
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/templates/partialize.haml +0 -1
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/templates/partials.haml +0 -12
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/templates/render_layout.haml +0 -2
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/templates/silent_script.haml +0 -40
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/templates/standard.haml +0 -43
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/templates/standard_ugly.haml +0 -43
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/templates/tag_parsing.haml +0 -21
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/templates/very_basic.haml +0 -4
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/templates/whitespace_handling.haml +0 -87
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/haml/util_test.rb +0 -300
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/linked_rails.rb +0 -42
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/test/test_helper.rb +0 -75
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/CONTRIBUTING +0 -3
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/MIT-LICENSE +0 -20
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/README.md +0 -201
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/Rakefile +0 -339
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/TODO +0 -39
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/VERSION +0 -1
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/VERSION_NAME +0 -1
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/bin/sass +0 -8
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/bin/sass-convert +0 -7
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/bin/scss +0 -8
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/doc-src/FAQ.md +0 -35
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/doc-src/INDENTED_SYNTAX.md +0 -210
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/doc-src/SASS_CHANGELOG.md +0 -2327
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/doc-src/SASS_REFERENCE.md +0 -1965
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/doc-src/SCSS_FOR_SASS_USERS.md +0 -155
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/ext/extconf.rb +0 -10
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/extra/update_watch.rb +0 -13
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/init.rb +0 -18
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass.rb +0 -73
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/cache_stores.rb +0 -15
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/cache_stores/base.rb +0 -86
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/cache_stores/chain.rb +0 -33
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/cache_stores/filesystem.rb +0 -60
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/cache_stores/memory.rb +0 -47
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/cache_stores/null.rb +0 -25
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/callbacks.rb +0 -66
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/css.rb +0 -295
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/engine.rb +0 -878
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/environment.rb +0 -166
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/error.rb +0 -201
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/exec.rb +0 -672
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/importers.rb +0 -22
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/importers/base.rb +0 -139
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/importers/filesystem.rb +0 -149
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/less.rb +0 -382
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/logger.rb +0 -15
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/logger/base.rb +0 -32
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/logger/log_level.rb +0 -49
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/plugin.rb +0 -132
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/plugin/compiler.rb +0 -383
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/plugin/configuration.rb +0 -123
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/plugin/generic.rb +0 -15
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/plugin/merb.rb +0 -48
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/plugin/rack.rb +0 -60
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/plugin/rails.rb +0 -47
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/plugin/staleness_checker.rb +0 -173
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/railtie.rb +0 -9
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/repl.rb +0 -58
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/root.rb +0 -7
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/script.rb +0 -40
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/script/bool.rb +0 -18
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/script/color.rb +0 -480
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/script/css_lexer.rb +0 -29
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/script/css_parser.rb +0 -31
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/script/funcall.rb +0 -175
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/script/functions.rb +0 -1386
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/script/interpolation.rb +0 -79
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/script/lexer.rb +0 -339
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/script/list.rb +0 -83
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/script/literal.rb +0 -250
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/script/node.rb +0 -99
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/script/number.rb +0 -452
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/script/operation.rb +0 -99
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/script/parser.rb +0 -474
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/script/string.rb +0 -51
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/script/string_interpolation.rb +0 -103
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/script/unary_operation.rb +0 -64
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/script/variable.rb +0 -59
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/scss.rb +0 -17
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/scss/css_parser.rb +0 -46
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/scss/parser.rb +0 -960
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/scss/rx.rb +0 -128
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/scss/sass_parser.rb +0 -11
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/scss/script_lexer.rb +0 -15
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/scss/script_parser.rb +0 -25
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/scss/static_parser.rb +0 -40
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/selector.rb +0 -361
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/selector/abstract_sequence.rb +0 -62
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/selector/comma_sequence.rb +0 -81
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/selector/sequence.rb +0 -233
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/selector/simple.rb +0 -113
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/selector/simple_sequence.rb +0 -134
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/shared.rb +0 -78
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/tree/charset_node.rb +0 -22
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/tree/comment_node.rb +0 -90
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/tree/debug_node.rb +0 -18
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/tree/directive_node.rb +0 -23
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/tree/each_node.rb +0 -24
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/tree/extend_node.rb +0 -29
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/tree/for_node.rb +0 -36
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/tree/function_node.rb +0 -27
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/tree/if_node.rb +0 -52
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/tree/import_node.rb +0 -68
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/tree/media_node.rb +0 -32
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/tree/mixin_def_node.rb +0 -27
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/tree/mixin_node.rb +0 -32
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/tree/node.rb +0 -201
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/tree/prop_node.rb +0 -148
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/tree/return_node.rb +0 -18
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/tree/root_node.rb +0 -28
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/tree/rule_node.rb +0 -136
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/tree/variable_node.rb +0 -30
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/tree/visitors/base.rb +0 -75
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/tree/visitors/check_nesting.rb +0 -133
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/tree/visitors/convert.rb +0 -260
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/tree/visitors/cssize.rb +0 -175
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/tree/visitors/deep_copy.rb +0 -87
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/tree/visitors/perform.rb +0 -332
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/tree/visitors/set_options.rb +0 -97
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/tree/visitors/to_css.rb +0 -210
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/tree/warn_node.rb +0 -18
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/tree/while_node.rb +0 -18
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/util.rb +0 -721
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/util/subset_map.rb +0 -101
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/lib/sass/version.rb +0 -112
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/rails/init.rb +0 -1
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/sass.gemspec +0 -33
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/Gemfile +0 -4
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/Gemfile.lock +0 -19
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/cache_test.rb +0 -89
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/callbacks_test.rb +0 -61
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/conversion_test.rb +0 -1199
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/css2sass_test.rb +0 -373
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/data/hsl-rgb.txt +0 -319
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/engine_test.rb +0 -2567
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/extend_test.rb +0 -1348
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/fixtures/test_staleness_check_across_importers.css +0 -1
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/fixtures/test_staleness_check_across_importers.scss +0 -1
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/functions_test.rb +0 -1038
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/importer_test.rb +0 -192
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/less_conversion_test.rb +0 -653
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/logger_test.rb +0 -58
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/mock_importer.rb +0 -49
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/more_results/more1.css +0 -9
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/more_results/more1_with_line_comments.css +0 -26
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/more_results/more_import.css +0 -29
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/more_templates/_more_partial.sass +0 -2
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/more_templates/more1.sass +0 -23
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/more_templates/more_import.sass +0 -11
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/plugin_test.rb +0 -472
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/results/alt.css +0 -4
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/results/basic.css +0 -9
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/results/compact.css +0 -5
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/results/complex.css +0 -86
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/results/compressed.css +0 -1
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/results/expanded.css +0 -19
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/results/if.css +0 -3
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/results/import.css +0 -31
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/results/import_charset.css +0 -4
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/results/import_charset_1_8.css +0 -4
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/results/import_charset_ibm866.css +0 -4
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/results/line_numbers.css +0 -49
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/results/mixins.css +0 -95
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/results/multiline.css +0 -24
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/results/nested.css +0 -22
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/results/options.css +0 -1
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/results/parent_ref.css +0 -13
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/results/script.css +0 -16
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/results/scss_import.css +0 -31
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/results/scss_importee.css +0 -2
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/results/subdir/nested_subdir/nested_subdir.css +0 -1
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/results/subdir/subdir.css +0 -3
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/results/units.css +0 -11
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/results/warn.css +0 -0
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/results/warn_imported.css +0 -0
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/script_conversion_test.rb +0 -285
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/script_test.rb +0 -514
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/scss/css_test.rb +0 -922
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/scss/rx_test.rb +0 -156
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/scss/scss_test.rb +0 -1273
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/scss/test_helper.rb +0 -37
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/_imported_charset_ibm866.sass +0 -4
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/_imported_charset_utf8.sass +0 -4
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/_partial.sass +0 -2
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/alt.sass +0 -16
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/basic.sass +0 -23
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/bork1.sass +0 -2
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/bork2.sass +0 -2
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/bork3.sass +0 -2
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/bork4.sass +0 -2
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/bork5.sass +0 -3
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/compact.sass +0 -17
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/complex.sass +0 -305
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/compressed.sass +0 -15
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/expanded.sass +0 -17
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/if.sass +0 -11
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/import.sass +0 -12
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/import_charset.sass +0 -7
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/import_charset_1_8.sass +0 -4
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/import_charset_ibm866.sass +0 -9
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/importee.less +0 -2
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/importee.sass +0 -19
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/line_numbers.sass +0 -13
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/mixin_bork.sass +0 -5
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/mixins.sass +0 -76
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/multiline.sass +0 -20
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/nested.sass +0 -25
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/nested_bork1.sass +0 -2
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/nested_bork2.sass +0 -2
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/nested_bork3.sass +0 -2
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/nested_bork4.sass +0 -2
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/nested_bork5.sass +0 -2
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/nested_import.sass +0 -2
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/nested_mixin_bork.sass +0 -6
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/options.sass +0 -2
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/parent_ref.sass +0 -25
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/script.sass +0 -101
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/scss_import.scss +0 -11
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/scss_importee.scss +0 -1
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/subdir/nested_subdir/_nested_partial.sass +0 -2
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/subdir/nested_subdir/nested_subdir.sass +0 -3
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/subdir/subdir.sass +0 -6
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/units.sass +0 -11
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/warn.sass +0 -3
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/templates/warn_imported.sass +0 -4
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/test_helper.rb +0 -8
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/util/subset_map_test.rb +0 -91
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/sass/util_test.rb +0 -266
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/test/test_helper.rb +0 -69
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/Gemfile +0 -3
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/LICENSE +0 -20
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/README.markdown +0 -83
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/Rakefile +0 -11
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/example.rb +0 -12
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/fssm.gemspec +0 -24
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/lib/fssm.rb +0 -37
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/lib/fssm/backends/fsevents.rb +0 -36
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/lib/fssm/backends/inotify.rb +0 -26
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/lib/fssm/backends/polling.rb +0 -25
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/lib/fssm/backends/rbfsevent.rb +0 -42
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/lib/fssm/backends/rubycocoa/fsevents.rb +0 -131
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/lib/fssm/monitor.rb +0 -36
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/lib/fssm/path.rb +0 -94
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/lib/fssm/pathname.rb +0 -36
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/lib/fssm/state/directory.rb +0 -75
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/lib/fssm/state/file.rb +0 -24
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/lib/fssm/support.rb +0 -92
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/lib/fssm/tree.rb +0 -176
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/lib/fssm/version.rb +0 -3
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/profile/prof-cache.rb +0 -40
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/profile/prof-fssm-pathname.html +0 -1231
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/profile/prof-pathname-rubinius.rb +0 -35
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/profile/prof-pathname.rb +0 -68
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/profile/prof-plain-pathname.html +0 -988
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/profile/prof.html +0 -2379
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/spec/count_down_latch.rb +0 -151
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/spec/monitor_spec.rb +0 -202
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/spec/path_spec.rb +0 -96
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/spec/root/duck/quack.txt +0 -0
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/spec/root/file.css +0 -0
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/spec/root/file.rb +0 -0
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/spec/root/file.yml +0 -0
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/spec/root/moo/cow.txt +0 -0
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/vendor/fssm/spec/spec_helper.rb +0 -14
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/yard/callbacks.rb +0 -29
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/yard/default/fulldoc/html/css/common.sass +0 -26
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/yard/default/layout/html/footer.erb +0 -12
- data/vendor/bundle/ruby/1.8/gems/haml-3.1.8/vendor/sass/yard/inherited_hash.rb +0 -41
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/COPYING +0 -18
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/KNOWN-ISSUES +0 -30
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/README.rdoc +0 -624
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/Rakefile +0 -125
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/SPEC +0 -237
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/bin/rackup +0 -4
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/contrib/rack.png +0 -0
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/contrib/rack.svg +0 -150
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/contrib/rack_logo.svg +0 -111
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/contrib/rdoc.css +0 -412
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/example/lobster.ru +0 -4
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/example/protectedlobster.rb +0 -14
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/example/protectedlobster.ru +0 -8
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack.rb +0 -87
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/auth/abstract/handler.rb +0 -37
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/auth/abstract/request.rb +0 -43
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/auth/basic.rb +0 -58
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/auth/digest/md5.rb +0 -129
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/auth/digest/nonce.rb +0 -51
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/auth/digest/params.rb +0 -53
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/auth/digest/request.rb +0 -41
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/backports/uri/common_18.rb +0 -56
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/backports/uri/common_192.rb +0 -52
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/backports/uri/common_193.rb +0 -29
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/body_proxy.rb +0 -39
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/builder.rb +0 -149
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/cascade.rb +0 -52
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/chunked.rb +0 -58
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/commonlogger.rb +0 -64
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/conditionalget.rb +0 -67
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/config.rb +0 -20
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/content_length.rb +0 -33
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/content_type.rb +0 -29
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/deflater.rb +0 -116
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/directory.rb +0 -161
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/etag.rb +0 -64
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/file.rb +0 -138
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/handler.rb +0 -107
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/handler/cgi.rb +0 -61
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/handler/evented_mongrel.rb +0 -8
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/handler/fastcgi.rb +0 -98
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/handler/lsws.rb +0 -61
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/handler/mongrel.rb +0 -100
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/handler/scgi.rb +0 -67
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/handler/swiftiplied_mongrel.rb +0 -8
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/handler/thin.rb +0 -27
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/handler/webrick.rb +0 -81
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/head.rb +0 -22
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/lint.rb +0 -699
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/lobster.rb +0 -65
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/lock.rb +0 -26
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/logger.rb +0 -18
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/methodoverride.rb +0 -31
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/mime.rb +0 -677
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/mock.rb +0 -190
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/multipart.rb +0 -34
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/multipart/generator.rb +0 -93
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/multipart/parser.rb +0 -176
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/multipart/uploaded_file.rb +0 -34
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/nulllogger.rb +0 -18
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/recursive.rb +0 -61
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/reloader.rb +0 -109
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/request.rb +0 -380
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/response.rb +0 -155
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/rewindable_input.rb +0 -104
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/runtime.rb +0 -27
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/sendfile.rb +0 -155
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/server.rb +0 -362
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/session/abstract/id.rb +0 -398
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/session/cookie.rb +0 -178
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/session/memcache.rb +0 -93
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/session/pool.rb +0 -79
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/showexceptions.rb +0 -378
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/showstatus.rb +0 -113
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/static.rb +0 -153
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/urlmap.rb +0 -76
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/utils.rb +0 -628
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/lib/rack/utils/okjson.rb +0 -599
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/rack.gemspec +0 -33
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/builder/anything.rb +0 -5
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/builder/comment.ru +0 -4
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/builder/end.ru +0 -5
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/builder/line.ru +0 -1
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/builder/options.ru +0 -2
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/cgi/assets/folder/test.js +0 -1
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/cgi/assets/fonts/font.eot +0 -1
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/cgi/assets/images/image.png +0 -1
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/cgi/assets/index.html +0 -1
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/cgi/assets/javascripts/app.js +0 -1
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/cgi/assets/stylesheets/app.css +0 -1
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/cgi/lighttpd.conf +0 -26
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/cgi/rackup_stub.rb +0 -6
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/cgi/sample_rackup.ru +0 -5
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/cgi/test +0 -9
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/cgi/test+directory/test+file +0 -1
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/cgi/test.fcgi +0 -8
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/cgi/test.ru +0 -5
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/gemloader.rb +0 -10
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/multipart/bad_robots +0 -259
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/multipart/binary +0 -0
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/multipart/content_type_and_no_filename +0 -6
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/multipart/empty +0 -10
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/multipart/fail_16384_nofile +0 -814
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/multipart/file1.txt +0 -1
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/multipart/filename_and_modification_param +0 -7
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/multipart/filename_with_escaped_quotes +0 -6
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/multipart/filename_with_escaped_quotes_and_modification_param +0 -7
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/multipart/filename_with_percent_escaped_quotes +0 -6
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/multipart/filename_with_unescaped_percentages +0 -6
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/multipart/filename_with_unescaped_percentages2 +0 -6
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/multipart/filename_with_unescaped_percentages3 +0 -6
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/multipart/filename_with_unescaped_quotes +0 -6
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/multipart/ie +0 -6
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/multipart/mixed_files +0 -21
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/multipart/nested +0 -10
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/multipart/none +0 -9
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/multipart/semicolon +0 -6
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/multipart/text +0 -15
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/multipart/webkit +0 -32
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/rackup/config.ru +0 -31
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/registering_handler/rack/handler/registering_myself.rb +0 -8
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_auth_basic.rb +0 -81
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_auth_digest.rb +0 -259
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_body_proxy.rb +0 -69
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_builder.rb +0 -214
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_cascade.rb +0 -61
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_cgi.rb +0 -102
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_chunked.rb +0 -85
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_commonlogger.rb +0 -57
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_conditionalget.rb +0 -102
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_config.rb +0 -22
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_content_length.rb +0 -83
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_content_type.rb +0 -45
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_deflater.rb +0 -204
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_directory.rb +0 -88
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_etag.rb +0 -98
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_fastcgi.rb +0 -107
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_file.rb +0 -213
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_handler.rb +0 -59
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_head.rb +0 -43
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_lint.rb +0 -522
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_lobster.rb +0 -58
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_lock.rb +0 -164
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_logger.rb +0 -23
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_methodoverride.rb +0 -75
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_mime.rb +0 -51
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_mock.rb +0 -269
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_mongrel.rb +0 -182
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_multipart.rb +0 -445
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_nulllogger.rb +0 -20
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_recursive.rb +0 -72
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_request.rb +0 -1078
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_response.rb +0 -313
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_rewindable_input.rb +0 -118
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_runtime.rb +0 -49
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_sendfile.rb +0 -130
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_server.rb +0 -143
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_session_abstract_id.rb +0 -53
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_session_cookie.rb +0 -367
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_session_memcache.rb +0 -321
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_session_pool.rb +0 -209
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_showexceptions.rb +0 -92
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_showstatus.rb +0 -84
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_static.rb +0 -145
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_thin.rb +0 -91
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_urlmap.rb +0 -213
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_utils.rb +0 -573
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/spec_webrick.rb +0 -143
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/static/another/index.html +0 -1
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/static/index.html +0 -1
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/testrequest.rb +0 -78
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/unregistered_handler/rack/handler/unregistered.rb +0 -7
- data/vendor/bundle/ruby/1.8/gems/rack-1.5.2/test/unregistered_handler/rack/handler/unregistered_long_one.rb +0 -7
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/License +0 -20
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/README.md +0 -82
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/Rakefile +0 -48
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/lib/rack-protection.rb +0 -1
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/lib/rack/protection.rb +0 -40
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/lib/rack/protection/authenticity_token.rb +0 -24
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/lib/rack/protection/base.rb +0 -107
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/lib/rack/protection/escaped_params.rb +0 -87
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/lib/rack/protection/form_token.rb +0 -23
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/lib/rack/protection/frame_options.rb +0 -37
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/lib/rack/protection/http_origin.rb +0 -32
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/lib/rack/protection/ip_spoofing.rb +0 -23
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/lib/rack/protection/json_csrf.rb +0 -35
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/lib/rack/protection/path_traversal.rb +0 -36
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/lib/rack/protection/remote_referrer.rb +0 -20
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/lib/rack/protection/remote_token.rb +0 -22
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/lib/rack/protection/session_hijacking.rb +0 -36
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/lib/rack/protection/version.rb +0 -16
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/lib/rack/protection/xss_header.rb +0 -25
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/rack-protection.gemspec +0 -92
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/spec/authenticity_token_spec.rb +0 -33
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/spec/escaped_params_spec.rb +0 -44
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/spec/form_token_spec.rb +0 -33
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/spec/frame_options_spec.rb +0 -39
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/spec/http_origin_spec.rb +0 -38
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/spec/ip_spoofing_spec.rb +0 -35
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/spec/json_csrf_spec.rb +0 -44
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/spec/path_traversal_spec.rb +0 -28
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/spec/protection_spec.rb +0 -37
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/spec/remote_referrer_spec.rb +0 -31
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/spec/remote_token_spec.rb +0 -42
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/spec/session_hijacking_spec.rb +0 -54
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/spec/spec_helper.rb +0 -163
- data/vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/spec/xss_header_spec.rb +0 -56
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/CHANGES +0 -526
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/MIT-LICENSE +0 -21
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/README.rdoc +0 -187
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/Rakefile +0 -374
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/TODO +0 -21
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/bin/rake +0 -33
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/command_line_usage.rdoc +0 -152
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/example/Rakefile1 +0 -38
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/example/Rakefile2 +0 -35
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/example/a.c +0 -6
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/example/b.c +0 -6
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/example/main.c +0 -11
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/glossary.rdoc +0 -51
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/jamis.rb +0 -591
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/proto_rake.rdoc +0 -127
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/rake.1.gz +0 -0
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/rakefile.rdoc +0 -557
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/rational.rdoc +0 -151
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/release_notes/rake-0.4.14.rdoc +0 -23
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/release_notes/rake-0.4.15.rdoc +0 -35
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/release_notes/rake-0.5.0.rdoc +0 -53
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/release_notes/rake-0.5.3.rdoc +0 -78
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/release_notes/rake-0.5.4.rdoc +0 -46
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/release_notes/rake-0.6.0.rdoc +0 -141
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/release_notes/rake-0.7.0.rdoc +0 -119
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/release_notes/rake-0.7.1.rdoc +0 -59
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/release_notes/rake-0.7.2.rdoc +0 -121
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/release_notes/rake-0.7.3.rdoc +0 -47
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/release_notes/rake-0.8.0.rdoc +0 -114
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/release_notes/rake-0.8.2.rdoc +0 -165
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/release_notes/rake-0.8.3.rdoc +0 -112
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/release_notes/rake-0.8.4.rdoc +0 -147
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/release_notes/rake-0.8.5.rdoc +0 -53
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/release_notes/rake-0.8.6.rdoc +0 -55
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/release_notes/rake-0.8.7.rdoc +0 -55
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/release_notes/rake-0.9.0.rdoc +0 -112
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/release_notes/rake-0.9.1.rdoc +0 -52
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/release_notes/rake-0.9.2.2.rdoc +0 -55
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/release_notes/rake-0.9.2.rdoc +0 -49
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/release_notes/rake-0.9.3.rdoc +0 -102
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/release_notes/rake-0.9.4.rdoc +0 -110
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/release_notes/rake-0.9.5.rdoc +0 -114
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/release_notes/rake-0.9.6.rdoc +0 -127
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/release_notes/rake-10.0.0.rdoc +0 -178
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/release_notes/rake-10.0.1.rdoc +0 -187
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/release_notes/rake-10.0.2.rdoc +0 -191
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/doc/release_notes/rake-10.0.3.rdoc +0 -191
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/install.rb +0 -90
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake.rb +0 -71
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/alt_system.rb +0 -109
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/application.rb +0 -669
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/backtrace.rb +0 -18
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/clean.rb +0 -32
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/cloneable.rb +0 -16
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/contrib/compositepublisher.rb +0 -21
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/contrib/ftptools.rb +0 -151
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/contrib/publisher.rb +0 -73
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/contrib/rubyforgepublisher.rb +0 -16
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/contrib/sshpublisher.rb +0 -50
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/contrib/sys.rb +0 -1
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/default_loader.rb +0 -10
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/dsl_definition.rb +0 -156
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/early_time.rb +0 -18
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/ext/core.rb +0 -27
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/ext/module.rb +0 -0
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/ext/string.rb +0 -168
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/ext/time.rb +0 -15
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/file_creation_task.rb +0 -24
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/file_list.rb +0 -410
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/file_task.rb +0 -47
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/file_utils.rb +0 -114
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/file_utils_ext.rb +0 -146
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/gempackagetask.rb +0 -1
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/invocation_chain.rb +0 -51
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/invocation_exception_mixin.rb +0 -16
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/loaders/makefile.rb +0 -40
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/multi_task.rb +0 -13
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/name_space.rb +0 -25
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/packagetask.rb +0 -185
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/pathmap.rb +0 -1
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/phony.rb +0 -15
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/private_reader.rb +0 -20
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/promise.rb +0 -99
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/pseudo_status.rb +0 -24
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/rake_module.rb +0 -37
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/rake_test_loader.rb +0 -22
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/rdoctask.rb +0 -1
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/ruby182_test_unit_fix.rb +0 -25
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/rule_recursion_overflow_error.rb +0 -20
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/runtest.rb +0 -22
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/task.rb +0 -350
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/task_argument_error.rb +0 -7
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/task_arguments.rb +0 -78
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/task_manager.rb +0 -296
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/tasklib.rb +0 -22
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/testtask.rb +0 -198
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/thread_history_display.rb +0 -48
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/thread_pool.rb +0 -155
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/trace_output.rb +0 -19
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/version.rb +0 -13
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/win32.rb +0 -55
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/file_creation.rb +0 -34
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/helper.rb +0 -562
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_private_reader.rb +0 -42
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake.rb +0 -40
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_application.rb +0 -515
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_application_options.rb +0 -443
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_backtrace.rb +0 -89
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_clean.rb +0 -14
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_definitions.rb +0 -80
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_directory_task.rb +0 -57
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_dsl.rb +0 -40
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_early_time.rb +0 -31
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_extension.rb +0 -59
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_file_creation_task.rb +0 -56
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_file_list.rb +0 -628
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_file_list_path_map.rb +0 -8
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_file_task.rb +0 -122
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_file_utils.rb +0 -305
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_ftp_file.rb +0 -59
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_functional.rb +0 -496
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_invocation_chain.rb +0 -52
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_makefile_loader.rb +0 -44
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_multi_task.rb +0 -59
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_name_space.rb +0 -43
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_package_task.rb +0 -79
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_path_map.rb +0 -157
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_path_map_explode.rb +0 -34
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_path_map_partial.rb +0 -18
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_pseudo_status.rb +0 -21
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_rake_test_loader.rb +0 -21
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_reduce_compat.rb +0 -30
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_require.rb +0 -40
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_rules.rb +0 -327
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_task.rb +0 -316
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_task_argument_parsing.rb +0 -103
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_task_arguments.rb +0 -88
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_task_lib.rb +0 -9
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_task_manager.rb +0 -157
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_task_manager_argument_resolution.rb +0 -19
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_task_with_arguments.rb +0 -171
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_test_task.rb +0 -120
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_thread_pool.rb +0 -123
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_top_level_functions.rb +0 -71
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_rake_win32.rb +0 -72
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_thread_history_display.rb +0 -91
- data/vendor/bundle/ruby/1.8/gems/rake-10.0.3/test/test_trace_output.rb +0 -43
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/AUTHORS +0 -61
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/CHANGES +0 -1063
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/Gemfile +0 -82
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/LICENSE +0 -22
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/README.de.rdoc +0 -2097
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/README.es.rdoc +0 -2078
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/README.fr.rdoc +0 -2036
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/README.hu.rdoc +0 -607
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/README.jp.rdoc +0 -1043
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/README.ko.rdoc +0 -1926
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/README.pt-br.rdoc +0 -647
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/README.pt-pt.rdoc +0 -646
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/README.rdoc +0 -2017
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/README.ru.rdoc +0 -1785
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/README.zh.rdoc +0 -1816
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/Rakefile +0 -183
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/examples/chat.rb +0 -61
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/examples/simple.rb +0 -3
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/examples/stream.ru +0 -26
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/lib/sinatra.rb +0 -4
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/lib/sinatra/base.rb +0 -1728
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/lib/sinatra/images/404.png +0 -0
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/lib/sinatra/images/500.png +0 -0
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/lib/sinatra/main.rb +0 -28
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/lib/sinatra/showexceptions.rb +0 -340
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/lib/sinatra/version.rb +0 -3
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/sinatra.gemspec +0 -18
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/base_test.rb +0 -160
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/builder_test.rb +0 -95
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/coffee_test.rb +0 -92
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/contest.rb +0 -98
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/creole_test.rb +0 -65
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/delegator_test.rb +0 -162
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/encoding_test.rb +0 -20
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/erb_test.rb +0 -104
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/extensions_test.rb +0 -100
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/filter_test.rb +0 -428
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/haml_test.rb +0 -101
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/helper.rb +0 -123
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/helpers_test.rb +0 -1783
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/integration/app.rb +0 -62
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/integration_helper.rb +0 -214
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/integration_test.rb +0 -85
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/less_test.rb +0 -67
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/liquid_test.rb +0 -59
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/mapped_error_test.rb +0 -259
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/markaby_test.rb +0 -80
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/markdown_test.rb +0 -82
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/middleware_test.rb +0 -68
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/nokogiri_test.rb +0 -69
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/public/favicon.ico +0 -0
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/rack_test.rb +0 -45
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/radius_test.rb +0 -59
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/rdoc_test.rb +0 -66
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/readme_test.rb +0 -136
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/request_test.rb +0 -45
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/response_test.rb +0 -66
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/result_test.rb +0 -98
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/route_added_hook_test.rb +0 -59
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/routing_test.rb +0 -1126
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/sass_test.rb +0 -116
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/scss_test.rb +0 -89
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/server_test.rb +0 -48
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/settings_test.rb +0 -538
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/sinatra_test.rb +0 -17
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/slim_test.rb +0 -88
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/static_test.rb +0 -178
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/streaming_test.rb +0 -140
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/templates_test.rb +0 -298
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/textile_test.rb +0 -65
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/a/in_a.str +0 -1
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/ascii.erb +0 -2
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/b/in_b.str +0 -1
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/calc.html.erb +0 -1
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/error.builder +0 -3
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/error.erb +0 -3
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/error.haml +0 -3
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/error.sass +0 -2
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/explicitly_nested.str +0 -1
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/foo/hello.test +0 -1
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/hello.builder +0 -1
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/hello.coffee +0 -1
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/hello.creole +0 -1
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/hello.erb +0 -1
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/hello.haml +0 -1
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/hello.less +0 -5
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/hello.liquid +0 -1
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/hello.mab +0 -1
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/hello.md +0 -1
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/hello.nokogiri +0 -1
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/hello.radius +0 -1
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/hello.rdoc +0 -1
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/hello.sass +0 -2
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/hello.scss +0 -3
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/hello.slim +0 -1
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/hello.str +0 -1
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/hello.test +0 -1
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/hello.textile +0 -1
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/layout2.builder +0 -3
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/layout2.erb +0 -2
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/layout2.haml +0 -2
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/layout2.liquid +0 -2
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/layout2.mab +0 -2
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/layout2.nokogiri +0 -3
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/layout2.radius +0 -2
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/layout2.slim +0 -3
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/layout2.str +0 -2
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/layout2.test +0 -1
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/nested.str +0 -1
- data/vendor/bundle/ruby/1.8/gems/sinatra-1.3.5/test/views/utf8.erb +0 -2
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/CHANGELOG.rdoc +0 -196
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/LICENSE +0 -202
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/README.rdoc +0 -132
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/Rakefile +0 -80
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/bin/catstomp +0 -74
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/bin/stompcat +0 -75
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/examples/client11_ex1.rb +0 -89
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/examples/client11_putget1.rb +0 -71
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/examples/conn11_ex1.rb +0 -112
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/examples/conn11_ex2.rb +0 -87
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/examples/conn11_hb1.rb +0 -57
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/examples/consumer.rb +0 -34
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/examples/get11conn_ex1.rb +0 -117
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/examples/get11conn_ex2.rb +0 -77
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/examples/logexamp.rb +0 -81
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/examples/logexamp_ssl.rb +0 -81
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/examples/publisher.rb +0 -30
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/examples/put11conn_ex1.rb +0 -56
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/examples/putget11_rh1.rb +0 -93
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/examples/slogger.rb +0 -222
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/examples/ssl_uc1.rb +0 -46
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/examples/ssl_uc1_ciphers.rb +0 -46
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/examples/ssl_uc2.rb +0 -48
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/examples/ssl_uc2_ciphers.rb +0 -47
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/examples/ssl_uc3.rb +0 -50
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/examples/ssl_uc3_ciphers.rb +0 -47
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/examples/ssl_uc4.rb +0 -50
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/examples/ssl_uc4_ciphers.rb +0 -48
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/examples/ssl_ucx_default_ciphers.rb +0 -41
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/examples/stomp11_common.rb +0 -48
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/examples/topic_consumer.rb +0 -32
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/examples/topic_publisher.rb +0 -29
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/lib/client/utils.rb +0 -116
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/lib/connection/heartbeats.rb +0 -175
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/lib/connection/netio.rb +0 -360
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/lib/connection/utf8.rb +0 -294
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/lib/connection/utils.rb +0 -239
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/lib/stomp.rb +0 -39
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/lib/stomp/client.rb +0 -350
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/lib/stomp/codec.rb +0 -44
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/lib/stomp/connection.rb +0 -452
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/lib/stomp/constants.rb +0 -114
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/lib/stomp/errors.rb +0 -195
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/lib/stomp/ext/hash.rb +0 -31
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/lib/stomp/message.rb +0 -117
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/lib/stomp/sslparams.rb +0 -84
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/lib/stomp/version.rb +0 -12
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/spec/client_shared_examples.rb +0 -71
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/spec/client_spec.rb +0 -329
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/spec/connection_spec.rb +0 -431
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/spec/message_spec.rb +0 -58
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/spec/spec_helper.rb +0 -8
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/stomp.gemspec +0 -151
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/test/test_client.rb +0 -531
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/test/test_codec.rb +0 -119
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/test/test_connection.rb +0 -517
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/test/test_connection1p.rb +0 -396
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/test/test_helper.rb +0 -168
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/test/test_message.rb +0 -173
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/test/test_ssl.rb +0 -81
- data/vendor/bundle/ruby/1.8/gems/stomp-1.2.8/test/tlogger.rb +0 -80
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/CHANGELOG.rdoc +0 -142
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/Gemfile +0 -19
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/LICENSE.md +0 -20
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/README.md +0 -28
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/Thorfile +0 -30
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/bin/rake2thor +0 -86
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/bin/thor +0 -6
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/lib/thor.rb +0 -448
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/lib/thor/actions.rb +0 -318
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/lib/thor/actions/create_file.rb +0 -105
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/lib/thor/actions/create_link.rb +0 -57
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/lib/thor/actions/directory.rb +0 -117
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/lib/thor/actions/empty_directory.rb +0 -153
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/lib/thor/actions/file_manipulation.rb +0 -314
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/lib/thor/actions/inject_into_file.rb +0 -109
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/lib/thor/base.rb +0 -654
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/lib/thor/core_ext/file_binary_read.rb +0 -9
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/lib/thor/core_ext/hash_with_indifferent_access.rb +0 -80
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/lib/thor/core_ext/ordered_hash.rb +0 -100
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/lib/thor/error.rb +0 -35
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/lib/thor/group.rb +0 -285
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/lib/thor/invocation.rb +0 -170
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/lib/thor/parser.rb +0 -4
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/lib/thor/parser/argument.rb +0 -74
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/lib/thor/parser/arguments.rb +0 -171
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/lib/thor/parser/option.rb +0 -121
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/lib/thor/parser/options.rb +0 -216
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/lib/thor/rake_compat.rb +0 -72
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/lib/thor/runner.rb +0 -321
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/lib/thor/shell.rb +0 -88
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/lib/thor/shell/basic.rb +0 -389
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/lib/thor/shell/color.rb +0 -144
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/lib/thor/shell/html.rb +0 -123
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/lib/thor/task.rb +0 -132
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/lib/thor/util.rb +0 -266
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/lib/thor/version.rb +0 -3
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/actions/create_file_spec.rb +0 -170
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/actions/create_link_spec.rb +0 -81
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/actions/directory_spec.rb +0 -156
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/actions/empty_directory_spec.rb +0 -130
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/actions/file_manipulation_spec.rb +0 -382
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/actions/inject_into_file_spec.rb +0 -135
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/actions_spec.rb +0 -331
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/base_spec.rb +0 -279
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/core_ext/hash_with_indifferent_access_spec.rb +0 -48
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/core_ext/ordered_hash_spec.rb +0 -115
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/exit_condition_spec.rb +0 -19
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/fixtures/application.rb +0 -2
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/fixtures/app{1}/README +0 -3
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/fixtures/bundle/execute.rb +0 -6
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/fixtures/bundle/main.thor +0 -1
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/fixtures/doc/%file_name%.rb.tt +0 -1
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/fixtures/doc/COMMENTER +0 -11
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/fixtures/doc/README +0 -3
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/fixtures/doc/block_helper.rb +0 -3
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/fixtures/doc/config.rb +0 -1
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/fixtures/doc/config.yaml.tt +0 -1
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/fixtures/enum.thor +0 -10
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/fixtures/group.thor +0 -114
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/fixtures/invoke.thor +0 -112
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/fixtures/path with spaces b/data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/fixtures/path with → spaces +0 -0
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/fixtures/preserve/script.sh +0 -3
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/fixtures/script.thor +0 -195
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/fixtures/task.thor +0 -10
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/group_spec.rb +0 -216
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/invocation_spec.rb +0 -100
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/parser/argument_spec.rb +0 -53
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/parser/arguments_spec.rb +0 -66
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/parser/option_spec.rb +0 -202
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/parser/options_spec.rb +0 -395
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/rake_compat_spec.rb +0 -72
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/register_spec.rb +0 -197
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/runner_spec.rb +0 -241
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/shell/basic_spec.rb +0 -312
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/shell/color_spec.rb +0 -81
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/shell/html_spec.rb +0 -32
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/shell_spec.rb +0 -47
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/spec_helper.rb +0 -63
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/task_spec.rb +0 -80
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/thor_spec.rb +0 -488
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/spec/util_spec.rb +0 -196
- data/vendor/bundle/ruby/1.8/gems/thor-0.17.0/thor.gemspec +0 -20
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/COPYING +0 -18
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/Gemfile +0 -32
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/HACKING +0 -16
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/README.md +0 -211
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/Rakefile +0 -104
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/TEMPLATES.md +0 -516
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/bin/tilt +0 -112
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/lib/tilt.rb +0 -204
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/lib/tilt/asciidoc.rb +0 -34
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/lib/tilt/builder.rb +0 -40
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/lib/tilt/coffee.rb +0 -54
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/lib/tilt/css.rb +0 -80
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/lib/tilt/csv.rb +0 -71
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/lib/tilt/erb.rb +0 -110
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/lib/tilt/etanni.rb +0 -27
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/lib/tilt/haml.rb +0 -64
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/lib/tilt/liquid.rb +0 -45
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/lib/tilt/markaby.rb +0 -52
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/lib/tilt/markdown.rb +0 -214
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/lib/tilt/nokogiri.rb +0 -43
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/lib/tilt/plain.rb +0 -20
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/lib/tilt/radius.rb +0 -55
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/lib/tilt/rdoc.rb +0 -47
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/lib/tilt/string.rb +0 -21
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/lib/tilt/template.rb +0 -246
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/lib/tilt/textile.rb +0 -30
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/lib/tilt/wiki.rb +0 -58
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/lib/tilt/yajl.rb +0 -94
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/contest.rb +0 -68
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/markaby/locals.mab +0 -1
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/markaby/markaby.mab +0 -1
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/markaby/markaby_other_static.mab +0 -1
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/markaby/render_twice.mab +0 -1
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/markaby/scope.mab +0 -1
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/markaby/yielding.mab +0 -2
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/tilt_asciidoctor_test.rb +0 -44
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/tilt_blueclothtemplate_test.rb +0 -45
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/tilt_buildertemplate_test.rb +0 -59
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/tilt_cache_test.rb +0 -32
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/tilt_coffeescripttemplate_test.rb +0 -114
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/tilt_compilesite_test.rb +0 -51
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/tilt_creoletemplate_test.rb +0 -28
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/tilt_csv_test.rb +0 -73
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/tilt_erbtemplate_test.rb +0 -239
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/tilt_erubistemplate_test.rb +0 -151
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/tilt_etannitemplate_test.rb +0 -173
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/tilt_fallback_test.rb +0 -122
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/tilt_hamltemplate_test.rb +0 -144
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/tilt_kramdown_test.rb +0 -42
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/tilt_lesstemplate_test.less +0 -1
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/tilt_lesstemplate_test.rb +0 -42
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/tilt_liquidtemplate_test.rb +0 -78
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/tilt_markaby_test.rb +0 -88
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/tilt_markdown_test.rb +0 -172
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/tilt_marukutemplate_test.rb +0 -48
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/tilt_nokogiritemplate_test.rb +0 -87
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/tilt_radiustemplate_test.rb +0 -75
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/tilt_rdiscounttemplate_test.rb +0 -55
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/tilt_rdoctemplate_test.rb +0 -31
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/tilt_redcarpettemplate_test.rb +0 -71
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/tilt_redclothtemplate_test.rb +0 -36
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/tilt_sasstemplate_test.rb +0 -41
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/tilt_stringtemplate_test.rb +0 -170
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/tilt_template_test.rb +0 -167
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/tilt_test.rb +0 -65
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/tilt_wikiclothtemplate_test.rb +0 -32
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/test/tilt_yajltemplate_test.rb +0 -101
- data/vendor/bundle/ruby/1.8/gems/tilt-1.3.4/tilt.gemspec +0 -119
- data/vendor/bundle/ruby/1.8/specifications/haml-3.1.8.gemspec +0 -34
- data/vendor/bundle/ruby/1.8/specifications/rack-1.5.2.gemspec +0 -36
- data/vendor/bundle/ruby/1.8/specifications/rack-protection-1.4.0.gemspec +0 -34
- data/vendor/bundle/ruby/1.8/specifications/rake-10.0.3.gemspec +0 -34
- data/vendor/bundle/ruby/1.8/specifications/sinatra-1.3.5.gemspec +0 -37
- data/vendor/bundle/ruby/1.8/specifications/stomp-1.2.8.gemspec +0 -31
- data/vendor/bundle/ruby/1.8/specifications/thor-0.17.0.gemspec +0 -30
- data/vendor/bundle/ruby/1.8/specifications/tilt-1.3.4.gemspec +0 -98
@@ -1,85 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: http://rubygems.org/
|
3
|
-
specs:
|
4
|
-
abstract (1.0.0)
|
5
|
-
actionmailer (3.0.10)
|
6
|
-
actionpack (= 3.0.10)
|
7
|
-
mail (~> 2.2.19)
|
8
|
-
actionpack (3.0.10)
|
9
|
-
activemodel (= 3.0.10)
|
10
|
-
activesupport (= 3.0.10)
|
11
|
-
builder (~> 2.1.2)
|
12
|
-
erubis (~> 2.6.6)
|
13
|
-
i18n (~> 0.5.0)
|
14
|
-
rack (~> 1.2.1)
|
15
|
-
rack-mount (~> 0.6.14)
|
16
|
-
rack-test (~> 0.5.7)
|
17
|
-
tzinfo (~> 0.3.23)
|
18
|
-
activemodel (3.0.10)
|
19
|
-
activesupport (= 3.0.10)
|
20
|
-
builder (~> 2.1.2)
|
21
|
-
i18n (~> 0.5.0)
|
22
|
-
activerecord (3.0.10)
|
23
|
-
activemodel (= 3.0.10)
|
24
|
-
activesupport (= 3.0.10)
|
25
|
-
arel (~> 2.0.10)
|
26
|
-
tzinfo (~> 0.3.23)
|
27
|
-
activeresource (3.0.10)
|
28
|
-
activemodel (= 3.0.10)
|
29
|
-
activesupport (= 3.0.10)
|
30
|
-
activesupport (3.0.10)
|
31
|
-
arel (2.0.10)
|
32
|
-
builder (2.1.2)
|
33
|
-
erubis (2.6.6)
|
34
|
-
abstract (>= 1.0.0)
|
35
|
-
hpricot (0.8.4)
|
36
|
-
i18n (0.5.0)
|
37
|
-
json (1.6.1)
|
38
|
-
mail (2.2.19)
|
39
|
-
activesupport (>= 2.3.6)
|
40
|
-
i18n (>= 0.4.0)
|
41
|
-
mime-types (~> 1.16)
|
42
|
-
treetop (~> 1.4.8)
|
43
|
-
mime-types (1.16)
|
44
|
-
polyglot (0.3.2)
|
45
|
-
rack (1.2.4)
|
46
|
-
rack-mount (0.6.14)
|
47
|
-
rack (>= 1.0.0)
|
48
|
-
rack-test (0.5.7)
|
49
|
-
rack (>= 1.0)
|
50
|
-
rails (3.0.10)
|
51
|
-
actionmailer (= 3.0.10)
|
52
|
-
actionpack (= 3.0.10)
|
53
|
-
activerecord (= 3.0.10)
|
54
|
-
activeresource (= 3.0.10)
|
55
|
-
activesupport (= 3.0.10)
|
56
|
-
bundler (~> 1.0)
|
57
|
-
railties (= 3.0.10)
|
58
|
-
railties (3.0.10)
|
59
|
-
actionpack (= 3.0.10)
|
60
|
-
activesupport (= 3.0.10)
|
61
|
-
rake (>= 0.8.7)
|
62
|
-
rdoc (~> 3.4)
|
63
|
-
thor (~> 0.14.4)
|
64
|
-
rake (0.9.2)
|
65
|
-
rdoc (3.9.4)
|
66
|
-
ruby_parser (2.3.0)
|
67
|
-
sexp_processor (~> 3.0)
|
68
|
-
sass (3.1.7)
|
69
|
-
sexp_processor (3.0.6)
|
70
|
-
thor (0.14.6)
|
71
|
-
treetop (1.4.10)
|
72
|
-
polyglot
|
73
|
-
polyglot (>= 0.3.1)
|
74
|
-
tzinfo (0.3.29)
|
75
|
-
|
76
|
-
PLATFORMS
|
77
|
-
ruby
|
78
|
-
|
79
|
-
DEPENDENCIES
|
80
|
-
erubis
|
81
|
-
hpricot
|
82
|
-
json
|
83
|
-
rails (>= 3.0.0, < 3.1.0)
|
84
|
-
ruby_parser
|
85
|
-
sass
|
@@ -1,97 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: http://rubygems.org/
|
3
|
-
specs:
|
4
|
-
actionmailer (3.1.4)
|
5
|
-
actionpack (= 3.1.4)
|
6
|
-
mail (~> 2.3.0)
|
7
|
-
actionpack (3.1.4)
|
8
|
-
activemodel (= 3.1.4)
|
9
|
-
activesupport (= 3.1.4)
|
10
|
-
builder (~> 3.0.0)
|
11
|
-
erubis (~> 2.7.0)
|
12
|
-
i18n (~> 0.6)
|
13
|
-
rack (~> 1.3.6)
|
14
|
-
rack-cache (~> 1.1)
|
15
|
-
rack-mount (~> 0.8.2)
|
16
|
-
rack-test (~> 0.6.1)
|
17
|
-
sprockets (~> 2.0.3)
|
18
|
-
activemodel (3.1.4)
|
19
|
-
activesupport (= 3.1.4)
|
20
|
-
builder (~> 3.0.0)
|
21
|
-
i18n (~> 0.6)
|
22
|
-
activerecord (3.1.4)
|
23
|
-
activemodel (= 3.1.4)
|
24
|
-
activesupport (= 3.1.4)
|
25
|
-
arel (~> 2.2.3)
|
26
|
-
tzinfo (~> 0.3.29)
|
27
|
-
activeresource (3.1.4)
|
28
|
-
activemodel (= 3.1.4)
|
29
|
-
activesupport (= 3.1.4)
|
30
|
-
activesupport (3.1.4)
|
31
|
-
multi_json (~> 1.0)
|
32
|
-
arel (2.2.3)
|
33
|
-
builder (3.0.0)
|
34
|
-
erubis (2.7.0)
|
35
|
-
hike (1.2.1)
|
36
|
-
hpricot (0.8.6)
|
37
|
-
i18n (0.6.0)
|
38
|
-
json (1.6.6)
|
39
|
-
mail (2.3.3)
|
40
|
-
i18n (>= 0.4.0)
|
41
|
-
mime-types (~> 1.16)
|
42
|
-
treetop (~> 1.4.8)
|
43
|
-
mime-types (1.18)
|
44
|
-
multi_json (1.2.0)
|
45
|
-
polyglot (0.3.3)
|
46
|
-
rack (1.3.6)
|
47
|
-
rack-cache (1.2)
|
48
|
-
rack (>= 0.4)
|
49
|
-
rack-mount (0.8.3)
|
50
|
-
rack (>= 1.0.0)
|
51
|
-
rack-ssl (1.3.2)
|
52
|
-
rack
|
53
|
-
rack-test (0.6.1)
|
54
|
-
rack (>= 1.0)
|
55
|
-
rails (3.1.4)
|
56
|
-
actionmailer (= 3.1.4)
|
57
|
-
actionpack (= 3.1.4)
|
58
|
-
activerecord (= 3.1.4)
|
59
|
-
activeresource (= 3.1.4)
|
60
|
-
activesupport (= 3.1.4)
|
61
|
-
bundler (~> 1.0)
|
62
|
-
railties (= 3.1.4)
|
63
|
-
railties (3.1.4)
|
64
|
-
actionpack (= 3.1.4)
|
65
|
-
activesupport (= 3.1.4)
|
66
|
-
rack-ssl (~> 1.3.2)
|
67
|
-
rake (>= 0.8.7)
|
68
|
-
rdoc (~> 3.4)
|
69
|
-
thor (~> 0.14.6)
|
70
|
-
rake (0.9.2.2)
|
71
|
-
rdoc (3.12)
|
72
|
-
json (~> 1.4)
|
73
|
-
ruby_parser (2.3.1)
|
74
|
-
sexp_processor (~> 3.0)
|
75
|
-
sass (3.1.15)
|
76
|
-
sexp_processor (3.1.0)
|
77
|
-
sprockets (2.0.3)
|
78
|
-
hike (~> 1.2)
|
79
|
-
rack (~> 1.0)
|
80
|
-
tilt (~> 1.1, != 1.3.0)
|
81
|
-
thor (0.14.6)
|
82
|
-
tilt (1.3.3)
|
83
|
-
treetop (1.4.10)
|
84
|
-
polyglot
|
85
|
-
polyglot (>= 0.3.1)
|
86
|
-
tzinfo (0.3.33)
|
87
|
-
|
88
|
-
PLATFORMS
|
89
|
-
ruby
|
90
|
-
|
91
|
-
DEPENDENCIES
|
92
|
-
erubis
|
93
|
-
hpricot
|
94
|
-
json
|
95
|
-
rails (>= 3.1.0, < 3.2.0)
|
96
|
-
ruby_parser
|
97
|
-
sass
|
@@ -1,95 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: http://rubygems.org/
|
3
|
-
specs:
|
4
|
-
actionmailer (3.2.3)
|
5
|
-
actionpack (= 3.2.3)
|
6
|
-
mail (~> 2.4.4)
|
7
|
-
actionpack (3.2.3)
|
8
|
-
activemodel (= 3.2.3)
|
9
|
-
activesupport (= 3.2.3)
|
10
|
-
builder (~> 3.0.0)
|
11
|
-
erubis (~> 2.7.0)
|
12
|
-
journey (~> 1.0.1)
|
13
|
-
rack (~> 1.4.0)
|
14
|
-
rack-cache (~> 1.2)
|
15
|
-
rack-test (~> 0.6.1)
|
16
|
-
sprockets (~> 2.1.2)
|
17
|
-
activemodel (3.2.3)
|
18
|
-
activesupport (= 3.2.3)
|
19
|
-
builder (~> 3.0.0)
|
20
|
-
activerecord (3.2.3)
|
21
|
-
activemodel (= 3.2.3)
|
22
|
-
activesupport (= 3.2.3)
|
23
|
-
arel (~> 3.0.2)
|
24
|
-
tzinfo (~> 0.3.29)
|
25
|
-
activeresource (3.2.3)
|
26
|
-
activemodel (= 3.2.3)
|
27
|
-
activesupport (= 3.2.3)
|
28
|
-
activesupport (3.2.3)
|
29
|
-
i18n (~> 0.6)
|
30
|
-
multi_json (~> 1.0)
|
31
|
-
arel (3.0.2)
|
32
|
-
builder (3.0.0)
|
33
|
-
erubis (2.7.0)
|
34
|
-
hike (1.2.1)
|
35
|
-
hpricot (0.8.6)
|
36
|
-
i18n (0.6.0)
|
37
|
-
journey (1.0.3)
|
38
|
-
json (1.6.6)
|
39
|
-
mail (2.4.4)
|
40
|
-
i18n (>= 0.4.0)
|
41
|
-
mime-types (~> 1.16)
|
42
|
-
treetop (~> 1.4.8)
|
43
|
-
mime-types (1.18)
|
44
|
-
multi_json (1.2.0)
|
45
|
-
polyglot (0.3.3)
|
46
|
-
rack (1.4.1)
|
47
|
-
rack-cache (1.2)
|
48
|
-
rack (>= 0.4)
|
49
|
-
rack-ssl (1.3.2)
|
50
|
-
rack
|
51
|
-
rack-test (0.6.1)
|
52
|
-
rack (>= 1.0)
|
53
|
-
rails (3.2.3)
|
54
|
-
actionmailer (= 3.2.3)
|
55
|
-
actionpack (= 3.2.3)
|
56
|
-
activerecord (= 3.2.3)
|
57
|
-
activeresource (= 3.2.3)
|
58
|
-
activesupport (= 3.2.3)
|
59
|
-
bundler (~> 1.0)
|
60
|
-
railties (= 3.2.3)
|
61
|
-
railties (3.2.3)
|
62
|
-
actionpack (= 3.2.3)
|
63
|
-
activesupport (= 3.2.3)
|
64
|
-
rack-ssl (~> 1.3.2)
|
65
|
-
rake (>= 0.8.7)
|
66
|
-
rdoc (~> 3.4)
|
67
|
-
thor (~> 0.14.6)
|
68
|
-
rake (0.9.2.2)
|
69
|
-
rdoc (3.12)
|
70
|
-
json (~> 1.4)
|
71
|
-
ruby_parser (2.3.1)
|
72
|
-
sexp_processor (~> 3.0)
|
73
|
-
sass (3.1.15)
|
74
|
-
sexp_processor (3.1.0)
|
75
|
-
sprockets (2.1.2)
|
76
|
-
hike (~> 1.2)
|
77
|
-
rack (~> 1.0)
|
78
|
-
tilt (~> 1.1, != 1.3.0)
|
79
|
-
thor (0.14.6)
|
80
|
-
tilt (1.3.3)
|
81
|
-
treetop (1.4.10)
|
82
|
-
polyglot
|
83
|
-
polyglot (>= 0.3.1)
|
84
|
-
tzinfo (0.3.33)
|
85
|
-
|
86
|
-
PLATFORMS
|
87
|
-
ruby
|
88
|
-
|
89
|
-
DEPENDENCIES
|
90
|
-
erubis
|
91
|
-
hpricot
|
92
|
-
json
|
93
|
-
rails (>= 3.2.0, < 3.3.0)
|
94
|
-
ruby_parser
|
95
|
-
sass
|
@@ -1,42 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: http://rubygems.org/
|
3
|
-
specs:
|
4
|
-
actionmailer (2.3.14)
|
5
|
-
actionpack (= 2.3.14)
|
6
|
-
actionpack (2.3.14)
|
7
|
-
activesupport (= 2.3.14)
|
8
|
-
rack (~> 1.1.0)
|
9
|
-
activerecord (2.3.14)
|
10
|
-
activesupport (= 2.3.14)
|
11
|
-
activeresource (2.3.14)
|
12
|
-
activesupport (= 2.3.14)
|
13
|
-
activesupport (2.3.14)
|
14
|
-
erubis (2.7.0)
|
15
|
-
hpricot (0.8.4)
|
16
|
-
json (1.6.1)
|
17
|
-
rack (1.1.2)
|
18
|
-
rails (2.3.14)
|
19
|
-
actionmailer (= 2.3.14)
|
20
|
-
actionpack (= 2.3.14)
|
21
|
-
activerecord (= 2.3.14)
|
22
|
-
activeresource (= 2.3.14)
|
23
|
-
activesupport (= 2.3.14)
|
24
|
-
rake (>= 0.8.3)
|
25
|
-
rails_xss (0.1.3)
|
26
|
-
rake (0.9.2)
|
27
|
-
ruby_parser (2.3.0)
|
28
|
-
sexp_processor (~> 3.0)
|
29
|
-
sass (3.1.7)
|
30
|
-
sexp_processor (3.0.6)
|
31
|
-
|
32
|
-
PLATFORMS
|
33
|
-
ruby
|
34
|
-
|
35
|
-
DEPENDENCIES
|
36
|
-
erubis
|
37
|
-
hpricot
|
38
|
-
json
|
39
|
-
rails (>= 2.3.0, < 2.4.0)
|
40
|
-
rails_xss (>= 0.1.1)
|
41
|
-
ruby_parser
|
42
|
-
sass
|
@@ -1,1950 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# -*- coding: utf-8 -*-
|
3
|
-
require File.dirname(__FILE__) + '/../test_helper'
|
4
|
-
|
5
|
-
class EngineTest < Test::Unit::TestCase
|
6
|
-
# A map of erroneous Haml documents to the error messages they should produce.
|
7
|
-
# The error messages may be arrays;
|
8
|
-
# if so, the second element should be the line number that should be reported for the error.
|
9
|
-
# If this isn't provided, the tests will assume the line number should be the last line of the document.
|
10
|
-
EXCEPTION_MAP = {
|
11
|
-
"!!!\n a" => "Illegal nesting: nesting within a header command is illegal.",
|
12
|
-
"a\n b" => "Illegal nesting: nesting within plain text is illegal.",
|
13
|
-
"/ a\n b" => "Illegal nesting: nesting within a tag that already has content is illegal.",
|
14
|
-
"% a" => 'Invalid tag: "% a".',
|
15
|
-
"%p a\n b" => "Illegal nesting: content can't be both given on the same line as %p and nested within it.",
|
16
|
-
"%p=" => "There's no Ruby code for = to evaluate.",
|
17
|
-
"%p~" => "There's no Ruby code for ~ to evaluate.",
|
18
|
-
"~" => "There's no Ruby code for ~ to evaluate.",
|
19
|
-
"=" => "There's no Ruby code for = to evaluate.",
|
20
|
-
"%p/\n a" => "Illegal nesting: nesting within a self-closing tag is illegal.",
|
21
|
-
":a\n b" => ['Filter "a" is not defined.', 1],
|
22
|
-
":a= b" => 'Invalid filter name ":a= b".',
|
23
|
-
"." => "Illegal element: classes and ids must have values.",
|
24
|
-
".#" => "Illegal element: classes and ids must have values.",
|
25
|
-
".{} a" => "Illegal element: classes and ids must have values.",
|
26
|
-
".() a" => "Illegal element: classes and ids must have values.",
|
27
|
-
".= a" => "Illegal element: classes and ids must have values.",
|
28
|
-
"%p..a" => "Illegal element: classes and ids must have values.",
|
29
|
-
"%a/ b" => "Self-closing tags can't have content.",
|
30
|
-
"%p{:a => 'b',\n:c => 'd'}/ e" => ["Self-closing tags can't have content.", 2],
|
31
|
-
"%p{:a => 'b',\n:c => 'd'}=" => ["There's no Ruby code for = to evaluate.", 2],
|
32
|
-
"%p.{:a => 'b',\n:c => 'd'} e" => ["Illegal element: classes and ids must have values.", 1],
|
33
|
-
"%p{:a => 'b',\n:c => 'd',\n:e => 'f'}\n%p/ a" => ["Self-closing tags can't have content.", 4],
|
34
|
-
"%p{:a => 'b',\n:c => 'd',\n:e => 'f'}\n- raise 'foo'" => ["foo", 4],
|
35
|
-
"%p{:a => 'b',\n:c => raise('foo'),\n:e => 'f'}" => ["foo", 2],
|
36
|
-
"%p{:a => 'b',\n:c => 'd',\n:e => raise('foo')}" => ["foo", 3],
|
37
|
-
" %p foo" => "Indenting at the beginning of the document is illegal.",
|
38
|
-
" %p foo" => "Indenting at the beginning of the document is illegal.",
|
39
|
-
"- end" => <<MESSAGE.rstrip,
|
40
|
-
You don't need to use "- end" in Haml. Un-indent to close a block:
|
41
|
-
- if foo?
|
42
|
-
%strong Foo!
|
43
|
-
- else
|
44
|
-
Not foo.
|
45
|
-
%p This line is un-indented, so it isn't part of the "if" block
|
46
|
-
MESSAGE
|
47
|
-
" \n\t\n %p foo" => ["Indenting at the beginning of the document is illegal.", 3],
|
48
|
-
"\n\n %p foo" => ["Indenting at the beginning of the document is illegal.", 3],
|
49
|
-
"%p\n foo\n foo" => ["Inconsistent indentation: 1 space was used for indentation, but the rest of the document was indented using 2 spaces.", 3],
|
50
|
-
"%p\n foo\n%p\n foo" => ["Inconsistent indentation: 1 space was used for indentation, but the rest of the document was indented using 2 spaces.", 4],
|
51
|
-
"%p\n\t\tfoo\n\tfoo" => ["Inconsistent indentation: 1 tab was used for indentation, but the rest of the document was indented using 2 tabs.", 3],
|
52
|
-
"%p\n foo\n foo" => ["Inconsistent indentation: 3 spaces were used for indentation, but the rest of the document was indented using 2 spaces.", 3],
|
53
|
-
"%p\n foo\n %p\n bar" => ["Inconsistent indentation: 3 spaces were used for indentation, but the rest of the document was indented using 2 spaces.", 4],
|
54
|
-
"%p\n :plain\n bar\n \t baz" => ['Inconsistent indentation: " \t " was used for indentation, but the rest of the document was indented using 2 spaces.', 4],
|
55
|
-
"%p\n foo\n%p\n bar" => ["The line was indented 2 levels deeper than the previous line.", 4],
|
56
|
-
"%p\n foo\n %p\n bar" => ["The line was indented 3 levels deeper than the previous line.", 4],
|
57
|
-
"%p\n \tfoo" => ["Indentation can't use both tabs and spaces.", 2],
|
58
|
-
"%p(" => "Invalid attribute list: \"(\".",
|
59
|
-
"%p(foo=\nbar)" => ["Invalid attribute list: \"(foo=\".", 1],
|
60
|
-
"%p(foo=)" => "Invalid attribute list: \"(foo=)\".",
|
61
|
-
"%p(foo 'bar')" => "Invalid attribute list: \"(foo 'bar')\".",
|
62
|
-
"%p(foo 'bar'\nbaz='bang')" => ["Invalid attribute list: \"(foo 'bar'\".", 1],
|
63
|
-
"%p(foo='bar'\nbaz 'bang'\nbip='bop')" => ["Invalid attribute list: \"(foo='bar' baz 'bang'\".", 2],
|
64
|
-
"%p{:foo => 'bar' :bar => 'baz'}" => :compile,
|
65
|
-
"%p{:foo => }" => :compile,
|
66
|
-
"%p{=> 'bar'}" => :compile,
|
67
|
-
"%p{:foo => 'bar}" => :compile,
|
68
|
-
"%p{'foo => 'bar'}" => :compile,
|
69
|
-
"%p{:foo => 'bar\"}" => :compile,
|
70
|
-
|
71
|
-
# Regression tests
|
72
|
-
"- raise 'foo'\n\n\n\nbar" => ["foo", 1],
|
73
|
-
"= 'foo'\n-raise 'foo'" => ["foo", 2],
|
74
|
-
"\n\n\n- raise 'foo'" => ["foo", 4],
|
75
|
-
"%p foo |\n bar |\n baz |\nbop\n- raise 'foo'" => ["foo", 5],
|
76
|
-
"foo\n\n\n bar" => ["Illegal nesting: nesting within plain text is illegal.", 4],
|
77
|
-
"%p/\n\n bar" => ["Illegal nesting: nesting within a self-closing tag is illegal.", 3],
|
78
|
-
"%p foo\n\n bar" => ["Illegal nesting: content can't be both given on the same line as %p and nested within it.", 3],
|
79
|
-
"/ foo\n\n bar" => ["Illegal nesting: nesting within a tag that already has content is illegal.", 3],
|
80
|
-
"!!!\n\n bar" => ["Illegal nesting: nesting within a header command is illegal.", 3],
|
81
|
-
"foo\n:ruby\n 1\n 2\n 3\n- raise 'foo'" => ["foo", 6],
|
82
|
-
"foo\n:erb\n 1\n 2\n 3\n- raise 'foo'" => ["foo", 6],
|
83
|
-
"foo\n:plain\n 1\n 2\n 3\n- raise 'foo'" => ["foo", 6],
|
84
|
-
"foo\n:plain\n 1\n 2\n 3\n4\n- raise 'foo'" => ["foo", 7],
|
85
|
-
"foo\n:plain\n 1\n 2\n 3\#{''}\n- raise 'foo'" => ["foo", 6],
|
86
|
-
"foo\n:plain\n 1\n 2\n 3\#{''}\n4\n- raise 'foo'" => ["foo", 7],
|
87
|
-
"foo\n:plain\n 1\n 2\n \#{raise 'foo'}" => ["foo", 5],
|
88
|
-
"= raise 'foo'\nfoo\nbar\nbaz\nbang" => ["foo", 1],
|
89
|
-
"- case 1\n\n- when 1\n - raise 'foo'" => ["foo", 4],
|
90
|
-
"- tap do\n - tap do\n text\n- raise 'foo'" => ["foo", 4],
|
91
|
-
"- tap do\n - tap do\n text\n - raise 'foo'" => ["foo", 4],
|
92
|
-
"- tap do\n - tap do\n text\n text\n- raise 'foo'" => ["foo", 5],
|
93
|
-
}
|
94
|
-
|
95
|
-
User = Struct.new('User', :id)
|
96
|
-
class CustomHamlClass < Struct.new(:id)
|
97
|
-
def haml_object_ref
|
98
|
-
"my_thing"
|
99
|
-
end
|
100
|
-
end
|
101
|
-
|
102
|
-
def render(text, options = {}, &block)
|
103
|
-
scope = options.delete(:scope) || Object.new
|
104
|
-
locals = options.delete(:locals) || {}
|
105
|
-
engine(text, options).to_html(scope, locals, &block)
|
106
|
-
end
|
107
|
-
|
108
|
-
def engine(text, options = {})
|
109
|
-
unless options[:filename]
|
110
|
-
# use caller method name as fake filename. useful for debugging
|
111
|
-
i = -1
|
112
|
-
caller[i+=1] =~ /`(.+?)'/ until $1 and $1.index('test_') == 0
|
113
|
-
options[:filename] = "(#{$1})"
|
114
|
-
end
|
115
|
-
Haml::Engine.new(text, options)
|
116
|
-
end
|
117
|
-
|
118
|
-
def setup
|
119
|
-
return if Haml::Util.ruby1_8?
|
120
|
-
@old_default_internal = Encoding.default_internal
|
121
|
-
Encoding.default_internal = nil
|
122
|
-
end
|
123
|
-
|
124
|
-
def teardown
|
125
|
-
return if Haml::Util.ruby1_8?
|
126
|
-
Encoding.default_internal = @old_default_internal
|
127
|
-
end
|
128
|
-
|
129
|
-
def test_empty_render
|
130
|
-
assert_equal "", render("")
|
131
|
-
end
|
132
|
-
|
133
|
-
def test_flexible_tabulation
|
134
|
-
assert_equal("<p>\n foo\n</p>\n<q>\n bar\n <a>\n baz\n </a>\n</q>\n",
|
135
|
-
render("%p\n foo\n%q\n bar\n %a\n baz"))
|
136
|
-
assert_equal("<p>\n foo\n</p>\n<q>\n bar\n <a>\n baz\n </a>\n</q>\n",
|
137
|
-
render("%p\n\tfoo\n%q\n\tbar\n\t%a\n\t\tbaz"))
|
138
|
-
assert_equal("<p>\n \t \t bar\n baz\n</p>\n",
|
139
|
-
render("%p\n :plain\n \t \t bar\n baz"))
|
140
|
-
end
|
141
|
-
|
142
|
-
def test_empty_render_should_remain_empty
|
143
|
-
assert_equal('', render(''))
|
144
|
-
end
|
145
|
-
|
146
|
-
def test_attributes_should_render_correctly
|
147
|
-
assert_equal("<div class='atlantis' style='ugly'></div>", render(".atlantis{:style => 'ugly'}").chomp)
|
148
|
-
end
|
149
|
-
|
150
|
-
def test_css_id_as_attribute_should_be_appended_with_underscore
|
151
|
-
assert_equal("<div id='my_id_1'></div>", render("#my_id{:id => '1'}").chomp)
|
152
|
-
assert_equal("<div id='my_id_1'></div>", render("#my_id{:id => 1}").chomp)
|
153
|
-
end
|
154
|
-
|
155
|
-
def test_ruby_code_should_work_inside_attributes
|
156
|
-
author = 'hcatlin'
|
157
|
-
assert_equal("<p class='3'>foo</p>", render("%p{:class => 1+2} foo").chomp)
|
158
|
-
end
|
159
|
-
|
160
|
-
def test_class_attr_with_array
|
161
|
-
assert_equal("<p class='a b'>foo</p>\n", render("%p{:class => %w[a b]} foo")) # basic
|
162
|
-
assert_equal("<p class='a b css'>foo</p>\n", render("%p.css{:class => %w[a b]} foo")) # merge with css
|
163
|
-
assert_equal("<p class='b css'>foo</p>\n", render("%p.css{:class => %w[css b]} foo")) # merge uniquely
|
164
|
-
assert_equal("<p class='a b c d'>foo</p>\n", render("%p{:class => [%w[a b], %w[c d]]} foo")) # flatten
|
165
|
-
assert_equal("<p class='a b'>foo</p>\n", render("%p{:class => [:a, :b] } foo")) # stringify
|
166
|
-
assert_equal("<p>foo</p>\n", render("%p{:class => [nil, false] } foo")) # strip falsey
|
167
|
-
assert_equal("<p class='a'>foo</p>\n", render("%p{:class => :a} foo")) # single stringify
|
168
|
-
assert_equal("<p>foo</p>\n", render("%p{:class => false} foo")) # single falsey
|
169
|
-
assert_equal("<p class='a b html'>foo</p>\n", render("%p(class='html'){:class => %w[a b]} foo")) # html attrs
|
170
|
-
end
|
171
|
-
|
172
|
-
def test_id_attr_with_array
|
173
|
-
assert_equal("<p id='a_b'>foo</p>\n", render("%p{:id => %w[a b]} foo")) # basic
|
174
|
-
assert_equal("<p id='css_a_b'>foo</p>\n", render("%p#css{:id => %w[a b]} foo")) # merge with css
|
175
|
-
assert_equal("<p id='a_b_c_d'>foo</p>\n", render("%p{:id => [%w[a b], %w[c d]]} foo")) # flatten
|
176
|
-
assert_equal("<p id='a_b'>foo</p>\n", render("%p{:id => [:a, :b] } foo")) # stringify
|
177
|
-
assert_equal("<p>foo</p>\n", render("%p{:id => [nil, false] } foo")) # strip falsey
|
178
|
-
assert_equal("<p id='a'>foo</p>\n", render("%p{:id => :a} foo")) # single stringify
|
179
|
-
assert_equal("<p>foo</p>\n", render("%p{:id => false} foo")) # single falsey
|
180
|
-
assert_equal("<p id='html_a_b'>foo</p>\n", render("%p(id='html'){:id => %w[a b]} foo")) # html attrs
|
181
|
-
end
|
182
|
-
|
183
|
-
def test_colon_in_class_attr
|
184
|
-
assert_equal("<p class='foo:bar' />\n", render("%p.foo:bar/"))
|
185
|
-
end
|
186
|
-
|
187
|
-
def test_colon_in_id_attr
|
188
|
-
assert_equal("<p id='foo:bar' />\n", render("%p#foo:bar/"))
|
189
|
-
end
|
190
|
-
|
191
|
-
def test_dynamic_attributes_with_no_content
|
192
|
-
assert_equal(<<HTML, render(<<HAML))
|
193
|
-
<p>
|
194
|
-
<a href='http://haml.info'></a>
|
195
|
-
</p>
|
196
|
-
HTML
|
197
|
-
%p
|
198
|
-
%a{:href => "http://" + "haml.info"}
|
199
|
-
HAML
|
200
|
-
end
|
201
|
-
|
202
|
-
def test_attributes_with_to_s
|
203
|
-
assert_equal(<<HTML, render(<<HAML))
|
204
|
-
<p id='foo_2'></p>
|
205
|
-
<p class='2 foo'></p>
|
206
|
-
<p blaz='2'></p>
|
207
|
-
<p 2='2'></p>
|
208
|
-
HTML
|
209
|
-
%p#foo{:id => 1+1}
|
210
|
-
%p.foo{:class => 1+1}
|
211
|
-
%p{:blaz => 1+1}
|
212
|
-
%p{(1+1) => 1+1}
|
213
|
-
HAML
|
214
|
-
end
|
215
|
-
|
216
|
-
def test_nil_should_render_empty_tag
|
217
|
-
assert_equal("<div class='no_attributes'></div>",
|
218
|
-
render(".no_attributes{:nil => nil}").chomp)
|
219
|
-
end
|
220
|
-
|
221
|
-
def test_strings_should_get_stripped_inside_tags
|
222
|
-
assert_equal("<div class='stripped'>This should have no spaces in front of it</div>",
|
223
|
-
render(".stripped This should have no spaces in front of it").chomp)
|
224
|
-
end
|
225
|
-
|
226
|
-
def test_one_liner_should_be_one_line
|
227
|
-
assert_equal("<p>Hello</p>", render('%p Hello').chomp)
|
228
|
-
end
|
229
|
-
|
230
|
-
def test_one_liner_with_newline_shouldnt_be_one_line
|
231
|
-
assert_equal("<p>\n foo\n bar\n</p>", render('%p= "foo\nbar"').chomp)
|
232
|
-
end
|
233
|
-
|
234
|
-
def test_multi_render
|
235
|
-
engine = engine("%strong Hi there!")
|
236
|
-
assert_equal("<strong>Hi there!</strong>\n", engine.to_html)
|
237
|
-
assert_equal("<strong>Hi there!</strong>\n", engine.to_html)
|
238
|
-
assert_equal("<strong>Hi there!</strong>\n", engine.to_html)
|
239
|
-
end
|
240
|
-
|
241
|
-
def test_interpolation
|
242
|
-
assert_equal("<p>Hello World</p>\n", render('%p Hello #{who}', :locals => {:who => 'World'}))
|
243
|
-
assert_equal("<p>\n Hello World\n</p>\n", render("%p\n Hello \#{who}", :locals => {:who => 'World'}))
|
244
|
-
end
|
245
|
-
|
246
|
-
def test_interpolation_in_the_middle_of_a_string
|
247
|
-
assert_equal("\"title 'Title'. \"\n",
|
248
|
-
render("\"title '\#{\"Title\"}'. \""))
|
249
|
-
end
|
250
|
-
|
251
|
-
def test_interpolation_at_the_beginning_of_a_line
|
252
|
-
assert_equal("<p>2</p>\n", render('%p #{1 + 1}'))
|
253
|
-
assert_equal("<p>\n 2\n</p>\n", render("%p\n \#{1 + 1}"))
|
254
|
-
end
|
255
|
-
|
256
|
-
def test_escaped_interpolation
|
257
|
-
assert_equal("<p>Foo & Bar & Baz</p>\n", render('%p& Foo #{"&"} Bar & Baz'))
|
258
|
-
end
|
259
|
-
|
260
|
-
def test_nil_tag_value_should_render_as_empty
|
261
|
-
assert_equal("<p></p>\n", render("%p= nil"))
|
262
|
-
end
|
263
|
-
|
264
|
-
def test_tag_with_failed_if_should_render_as_empty
|
265
|
-
assert_equal("<p></p>\n", render("%p= 'Hello' if false"))
|
266
|
-
end
|
267
|
-
|
268
|
-
def test_static_attributes_with_empty_attr
|
269
|
-
assert_equal("<img alt='' src='/foo.png' />\n", render("%img{:src => '/foo.png', :alt => ''}"))
|
270
|
-
end
|
271
|
-
|
272
|
-
def test_dynamic_attributes_with_empty_attr
|
273
|
-
assert_equal("<img alt='' src='/foo.png' />\n", render("%img{:width => nil, :src => '/foo.png', :alt => String.new}"))
|
274
|
-
end
|
275
|
-
|
276
|
-
def test_attribute_hash_with_newlines
|
277
|
-
assert_equal("<p a='b' c='d'>foop</p>\n", render("%p{:a => 'b',\n :c => 'd'} foop"))
|
278
|
-
assert_equal("<p a='b' c='d'>\n foop\n</p>\n", render("%p{:a => 'b',\n :c => 'd'}\n foop"))
|
279
|
-
assert_equal("<p a='b' c='d' />\n", render("%p{:a => 'b',\n :c => 'd'}/"))
|
280
|
-
assert_equal("<p a='b' c='d' e='f'></p>\n", render("%p{:a => 'b',\n :c => 'd',\n :e => 'f'}"))
|
281
|
-
end
|
282
|
-
|
283
|
-
def test_attr_hashes_not_modified
|
284
|
-
hash = {:color => 'red'}
|
285
|
-
assert_equal(<<HTML, render(<<HAML, :locals => {:hash => hash}))
|
286
|
-
<div color='red'></div>
|
287
|
-
<div class='special' color='red'></div>
|
288
|
-
<div color='red'></div>
|
289
|
-
HTML
|
290
|
-
%div{hash}
|
291
|
-
.special{hash}
|
292
|
-
%div{hash}
|
293
|
-
HAML
|
294
|
-
assert_equal(hash, {:color => 'red'})
|
295
|
-
end
|
296
|
-
|
297
|
-
def test_ugly_semi_prerendered_tags
|
298
|
-
assert_equal(<<HTML, render(<<HAML, :ugly => true))
|
299
|
-
<p a='2'></p>
|
300
|
-
<p a='2'>foo</p>
|
301
|
-
<p a='2' />
|
302
|
-
<p a='2'>foo</p>
|
303
|
-
<p a='2'>foo
|
304
|
-
bar</p>
|
305
|
-
<p a='2'>foo
|
306
|
-
bar</p>
|
307
|
-
<p a='2'>
|
308
|
-
foo
|
309
|
-
</p>
|
310
|
-
HTML
|
311
|
-
%p{:a => 1 + 1}
|
312
|
-
%p{:a => 1 + 1} foo
|
313
|
-
%p{:a => 1 + 1}/
|
314
|
-
%p{:a => 1 + 1}= "foo"
|
315
|
-
%p{:a => 1 + 1}= "foo\\nbar"
|
316
|
-
%p{:a => 1 + 1}~ "foo\\nbar"
|
317
|
-
%p{:a => 1 + 1}
|
318
|
-
foo
|
319
|
-
HAML
|
320
|
-
end
|
321
|
-
|
322
|
-
def test_end_of_file_multiline
|
323
|
-
assert_equal("<p>0</p>\n<p>1</p>\n<p>2</p>\n", render("- for i in (0...3)\n %p= |\n i |"))
|
324
|
-
end
|
325
|
-
|
326
|
-
def test_cr_newline
|
327
|
-
assert_equal("<p>foo</p>\n<p>bar</p>\n<p>baz</p>\n<p>boom</p>\n", render("%p foo\r%p bar\r\n%p baz\n\r%p boom"))
|
328
|
-
end
|
329
|
-
|
330
|
-
def test_textareas
|
331
|
-
assert_equal("<textarea>Foo
 bar
 baz</textarea>\n",
|
332
|
-
render('%textarea= "Foo\n bar\n baz"'))
|
333
|
-
|
334
|
-
assert_equal("<pre>Foo
 bar
 baz</pre>\n",
|
335
|
-
render('%pre= "Foo\n bar\n baz"'))
|
336
|
-
|
337
|
-
assert_equal("<textarea>#{'a' * 100}</textarea>\n",
|
338
|
-
render("%textarea #{'a' * 100}"))
|
339
|
-
|
340
|
-
assert_equal("<p>\n <textarea>Foo\n Bar\n Baz</textarea>\n</p>\n", render(<<SOURCE))
|
341
|
-
%p
|
342
|
-
%textarea
|
343
|
-
Foo
|
344
|
-
Bar
|
345
|
-
Baz
|
346
|
-
SOURCE
|
347
|
-
end
|
348
|
-
|
349
|
-
def test_pre_code
|
350
|
-
assert_equal(<<HTML, render(<<HAML))
|
351
|
-
<pre><code>Foo
 bar
 baz</code></pre>
|
352
|
-
HTML
|
353
|
-
%pre
|
354
|
-
%code
|
355
|
-
:preserve
|
356
|
-
Foo
|
357
|
-
bar
|
358
|
-
baz
|
359
|
-
HAML
|
360
|
-
end
|
361
|
-
|
362
|
-
def test_boolean_attributes
|
363
|
-
assert_equal("<p bar baz='true' foo='bar'></p>\n",
|
364
|
-
render("%p{:foo => 'bar', :bar => true, :baz => 'true'}", :format => :html4))
|
365
|
-
assert_equal("<p bar='bar' baz='true' foo='bar'></p>\n",
|
366
|
-
render("%p{:foo => 'bar', :bar => true, :baz => 'true'}", :format => :xhtml))
|
367
|
-
|
368
|
-
assert_equal("<p baz='false' foo='bar'></p>\n",
|
369
|
-
render("%p{:foo => 'bar', :bar => false, :baz => 'false'}", :format => :html4))
|
370
|
-
assert_equal("<p baz='false' foo='bar'></p>\n",
|
371
|
-
render("%p{:foo => 'bar', :bar => false, :baz => 'false'}", :format => :xhtml))
|
372
|
-
end
|
373
|
-
|
374
|
-
def test_both_whitespace_nukes_work_together
|
375
|
-
assert_equal(<<RESULT, render(<<SOURCE))
|
376
|
-
<p><q>Foo
|
377
|
-
Bar</q></p>
|
378
|
-
RESULT
|
379
|
-
%p
|
380
|
-
%q><= "Foo\\nBar"
|
381
|
-
SOURCE
|
382
|
-
end
|
383
|
-
|
384
|
-
def test_nil_option
|
385
|
-
assert_equal("<p foo='bar'></p>\n", render('%p{:foo => "bar"}', :attr_wrapper => nil))
|
386
|
-
end
|
387
|
-
|
388
|
-
def test_comment_with_crazy_nesting
|
389
|
-
assert_equal(<<HTML, render(<<HAML))
|
390
|
-
foo
|
391
|
-
bar
|
392
|
-
HTML
|
393
|
-
foo
|
394
|
-
-#
|
395
|
-
ul
|
396
|
-
%li{
|
397
|
-
foo
|
398
|
-
bar
|
399
|
-
HAML
|
400
|
-
end
|
401
|
-
|
402
|
-
# Regression tests
|
403
|
-
|
404
|
-
unless Haml::Util.ruby1_8?
|
405
|
-
def test_indentation_after_dynamic_attr_hash
|
406
|
-
assert_equal(<<HTML, render(<<HAML))
|
407
|
-
<html>
|
408
|
-
<body>
|
409
|
-
<img src='test' />
|
410
|
-
foo
|
411
|
-
bar
|
412
|
-
</body>
|
413
|
-
</html>
|
414
|
-
HTML
|
415
|
-
%html
|
416
|
-
%body
|
417
|
-
%img{:src => 'te'+'st'}
|
418
|
-
= "foo\\nbar"
|
419
|
-
HAML
|
420
|
-
end
|
421
|
-
end
|
422
|
-
|
423
|
-
def test_whitespace_nuke_with_both_newlines
|
424
|
-
assert_equal("<p>foo</p>\n", render('%p<= "\nfoo\n"'))
|
425
|
-
assert_equal(<<HTML, render(<<HAML))
|
426
|
-
<p>
|
427
|
-
<p>foo</p>
|
428
|
-
</p>
|
429
|
-
HTML
|
430
|
-
%p
|
431
|
-
%p<= "\\nfoo\\n"
|
432
|
-
HAML
|
433
|
-
end
|
434
|
-
|
435
|
-
def test_whitespace_nuke_with_tags_and_else
|
436
|
-
assert_equal(<<HTML, render(<<HAML))
|
437
|
-
<a>
|
438
|
-
<b>foo</b>
|
439
|
-
</a>
|
440
|
-
HTML
|
441
|
-
%a
|
442
|
-
%b<
|
443
|
-
- if false
|
444
|
-
= "foo"
|
445
|
-
- else
|
446
|
-
foo
|
447
|
-
HAML
|
448
|
-
|
449
|
-
assert_equal(<<HTML, render(<<HAML))
|
450
|
-
<a>
|
451
|
-
<b>
|
452
|
-
foo
|
453
|
-
</b>
|
454
|
-
</a>
|
455
|
-
HTML
|
456
|
-
%a
|
457
|
-
%b
|
458
|
-
- if false
|
459
|
-
= "foo"
|
460
|
-
- else
|
461
|
-
foo
|
462
|
-
HAML
|
463
|
-
end
|
464
|
-
|
465
|
-
def test_outer_whitespace_nuke_with_empty_script
|
466
|
-
assert_equal(<<HTML, render(<<HAML))
|
467
|
-
<p>
|
468
|
-
foo<a></a></p>
|
469
|
-
HTML
|
470
|
-
%p
|
471
|
-
foo
|
472
|
-
= " "
|
473
|
-
%a>
|
474
|
-
HAML
|
475
|
-
end
|
476
|
-
|
477
|
-
def test_both_case_indentation_work_with_deeply_nested_code
|
478
|
-
result = <<RESULT
|
479
|
-
<h2>
|
480
|
-
other
|
481
|
-
</h2>
|
482
|
-
RESULT
|
483
|
-
assert_equal(result, render(<<HAML))
|
484
|
-
- case 'other'
|
485
|
-
- when 'test'
|
486
|
-
%h2
|
487
|
-
hi
|
488
|
-
- when 'other'
|
489
|
-
%h2
|
490
|
-
other
|
491
|
-
HAML
|
492
|
-
assert_equal(result, render(<<HAML))
|
493
|
-
- case 'other'
|
494
|
-
- when 'test'
|
495
|
-
%h2
|
496
|
-
hi
|
497
|
-
- when 'other'
|
498
|
-
%h2
|
499
|
-
other
|
500
|
-
HAML
|
501
|
-
end
|
502
|
-
|
503
|
-
def test_equals_block_with_ugly
|
504
|
-
assert_equal("foo\n", render(<<HAML, :ugly => true))
|
505
|
-
= capture_haml do
|
506
|
-
foo
|
507
|
-
HAML
|
508
|
-
end
|
509
|
-
|
510
|
-
def test_plain_equals_with_ugly
|
511
|
-
assert_equal("foo\nbar\n", render(<<HAML, :ugly => true))
|
512
|
-
= "foo"
|
513
|
-
bar
|
514
|
-
HAML
|
515
|
-
end
|
516
|
-
|
517
|
-
def test_inline_if
|
518
|
-
assert_equal(<<HTML, render(<<HAML))
|
519
|
-
<p>One</p>
|
520
|
-
<p></p>
|
521
|
-
<p>Three</p>
|
522
|
-
HTML
|
523
|
-
- for name in ["One", "Two", "Three"]
|
524
|
-
%p= name unless name == "Two"
|
525
|
-
HAML
|
526
|
-
end
|
527
|
-
|
528
|
-
def test_end_with_method_call
|
529
|
-
assert_equal(<<HTML, render(<<HAML))
|
530
|
-
2|3|4
|
531
|
-
b-a-r
|
532
|
-
HTML
|
533
|
-
= [1, 2, 3].map do |i|
|
534
|
-
- i + 1
|
535
|
-
- end.join("|")
|
536
|
-
= "bar".gsub(/./) do |s|
|
537
|
-
- s + "-"
|
538
|
-
- end.gsub(/-$/) do |s|
|
539
|
-
- ''
|
540
|
-
HAML
|
541
|
-
end
|
542
|
-
|
543
|
-
def test_nested_end_with_method_call
|
544
|
-
assert_equal(<<HTML, render(<<HAML))
|
545
|
-
<p>
|
546
|
-
2|3|4
|
547
|
-
b-a-r
|
548
|
-
</p>
|
549
|
-
HTML
|
550
|
-
%p
|
551
|
-
= [1, 2, 3].map do |i|
|
552
|
-
- i + 1
|
553
|
-
- end.join("|")
|
554
|
-
= "bar".gsub(/./) do |s|
|
555
|
-
- s + "-"
|
556
|
-
- end.gsub(/-$/) do |s|
|
557
|
-
- ''
|
558
|
-
HAML
|
559
|
-
end
|
560
|
-
|
561
|
-
def test_silent_end_with_stuff
|
562
|
-
assert_equal(<<HTML, render(<<HAML))
|
563
|
-
e
|
564
|
-
d
|
565
|
-
c
|
566
|
-
b
|
567
|
-
a
|
568
|
-
HTML
|
569
|
-
- str = "abcde"
|
570
|
-
- if true
|
571
|
-
= str.slice!(-1).chr
|
572
|
-
- end until str.empty?
|
573
|
-
HAML
|
574
|
-
|
575
|
-
assert_equal(<<HTML, render(<<HAML))
|
576
|
-
<p>hi!</p>
|
577
|
-
HTML
|
578
|
-
- if true
|
579
|
-
%p hi!
|
580
|
-
- end if "foo".gsub(/f/) do
|
581
|
-
- "z"
|
582
|
-
- end + "bar"
|
583
|
-
HAML
|
584
|
-
end
|
585
|
-
|
586
|
-
def test_multiline_with_colon_after_filter
|
587
|
-
assert_equal(<<HTML, render(<<HAML))
|
588
|
-
Foo
|
589
|
-
Bar
|
590
|
-
HTML
|
591
|
-
:plain
|
592
|
-
Foo
|
593
|
-
= { :a => "Bar", |
|
594
|
-
:b => "Baz" }[:a] |
|
595
|
-
HAML
|
596
|
-
assert_equal(<<HTML, render(<<HAML))
|
597
|
-
|
598
|
-
Bar
|
599
|
-
HTML
|
600
|
-
:plain
|
601
|
-
= { :a => "Bar", |
|
602
|
-
:b => "Baz" }[:a] |
|
603
|
-
HAML
|
604
|
-
end
|
605
|
-
|
606
|
-
def test_multiline_in_filter
|
607
|
-
assert_equal(<<HTML, render(<<HAML))
|
608
|
-
Foo |
|
609
|
-
Bar |
|
610
|
-
Baz
|
611
|
-
HTML
|
612
|
-
:plain
|
613
|
-
Foo |
|
614
|
-
Bar |
|
615
|
-
Baz
|
616
|
-
HAML
|
617
|
-
end
|
618
|
-
|
619
|
-
def test_curly_brace
|
620
|
-
assert_equal(<<HTML, render(<<HAML))
|
621
|
-
Foo { Bar
|
622
|
-
HTML
|
623
|
-
== Foo { Bar
|
624
|
-
HAML
|
625
|
-
end
|
626
|
-
|
627
|
-
def test_escape_attrs_false
|
628
|
-
assert_equal(<<HTML, render(<<HAML, :escape_attrs => false))
|
629
|
-
<div class='<?php echo """ ?>' id='foo'>
|
630
|
-
bar
|
631
|
-
</div>
|
632
|
-
HTML
|
633
|
-
#foo{:class => '<?php echo """ ?>'}
|
634
|
-
bar
|
635
|
-
HAML
|
636
|
-
end
|
637
|
-
|
638
|
-
def test_escape_attrs_always
|
639
|
-
assert_equal(<<HTML, render(<<HAML, :escape_attrs => :always))
|
640
|
-
<div class='"&lt;&gt;&amp;"' id='foo'>
|
641
|
-
bar
|
642
|
-
</div>
|
643
|
-
HTML
|
644
|
-
#foo{:class => '"<>&"'}
|
645
|
-
bar
|
646
|
-
HAML
|
647
|
-
end
|
648
|
-
|
649
|
-
def test_escape_html
|
650
|
-
html = <<HTML
|
651
|
-
&
|
652
|
-
&
|
653
|
-
&
|
654
|
-
HTML
|
655
|
-
|
656
|
-
assert_equal(html, render(<<HAML, :escape_html => true))
|
657
|
-
&= "&"
|
658
|
-
!= "&"
|
659
|
-
= "&"
|
660
|
-
HAML
|
661
|
-
|
662
|
-
assert_equal(html, render(<<HAML, :escape_html => true))
|
663
|
-
&~ "&"
|
664
|
-
!~ "&"
|
665
|
-
~ "&"
|
666
|
-
HAML
|
667
|
-
|
668
|
-
assert_equal(html, render(<<HAML, :escape_html => true))
|
669
|
-
& \#{"&"}
|
670
|
-
! \#{"&"}
|
671
|
-
\#{"&"}
|
672
|
-
HAML
|
673
|
-
|
674
|
-
assert_equal(html, render(<<HAML, :escape_html => true))
|
675
|
-
&== \#{"&"}
|
676
|
-
!== \#{"&"}
|
677
|
-
== \#{"&"}
|
678
|
-
HAML
|
679
|
-
|
680
|
-
tag_html = <<HTML
|
681
|
-
<p>&</p>
|
682
|
-
<p>&</p>
|
683
|
-
<p>&</p>
|
684
|
-
HTML
|
685
|
-
|
686
|
-
assert_equal(tag_html, render(<<HAML, :escape_html => true))
|
687
|
-
%p&= "&"
|
688
|
-
%p!= "&"
|
689
|
-
%p= "&"
|
690
|
-
HAML
|
691
|
-
|
692
|
-
assert_equal(tag_html, render(<<HAML, :escape_html => true))
|
693
|
-
%p&~ "&"
|
694
|
-
%p!~ "&"
|
695
|
-
%p~ "&"
|
696
|
-
HAML
|
697
|
-
|
698
|
-
assert_equal(tag_html, render(<<HAML, :escape_html => true))
|
699
|
-
%p& \#{"&"}
|
700
|
-
%p! \#{"&"}
|
701
|
-
%p \#{"&"}
|
702
|
-
HAML
|
703
|
-
|
704
|
-
assert_equal(tag_html, render(<<HAML, :escape_html => true))
|
705
|
-
%p&== \#{"&"}
|
706
|
-
%p!== \#{"&"}
|
707
|
-
%p== \#{"&"}
|
708
|
-
HAML
|
709
|
-
end
|
710
|
-
|
711
|
-
def test_new_attrs_with_hash
|
712
|
-
assert_equal("<a href='#'></a>\n", render('%a(href="#")'))
|
713
|
-
end
|
714
|
-
|
715
|
-
def test_javascript_filter_with_dynamic_interp_and_escape_html
|
716
|
-
assert_equal(<<HTML, render(<<HAML, :escape_html => true))
|
717
|
-
<script type='text/javascript'>
|
718
|
-
//<![CDATA[
|
719
|
-
& < > &
|
720
|
-
//]]>
|
721
|
-
</script>
|
722
|
-
HTML
|
723
|
-
:javascript
|
724
|
-
& < > \#{"&"}
|
725
|
-
HAML
|
726
|
-
end
|
727
|
-
|
728
|
-
def test_html5_javascript_filter
|
729
|
-
assert_equal(<<HTML, render(<<HAML, :format => :html5))
|
730
|
-
<script>
|
731
|
-
//<![CDATA[
|
732
|
-
foo bar
|
733
|
-
//]]>
|
734
|
-
</script>
|
735
|
-
HTML
|
736
|
-
:javascript
|
737
|
-
foo bar
|
738
|
-
HAML
|
739
|
-
end
|
740
|
-
|
741
|
-
def test_html5_css_filter
|
742
|
-
assert_equal(<<HTML, render(<<HAML, :format => :html5))
|
743
|
-
<style>
|
744
|
-
/*<![CDATA[*/
|
745
|
-
foo bar
|
746
|
-
/*]]>*/
|
747
|
-
</style>
|
748
|
-
HTML
|
749
|
-
:css
|
750
|
-
foo bar
|
751
|
-
HAML
|
752
|
-
end
|
753
|
-
|
754
|
-
def test_erb_filter_with_multiline_expr
|
755
|
-
assert_equal(<<HTML, render(<<HAML))
|
756
|
-
foobarbaz
|
757
|
-
HTML
|
758
|
-
:erb
|
759
|
-
<%= "foo" +
|
760
|
-
"bar" +
|
761
|
-
"baz" %>
|
762
|
-
HAML
|
763
|
-
end
|
764
|
-
|
765
|
-
def test_silent_script_with_hyphen_case
|
766
|
-
assert_equal("", render("- 'foo-case-bar-case'"))
|
767
|
-
end
|
768
|
-
|
769
|
-
def test_silent_script_with_hyphen_end
|
770
|
-
assert_equal("", render("- 'foo-end-bar-end'"))
|
771
|
-
end
|
772
|
-
|
773
|
-
def test_silent_script_with_hyphen_end_and_block
|
774
|
-
assert_equal(<<HTML, render(<<HAML))
|
775
|
-
<p>foo-end</p>
|
776
|
-
<p>bar-end</p>
|
777
|
-
HTML
|
778
|
-
- ("foo-end-bar-end".gsub(/\\w+-end/) do |s|
|
779
|
-
%p= s
|
780
|
-
- end; nil)
|
781
|
-
HAML
|
782
|
-
end
|
783
|
-
|
784
|
-
def test_if_without_content_and_else
|
785
|
-
assert_equal(<<HTML, render(<<HAML))
|
786
|
-
foo
|
787
|
-
HTML
|
788
|
-
- if false
|
789
|
-
- else
|
790
|
-
foo
|
791
|
-
HAML
|
792
|
-
|
793
|
-
assert_equal(<<HTML, render(<<HAML))
|
794
|
-
foo
|
795
|
-
HTML
|
796
|
-
- if true
|
797
|
-
- if false
|
798
|
-
- else
|
799
|
-
foo
|
800
|
-
HAML
|
801
|
-
end
|
802
|
-
|
803
|
-
def test_html_attributes_with_hash
|
804
|
-
assert_equal("<a href='#' rel='top'>Foo</a>\n",
|
805
|
-
render('%a(href="#" rel="top") Foo'))
|
806
|
-
assert_equal("<a href='#'>Foo</a>\n",
|
807
|
-
render('%a(href="#") #{"Foo"}'))
|
808
|
-
|
809
|
-
assert_equal("<a href='#\"'></a>\n", render('%a(href="#\\"")'))
|
810
|
-
end
|
811
|
-
|
812
|
-
def test_filter_with_newline_and_interp
|
813
|
-
assert_equal(<<HTML, render(<<HAML))
|
814
|
-
\\n
|
815
|
-
HTML
|
816
|
-
:plain
|
817
|
-
\\n\#{""}
|
818
|
-
HAML
|
819
|
-
end
|
820
|
-
|
821
|
-
def test_case_assigned_to_var
|
822
|
-
assert_equal(<<HTML, render(<<HAML))
|
823
|
-
bar
|
824
|
-
HTML
|
825
|
-
- var = case 12
|
826
|
-
- when 1; "foo"
|
827
|
-
- when 12; "bar"
|
828
|
-
= var
|
829
|
-
HAML
|
830
|
-
|
831
|
-
assert_equal(<<HTML, render(<<HAML))
|
832
|
-
bar
|
833
|
-
HTML
|
834
|
-
- var = case 12
|
835
|
-
- when 1
|
836
|
-
- "foo"
|
837
|
-
- when 12
|
838
|
-
- "bar"
|
839
|
-
= var
|
840
|
-
HAML
|
841
|
-
|
842
|
-
assert_equal(<<HTML, render(<<HAML))
|
843
|
-
bar
|
844
|
-
HTML
|
845
|
-
- var = case 12
|
846
|
-
- when 1
|
847
|
-
- "foo"
|
848
|
-
- when 12
|
849
|
-
- "bar"
|
850
|
-
= var
|
851
|
-
HAML
|
852
|
-
end
|
853
|
-
|
854
|
-
def test_nested_case_assigned_to_var
|
855
|
-
assert_equal(<<HTML, render(<<HAML))
|
856
|
-
bar
|
857
|
-
HTML
|
858
|
-
- if true
|
859
|
-
- var = case 12
|
860
|
-
- when 1; "foo"
|
861
|
-
- when 12; "bar"
|
862
|
-
= var
|
863
|
-
HAML
|
864
|
-
end
|
865
|
-
|
866
|
-
def test_case_assigned_to_multiple_vars
|
867
|
-
assert_equal(<<HTML, render(<<HAML))
|
868
|
-
bar
|
869
|
-
bip
|
870
|
-
HTML
|
871
|
-
- var, vip = case 12
|
872
|
-
- when 1; ["foo", "baz"]
|
873
|
-
- when 12; ["bar", "bip"]
|
874
|
-
= var
|
875
|
-
= vip
|
876
|
-
HAML
|
877
|
-
end
|
878
|
-
|
879
|
-
def test_if_assigned_to_var
|
880
|
-
assert_equal(<<HTML, render(<<HAML))
|
881
|
-
foo
|
882
|
-
HTML
|
883
|
-
- var = if false
|
884
|
-
- else
|
885
|
-
- "foo"
|
886
|
-
= var
|
887
|
-
HAML
|
888
|
-
|
889
|
-
assert_equal(<<HTML, render(<<HAML))
|
890
|
-
foo
|
891
|
-
HTML
|
892
|
-
- var = if false
|
893
|
-
- elsif 12
|
894
|
-
- "foo"
|
895
|
-
- elsif 14; "bar"
|
896
|
-
- else
|
897
|
-
- "baz"
|
898
|
-
= var
|
899
|
-
HAML
|
900
|
-
|
901
|
-
assert_equal(<<HTML, render(<<HAML))
|
902
|
-
foo
|
903
|
-
HTML
|
904
|
-
- var = if false
|
905
|
-
- "bar"
|
906
|
-
- else
|
907
|
-
- "foo"
|
908
|
-
= var
|
909
|
-
HAML
|
910
|
-
end
|
911
|
-
|
912
|
-
def test_case_with_newline_after_case
|
913
|
-
assert_equal(<<HTML, render(<<HAML))
|
914
|
-
foo
|
915
|
-
HTML
|
916
|
-
- case 1
|
917
|
-
|
918
|
-
- when 1
|
919
|
-
foo
|
920
|
-
- when 2
|
921
|
-
bar
|
922
|
-
HAML
|
923
|
-
|
924
|
-
assert_equal(<<HTML, render(<<HAML))
|
925
|
-
bar
|
926
|
-
HTML
|
927
|
-
- case 2
|
928
|
-
|
929
|
-
- when 1
|
930
|
-
foo
|
931
|
-
- when 2
|
932
|
-
bar
|
933
|
-
HAML
|
934
|
-
end
|
935
|
-
|
936
|
-
def test_escape_html_with_interpolated_if_statement
|
937
|
-
assert_equal(<<HTML, render(<<HAML, :escape_html => true))
|
938
|
-
foo,
|
939
|
-
HTML
|
940
|
-
foo\#{"," if true}
|
941
|
-
HAML
|
942
|
-
end
|
943
|
-
|
944
|
-
# HTML escaping tests
|
945
|
-
|
946
|
-
def test_ampersand_equals_should_escape
|
947
|
-
assert_equal("<p>\n foo & bar\n</p>\n", render("%p\n &= 'foo & bar'", :escape_html => false))
|
948
|
-
end
|
949
|
-
|
950
|
-
def test_ampersand_equals_inline_should_escape
|
951
|
-
assert_equal("<p>foo & bar</p>\n", render("%p&= 'foo & bar'", :escape_html => false))
|
952
|
-
end
|
953
|
-
|
954
|
-
def test_ampersand_equals_should_escape_before_preserve
|
955
|
-
assert_equal("<textarea>foo
bar</textarea>\n", render('%textarea&= "foo\nbar"', :escape_html => false))
|
956
|
-
end
|
957
|
-
|
958
|
-
def test_bang_equals_should_not_escape
|
959
|
-
assert_equal("<p>\n foo & bar\n</p>\n", render("%p\n != 'foo & bar'", :escape_html => true))
|
960
|
-
end
|
961
|
-
|
962
|
-
def test_bang_equals_inline_should_not_escape
|
963
|
-
assert_equal("<p>foo & bar</p>\n", render("%p!= 'foo & bar'", :escape_html => true))
|
964
|
-
end
|
965
|
-
|
966
|
-
def test_static_attributes_should_be_escaped
|
967
|
-
assert_equal("<img class='atlantis' style='ugly&stupid' />\n",
|
968
|
-
render("%img.atlantis{:style => 'ugly&stupid'}"))
|
969
|
-
assert_equal("<div class='atlantis' style='ugly&stupid'>foo</div>\n",
|
970
|
-
render(".atlantis{:style => 'ugly&stupid'} foo"))
|
971
|
-
assert_equal("<p class='atlantis' style='ugly&stupid'>foo</p>\n",
|
972
|
-
render("%p.atlantis{:style => 'ugly&stupid'}= 'foo'"))
|
973
|
-
assert_equal("<p class='atlantis' style='ugly
stupid'></p>\n",
|
974
|
-
render("%p.atlantis{:style => \"ugly\\nstupid\"}"))
|
975
|
-
end
|
976
|
-
|
977
|
-
def test_dynamic_attributes_should_be_escaped
|
978
|
-
assert_equal("<img alt='' src='&foo.png' />\n",
|
979
|
-
render("%img{:width => nil, :src => '&foo.png', :alt => String.new}"))
|
980
|
-
assert_equal("<p alt='' src='&foo.png'>foo</p>\n",
|
981
|
-
render("%p{:width => nil, :src => '&foo.png', :alt => String.new} foo"))
|
982
|
-
assert_equal("<div alt='' src='&foo.png'>foo</div>\n",
|
983
|
-
render("%div{:width => nil, :src => '&foo.png', :alt => String.new}= 'foo'"))
|
984
|
-
assert_equal("<img alt='' src='foo
.png' />\n",
|
985
|
-
render("%img{:width => nil, :src => \"foo\\n.png\", :alt => String.new}"))
|
986
|
-
end
|
987
|
-
|
988
|
-
def test_string_double_equals_should_be_esaped
|
989
|
-
assert_equal("<p>4&<</p>\n", render("%p== \#{2+2}&\#{'<'}", :escape_html => true))
|
990
|
-
assert_equal("<p>4&<</p>\n", render("%p== \#{2+2}&\#{'<'}", :escape_html => false))
|
991
|
-
end
|
992
|
-
|
993
|
-
def test_escaped_inline_string_double_equals
|
994
|
-
assert_equal("<p>4&<</p>\n", render("%p&== \#{2+2}&\#{'<'}", :escape_html => true))
|
995
|
-
assert_equal("<p>4&<</p>\n", render("%p&== \#{2+2}&\#{'<'}", :escape_html => false))
|
996
|
-
end
|
997
|
-
|
998
|
-
def test_unescaped_inline_string_double_equals
|
999
|
-
assert_equal("<p>4&<</p>\n", render("%p!== \#{2+2}&\#{'<'}", :escape_html => true))
|
1000
|
-
assert_equal("<p>4&<</p>\n", render("%p!== \#{2+2}&\#{'<'}", :escape_html => false))
|
1001
|
-
end
|
1002
|
-
|
1003
|
-
def test_escaped_string_double_equals
|
1004
|
-
assert_equal("<p>\n 4&<\n</p>\n", render("%p\n &== \#{2+2}&\#{'<'}", :escape_html => true))
|
1005
|
-
assert_equal("<p>\n 4&<\n</p>\n", render("%p\n &== \#{2+2}&\#{'<'}", :escape_html => false))
|
1006
|
-
end
|
1007
|
-
|
1008
|
-
def test_unescaped_string_double_equals
|
1009
|
-
assert_equal("<p>\n 4&<\n</p>\n", render("%p\n !== \#{2+2}&\#{'<'}", :escape_html => true))
|
1010
|
-
assert_equal("<p>\n 4&<\n</p>\n", render("%p\n !== \#{2+2}&\#{'<'}", :escape_html => false))
|
1011
|
-
end
|
1012
|
-
|
1013
|
-
def test_string_interpolation_should_be_esaped
|
1014
|
-
assert_equal("<p>4&<</p>\n", render("%p \#{2+2}&\#{'<'}", :escape_html => true))
|
1015
|
-
assert_equal("<p>4&<</p>\n", render("%p \#{2+2}&\#{'<'}", :escape_html => false))
|
1016
|
-
end
|
1017
|
-
|
1018
|
-
def test_escaped_inline_string_interpolation
|
1019
|
-
assert_equal("<p>4&<</p>\n", render("%p& \#{2+2}&\#{'<'}", :escape_html => true))
|
1020
|
-
assert_equal("<p>4&<</p>\n", render("%p& \#{2+2}&\#{'<'}", :escape_html => false))
|
1021
|
-
end
|
1022
|
-
|
1023
|
-
def test_unescaped_inline_string_interpolation
|
1024
|
-
assert_equal("<p>4&<</p>\n", render("%p! \#{2+2}&\#{'<'}", :escape_html => true))
|
1025
|
-
assert_equal("<p>4&<</p>\n", render("%p! \#{2+2}&\#{'<'}", :escape_html => false))
|
1026
|
-
end
|
1027
|
-
|
1028
|
-
def test_escaped_string_interpolation
|
1029
|
-
assert_equal("<p>\n 4&<\n</p>\n", render("%p\n & \#{2+2}&\#{'<'}", :escape_html => true))
|
1030
|
-
assert_equal("<p>\n 4&<\n</p>\n", render("%p\n & \#{2+2}&\#{'<'}", :escape_html => false))
|
1031
|
-
end
|
1032
|
-
|
1033
|
-
def test_unescaped_string_interpolation
|
1034
|
-
assert_equal("<p>\n 4&<\n</p>\n", render("%p\n ! \#{2+2}&\#{'<'}", :escape_html => true))
|
1035
|
-
assert_equal("<p>\n 4&<\n</p>\n", render("%p\n ! \#{2+2}&\#{'<'}", :escape_html => false))
|
1036
|
-
end
|
1037
|
-
|
1038
|
-
def test_scripts_should_respect_escape_html_option
|
1039
|
-
assert_equal("<p>\n foo & bar\n</p>\n", render("%p\n = 'foo & bar'", :escape_html => true))
|
1040
|
-
assert_equal("<p>\n foo & bar\n</p>\n", render("%p\n = 'foo & bar'", :escape_html => false))
|
1041
|
-
end
|
1042
|
-
|
1043
|
-
def test_inline_scripts_should_respect_escape_html_option
|
1044
|
-
assert_equal("<p>foo & bar</p>\n", render("%p= 'foo & bar'", :escape_html => true))
|
1045
|
-
assert_equal("<p>foo & bar</p>\n", render("%p= 'foo & bar'", :escape_html => false))
|
1046
|
-
end
|
1047
|
-
|
1048
|
-
def test_script_ending_in_comment_should_render_when_html_is_escaped
|
1049
|
-
assert_equal("foo&bar\n", render("= 'foo&bar' #comment", :escape_html => true))
|
1050
|
-
end
|
1051
|
-
|
1052
|
-
def test_script_with_if_shouldnt_output
|
1053
|
-
assert_equal(<<HTML, render(<<HAML))
|
1054
|
-
<p>foo</p>
|
1055
|
-
<p></p>
|
1056
|
-
HTML
|
1057
|
-
%p= "foo"
|
1058
|
-
%p= "bar" if false
|
1059
|
-
HAML
|
1060
|
-
end
|
1061
|
-
|
1062
|
-
# Options tests
|
1063
|
-
|
1064
|
-
def test_filename_and_line
|
1065
|
-
begin
|
1066
|
-
render("\n\n = abc", :filename => 'test', :line => 2)
|
1067
|
-
rescue Exception => e
|
1068
|
-
assert_kind_of Haml::SyntaxError, e
|
1069
|
-
assert_match(/test:4/, e.backtrace.first)
|
1070
|
-
end
|
1071
|
-
|
1072
|
-
begin
|
1073
|
-
render("\n\n= 123\n\n= nil[]", :filename => 'test', :line => 2)
|
1074
|
-
rescue Exception => e
|
1075
|
-
assert_kind_of NoMethodError, e
|
1076
|
-
assert_match(/test:6/, e.backtrace.first)
|
1077
|
-
end
|
1078
|
-
end
|
1079
|
-
|
1080
|
-
def test_stop_eval
|
1081
|
-
assert_equal("", render("= 'Hello'", :suppress_eval => true))
|
1082
|
-
assert_equal("", render("- haml_concat 'foo'", :suppress_eval => true))
|
1083
|
-
assert_equal("<div id='foo' yes='no' />\n", render("#foo{:yes => 'no'}/", :suppress_eval => true))
|
1084
|
-
assert_equal("<div id='foo' />\n", render("#foo{:yes => 'no', :call => a_function() }/", :suppress_eval => true))
|
1085
|
-
assert_equal("<div />\n", render("%div[1]/", :suppress_eval => true))
|
1086
|
-
assert_equal("", render(":ruby\n Kernel.puts 'hello'", :suppress_eval => true))
|
1087
|
-
end
|
1088
|
-
|
1089
|
-
def test_doctypes
|
1090
|
-
assert_equal('<!DOCTYPE html>',
|
1091
|
-
render('!!!', :format => :html5).strip)
|
1092
|
-
assert_equal('<!DOCTYPE html>', render('!!! 5').strip)
|
1093
|
-
assert_equal('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">',
|
1094
|
-
render('!!! strict').strip)
|
1095
|
-
assert_equal('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">',
|
1096
|
-
render('!!! frameset').strip)
|
1097
|
-
assert_equal('<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">',
|
1098
|
-
render('!!! mobile').strip)
|
1099
|
-
assert_equal('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">',
|
1100
|
-
render('!!! basic').strip)
|
1101
|
-
assert_equal('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',
|
1102
|
-
render('!!! transitional').strip)
|
1103
|
-
assert_equal('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',
|
1104
|
-
render('!!!').strip)
|
1105
|
-
assert_equal('<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">',
|
1106
|
-
render('!!! strict', :format => :html4).strip)
|
1107
|
-
assert_equal('<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">',
|
1108
|
-
render('!!! frameset', :format => :html4).strip)
|
1109
|
-
assert_equal('<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">',
|
1110
|
-
render('!!! transitional', :format => :html4).strip)
|
1111
|
-
assert_equal('<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">',
|
1112
|
-
render('!!!', :format => :html4).strip)
|
1113
|
-
end
|
1114
|
-
|
1115
|
-
def test_attr_wrapper
|
1116
|
-
assert_equal("<p strange=*attrs*></p>\n", render("%p{ :strange => 'attrs'}", :attr_wrapper => '*'))
|
1117
|
-
assert_equal("<p escaped='quo\"te'></p>\n", render("%p{ :escaped => 'quo\"te'}", :attr_wrapper => '"'))
|
1118
|
-
assert_equal("<p escaped=\"quo'te\"></p>\n", render("%p{ :escaped => 'quo\\'te'}", :attr_wrapper => '"'))
|
1119
|
-
assert_equal("<p escaped=\"q'uo"te\"></p>\n", render("%p{ :escaped => 'q\\'uo\"te'}", :attr_wrapper => '"'))
|
1120
|
-
assert_equal("<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n", render("!!! XML", :attr_wrapper => '"'))
|
1121
|
-
end
|
1122
|
-
|
1123
|
-
def test_autoclose_option
|
1124
|
-
assert_equal("<flaz foo='bar' />\n", render("%flaz{:foo => 'bar'}", :autoclose => ["flaz"]))
|
1125
|
-
assert_equal(<<HTML, render(<<HAML, :autoclose => [/^flaz/]))
|
1126
|
-
<flaz />
|
1127
|
-
<flaznicate />
|
1128
|
-
<flan></flan>
|
1129
|
-
HTML
|
1130
|
-
%flaz
|
1131
|
-
%flaznicate
|
1132
|
-
%flan
|
1133
|
-
HAML
|
1134
|
-
end
|
1135
|
-
|
1136
|
-
def test_attrs_parsed_correctly
|
1137
|
-
assert_equal("<p boom=>biddly='bar => baz'></p>\n", render("%p{'boom=>biddly' => 'bar => baz'}"))
|
1138
|
-
assert_equal("<p foo,bar='baz, qux'></p>\n", render("%p{'foo,bar' => 'baz, qux'}"))
|
1139
|
-
assert_equal("<p escaped='quo
te'></p>\n", render("%p{ :escaped => \"quo\\nte\"}"))
|
1140
|
-
assert_equal("<p escaped='quo4te'></p>\n", render("%p{ :escaped => \"quo\#{2 + 2}te\"}"))
|
1141
|
-
end
|
1142
|
-
|
1143
|
-
def test_correct_parsing_with_brackets
|
1144
|
-
assert_equal("<p class='foo'>{tada} foo</p>\n", render("%p{:class => 'foo'} {tada} foo"))
|
1145
|
-
assert_equal("<p class='foo'>deep {nested { things }}</p>\n", render("%p{:class => 'foo'} deep {nested { things }}"))
|
1146
|
-
assert_equal("<p class='bar foo'>{a { d</p>\n", render("%p{{:class => 'foo'}, :class => 'bar'} {a { d"))
|
1147
|
-
assert_equal("<p foo='bar'>a}</p>\n", render("%p{:foo => 'bar'} a}"))
|
1148
|
-
|
1149
|
-
foo = []
|
1150
|
-
foo[0] = Struct.new('Foo', :id).new
|
1151
|
-
assert_equal("<p class='struct_foo' id='struct_foo_new'>New User]</p>\n",
|
1152
|
-
render("%p[foo[0]] New User]", :locals => {:foo => foo}))
|
1153
|
-
assert_equal("<p class='prefix_struct_foo' id='prefix_struct_foo_new'>New User]</p>\n",
|
1154
|
-
render("%p[foo[0], :prefix] New User]", :locals => {:foo => foo}))
|
1155
|
-
|
1156
|
-
foo[0].id = 1
|
1157
|
-
assert_equal("<p class='struct_foo' id='struct_foo_1'>New User]</p>\n",
|
1158
|
-
render("%p[foo[0]] New User]", :locals => {:foo => foo}))
|
1159
|
-
assert_equal("<p class='prefix_struct_foo' id='prefix_struct_foo_1'>New User]</p>\n",
|
1160
|
-
render("%p[foo[0], :prefix] New User]", :locals => {:foo => foo}))
|
1161
|
-
end
|
1162
|
-
|
1163
|
-
def test_empty_attrs
|
1164
|
-
assert_equal("<p attr=''>empty</p>\n", render("%p{ :attr => '' } empty"))
|
1165
|
-
assert_equal("<p attr=''>empty</p>\n", render("%p{ :attr => x } empty", :locals => {:x => ''}))
|
1166
|
-
end
|
1167
|
-
|
1168
|
-
def test_nil_attrs
|
1169
|
-
assert_equal("<p>nil</p>\n", render("%p{ :attr => nil } nil"))
|
1170
|
-
assert_equal("<p>nil</p>\n", render("%p{ :attr => x } nil", :locals => {:x => nil}))
|
1171
|
-
end
|
1172
|
-
|
1173
|
-
def test_nil_id_with_syntactic_id
|
1174
|
-
assert_equal("<p id='foo'>nil</p>\n", render("%p#foo{:id => nil} nil"))
|
1175
|
-
assert_equal("<p id='foo_bar'>nil</p>\n", render("%p#foo{{:id => 'bar'}, :id => nil} nil"))
|
1176
|
-
assert_equal("<p id='foo_bar'>nil</p>\n", render("%p#foo{{:id => nil}, :id => 'bar'} nil"))
|
1177
|
-
end
|
1178
|
-
|
1179
|
-
def test_nil_class_with_syntactic_class
|
1180
|
-
assert_equal("<p class='foo'>nil</p>\n", render("%p.foo{:class => nil} nil"))
|
1181
|
-
assert_equal("<p class='bar foo'>nil</p>\n", render("%p.bar.foo{:class => nil} nil"))
|
1182
|
-
assert_equal("<p class='bar foo'>nil</p>\n", render("%p.foo{{:class => 'bar'}, :class => nil} nil"))
|
1183
|
-
assert_equal("<p class='bar foo'>nil</p>\n", render("%p.foo{{:class => nil}, :class => 'bar'} nil"))
|
1184
|
-
end
|
1185
|
-
|
1186
|
-
def test_locals
|
1187
|
-
assert_equal("<p>Paragraph!</p>\n", render("%p= text", :locals => { :text => "Paragraph!" }))
|
1188
|
-
end
|
1189
|
-
|
1190
|
-
def test_dynamic_attrs_shouldnt_register_as_literal_values
|
1191
|
-
assert_equal("<p a='b2c'></p>\n", render('%p{:a => "b#{1 + 1}c"}'))
|
1192
|
-
assert_equal("<p a='b2c'></p>\n", render("%p{:a => 'b' + (1 + 1).to_s + 'c'}"))
|
1193
|
-
end
|
1194
|
-
|
1195
|
-
def test_dynamic_attrs_with_self_closed_tag
|
1196
|
-
assert_equal("<a b='2' />\nc\n", render("%a{'b' => 1 + 1}/\n= 'c'\n"))
|
1197
|
-
end
|
1198
|
-
|
1199
|
-
EXCEPTION_MAP.each do |key, value|
|
1200
|
-
define_method("test_exception (#{key.inspect})") do
|
1201
|
-
begin
|
1202
|
-
render(key, :filename => __FILE__)
|
1203
|
-
rescue Exception => err
|
1204
|
-
value = [value] unless value.is_a?(Array)
|
1205
|
-
expected_message, line_no = value
|
1206
|
-
line_no ||= key.split("\n").length
|
1207
|
-
|
1208
|
-
if expected_message == :compile
|
1209
|
-
if Haml::Util.ruby1_8?
|
1210
|
-
assert_match(/^compile error\n/, err.message, "Line: #{key}")
|
1211
|
-
else
|
1212
|
-
assert_match(/^#{Regexp.quote __FILE__}:#{line_no}: syntax error,/, err.message, "Line: #{key}")
|
1213
|
-
end
|
1214
|
-
else
|
1215
|
-
assert_equal(expected_message, err.message, "Line: #{key}")
|
1216
|
-
end
|
1217
|
-
|
1218
|
-
if expected_message == :compile && err.message.include?("\n")
|
1219
|
-
if Haml::Util.ruby1_8?
|
1220
|
-
# Sometimes, the first backtrace entry is *only* in the message.
|
1221
|
-
# No idea why.
|
1222
|
-
bt = err.message.split("\n", 2)[1]
|
1223
|
-
else
|
1224
|
-
bt = err.message.split("\n", 2)[0]
|
1225
|
-
end
|
1226
|
-
else
|
1227
|
-
bt = err.backtrace[0]
|
1228
|
-
end
|
1229
|
-
|
1230
|
-
source_location = bt.split(":", 3).first(2).join(":")
|
1231
|
-
assert_equal("#{__FILE__}:#{line_no}", source_location, "Line: #{key}")
|
1232
|
-
else
|
1233
|
-
assert(false, "Exception not raised for\n#{key}")
|
1234
|
-
end
|
1235
|
-
end
|
1236
|
-
end
|
1237
|
-
|
1238
|
-
def test_exception_line
|
1239
|
-
render("a\nb\n!!!\n c\nd")
|
1240
|
-
rescue Haml::SyntaxError => e
|
1241
|
-
assert_equal("(test_exception_line):4", e.backtrace[0])
|
1242
|
-
else
|
1243
|
-
assert(false, '"a\nb\n!!!\n c\nd" doesn\'t produce an exception')
|
1244
|
-
end
|
1245
|
-
|
1246
|
-
def test_exception
|
1247
|
-
render("%p\n hi\n %a= undefined\n= 12")
|
1248
|
-
rescue Exception => e
|
1249
|
-
assert_match("(test_exception):3", e.backtrace[0])
|
1250
|
-
else
|
1251
|
-
# Test failed... should have raised an exception
|
1252
|
-
assert(false)
|
1253
|
-
end
|
1254
|
-
|
1255
|
-
def test_compile_error
|
1256
|
-
render("a\nb\n- fee)\nc")
|
1257
|
-
rescue Exception => e
|
1258
|
-
assert_match(/\(test_compile_error\):3: syntax error/i, e.message)
|
1259
|
-
else
|
1260
|
-
assert(false,
|
1261
|
-
'"a\nb\n- fee)\nc" doesn\'t produce an exception!')
|
1262
|
-
end
|
1263
|
-
|
1264
|
-
def test_unbalanced_brackets
|
1265
|
-
render('foo #{1 + 5} foo #{6 + 7 bar #{8 + 9}')
|
1266
|
-
rescue Haml::SyntaxError => e
|
1267
|
-
assert_equal("Unbalanced brackets.", e.message)
|
1268
|
-
end
|
1269
|
-
|
1270
|
-
def test_balanced_conditional_comments
|
1271
|
-
assert_equal("<!--[if !(IE 6)|(IE 7)]> Bracket: ] <![endif]-->\n",
|
1272
|
-
render("/[if !(IE 6)|(IE 7)] Bracket: ]"))
|
1273
|
-
end
|
1274
|
-
|
1275
|
-
def test_empty_filter
|
1276
|
-
assert_equal(<<END, render(':javascript'))
|
1277
|
-
<script type='text/javascript'>
|
1278
|
-
//<![CDATA[
|
1279
|
-
|
1280
|
-
//]]>
|
1281
|
-
</script>
|
1282
|
-
END
|
1283
|
-
end
|
1284
|
-
|
1285
|
-
def test_ugly_filter
|
1286
|
-
assert_equal(<<END, render(":sass\n #foo\n bar: baz", :ugly => true))
|
1287
|
-
#foo {
|
1288
|
-
bar: baz; }
|
1289
|
-
END
|
1290
|
-
end
|
1291
|
-
|
1292
|
-
def test_css_filter
|
1293
|
-
assert_equal(<<HTML, render(<<HAML))
|
1294
|
-
<style type='text/css'>
|
1295
|
-
/*<![CDATA[*/
|
1296
|
-
#foo {
|
1297
|
-
bar: baz; }
|
1298
|
-
/*]]>*/
|
1299
|
-
</style>
|
1300
|
-
HTML
|
1301
|
-
:css
|
1302
|
-
#foo {
|
1303
|
-
bar: baz; }
|
1304
|
-
HAML
|
1305
|
-
end
|
1306
|
-
|
1307
|
-
def test_local_assigns_dont_modify_class
|
1308
|
-
assert_equal("bar\n", render("= foo", :locals => {:foo => 'bar'}))
|
1309
|
-
assert_equal(nil, defined?(foo))
|
1310
|
-
end
|
1311
|
-
|
1312
|
-
def test_object_ref_with_nil_id
|
1313
|
-
user = User.new
|
1314
|
-
assert_equal("<p class='struct_user' id='struct_user_new'>New User</p>\n",
|
1315
|
-
render("%p[user] New User", :locals => {:user => user}))
|
1316
|
-
end
|
1317
|
-
|
1318
|
-
def test_object_ref_before_attrs
|
1319
|
-
user = User.new 42
|
1320
|
-
assert_equal("<p class='struct_user' id='struct_user_42' style='width: 100px;'>New User</p>\n",
|
1321
|
-
render("%p[user]{:style => 'width: 100px;'} New User", :locals => {:user => user}))
|
1322
|
-
end
|
1323
|
-
|
1324
|
-
def test_object_ref_with_custom_haml_class
|
1325
|
-
custom = CustomHamlClass.new 42
|
1326
|
-
assert_equal("<p class='my_thing' id='my_thing_42' style='width: 100px;'>My Thing</p>\n",
|
1327
|
-
render("%p[custom]{:style => 'width: 100px;'} My Thing", :locals => {:custom => custom}))
|
1328
|
-
end
|
1329
|
-
|
1330
|
-
def test_non_literal_attributes
|
1331
|
-
assert_equal("<p a1='foo' a2='bar' a3='baz' />\n",
|
1332
|
-
render("%p{a2, a1, :a3 => 'baz'}/",
|
1333
|
-
:locals => {:a1 => {:a1 => 'foo'}, :a2 => {:a2 => 'bar'}}))
|
1334
|
-
end
|
1335
|
-
|
1336
|
-
def test_render_should_accept_a_binding_as_scope
|
1337
|
-
string = "This is a string!"
|
1338
|
-
string.instance_variable_set("@var", "Instance variable")
|
1339
|
-
b = string.instance_eval do
|
1340
|
-
var = "Local variable"
|
1341
|
-
binding
|
1342
|
-
end
|
1343
|
-
|
1344
|
-
assert_equal("<p>THIS IS A STRING!</p>\n<p>Instance variable</p>\n<p>Local variable</p>\n",
|
1345
|
-
render("%p= upcase\n%p= @var\n%p= var", :scope => b))
|
1346
|
-
end
|
1347
|
-
|
1348
|
-
def test_yield_should_work_with_binding
|
1349
|
-
assert_equal("12\nFOO\n", render("= yield\n= upcase", :scope => "foo".instance_eval{binding}) { 12 })
|
1350
|
-
end
|
1351
|
-
|
1352
|
-
def test_yield_should_work_with_def_method
|
1353
|
-
s = "foo"
|
1354
|
-
engine("= yield\n= upcase").def_method(s, :render)
|
1355
|
-
assert_equal("12\nFOO\n", s.render { 12 })
|
1356
|
-
end
|
1357
|
-
|
1358
|
-
def test_def_method_with_module
|
1359
|
-
engine("= yield\n= upcase").def_method(String, :render_haml)
|
1360
|
-
assert_equal("12\nFOO\n", "foo".render_haml { 12 })
|
1361
|
-
end
|
1362
|
-
|
1363
|
-
def test_def_method_locals
|
1364
|
-
obj = Object.new
|
1365
|
-
engine("%p= foo\n.bar{:baz => baz}= boom").def_method(obj, :render, :foo, :baz, :boom)
|
1366
|
-
assert_equal("<p>1</p>\n<div baz='2' class='bar'>3</div>\n", obj.render(:foo => 1, :baz => 2, :boom => 3))
|
1367
|
-
end
|
1368
|
-
|
1369
|
-
def test_render_proc_locals
|
1370
|
-
proc = engine("%p= foo\n.bar{:baz => baz}= boom").render_proc(Object.new, :foo, :baz, :boom)
|
1371
|
-
assert_equal("<p>1</p>\n<div baz='2' class='bar'>3</div>\n", proc[:foo => 1, :baz => 2, :boom => 3])
|
1372
|
-
end
|
1373
|
-
|
1374
|
-
def test_render_proc_with_binding
|
1375
|
-
assert_equal("FOO\n", engine("= upcase").render_proc("foo".instance_eval{binding}).call)
|
1376
|
-
end
|
1377
|
-
|
1378
|
-
def test_haml_buffer_gets_reset_even_with_exception
|
1379
|
-
scope = Object.new
|
1380
|
-
render("- raise Haml::Error", :scope => scope)
|
1381
|
-
assert(false, "Expected exception")
|
1382
|
-
rescue Exception
|
1383
|
-
assert_nil(scope.send(:haml_buffer))
|
1384
|
-
end
|
1385
|
-
|
1386
|
-
def test_def_method_haml_buffer_gets_reset_even_with_exception
|
1387
|
-
scope = Object.new
|
1388
|
-
engine("- raise Haml::Error").def_method(scope, :render)
|
1389
|
-
scope.render
|
1390
|
-
assert(false, "Expected exception")
|
1391
|
-
rescue Exception
|
1392
|
-
assert_nil(scope.send(:haml_buffer))
|
1393
|
-
end
|
1394
|
-
|
1395
|
-
def test_render_proc_haml_buffer_gets_reset_even_with_exception
|
1396
|
-
scope = Object.new
|
1397
|
-
proc = engine("- raise Haml::Error").render_proc(scope)
|
1398
|
-
proc.call
|
1399
|
-
assert(false, "Expected exception")
|
1400
|
-
rescue Exception
|
1401
|
-
assert_nil(scope.send(:haml_buffer))
|
1402
|
-
end
|
1403
|
-
|
1404
|
-
def test_ugly_true
|
1405
|
-
assert_equal("<div id='outer'>\n<div id='inner'>\n<p>hello world</p>\n</div>\n</div>\n",
|
1406
|
-
render("#outer\n #inner\n %p hello world", :ugly => true))
|
1407
|
-
|
1408
|
-
assert_equal("<p>#{'s' * 75}</p>\n",
|
1409
|
-
render("%p #{'s' * 75}", :ugly => true))
|
1410
|
-
|
1411
|
-
assert_equal("<p>#{'s' * 75}</p>\n",
|
1412
|
-
render("%p= 's' * 75", :ugly => true))
|
1413
|
-
end
|
1414
|
-
|
1415
|
-
def test_auto_preserve_unless_ugly
|
1416
|
-
assert_equal("<pre>foo
bar</pre>\n", render('%pre="foo\nbar"'))
|
1417
|
-
assert_equal("<pre>foo\nbar</pre>\n", render("%pre\n foo\n bar"))
|
1418
|
-
assert_equal("<pre>foo\nbar</pre>\n", render('%pre="foo\nbar"', :ugly => true))
|
1419
|
-
assert_equal("<pre>foo\nbar</pre>\n", render("%pre\n foo\n bar", :ugly => true))
|
1420
|
-
end
|
1421
|
-
|
1422
|
-
def test_xhtml_output_option
|
1423
|
-
assert_equal "<p>\n <br />\n</p>\n", render("%p\n %br", :format => :xhtml)
|
1424
|
-
assert_equal "<a />\n", render("%a/", :format => :xhtml)
|
1425
|
-
end
|
1426
|
-
|
1427
|
-
def test_arbitrary_output_option
|
1428
|
-
assert_raise_message(Haml::Error, "Invalid output format :html1") do
|
1429
|
-
engine("%br", :format => :html1)
|
1430
|
-
end
|
1431
|
-
end
|
1432
|
-
|
1433
|
-
def test_static_hashes
|
1434
|
-
assert_equal("<a b='a => b'></a>\n", render("%a{:b => 'a => b'}", :suppress_eval => true))
|
1435
|
-
assert_equal("<a b='a, b'></a>\n", render("%a{:b => 'a, b'}", :suppress_eval => true))
|
1436
|
-
assert_equal("<a b='a\tb'></a>\n", render('%a{:b => "a\tb"}', :suppress_eval => true))
|
1437
|
-
assert_equal("<a b='a\#{foo}b'></a>\n", render('%a{:b => "a\\#{foo}b"}', :suppress_eval => true))
|
1438
|
-
end
|
1439
|
-
|
1440
|
-
def test_dynamic_hashes_with_suppress_eval
|
1441
|
-
assert_equal("<a></a>\n", render('%a{:b => "a #{1 + 1} b", :c => "d"}', :suppress_eval => true))
|
1442
|
-
end
|
1443
|
-
|
1444
|
-
def test_utf8_attrs
|
1445
|
-
assert_equal("<a href='héllo'></a>\n", render("%a{:href => 'héllo'}"))
|
1446
|
-
assert_equal("<a href='héllo'></a>\n", render("%a(href='héllo')"))
|
1447
|
-
end
|
1448
|
-
|
1449
|
-
# HTML 4.0
|
1450
|
-
|
1451
|
-
def test_html_has_no_self_closing_tags
|
1452
|
-
assert_equal "<p>\n <br>\n</p>\n", render("%p\n %br", :format => :html4)
|
1453
|
-
assert_equal "<br>\n", render("%br/", :format => :html4)
|
1454
|
-
end
|
1455
|
-
|
1456
|
-
def test_html_renders_empty_node_with_closing_tag
|
1457
|
-
assert_equal "<div class='foo'></div>\n", render(".foo", :format => :html4)
|
1458
|
-
end
|
1459
|
-
|
1460
|
-
def test_html_doesnt_add_slash_to_self_closing_tags
|
1461
|
-
assert_equal "<a>\n", render("%a/", :format => :html4)
|
1462
|
-
assert_equal "<a foo='2'>\n", render("%a{:foo => 1 + 1}/", :format => :html4)
|
1463
|
-
assert_equal "<meta>\n", render("%meta", :format => :html4)
|
1464
|
-
assert_equal "<meta foo='2'>\n", render("%meta{:foo => 1 + 1}", :format => :html4)
|
1465
|
-
end
|
1466
|
-
|
1467
|
-
def test_html_ignores_xml_prolog_declaration
|
1468
|
-
assert_equal "", render('!!! XML', :format => :html4)
|
1469
|
-
end
|
1470
|
-
|
1471
|
-
def test_html_has_different_doctype
|
1472
|
-
assert_equal %{<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\n},
|
1473
|
-
render('!!!', :format => :html4)
|
1474
|
-
end
|
1475
|
-
|
1476
|
-
# because anything before the doctype triggers quirks mode in IE
|
1477
|
-
def test_xml_prolog_and_doctype_dont_result_in_a_leading_whitespace_in_html
|
1478
|
-
assert_no_match(/^\s+/, render("!!! xml\n!!!", :format => :html4))
|
1479
|
-
end
|
1480
|
-
|
1481
|
-
# HTML5
|
1482
|
-
def test_html5_doctype
|
1483
|
-
assert_equal %{<!DOCTYPE html>\n}, render('!!!', :format => :html5)
|
1484
|
-
end
|
1485
|
-
|
1486
|
-
# HTML5 custom data attributes
|
1487
|
-
def test_html5_data_attributes
|
1488
|
-
assert_equal("<div data-author_id='123' data-biz='baz' data-foo='bar'></div>\n",
|
1489
|
-
render("%div{:data => {:author_id => 123, :foo => 'bar', :biz => 'baz'}}"))
|
1490
|
-
|
1491
|
-
assert_equal("<div data-one_plus_one='2'></div>\n",
|
1492
|
-
render("%div{:data => {:one_plus_one => 1+1}}"))
|
1493
|
-
|
1494
|
-
assert_equal("<div data-foo='Here's a \"quoteful\" string.'></div>\n",
|
1495
|
-
render(%{%div{:data => {:foo => %{Here's a "quoteful" string.}}}})) #'
|
1496
|
-
end
|
1497
|
-
|
1498
|
-
def test_html5_data_attributes_with_multiple_defs
|
1499
|
-
# Should always use the more-explicit attribute
|
1500
|
-
assert_equal("<div data-foo='second'></div>\n",
|
1501
|
-
render("%div{:data => {:foo => 'first'}, 'data-foo' => 'second'}"))
|
1502
|
-
assert_equal("<div data-foo='first'></div>\n",
|
1503
|
-
render("%div{'data-foo' => 'first', :data => {:foo => 'second'}}"))
|
1504
|
-
end
|
1505
|
-
|
1506
|
-
def test_html5_data_attributes_with_attr_method
|
1507
|
-
Haml::Helpers.module_eval do
|
1508
|
-
def data_hash
|
1509
|
-
{:data => {:foo => "bar", :baz => "bang"}}
|
1510
|
-
end
|
1511
|
-
|
1512
|
-
def data_val
|
1513
|
-
{:data => "dat"}
|
1514
|
-
end
|
1515
|
-
end
|
1516
|
-
|
1517
|
-
assert_equal("<div data-baz='bang' data-brat='wurst' data-foo='blip'></div>\n",
|
1518
|
-
render("%div{data_hash, :data => {:foo => 'blip', :brat => 'wurst'}}"))
|
1519
|
-
assert_equal("<div data-baz='bang' data-foo='blip'></div>\n",
|
1520
|
-
render("%div{data_hash, 'data-foo' => 'blip'}"))
|
1521
|
-
assert_equal("<div data-baz='bang' data-foo='bar' data='dat'></div>\n",
|
1522
|
-
render("%div{data_hash, :data => 'dat'}"))
|
1523
|
-
assert_equal("<div data-brat='wurst' data-foo='blip' data='dat'></div>\n",
|
1524
|
-
render("%div{data_val, :data => {:foo => 'blip', :brat => 'wurst'}}"))
|
1525
|
-
end
|
1526
|
-
|
1527
|
-
# New attributes
|
1528
|
-
|
1529
|
-
def test_basic_new_attributes
|
1530
|
-
assert_equal("<a>bar</a>\n", render("%a() bar"))
|
1531
|
-
assert_equal("<a href='foo'>bar</a>\n", render("%a(href='foo') bar"))
|
1532
|
-
assert_equal("<a b='c' c='d' d='e'>baz</a>\n", render(%q{%a(b="c" c='d' d="e") baz}))
|
1533
|
-
end
|
1534
|
-
|
1535
|
-
def test_new_attribute_ids
|
1536
|
-
assert_equal("<div id='foo_bar'></div>\n", render("#foo(id='bar')"))
|
1537
|
-
assert_equal("<div id='foo_baz_bar'></div>\n", render("#foo{:id => 'bar'}(id='baz')"))
|
1538
|
-
assert_equal("<div id='foo_baz_bar'></div>\n", render("#foo(id='baz'){:id => 'bar'}"))
|
1539
|
-
foo = User.new(42)
|
1540
|
-
assert_equal("<div class='struct_user' id='foo_baz_bar_struct_user_42'></div>\n",
|
1541
|
-
render("#foo(id='baz'){:id => 'bar'}[foo]", :locals => {:foo => foo}))
|
1542
|
-
assert_equal("<div class='struct_user' id='foo_baz_bar_struct_user_42'></div>\n",
|
1543
|
-
render("#foo(id='baz')[foo]{:id => 'bar'}", :locals => {:foo => foo}))
|
1544
|
-
assert_equal("<div class='struct_user' id='foo_baz_bar_struct_user_42'></div>\n",
|
1545
|
-
render("#foo[foo](id='baz'){:id => 'bar'}", :locals => {:foo => foo}))
|
1546
|
-
assert_equal("<div class='struct_user' id='foo_baz_bar_struct_user_42'></div>\n",
|
1547
|
-
render("#foo[foo]{:id => 'bar'}(id='baz')", :locals => {:foo => foo}))
|
1548
|
-
end
|
1549
|
-
|
1550
|
-
def test_new_attribute_classes
|
1551
|
-
assert_equal("<div class='bar foo'></div>\n", render(".foo(class='bar')"))
|
1552
|
-
assert_equal("<div class='bar baz foo'></div>\n", render(".foo{:class => 'bar'}(class='baz')"))
|
1553
|
-
assert_equal("<div class='bar baz foo'></div>\n", render(".foo(class='baz'){:class => 'bar'}"))
|
1554
|
-
foo = User.new(42)
|
1555
|
-
assert_equal("<div class='bar baz foo struct_user' id='struct_user_42'></div>\n",
|
1556
|
-
render(".foo(class='baz'){:class => 'bar'}[foo]", :locals => {:foo => foo}))
|
1557
|
-
assert_equal("<div class='bar baz foo struct_user' id='struct_user_42'></div>\n",
|
1558
|
-
render(".foo[foo](class='baz'){:class => 'bar'}", :locals => {:foo => foo}))
|
1559
|
-
assert_equal("<div class='bar baz foo struct_user' id='struct_user_42'></div>\n",
|
1560
|
-
render(".foo[foo]{:class => 'bar'}(class='baz')", :locals => {:foo => foo}))
|
1561
|
-
end
|
1562
|
-
|
1563
|
-
def test_dynamic_new_attributes
|
1564
|
-
assert_equal("<a href='12'>bar</a>\n", render("%a(href=foo) bar", :locals => {:foo => 12}))
|
1565
|
-
assert_equal("<a b='12' c='13' d='14'>bar</a>\n", render("%a(b=b c='13' d=d) bar", :locals => {:b => 12, :d => 14}))
|
1566
|
-
end
|
1567
|
-
|
1568
|
-
def test_new_attribute_interpolation
|
1569
|
-
assert_equal("<a href='12'>bar</a>\n", render('%a(href="1#{1 + 1}") bar'))
|
1570
|
-
assert_equal("<a href='2: 2, 3: 3'>bar</a>\n", render(%q{%a(href='2: #{1 + 1}, 3: #{foo}') bar}, :locals => {:foo => 3}))
|
1571
|
-
assert_equal(%Q{<a href='1\#{1 + 1}'>bar</a>\n}, render('%a(href="1\#{1 + 1}") bar'))
|
1572
|
-
end
|
1573
|
-
|
1574
|
-
def test_truthy_new_attributes
|
1575
|
-
assert_equal("<a href='href'>bar</a>\n", render("%a(href) bar"))
|
1576
|
-
assert_equal("<a bar='baz' href>bar</a>\n", render("%a(href bar='baz') bar", :format => :html5))
|
1577
|
-
assert_equal("<a href='href'>bar</a>\n", render("%a(href=true) bar"))
|
1578
|
-
assert_equal("<a>bar</a>\n", render("%a(href=false) bar"))
|
1579
|
-
end
|
1580
|
-
|
1581
|
-
def test_new_attribute_parsing
|
1582
|
-
assert_equal("<a a2='b2'>bar</a>\n", render("%a(a2=b2) bar", :locals => {:b2 => 'b2'}))
|
1583
|
-
assert_equal(%Q{<a a='foo"bar'>bar</a>\n}, render(%q{%a(a="#{'foo"bar'}") bar})) #'
|
1584
|
-
assert_equal(%Q{<a a="foo'bar">bar</a>\n}, render(%q{%a(a="#{"foo'bar"}") bar})) #'
|
1585
|
-
assert_equal(%Q{<a a='foo"bar'>bar</a>\n}, render(%q{%a(a='foo"bar') bar}))
|
1586
|
-
assert_equal(%Q{<a a="foo'bar">bar</a>\n}, render(%q{%a(a="foo'bar") bar}))
|
1587
|
-
assert_equal("<a a:b='foo'>bar</a>\n", render("%a(a:b='foo') bar"))
|
1588
|
-
assert_equal("<a a='foo' b='bar'>bar</a>\n", render("%a(a = 'foo' b = 'bar') bar"))
|
1589
|
-
assert_equal("<a a='foo' b='bar'>bar</a>\n", render("%a(a = foo b = bar) bar", :locals => {:foo => 'foo', :bar => 'bar'}))
|
1590
|
-
assert_equal("<a a='foo'>(b='bar')</a>\n", render("%a(a='foo')(b='bar')"))
|
1591
|
-
assert_equal("<a a='foo)bar'>baz</a>\n", render("%a(a='foo)bar') baz"))
|
1592
|
-
assert_equal("<a a='foo'>baz</a>\n", render("%a( a = 'foo' ) baz"))
|
1593
|
-
end
|
1594
|
-
|
1595
|
-
def test_new_attribute_escaping
|
1596
|
-
assert_equal(%Q{<a a='foo " bar'>bar</a>\n}, render(%q{%a(a="foo \" bar") bar}))
|
1597
|
-
assert_equal(%Q{<a a='foo \\" bar'>bar</a>\n}, render(%q{%a(a="foo \\\\\" bar") bar}))
|
1598
|
-
|
1599
|
-
assert_equal(%Q{<a a="foo ' bar">bar</a>\n}, render(%q{%a(a='foo \' bar') bar}))
|
1600
|
-
assert_equal(%Q{<a a="foo \\' bar">bar</a>\n}, render(%q{%a(a='foo \\\\\' bar') bar}))
|
1601
|
-
|
1602
|
-
assert_equal(%Q{<a a='foo \\ bar'>bar</a>\n}, render(%q{%a(a="foo \\\\ bar") bar}))
|
1603
|
-
assert_equal(%Q{<a a='foo \#{1 + 1} bar'>bar</a>\n}, render(%q{%a(a="foo \#{1 + 1} bar") bar}))
|
1604
|
-
end
|
1605
|
-
|
1606
|
-
def test_multiline_new_attribute
|
1607
|
-
assert_equal("<a a='b' c='d'>bar</a>\n", render("%a(a='b'\n c='d') bar"))
|
1608
|
-
assert_equal("<a a='b' b='c' c='d' d='e' e='f' f='j'>bar</a>\n",
|
1609
|
-
render("%a(a='b' b='c'\n c='d' d=e\n e='f' f='j') bar", :locals => {:e => 'e'}))
|
1610
|
-
end
|
1611
|
-
|
1612
|
-
def test_new_and_old_attributes
|
1613
|
-
assert_equal("<a a='b' c='d'>bar</a>\n", render("%a(a='b'){:c => 'd'} bar"))
|
1614
|
-
assert_equal("<a a='b' c='d'>bar</a>\n", render("%a{:c => 'd'}(a='b') bar"))
|
1615
|
-
assert_equal("<a a='b' c='d'>bar</a>\n", render("%a(c='d'){:a => 'b'} bar"))
|
1616
|
-
assert_equal("<a a='b' c='d'>bar</a>\n", render("%a{:a => 'b'}(c='d') bar"))
|
1617
|
-
|
1618
|
-
# Old-style always takes precedence over new-style,
|
1619
|
-
# because theoretically old-style could have arbitrary end-of-method-call syntax.
|
1620
|
-
assert_equal("<a a='b'>bar</a>\n", render("%a{:a => 'b'}(a='d') bar"))
|
1621
|
-
assert_equal("<a a='b'>bar</a>\n", render("%a(a='d'){:a => 'b'} bar"))
|
1622
|
-
|
1623
|
-
assert_equal("<a a='b' b='c' c='d' d='e'>bar</a>\n",
|
1624
|
-
render("%a{:a => 'b',\n:b => 'c'}(c='d'\nd='e') bar"))
|
1625
|
-
|
1626
|
-
locals = {:b => 'b', :d => 'd'}
|
1627
|
-
assert_equal("<p a='b' c='d'></p>\n", render("%p{:a => b}(c=d)", :locals => locals))
|
1628
|
-
assert_equal("<p a='b' c='d'></p>\n", render("%p(a=b){:c => d}", :locals => locals))
|
1629
|
-
end
|
1630
|
-
|
1631
|
-
# Ruby Multiline
|
1632
|
-
|
1633
|
-
def test_silent_ruby_multiline
|
1634
|
-
assert_equal(<<HTML, render(<<HAML))
|
1635
|
-
bar, baz, bang
|
1636
|
-
<p>foo</p>
|
1637
|
-
HTML
|
1638
|
-
- foo = ["bar",
|
1639
|
-
"baz",
|
1640
|
-
"bang"]
|
1641
|
-
= foo.join(", ")
|
1642
|
-
%p foo
|
1643
|
-
HAML
|
1644
|
-
end
|
1645
|
-
|
1646
|
-
def test_loud_ruby_multiline
|
1647
|
-
assert_equal(<<HTML, render(<<HAML))
|
1648
|
-
bar, baz, bang
|
1649
|
-
<p>foo</p>
|
1650
|
-
<p>bar</p>
|
1651
|
-
HTML
|
1652
|
-
= ["bar",
|
1653
|
-
"baz",
|
1654
|
-
"bang"].join(", ")
|
1655
|
-
%p foo
|
1656
|
-
%p bar
|
1657
|
-
HAML
|
1658
|
-
end
|
1659
|
-
|
1660
|
-
def test_escaped_loud_ruby_multiline
|
1661
|
-
assert_equal(<<HTML, render(<<HAML))
|
1662
|
-
bar<, baz, bang
|
1663
|
-
<p>foo</p>
|
1664
|
-
<p>bar</p>
|
1665
|
-
HTML
|
1666
|
-
&= ["bar<",
|
1667
|
-
"baz",
|
1668
|
-
"bang"].join(", ")
|
1669
|
-
%p foo
|
1670
|
-
%p bar
|
1671
|
-
HAML
|
1672
|
-
end
|
1673
|
-
|
1674
|
-
def test_unescaped_loud_ruby_multiline
|
1675
|
-
assert_equal(<<HTML, render(<<HAML, :escape_html => true))
|
1676
|
-
bar<, baz, bang
|
1677
|
-
<p>foo</p>
|
1678
|
-
<p>bar</p>
|
1679
|
-
HTML
|
1680
|
-
!= ["bar<",
|
1681
|
-
"baz",
|
1682
|
-
"bang"].join(", ")
|
1683
|
-
%p foo
|
1684
|
-
%p bar
|
1685
|
-
HAML
|
1686
|
-
end
|
1687
|
-
|
1688
|
-
def test_flattened_loud_ruby_multiline
|
1689
|
-
assert_equal(<<HTML, render(<<HAML))
|
1690
|
-
<pre>bar
baz
bang</pre>
|
1691
|
-
<p>foo</p>
|
1692
|
-
<p>bar</p>
|
1693
|
-
HTML
|
1694
|
-
~ "<pre>" + ["bar",
|
1695
|
-
"baz",
|
1696
|
-
"bang"].join("\\n") + "</pre>"
|
1697
|
-
%p foo
|
1698
|
-
%p bar
|
1699
|
-
HAML
|
1700
|
-
end
|
1701
|
-
|
1702
|
-
def test_loud_ruby_multiline_with_block
|
1703
|
-
assert_equal(<<HTML, render(<<HAML))
|
1704
|
-
#{%w[far faz fang]}
|
1705
|
-
<p>foo</p>
|
1706
|
-
<p>bar</p>
|
1707
|
-
HTML
|
1708
|
-
= ["bar",
|
1709
|
-
"baz",
|
1710
|
-
"bang"].map do |str|
|
1711
|
-
- str.gsub("ba",
|
1712
|
-
"fa")
|
1713
|
-
%p foo
|
1714
|
-
%p bar
|
1715
|
-
HAML
|
1716
|
-
end
|
1717
|
-
|
1718
|
-
def test_silent_ruby_multiline_with_block
|
1719
|
-
assert_equal(<<HTML, render(<<HAML))
|
1720
|
-
far
|
1721
|
-
faz
|
1722
|
-
fang
|
1723
|
-
<p>foo</p>
|
1724
|
-
<p>bar</p>
|
1725
|
-
HTML
|
1726
|
-
- ["bar",
|
1727
|
-
"baz",
|
1728
|
-
"bang"].map do |str|
|
1729
|
-
= str.gsub("ba",
|
1730
|
-
"fa")
|
1731
|
-
%p foo
|
1732
|
-
%p bar
|
1733
|
-
HAML
|
1734
|
-
end
|
1735
|
-
|
1736
|
-
def test_ruby_multiline_in_tag
|
1737
|
-
assert_equal(<<HTML, render(<<HAML))
|
1738
|
-
<p>foo, bar, baz</p>
|
1739
|
-
<p>foo</p>
|
1740
|
-
<p>bar</p>
|
1741
|
-
HTML
|
1742
|
-
%p= ["foo",
|
1743
|
-
"bar",
|
1744
|
-
"baz"].join(", ")
|
1745
|
-
%p foo
|
1746
|
-
%p bar
|
1747
|
-
HAML
|
1748
|
-
end
|
1749
|
-
|
1750
|
-
def test_escaped_ruby_multiline_in_tag
|
1751
|
-
assert_equal(<<HTML, render(<<HAML))
|
1752
|
-
<p>foo<, bar, baz</p>
|
1753
|
-
<p>foo</p>
|
1754
|
-
<p>bar</p>
|
1755
|
-
HTML
|
1756
|
-
%p&= ["foo<",
|
1757
|
-
"bar",
|
1758
|
-
"baz"].join(", ")
|
1759
|
-
%p foo
|
1760
|
-
%p bar
|
1761
|
-
HAML
|
1762
|
-
end
|
1763
|
-
|
1764
|
-
def test_unescaped_ruby_multiline_in_tag
|
1765
|
-
assert_equal(<<HTML, render(<<HAML, :escape_html => true))
|
1766
|
-
<p>foo<, bar, baz</p>
|
1767
|
-
<p>foo</p>
|
1768
|
-
<p>bar</p>
|
1769
|
-
HTML
|
1770
|
-
%p!= ["foo<",
|
1771
|
-
"bar",
|
1772
|
-
"baz"].join(", ")
|
1773
|
-
%p foo
|
1774
|
-
%p bar
|
1775
|
-
HAML
|
1776
|
-
end
|
1777
|
-
|
1778
|
-
def test_ruby_multiline_with_normal_multiline
|
1779
|
-
assert_equal(<<HTML, render(<<HAML))
|
1780
|
-
foobarbar, baz, bang
|
1781
|
-
<p>foo</p>
|
1782
|
-
<p>bar</p>
|
1783
|
-
HTML
|
1784
|
-
= "foo" + |
|
1785
|
-
"bar" + |
|
1786
|
-
["bar", |
|
1787
|
-
"baz",
|
1788
|
-
"bang"].join(", ")
|
1789
|
-
%p foo
|
1790
|
-
%p bar
|
1791
|
-
HAML
|
1792
|
-
end
|
1793
|
-
|
1794
|
-
def test_ruby_multiline_after_filter
|
1795
|
-
assert_equal(<<HTML, render(<<HAML))
|
1796
|
-
foo
|
1797
|
-
bar
|
1798
|
-
bar, baz, bang
|
1799
|
-
<p>foo</p>
|
1800
|
-
<p>bar</p>
|
1801
|
-
HTML
|
1802
|
-
:plain
|
1803
|
-
foo
|
1804
|
-
bar
|
1805
|
-
= ["bar",
|
1806
|
-
"baz",
|
1807
|
-
"bang"].join(", ")
|
1808
|
-
%p foo
|
1809
|
-
%p bar
|
1810
|
-
HAML
|
1811
|
-
end
|
1812
|
-
|
1813
|
-
# Encodings
|
1814
|
-
|
1815
|
-
def test_utf_8_bom
|
1816
|
-
assert_equal <<HTML, render(<<HAML)
|
1817
|
-
<div class='foo'>
|
1818
|
-
<p>baz</p>
|
1819
|
-
</div>
|
1820
|
-
HTML
|
1821
|
-
\xEF\xBB\xBF.foo
|
1822
|
-
%p baz
|
1823
|
-
HAML
|
1824
|
-
end
|
1825
|
-
|
1826
|
-
unless Haml::Util.ruby1_8?
|
1827
|
-
def test_default_encoding
|
1828
|
-
assert_equal(Encoding.find("utf-8"), render(<<HAML.encode("us-ascii")).encoding)
|
1829
|
-
%p bar
|
1830
|
-
%p foo
|
1831
|
-
HAML
|
1832
|
-
end
|
1833
|
-
|
1834
|
-
def test_fake_ascii_encoding
|
1835
|
-
assert_encoded_equal(<<HTML.force_encoding("ascii-8bit"), render(<<HAML, :encoding => "ascii-8bit"))
|
1836
|
-
<p>bâr</p>
|
1837
|
-
<p>föö</p>
|
1838
|
-
HTML
|
1839
|
-
%p bâr
|
1840
|
-
%p föö
|
1841
|
-
HAML
|
1842
|
-
end
|
1843
|
-
|
1844
|
-
def test_convert_template_render_proc
|
1845
|
-
assert_converts_template_properly {|e| e.render_proc.call}
|
1846
|
-
end
|
1847
|
-
|
1848
|
-
def test_convert_template_render
|
1849
|
-
assert_converts_template_properly {|e| e.render}
|
1850
|
-
end
|
1851
|
-
|
1852
|
-
def test_convert_template_def_method
|
1853
|
-
assert_converts_template_properly do |e|
|
1854
|
-
o = Object.new
|
1855
|
-
e.def_method(o, :render)
|
1856
|
-
o.render
|
1857
|
-
end
|
1858
|
-
end
|
1859
|
-
|
1860
|
-
def test_encoding_error
|
1861
|
-
render("foo\nbar\nb\xFEaz".force_encoding("utf-8"))
|
1862
|
-
assert(false, "Expected exception")
|
1863
|
-
rescue Haml::Error => e
|
1864
|
-
assert_equal(3, e.line)
|
1865
|
-
assert_equal('Invalid UTF-8 character "\xFE"', e.message)
|
1866
|
-
end
|
1867
|
-
|
1868
|
-
def test_ascii_incompatible_encoding_error
|
1869
|
-
template = "foo\nbar\nb_z".encode("utf-16le")
|
1870
|
-
template[9] = "\xFE".force_encoding("utf-16le")
|
1871
|
-
render(template)
|
1872
|
-
assert(false, "Expected exception")
|
1873
|
-
rescue Haml::Error => e
|
1874
|
-
assert_equal(3, e.line)
|
1875
|
-
assert_equal('Invalid UTF-16LE character "\xFE"', e.message)
|
1876
|
-
end
|
1877
|
-
|
1878
|
-
def test_same_coding_comment_as_encoding
|
1879
|
-
assert_renders_encoded(<<HTML, <<HAML)
|
1880
|
-
<p>bâr</p>
|
1881
|
-
<p>föö</p>
|
1882
|
-
HTML
|
1883
|
-
-# coding: utf-8
|
1884
|
-
%p bâr
|
1885
|
-
%p föö
|
1886
|
-
HAML
|
1887
|
-
end
|
1888
|
-
|
1889
|
-
def test_coding_comments
|
1890
|
-
assert_valid_encoding_comment("-# coding: ibm866")
|
1891
|
-
assert_valid_encoding_comment("-# CodINg: IbM866")
|
1892
|
-
assert_valid_encoding_comment("-#coding:ibm866")
|
1893
|
-
assert_valid_encoding_comment("-# CodINg= ibm866")
|
1894
|
-
assert_valid_encoding_comment("-# foo BAR FAOJcoding: ibm866")
|
1895
|
-
assert_valid_encoding_comment("-# coding: ibm866 ASFJ (&(&#!$")
|
1896
|
-
assert_valid_encoding_comment("-# -*- coding: ibm866")
|
1897
|
-
assert_valid_encoding_comment("-# coding: ibm866 -*- coding: blah")
|
1898
|
-
assert_valid_encoding_comment("-# -*- coding: ibm866 -*-")
|
1899
|
-
assert_valid_encoding_comment("-# -*- encoding: ibm866 -*-")
|
1900
|
-
assert_valid_encoding_comment('-# -*- coding: "ibm866" -*-')
|
1901
|
-
assert_valid_encoding_comment("-#-*-coding:ibm866-*-")
|
1902
|
-
assert_valid_encoding_comment("-#-*-coding:ibm866-*-")
|
1903
|
-
assert_valid_encoding_comment("-# -*- foo: bar; coding: ibm866; baz: bang -*-")
|
1904
|
-
assert_valid_encoding_comment("-# foo bar coding: baz -*- coding: ibm866 -*-")
|
1905
|
-
assert_valid_encoding_comment("-# -*- coding: ibm866 -*- foo bar coding: baz")
|
1906
|
-
end
|
1907
|
-
|
1908
|
-
def test_different_coding_than_system
|
1909
|
-
assert_renders_encoded(<<HTML.encode("IBM866"), <<HAML.encode("IBM866"))
|
1910
|
-
<p>тАЬ</p>
|
1911
|
-
HTML
|
1912
|
-
%p тАЬ
|
1913
|
-
HAML
|
1914
|
-
end
|
1915
|
-
end
|
1916
|
-
|
1917
|
-
private
|
1918
|
-
|
1919
|
-
def assert_valid_encoding_comment(comment)
|
1920
|
-
assert_renders_encoded(<<HTML.encode("IBM866"), <<HAML.encode("IBM866").force_encoding("UTF-8"))
|
1921
|
-
<p>ЖЛЫ</p>
|
1922
|
-
<p>тАЬ</p>
|
1923
|
-
HTML
|
1924
|
-
#{comment}
|
1925
|
-
%p ЖЛЫ
|
1926
|
-
%p тАЬ
|
1927
|
-
HAML
|
1928
|
-
end
|
1929
|
-
|
1930
|
-
def assert_converts_template_properly
|
1931
|
-
engine = Haml::Engine.new(<<HAML.encode("iso-8859-1"), :encoding => "macRoman")
|
1932
|
-
%p bâr
|
1933
|
-
%p föö
|
1934
|
-
HAML
|
1935
|
-
assert_encoded_equal(<<HTML.encode("macRoman"), yield(engine))
|
1936
|
-
<p>bâr</p>
|
1937
|
-
<p>föö</p>
|
1938
|
-
HTML
|
1939
|
-
end
|
1940
|
-
|
1941
|
-
def assert_renders_encoded(html, haml)
|
1942
|
-
result = render(haml)
|
1943
|
-
assert_encoded_equal html, result
|
1944
|
-
end
|
1945
|
-
|
1946
|
-
def assert_encoded_equal(expected, actual)
|
1947
|
-
assert_equal expected.encoding, actual.encoding
|
1948
|
-
assert_equal expected, actual
|
1949
|
-
end
|
1950
|
-
end
|