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,20 +0,0 @@
|
|
1
|
-
require 'rack/lint'
|
2
|
-
require 'rack/mock'
|
3
|
-
require 'rack/nulllogger'
|
4
|
-
|
5
|
-
describe Rack::NullLogger do
|
6
|
-
should "act as a noop logger" do
|
7
|
-
app = lambda { |env|
|
8
|
-
env['rack.logger'].warn "b00m"
|
9
|
-
[200, {'Content-Type' => 'text/plain'}, ["Hello, World!"]]
|
10
|
-
}
|
11
|
-
|
12
|
-
logger = Rack::Lint.new(Rack::NullLogger.new(app))
|
13
|
-
|
14
|
-
res = logger.call(Rack::MockRequest.env_for)
|
15
|
-
res[0..1].should.equal [
|
16
|
-
200, {'Content-Type' => 'text/plain'}
|
17
|
-
]
|
18
|
-
res[2].to_enum.to_a.should.equal ["Hello, World!"]
|
19
|
-
end
|
20
|
-
end
|
@@ -1,72 +0,0 @@
|
|
1
|
-
require 'rack/lint'
|
2
|
-
require 'rack/recursive'
|
3
|
-
require 'rack/mock'
|
4
|
-
|
5
|
-
describe Rack::Recursive do
|
6
|
-
@app1 = lambda { |env|
|
7
|
-
res = Rack::Response.new
|
8
|
-
res["X-Path-Info"] = env["PATH_INFO"]
|
9
|
-
res["X-Query-String"] = env["QUERY_STRING"]
|
10
|
-
res.finish do |inner_res|
|
11
|
-
inner_res.write "App1"
|
12
|
-
end
|
13
|
-
}
|
14
|
-
|
15
|
-
@app2 = lambda { |env|
|
16
|
-
Rack::Response.new.finish do |res|
|
17
|
-
res.write "App2"
|
18
|
-
_, _, body = env['rack.recursive.include'].call(env, "/app1")
|
19
|
-
body.each { |b|
|
20
|
-
res.write b
|
21
|
-
}
|
22
|
-
end
|
23
|
-
}
|
24
|
-
|
25
|
-
@app3 = lambda { |env|
|
26
|
-
raise Rack::ForwardRequest.new("/app1")
|
27
|
-
}
|
28
|
-
|
29
|
-
@app4 = lambda { |env|
|
30
|
-
raise Rack::ForwardRequest.new("http://example.org/app1/quux?meh")
|
31
|
-
}
|
32
|
-
|
33
|
-
def recursive(map)
|
34
|
-
Rack::Lint.new Rack::Recursive.new(Rack::URLMap.new(map))
|
35
|
-
end
|
36
|
-
|
37
|
-
should "allow for subrequests" do
|
38
|
-
res = Rack::MockRequest.new(recursive("/app1" => @app1,
|
39
|
-
"/app2" => @app2)).
|
40
|
-
get("/app2")
|
41
|
-
|
42
|
-
res.should.be.ok
|
43
|
-
res.body.should.equal "App2App1"
|
44
|
-
end
|
45
|
-
|
46
|
-
should "raise error on requests not below the app" do
|
47
|
-
app = Rack::URLMap.new("/app1" => @app1,
|
48
|
-
"/app" => recursive("/1" => @app1,
|
49
|
-
"/2" => @app2))
|
50
|
-
|
51
|
-
lambda {
|
52
|
-
Rack::MockRequest.new(app).get("/app/2")
|
53
|
-
}.should.raise(ArgumentError).
|
54
|
-
message.should =~ /can only include below/
|
55
|
-
end
|
56
|
-
|
57
|
-
should "support forwarding" do
|
58
|
-
app = recursive("/app1" => @app1,
|
59
|
-
"/app3" => @app3,
|
60
|
-
"/app4" => @app4)
|
61
|
-
|
62
|
-
res = Rack::MockRequest.new(app).get("/app3")
|
63
|
-
res.should.be.ok
|
64
|
-
res.body.should.equal "App1"
|
65
|
-
|
66
|
-
res = Rack::MockRequest.new(app).get("/app4")
|
67
|
-
res.should.be.ok
|
68
|
-
res.body.should.equal "App1"
|
69
|
-
res["X-Path-Info"].should.equal "/quux"
|
70
|
-
res["X-Query-String"].should.equal "meh"
|
71
|
-
end
|
72
|
-
end
|
@@ -1,1078 +0,0 @@
|
|
1
|
-
require 'stringio'
|
2
|
-
require 'cgi'
|
3
|
-
require 'rack/request'
|
4
|
-
require 'rack/mock'
|
5
|
-
|
6
|
-
describe Rack::Request do
|
7
|
-
should "wrap the rack variables" do
|
8
|
-
req = Rack::Request.new(Rack::MockRequest.env_for("http://example.com:8080/"))
|
9
|
-
|
10
|
-
req.body.should.respond_to? :gets
|
11
|
-
req.scheme.should.equal "http"
|
12
|
-
req.request_method.should.equal "GET"
|
13
|
-
|
14
|
-
req.should.be.get
|
15
|
-
req.should.not.be.post
|
16
|
-
req.should.not.be.put
|
17
|
-
req.should.not.be.delete
|
18
|
-
req.should.not.be.head
|
19
|
-
req.should.not.be.patch
|
20
|
-
|
21
|
-
req.script_name.should.equal ""
|
22
|
-
req.path_info.should.equal "/"
|
23
|
-
req.query_string.should.equal ""
|
24
|
-
|
25
|
-
req.host.should.equal "example.com"
|
26
|
-
req.port.should.equal 8080
|
27
|
-
|
28
|
-
req.content_length.should.equal "0"
|
29
|
-
req.content_type.should.be.nil
|
30
|
-
end
|
31
|
-
|
32
|
-
should "figure out the correct host" do
|
33
|
-
req = Rack::Request.new \
|
34
|
-
Rack::MockRequest.env_for("/", "HTTP_HOST" => "www2.example.org")
|
35
|
-
req.host.should.equal "www2.example.org"
|
36
|
-
|
37
|
-
req = Rack::Request.new \
|
38
|
-
Rack::MockRequest.env_for("/", "SERVER_NAME" => "example.org", "SERVER_PORT" => "9292")
|
39
|
-
req.host.should.equal "example.org"
|
40
|
-
|
41
|
-
req = Rack::Request.new \
|
42
|
-
Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost:81", "HTTP_X_FORWARDED_HOST" => "example.org:9292")
|
43
|
-
req.host.should.equal "example.org"
|
44
|
-
|
45
|
-
env = Rack::MockRequest.env_for("/", "SERVER_ADDR" => "192.168.1.1", "SERVER_PORT" => "9292")
|
46
|
-
env.delete("SERVER_NAME")
|
47
|
-
req = Rack::Request.new(env)
|
48
|
-
req.host.should.equal "192.168.1.1"
|
49
|
-
|
50
|
-
env = Rack::MockRequest.env_for("/")
|
51
|
-
env.delete("SERVER_NAME")
|
52
|
-
req = Rack::Request.new(env)
|
53
|
-
req.host.should.equal ""
|
54
|
-
end
|
55
|
-
|
56
|
-
should "figure out the correct port" do
|
57
|
-
req = Rack::Request.new \
|
58
|
-
Rack::MockRequest.env_for("/", "HTTP_HOST" => "www2.example.org")
|
59
|
-
req.port.should.equal 80
|
60
|
-
|
61
|
-
req = Rack::Request.new \
|
62
|
-
Rack::MockRequest.env_for("/", "HTTP_HOST" => "www2.example.org:81")
|
63
|
-
req.port.should.equal 81
|
64
|
-
|
65
|
-
req = Rack::Request.new \
|
66
|
-
Rack::MockRequest.env_for("/", "SERVER_NAME" => "example.org", "SERVER_PORT" => "9292")
|
67
|
-
req.port.should.equal 9292
|
68
|
-
|
69
|
-
req = Rack::Request.new \
|
70
|
-
Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost:81", "HTTP_X_FORWARDED_HOST" => "example.org:9292")
|
71
|
-
req.port.should.equal 9292
|
72
|
-
|
73
|
-
req = Rack::Request.new \
|
74
|
-
Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost:81", "HTTP_X_FORWARDED_HOST" => "example.org")
|
75
|
-
req.port.should.equal 80
|
76
|
-
|
77
|
-
req = Rack::Request.new \
|
78
|
-
Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost:81", "HTTP_X_FORWARDED_HOST" => "example.org", "HTTP_X_FORWARDED_SSL" => "on")
|
79
|
-
req.port.should.equal 443
|
80
|
-
|
81
|
-
req = Rack::Request.new \
|
82
|
-
Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost:81", "HTTP_X_FORWARDED_HOST" => "example.org", "HTTP_X_FORWARDED_PROTO" => "https")
|
83
|
-
req.port.should.equal 443
|
84
|
-
|
85
|
-
req = Rack::Request.new \
|
86
|
-
Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost:81", "HTTP_X_FORWARDED_HOST" => "example.org", "HTTP_X_FORWARDED_PORT" => "9393")
|
87
|
-
req.port.should.equal 9393
|
88
|
-
|
89
|
-
req = Rack::Request.new \
|
90
|
-
Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost:81", "HTTP_X_FORWARDED_HOST" => "example.org:9393", "SERVER_PORT" => "80")
|
91
|
-
req.port.should.equal 9393
|
92
|
-
|
93
|
-
req = Rack::Request.new \
|
94
|
-
Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost:81", "HTTP_X_FORWARDED_HOST" => "example.org", "SERVER_PORT" => "9393")
|
95
|
-
req.port.should.equal 80
|
96
|
-
end
|
97
|
-
|
98
|
-
should "figure out the correct host with port" do
|
99
|
-
req = Rack::Request.new \
|
100
|
-
Rack::MockRequest.env_for("/", "HTTP_HOST" => "www2.example.org")
|
101
|
-
req.host_with_port.should.equal "www2.example.org"
|
102
|
-
|
103
|
-
req = Rack::Request.new \
|
104
|
-
Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost:81")
|
105
|
-
req.host_with_port.should.equal "localhost:81"
|
106
|
-
|
107
|
-
req = Rack::Request.new \
|
108
|
-
Rack::MockRequest.env_for("/", "SERVER_NAME" => "example.org", "SERVER_PORT" => "9292")
|
109
|
-
req.host_with_port.should.equal "example.org:9292"
|
110
|
-
|
111
|
-
req = Rack::Request.new \
|
112
|
-
Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost:81", "HTTP_X_FORWARDED_HOST" => "example.org:9292")
|
113
|
-
req.host_with_port.should.equal "example.org:9292"
|
114
|
-
|
115
|
-
req = Rack::Request.new \
|
116
|
-
Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost:81", "HTTP_X_FORWARDED_HOST" => "example.org", "SERVER_PORT" => "9393")
|
117
|
-
req.host_with_port.should.equal "example.org"
|
118
|
-
end
|
119
|
-
|
120
|
-
should "parse the query string" do
|
121
|
-
req = Rack::Request.new(Rack::MockRequest.env_for("/?foo=bar&quux=bla"))
|
122
|
-
req.query_string.should.equal "foo=bar&quux=bla"
|
123
|
-
req.GET.should.equal "foo" => "bar", "quux" => "bla"
|
124
|
-
req.POST.should.be.empty
|
125
|
-
req.params.should.equal "foo" => "bar", "quux" => "bla"
|
126
|
-
end
|
127
|
-
|
128
|
-
should "limit the keys from the GET query string" do
|
129
|
-
env = Rack::MockRequest.env_for("/?foo=bar")
|
130
|
-
|
131
|
-
old, Rack::Utils.key_space_limit = Rack::Utils.key_space_limit, 1
|
132
|
-
begin
|
133
|
-
req = Rack::Request.new(env)
|
134
|
-
lambda { req.GET }.should.raise(RangeError)
|
135
|
-
ensure
|
136
|
-
Rack::Utils.key_space_limit = old
|
137
|
-
end
|
138
|
-
end
|
139
|
-
|
140
|
-
should "limit the key size per nested params hash" do
|
141
|
-
nested_query = Rack::MockRequest.env_for("/?foo[bar][baz][qux]=1")
|
142
|
-
plain_query = Rack::MockRequest.env_for("/?foo_bar__baz__qux_=1")
|
143
|
-
|
144
|
-
old, Rack::Utils.key_space_limit = Rack::Utils.key_space_limit, 3
|
145
|
-
begin
|
146
|
-
lambda { Rack::Request.new(nested_query).GET }.should.not.raise(RangeError)
|
147
|
-
lambda { Rack::Request.new(plain_query).GET }.should.raise(RangeError)
|
148
|
-
ensure
|
149
|
-
Rack::Utils.key_space_limit = old
|
150
|
-
end
|
151
|
-
end
|
152
|
-
|
153
|
-
should "not unify GET and POST when calling params" do
|
154
|
-
mr = Rack::MockRequest.env_for("/?foo=quux",
|
155
|
-
"REQUEST_METHOD" => 'POST',
|
156
|
-
:input => "foo=bar&quux=bla"
|
157
|
-
)
|
158
|
-
req = Rack::Request.new mr
|
159
|
-
|
160
|
-
req.params
|
161
|
-
|
162
|
-
req.GET.should.equal "foo" => "quux"
|
163
|
-
req.POST.should.equal "foo" => "bar", "quux" => "bla"
|
164
|
-
req.params.should.equal req.GET.merge(req.POST)
|
165
|
-
end
|
166
|
-
|
167
|
-
should "raise if rack.input is missing" do
|
168
|
-
req = Rack::Request.new({})
|
169
|
-
lambda { req.POST }.should.raise(RuntimeError)
|
170
|
-
end
|
171
|
-
|
172
|
-
should "parse POST data when method is POST and no Content-Type given" do
|
173
|
-
req = Rack::Request.new \
|
174
|
-
Rack::MockRequest.env_for("/?foo=quux",
|
175
|
-
"REQUEST_METHOD" => 'POST',
|
176
|
-
:input => "foo=bar&quux=bla")
|
177
|
-
req.content_type.should.be.nil
|
178
|
-
req.media_type.should.be.nil
|
179
|
-
req.query_string.should.equal "foo=quux"
|
180
|
-
req.GET.should.equal "foo" => "quux"
|
181
|
-
req.POST.should.equal "foo" => "bar", "quux" => "bla"
|
182
|
-
req.params.should.equal "foo" => "bar", "quux" => "bla"
|
183
|
-
end
|
184
|
-
|
185
|
-
should "limit the keys from the POST form data" do
|
186
|
-
env = Rack::MockRequest.env_for("",
|
187
|
-
"REQUEST_METHOD" => 'POST',
|
188
|
-
:input => "foo=bar&quux=bla")
|
189
|
-
|
190
|
-
old, Rack::Utils.key_space_limit = Rack::Utils.key_space_limit, 1
|
191
|
-
begin
|
192
|
-
req = Rack::Request.new(env)
|
193
|
-
lambda { req.POST }.should.raise(RangeError)
|
194
|
-
ensure
|
195
|
-
Rack::Utils.key_space_limit = old
|
196
|
-
end
|
197
|
-
end
|
198
|
-
|
199
|
-
should "parse POST data with explicit content type regardless of method" do
|
200
|
-
req = Rack::Request.new \
|
201
|
-
Rack::MockRequest.env_for("/",
|
202
|
-
"CONTENT_TYPE" => 'application/x-www-form-urlencoded;foo=bar',
|
203
|
-
:input => "foo=bar&quux=bla")
|
204
|
-
req.content_type.should.equal 'application/x-www-form-urlencoded;foo=bar'
|
205
|
-
req.media_type.should.equal 'application/x-www-form-urlencoded'
|
206
|
-
req.media_type_params['foo'].should.equal 'bar'
|
207
|
-
req.POST.should.equal "foo" => "bar", "quux" => "bla"
|
208
|
-
req.params.should.equal "foo" => "bar", "quux" => "bla"
|
209
|
-
end
|
210
|
-
|
211
|
-
should "not parse POST data when media type is not form-data" do
|
212
|
-
req = Rack::Request.new \
|
213
|
-
Rack::MockRequest.env_for("/?foo=quux",
|
214
|
-
"REQUEST_METHOD" => 'POST',
|
215
|
-
"CONTENT_TYPE" => 'text/plain;charset=utf-8',
|
216
|
-
:input => "foo=bar&quux=bla")
|
217
|
-
req.content_type.should.equal 'text/plain;charset=utf-8'
|
218
|
-
req.media_type.should.equal 'text/plain'
|
219
|
-
req.media_type_params['charset'].should.equal 'utf-8'
|
220
|
-
req.POST.should.be.empty
|
221
|
-
req.params.should.equal "foo" => "quux"
|
222
|
-
req.body.read.should.equal "foo=bar&quux=bla"
|
223
|
-
end
|
224
|
-
|
225
|
-
should "parse POST data on PUT when media type is form-data" do
|
226
|
-
req = Rack::Request.new \
|
227
|
-
Rack::MockRequest.env_for("/?foo=quux",
|
228
|
-
"REQUEST_METHOD" => 'PUT',
|
229
|
-
"CONTENT_TYPE" => 'application/x-www-form-urlencoded',
|
230
|
-
:input => "foo=bar&quux=bla")
|
231
|
-
req.POST.should.equal "foo" => "bar", "quux" => "bla"
|
232
|
-
req.body.read.should.equal "foo=bar&quux=bla"
|
233
|
-
end
|
234
|
-
|
235
|
-
should "rewind input after parsing POST data" do
|
236
|
-
input = StringIO.new("foo=bar&quux=bla")
|
237
|
-
req = Rack::Request.new \
|
238
|
-
Rack::MockRequest.env_for("/",
|
239
|
-
"CONTENT_TYPE" => 'application/x-www-form-urlencoded;foo=bar',
|
240
|
-
:input => input)
|
241
|
-
req.params.should.equal "foo" => "bar", "quux" => "bla"
|
242
|
-
input.read.should.equal "foo=bar&quux=bla"
|
243
|
-
end
|
244
|
-
|
245
|
-
should "clean up Safari's ajax POST body" do
|
246
|
-
req = Rack::Request.new \
|
247
|
-
Rack::MockRequest.env_for("/",
|
248
|
-
'REQUEST_METHOD' => 'POST', :input => "foo=bar&quux=bla\0")
|
249
|
-
req.POST.should.equal "foo" => "bar", "quux" => "bla"
|
250
|
-
end
|
251
|
-
|
252
|
-
should "get value by key from params with #[]" do
|
253
|
-
req = Rack::Request.new \
|
254
|
-
Rack::MockRequest.env_for("?foo=quux")
|
255
|
-
req['foo'].should.equal 'quux'
|
256
|
-
req[:foo].should.equal 'quux'
|
257
|
-
end
|
258
|
-
|
259
|
-
should "set value to key on params with #[]=" do
|
260
|
-
req = Rack::Request.new \
|
261
|
-
Rack::MockRequest.env_for("?foo=duh")
|
262
|
-
req['foo'].should.equal 'duh'
|
263
|
-
req[:foo].should.equal 'duh'
|
264
|
-
req.params.should.equal 'foo' => 'duh'
|
265
|
-
|
266
|
-
req['foo'] = 'bar'
|
267
|
-
req.params.should.equal 'foo' => 'bar'
|
268
|
-
req['foo'].should.equal 'bar'
|
269
|
-
req[:foo].should.equal 'bar'
|
270
|
-
|
271
|
-
req[:foo] = 'jaz'
|
272
|
-
req.params.should.equal 'foo' => 'jaz'
|
273
|
-
req['foo'].should.equal 'jaz'
|
274
|
-
req[:foo].should.equal 'jaz'
|
275
|
-
end
|
276
|
-
|
277
|
-
should "return values for the keys in the order given from values_at" do
|
278
|
-
req = Rack::Request.new \
|
279
|
-
Rack::MockRequest.env_for("?foo=baz&wun=der&bar=ful")
|
280
|
-
req.values_at('foo').should.equal ['baz']
|
281
|
-
req.values_at('foo', 'wun').should.equal ['baz', 'der']
|
282
|
-
req.values_at('bar', 'foo', 'wun').should.equal ['ful', 'baz', 'der']
|
283
|
-
end
|
284
|
-
|
285
|
-
should "extract referrer correctly" do
|
286
|
-
req = Rack::Request.new \
|
287
|
-
Rack::MockRequest.env_for("/", "HTTP_REFERER" => "/some/path")
|
288
|
-
req.referer.should.equal "/some/path"
|
289
|
-
|
290
|
-
req = Rack::Request.new \
|
291
|
-
Rack::MockRequest.env_for("/")
|
292
|
-
req.referer.should.equal nil
|
293
|
-
end
|
294
|
-
|
295
|
-
should "extract user agent correctly" do
|
296
|
-
req = Rack::Request.new \
|
297
|
-
Rack::MockRequest.env_for("/", "HTTP_USER_AGENT" => "Mozilla/4.0 (compatible)")
|
298
|
-
req.user_agent.should.equal "Mozilla/4.0 (compatible)"
|
299
|
-
|
300
|
-
req = Rack::Request.new \
|
301
|
-
Rack::MockRequest.env_for("/")
|
302
|
-
req.user_agent.should.equal nil
|
303
|
-
end
|
304
|
-
|
305
|
-
should "treat missing content type as nil" do
|
306
|
-
req = Rack::Request.new \
|
307
|
-
Rack::MockRequest.env_for("/")
|
308
|
-
req.content_type.should.equal nil
|
309
|
-
end
|
310
|
-
|
311
|
-
should "treat empty content type as nil" do
|
312
|
-
req = Rack::Request.new \
|
313
|
-
Rack::MockRequest.env_for("/", "CONTENT_TYPE" => "")
|
314
|
-
req.content_type.should.equal nil
|
315
|
-
end
|
316
|
-
|
317
|
-
should "return nil media type for empty content type" do
|
318
|
-
req = Rack::Request.new \
|
319
|
-
Rack::MockRequest.env_for("/", "CONTENT_TYPE" => "")
|
320
|
-
req.media_type.should.equal nil
|
321
|
-
end
|
322
|
-
|
323
|
-
should "cache, but invalidates the cache" do
|
324
|
-
req = Rack::Request.new \
|
325
|
-
Rack::MockRequest.env_for("/?foo=quux",
|
326
|
-
"CONTENT_TYPE" => "application/x-www-form-urlencoded",
|
327
|
-
:input => "foo=bar&quux=bla")
|
328
|
-
req.GET.should.equal "foo" => "quux"
|
329
|
-
req.GET.should.equal "foo" => "quux"
|
330
|
-
req.env["QUERY_STRING"] = "bla=foo"
|
331
|
-
req.GET.should.equal "bla" => "foo"
|
332
|
-
req.GET.should.equal "bla" => "foo"
|
333
|
-
|
334
|
-
req.POST.should.equal "foo" => "bar", "quux" => "bla"
|
335
|
-
req.POST.should.equal "foo" => "bar", "quux" => "bla"
|
336
|
-
req.env["rack.input"] = StringIO.new("foo=bla&quux=bar")
|
337
|
-
req.POST.should.equal "foo" => "bla", "quux" => "bar"
|
338
|
-
req.POST.should.equal "foo" => "bla", "quux" => "bar"
|
339
|
-
end
|
340
|
-
|
341
|
-
should "figure out if called via XHR" do
|
342
|
-
req = Rack::Request.new(Rack::MockRequest.env_for(""))
|
343
|
-
req.should.not.be.xhr
|
344
|
-
|
345
|
-
req = Rack::Request.new \
|
346
|
-
Rack::MockRequest.env_for("", "HTTP_X_REQUESTED_WITH" => "XMLHttpRequest")
|
347
|
-
req.should.be.xhr
|
348
|
-
end
|
349
|
-
|
350
|
-
should "ssl detection" do
|
351
|
-
request = Rack::Request.new(Rack::MockRequest.env_for("/"))
|
352
|
-
request.scheme.should.equal "http"
|
353
|
-
request.should.not.be.ssl?
|
354
|
-
|
355
|
-
request = Rack::Request.new(Rack::MockRequest.env_for("/", 'HTTPS' => 'on'))
|
356
|
-
request.scheme.should.equal "https"
|
357
|
-
request.should.be.ssl?
|
358
|
-
|
359
|
-
request = Rack::Request.new(Rack::MockRequest.env_for("/", 'rack.url_scheme' => 'https'))
|
360
|
-
request.scheme.should.equal "https"
|
361
|
-
request.should.be.ssl?
|
362
|
-
|
363
|
-
request = Rack::Request.new(Rack::MockRequest.env_for("/", 'HTTP_HOST' => 'www.example.org:8080'))
|
364
|
-
request.scheme.should.equal "http"
|
365
|
-
request.should.not.be.ssl?
|
366
|
-
|
367
|
-
request = Rack::Request.new(Rack::MockRequest.env_for("/", 'HTTP_HOST' => 'www.example.org:8443', 'HTTPS' => 'on'))
|
368
|
-
request.scheme.should.equal "https"
|
369
|
-
request.should.be.ssl?
|
370
|
-
|
371
|
-
request = Rack::Request.new(Rack::MockRequest.env_for("/", 'HTTP_HOST' => 'www.example.org:8443', 'HTTP_X_FORWARDED_SSL' => 'on'))
|
372
|
-
request.scheme.should.equal "https"
|
373
|
-
request.should.be.ssl?
|
374
|
-
|
375
|
-
request = Rack::Request.new(Rack::MockRequest.env_for("/", 'HTTP_X_FORWARDED_SCHEME' => 'https'))
|
376
|
-
request.scheme.should.equal "https"
|
377
|
-
request.should.be.ssl?
|
378
|
-
|
379
|
-
request = Rack::Request.new(Rack::MockRequest.env_for("/", 'HTTP_X_FORWARDED_PROTO' => 'https'))
|
380
|
-
request.scheme.should.equal "https"
|
381
|
-
request.should.be.ssl?
|
382
|
-
|
383
|
-
request = Rack::Request.new(Rack::MockRequest.env_for("/", 'HTTP_X_FORWARDED_PROTO' => 'https, http, http'))
|
384
|
-
request.scheme.should.equal "https"
|
385
|
-
request.should.be.ssl?
|
386
|
-
end
|
387
|
-
|
388
|
-
should "parse cookies" do
|
389
|
-
req = Rack::Request.new \
|
390
|
-
Rack::MockRequest.env_for("", "HTTP_COOKIE" => "foo=bar;quux=h&m")
|
391
|
-
req.cookies.should.equal "foo" => "bar", "quux" => "h&m"
|
392
|
-
req.cookies.should.equal "foo" => "bar", "quux" => "h&m"
|
393
|
-
req.env.delete("HTTP_COOKIE")
|
394
|
-
req.cookies.should.equal({})
|
395
|
-
end
|
396
|
-
|
397
|
-
should "always return the same hash object" do
|
398
|
-
req = Rack::Request.new \
|
399
|
-
Rack::MockRequest.env_for("", "HTTP_COOKIE" => "foo=bar;quux=h&m")
|
400
|
-
hash = req.cookies
|
401
|
-
req.env.delete("HTTP_COOKIE")
|
402
|
-
req.cookies.should.equal(hash)
|
403
|
-
req.env["HTTP_COOKIE"] = "zoo=m"
|
404
|
-
req.cookies.should.equal(hash)
|
405
|
-
end
|
406
|
-
|
407
|
-
should "modify the cookies hash in place" do
|
408
|
-
req = Rack::Request.new(Rack::MockRequest.env_for(""))
|
409
|
-
req.cookies.should.equal({})
|
410
|
-
req.cookies['foo'] = 'bar'
|
411
|
-
req.cookies.should.equal 'foo' => 'bar'
|
412
|
-
end
|
413
|
-
|
414
|
-
should "not modify the params hash in place" do
|
415
|
-
e = Rack::MockRequest.env_for("")
|
416
|
-
req1 = Rack::Request.new(e)
|
417
|
-
req1.params.should.equal({})
|
418
|
-
req1.params['foo'] = 'bar'
|
419
|
-
req1.params.should.equal 'foo' => 'bar'
|
420
|
-
req2 = Rack::Request.new(e)
|
421
|
-
req2.params.should.equal({})
|
422
|
-
end
|
423
|
-
|
424
|
-
should "modify params hash if param is in GET" do
|
425
|
-
e = Rack::MockRequest.env_for("?foo=duh")
|
426
|
-
req1 = Rack::Request.new(e)
|
427
|
-
req1.params.should.equal 'foo' => 'duh'
|
428
|
-
req1.update_param 'foo', 'bar'
|
429
|
-
req1.params.should.equal 'foo' => 'bar'
|
430
|
-
req2 = Rack::Request.new(e)
|
431
|
-
req2.params.should.equal 'foo' => 'bar'
|
432
|
-
end
|
433
|
-
|
434
|
-
should "modify params hash if param is in POST" do
|
435
|
-
e = Rack::MockRequest.env_for("", "REQUEST_METHOD" => 'POST', :input => 'foo=duh')
|
436
|
-
req1 = Rack::Request.new(e)
|
437
|
-
req1.params.should.equal 'foo' => 'duh'
|
438
|
-
req1.update_param 'foo', 'bar'
|
439
|
-
req1.params.should.equal 'foo' => 'bar'
|
440
|
-
req2 = Rack::Request.new(e)
|
441
|
-
req2.params.should.equal 'foo' => 'bar'
|
442
|
-
end
|
443
|
-
|
444
|
-
should "modify params hash, even if param didn't exist before" do
|
445
|
-
e = Rack::MockRequest.env_for("")
|
446
|
-
req1 = Rack::Request.new(e)
|
447
|
-
req1.params.should.equal({})
|
448
|
-
req1.update_param 'foo', 'bar'
|
449
|
-
req1.params.should.equal 'foo' => 'bar'
|
450
|
-
req2 = Rack::Request.new(e)
|
451
|
-
req2.params.should.equal 'foo' => 'bar'
|
452
|
-
end
|
453
|
-
|
454
|
-
should "modify params hash by changing only GET" do
|
455
|
-
e = Rack::MockRequest.env_for("?foo=duhget")
|
456
|
-
req = Rack::Request.new(e)
|
457
|
-
req.GET.should.equal 'foo' => 'duhget'
|
458
|
-
req.POST.should.equal({})
|
459
|
-
req.update_param 'foo', 'bar'
|
460
|
-
req.GET.should.equal 'foo' => 'bar'
|
461
|
-
req.POST.should.equal({})
|
462
|
-
end
|
463
|
-
|
464
|
-
should "modify params hash by changing only POST" do
|
465
|
-
e = Rack::MockRequest.env_for("", "REQUEST_METHOD" => 'POST', :input => "foo=duhpost")
|
466
|
-
req = Rack::Request.new(e)
|
467
|
-
req.GET.should.equal({})
|
468
|
-
req.POST.should.equal 'foo' => 'duhpost'
|
469
|
-
req.update_param 'foo', 'bar'
|
470
|
-
req.GET.should.equal({})
|
471
|
-
req.POST.should.equal 'foo' => 'bar'
|
472
|
-
end
|
473
|
-
|
474
|
-
should "modify params hash, even if param is defined in both POST and GET" do
|
475
|
-
e = Rack::MockRequest.env_for("?foo=duhget", "REQUEST_METHOD" => 'POST', :input => "foo=duhpost")
|
476
|
-
req1 = Rack::Request.new(e)
|
477
|
-
req1.GET.should.equal 'foo' => 'duhget'
|
478
|
-
req1.POST.should.equal 'foo' => 'duhpost'
|
479
|
-
req1.params.should.equal 'foo' => 'duhpost'
|
480
|
-
req1.update_param 'foo', 'bar'
|
481
|
-
req1.GET.should.equal 'foo' => 'bar'
|
482
|
-
req1.POST.should.equal 'foo' => 'bar'
|
483
|
-
req1.params.should.equal 'foo' => 'bar'
|
484
|
-
req2 = Rack::Request.new(e)
|
485
|
-
req2.GET.should.equal 'foo' => 'bar'
|
486
|
-
req2.POST.should.equal 'foo' => 'bar'
|
487
|
-
req2.params.should.equal 'foo' => 'bar'
|
488
|
-
req2.params.should.equal 'foo' => 'bar'
|
489
|
-
end
|
490
|
-
|
491
|
-
should "allow deleting from params hash if param is in GET" do
|
492
|
-
e = Rack::MockRequest.env_for("?foo=bar")
|
493
|
-
req1 = Rack::Request.new(e)
|
494
|
-
req1.params.should.equal 'foo' => 'bar'
|
495
|
-
req1.delete_param('foo').should.equal 'bar'
|
496
|
-
req1.params.should.equal({})
|
497
|
-
req2 = Rack::Request.new(e)
|
498
|
-
req2.params.should.equal({})
|
499
|
-
end
|
500
|
-
|
501
|
-
should "allow deleting from params hash if param is in POST" do
|
502
|
-
e = Rack::MockRequest.env_for("", "REQUEST_METHOD" => 'POST', :input => 'foo=bar')
|
503
|
-
req1 = Rack::Request.new(e)
|
504
|
-
req1.params.should.equal 'foo' => 'bar'
|
505
|
-
req1.delete_param('foo').should.equal 'bar'
|
506
|
-
req1.params.should.equal({})
|
507
|
-
req2 = Rack::Request.new(e)
|
508
|
-
req2.params.should.equal({})
|
509
|
-
end
|
510
|
-
|
511
|
-
should "pass through non-uri escaped cookies as-is" do
|
512
|
-
req = Rack::Request.new Rack::MockRequest.env_for("", "HTTP_COOKIE" => "foo=%")
|
513
|
-
req.cookies["foo"].should == "%"
|
514
|
-
end
|
515
|
-
|
516
|
-
should "parse cookies according to RFC 2109" do
|
517
|
-
req = Rack::Request.new \
|
518
|
-
Rack::MockRequest.env_for('', 'HTTP_COOKIE' => 'foo=bar;foo=car')
|
519
|
-
req.cookies.should.equal 'foo' => 'bar'
|
520
|
-
end
|
521
|
-
|
522
|
-
should 'parse cookies with quotes' do
|
523
|
-
req = Rack::Request.new Rack::MockRequest.env_for('', {
|
524
|
-
'HTTP_COOKIE' => '$Version="1"; Customer="WILE_E_COYOTE"; $Path="/acme"; Part_Number="Rocket_Launcher_0001"; $Path="/acme"'
|
525
|
-
})
|
526
|
-
req.cookies.should.equal({
|
527
|
-
'$Version' => '"1"',
|
528
|
-
'Customer' => '"WILE_E_COYOTE"',
|
529
|
-
'$Path' => '"/acme"',
|
530
|
-
'Part_Number' => '"Rocket_Launcher_0001"',
|
531
|
-
})
|
532
|
-
end
|
533
|
-
|
534
|
-
should "provide setters" do
|
535
|
-
req = Rack::Request.new(e=Rack::MockRequest.env_for(""))
|
536
|
-
req.script_name.should.equal ""
|
537
|
-
req.script_name = "/foo"
|
538
|
-
req.script_name.should.equal "/foo"
|
539
|
-
e["SCRIPT_NAME"].should.equal "/foo"
|
540
|
-
|
541
|
-
req.path_info.should.equal "/"
|
542
|
-
req.path_info = "/foo"
|
543
|
-
req.path_info.should.equal "/foo"
|
544
|
-
e["PATH_INFO"].should.equal "/foo"
|
545
|
-
end
|
546
|
-
|
547
|
-
should "provide the original env" do
|
548
|
-
req = Rack::Request.new(e = Rack::MockRequest.env_for(""))
|
549
|
-
req.env.should == e
|
550
|
-
end
|
551
|
-
|
552
|
-
should "restore the base URL" do
|
553
|
-
Rack::Request.new(Rack::MockRequest.env_for("")).base_url.
|
554
|
-
should.equal "http://example.org"
|
555
|
-
Rack::Request.new(Rack::MockRequest.env_for("", "SCRIPT_NAME" => "/foo")).base_url.
|
556
|
-
should.equal "http://example.org"
|
557
|
-
end
|
558
|
-
|
559
|
-
should "restore the URL" do
|
560
|
-
Rack::Request.new(Rack::MockRequest.env_for("")).url.
|
561
|
-
should.equal "http://example.org/"
|
562
|
-
Rack::Request.new(Rack::MockRequest.env_for("", "SCRIPT_NAME" => "/foo")).url.
|
563
|
-
should.equal "http://example.org/foo/"
|
564
|
-
Rack::Request.new(Rack::MockRequest.env_for("/foo")).url.
|
565
|
-
should.equal "http://example.org/foo"
|
566
|
-
Rack::Request.new(Rack::MockRequest.env_for("?foo")).url.
|
567
|
-
should.equal "http://example.org/?foo"
|
568
|
-
Rack::Request.new(Rack::MockRequest.env_for("http://example.org:8080/")).url.
|
569
|
-
should.equal "http://example.org:8080/"
|
570
|
-
Rack::Request.new(Rack::MockRequest.env_for("https://example.org/")).url.
|
571
|
-
should.equal "https://example.org/"
|
572
|
-
Rack::Request.new(Rack::MockRequest.env_for("coffee://example.org/")).url.
|
573
|
-
should.equal "coffee://example.org/"
|
574
|
-
Rack::Request.new(Rack::MockRequest.env_for("coffee://example.org:443/")).url.
|
575
|
-
should.equal "coffee://example.org:443/"
|
576
|
-
Rack::Request.new(Rack::MockRequest.env_for("https://example.com:8080/foo?foo")).url.
|
577
|
-
should.equal "https://example.com:8080/foo?foo"
|
578
|
-
end
|
579
|
-
|
580
|
-
should "restore the full path" do
|
581
|
-
Rack::Request.new(Rack::MockRequest.env_for("")).fullpath.
|
582
|
-
should.equal "/"
|
583
|
-
Rack::Request.new(Rack::MockRequest.env_for("", "SCRIPT_NAME" => "/foo")).fullpath.
|
584
|
-
should.equal "/foo/"
|
585
|
-
Rack::Request.new(Rack::MockRequest.env_for("/foo")).fullpath.
|
586
|
-
should.equal "/foo"
|
587
|
-
Rack::Request.new(Rack::MockRequest.env_for("?foo")).fullpath.
|
588
|
-
should.equal "/?foo"
|
589
|
-
Rack::Request.new(Rack::MockRequest.env_for("http://example.org:8080/")).fullpath.
|
590
|
-
should.equal "/"
|
591
|
-
Rack::Request.new(Rack::MockRequest.env_for("https://example.org/")).fullpath.
|
592
|
-
should.equal "/"
|
593
|
-
|
594
|
-
Rack::Request.new(Rack::MockRequest.env_for("https://example.com:8080/foo?foo")).fullpath.
|
595
|
-
should.equal "/foo?foo"
|
596
|
-
end
|
597
|
-
|
598
|
-
should "handle multiple media type parameters" do
|
599
|
-
req = Rack::Request.new \
|
600
|
-
Rack::MockRequest.env_for("/",
|
601
|
-
"CONTENT_TYPE" => 'text/plain; foo=BAR,baz=bizzle dizzle;BLING=bam')
|
602
|
-
req.should.not.be.form_data
|
603
|
-
req.media_type_params.should.include 'foo'
|
604
|
-
req.media_type_params['foo'].should.equal 'BAR'
|
605
|
-
req.media_type_params.should.include 'baz'
|
606
|
-
req.media_type_params['baz'].should.equal 'bizzle dizzle'
|
607
|
-
req.media_type_params.should.not.include 'BLING'
|
608
|
-
req.media_type_params.should.include 'bling'
|
609
|
-
req.media_type_params['bling'].should.equal 'bam'
|
610
|
-
end
|
611
|
-
|
612
|
-
should "parse with junk before boundry" do
|
613
|
-
# Adapted from RFC 1867.
|
614
|
-
input = <<EOF
|
615
|
-
blah blah\r
|
616
|
-
\r
|
617
|
-
--AaB03x\r
|
618
|
-
content-disposition: form-data; name="reply"\r
|
619
|
-
\r
|
620
|
-
yes\r
|
621
|
-
--AaB03x\r
|
622
|
-
content-disposition: form-data; name="fileupload"; filename="dj.jpg"\r
|
623
|
-
Content-Type: image/jpeg\r
|
624
|
-
Content-Transfer-Encoding: base64\r
|
625
|
-
\r
|
626
|
-
/9j/4AAQSkZJRgABAQAAAQABAAD//gA+Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcg\r
|
627
|
-
--AaB03x--\r
|
628
|
-
EOF
|
629
|
-
req = Rack::Request.new Rack::MockRequest.env_for("/",
|
630
|
-
"CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
|
631
|
-
"CONTENT_LENGTH" => input.size,
|
632
|
-
:input => input)
|
633
|
-
|
634
|
-
req.POST.should.include "fileupload"
|
635
|
-
req.POST.should.include "reply"
|
636
|
-
|
637
|
-
req.should.be.form_data
|
638
|
-
req.content_length.should.equal input.size
|
639
|
-
req.media_type.should.equal 'multipart/form-data'
|
640
|
-
req.media_type_params.should.include 'boundary'
|
641
|
-
req.media_type_params['boundary'].should.equal 'AaB03x'
|
642
|
-
|
643
|
-
req.POST["reply"].should.equal "yes"
|
644
|
-
|
645
|
-
f = req.POST["fileupload"]
|
646
|
-
f.should.be.kind_of Hash
|
647
|
-
f[:type].should.equal "image/jpeg"
|
648
|
-
f[:filename].should.equal "dj.jpg"
|
649
|
-
f.should.include :tempfile
|
650
|
-
f[:tempfile].size.should.equal 76
|
651
|
-
end
|
652
|
-
|
653
|
-
should "not infinite loop with a malformed HTTP request" do
|
654
|
-
# Adapted from RFC 1867.
|
655
|
-
input = <<EOF
|
656
|
-
--AaB03x
|
657
|
-
content-disposition: form-data; name="reply"
|
658
|
-
|
659
|
-
yes
|
660
|
-
--AaB03x
|
661
|
-
content-disposition: form-data; name="fileupload"; filename="dj.jpg"
|
662
|
-
Content-Type: image/jpeg
|
663
|
-
Content-Transfer-Encoding: base64
|
664
|
-
|
665
|
-
/9j/4AAQSkZJRgABAQAAAQABAAD//gA+Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcg
|
666
|
-
--AaB03x--
|
667
|
-
EOF
|
668
|
-
req = Rack::Request.new Rack::MockRequest.env_for("/",
|
669
|
-
"CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
|
670
|
-
"CONTENT_LENGTH" => input.size,
|
671
|
-
:input => input)
|
672
|
-
|
673
|
-
lambda{req.POST}.should.raise(EOFError)
|
674
|
-
end
|
675
|
-
|
676
|
-
|
677
|
-
should "parse multipart form data" do
|
678
|
-
# Adapted from RFC 1867.
|
679
|
-
input = <<EOF
|
680
|
-
--AaB03x\r
|
681
|
-
content-disposition: form-data; name="reply"\r
|
682
|
-
\r
|
683
|
-
yes\r
|
684
|
-
--AaB03x\r
|
685
|
-
content-disposition: form-data; name="fileupload"; filename="dj.jpg"\r
|
686
|
-
Content-Type: image/jpeg\r
|
687
|
-
Content-Transfer-Encoding: base64\r
|
688
|
-
\r
|
689
|
-
/9j/4AAQSkZJRgABAQAAAQABAAD//gA+Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcg\r
|
690
|
-
--AaB03x--\r
|
691
|
-
EOF
|
692
|
-
req = Rack::Request.new Rack::MockRequest.env_for("/",
|
693
|
-
"CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
|
694
|
-
"CONTENT_LENGTH" => input.size,
|
695
|
-
:input => input)
|
696
|
-
|
697
|
-
req.POST.should.include "fileupload"
|
698
|
-
req.POST.should.include "reply"
|
699
|
-
|
700
|
-
req.should.be.form_data
|
701
|
-
req.content_length.should.equal input.size
|
702
|
-
req.media_type.should.equal 'multipart/form-data'
|
703
|
-
req.media_type_params.should.include 'boundary'
|
704
|
-
req.media_type_params['boundary'].should.equal 'AaB03x'
|
705
|
-
|
706
|
-
req.POST["reply"].should.equal "yes"
|
707
|
-
|
708
|
-
f = req.POST["fileupload"]
|
709
|
-
f.should.be.kind_of Hash
|
710
|
-
f[:type].should.equal "image/jpeg"
|
711
|
-
f[:filename].should.equal "dj.jpg"
|
712
|
-
f.should.include :tempfile
|
713
|
-
f[:tempfile].size.should.equal 76
|
714
|
-
end
|
715
|
-
|
716
|
-
should "parse big multipart form data" do
|
717
|
-
input = <<EOF
|
718
|
-
--AaB03x\r
|
719
|
-
content-disposition: form-data; name="huge"; filename="huge"\r
|
720
|
-
\r
|
721
|
-
#{"x"*32768}\r
|
722
|
-
--AaB03x\r
|
723
|
-
content-disposition: form-data; name="mean"; filename="mean"\r
|
724
|
-
\r
|
725
|
-
--AaB03xha\r
|
726
|
-
--AaB03x--\r
|
727
|
-
EOF
|
728
|
-
req = Rack::Request.new Rack::MockRequest.env_for("/",
|
729
|
-
"CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
|
730
|
-
"CONTENT_LENGTH" => input.size,
|
731
|
-
:input => input)
|
732
|
-
|
733
|
-
req.POST["huge"][:tempfile].size.should.equal 32768
|
734
|
-
req.POST["mean"][:tempfile].size.should.equal 10
|
735
|
-
req.POST["mean"][:tempfile].read.should.equal "--AaB03xha"
|
736
|
-
end
|
737
|
-
|
738
|
-
should "detect invalid multipart form data" do
|
739
|
-
input = <<EOF
|
740
|
-
--AaB03x\r
|
741
|
-
content-disposition: form-data; name="huge"; filename="huge"\r
|
742
|
-
EOF
|
743
|
-
req = Rack::Request.new Rack::MockRequest.env_for("/",
|
744
|
-
"CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
|
745
|
-
"CONTENT_LENGTH" => input.size,
|
746
|
-
:input => input)
|
747
|
-
|
748
|
-
lambda { req.POST }.should.raise(EOFError)
|
749
|
-
|
750
|
-
input = <<EOF
|
751
|
-
--AaB03x\r
|
752
|
-
content-disposition: form-data; name="huge"; filename="huge"\r
|
753
|
-
\r
|
754
|
-
foo\r
|
755
|
-
EOF
|
756
|
-
req = Rack::Request.new Rack::MockRequest.env_for("/",
|
757
|
-
"CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
|
758
|
-
"CONTENT_LENGTH" => input.size,
|
759
|
-
:input => input)
|
760
|
-
|
761
|
-
lambda { req.POST }.should.raise(EOFError)
|
762
|
-
|
763
|
-
input = <<EOF
|
764
|
-
--AaB03x\r
|
765
|
-
content-disposition: form-data; name="huge"; filename="huge"\r
|
766
|
-
\r
|
767
|
-
foo\r
|
768
|
-
EOF
|
769
|
-
req = Rack::Request.new Rack::MockRequest.env_for("/",
|
770
|
-
"CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
|
771
|
-
"CONTENT_LENGTH" => input.size,
|
772
|
-
:input => input)
|
773
|
-
|
774
|
-
lambda { req.POST }.should.raise(EOFError)
|
775
|
-
end
|
776
|
-
|
777
|
-
should "correctly parse the part name from Content-Id header" do
|
778
|
-
input = <<EOF
|
779
|
-
--AaB03x\r
|
780
|
-
Content-Type: text/xml; charset=utf-8\r
|
781
|
-
Content-Id: <soap-start>\r
|
782
|
-
Content-Transfer-Encoding: 7bit\r
|
783
|
-
\r
|
784
|
-
foo\r
|
785
|
-
--AaB03x--\r
|
786
|
-
EOF
|
787
|
-
req = Rack::Request.new Rack::MockRequest.env_for("/",
|
788
|
-
"CONTENT_TYPE" => "multipart/related, boundary=AaB03x",
|
789
|
-
"CONTENT_LENGTH" => input.size,
|
790
|
-
:input => input)
|
791
|
-
|
792
|
-
req.params.keys.should.equal ["<soap-start>"]
|
793
|
-
end
|
794
|
-
|
795
|
-
should "not try to interpret binary as utf8" do
|
796
|
-
if /regexp/.respond_to?(:kcode) # < 1.9
|
797
|
-
begin
|
798
|
-
original_kcode = $KCODE
|
799
|
-
$KCODE='UTF8'
|
800
|
-
|
801
|
-
input = <<EOF
|
802
|
-
--AaB03x\r
|
803
|
-
content-disposition: form-data; name="fileupload"; filename="junk.a"\r
|
804
|
-
content-type: application/octet-stream\r
|
805
|
-
\r
|
806
|
-
#{[0x36,0xCF,0x0A,0xF8].pack('c*')}\r
|
807
|
-
--AaB03x--\r
|
808
|
-
EOF
|
809
|
-
|
810
|
-
req = Rack::Request.new Rack::MockRequest.env_for("/",
|
811
|
-
"CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
|
812
|
-
"CONTENT_LENGTH" => input.size,
|
813
|
-
:input => input)
|
814
|
-
|
815
|
-
lambda{req.POST}.should.not.raise(EOFError)
|
816
|
-
req.POST["fileupload"][:tempfile].size.should.equal 4
|
817
|
-
ensure
|
818
|
-
$KCODE = original_kcode
|
819
|
-
end
|
820
|
-
else # >= 1.9
|
821
|
-
input = <<EOF
|
822
|
-
--AaB03x\r
|
823
|
-
content-disposition: form-data; name="fileupload"; filename="junk.a"\r
|
824
|
-
content-type: application/octet-stream\r
|
825
|
-
\r
|
826
|
-
#{[0x36,0xCF,0x0A,0xF8].pack('c*')}\r
|
827
|
-
--AaB03x--\r
|
828
|
-
EOF
|
829
|
-
|
830
|
-
req = Rack::Request.new Rack::MockRequest.env_for("/",
|
831
|
-
"CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
|
832
|
-
"CONTENT_LENGTH" => input.size,
|
833
|
-
:input => input)
|
834
|
-
|
835
|
-
lambda{req.POST}.should.not.raise(EOFError)
|
836
|
-
req.POST["fileupload"][:tempfile].size.should.equal 4
|
837
|
-
end
|
838
|
-
end
|
839
|
-
|
840
|
-
should "work around buggy 1.8.* Tempfile equality" do
|
841
|
-
input = <<EOF
|
842
|
-
--AaB03x\r
|
843
|
-
content-disposition: form-data; name="huge"; filename="huge"\r
|
844
|
-
\r
|
845
|
-
foo\r
|
846
|
-
--AaB03x--
|
847
|
-
EOF
|
848
|
-
|
849
|
-
rack_input = Tempfile.new("rackspec")
|
850
|
-
rack_input.write(input)
|
851
|
-
rack_input.rewind
|
852
|
-
|
853
|
-
req = Rack::Request.new Rack::MockRequest.env_for("/",
|
854
|
-
"CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
|
855
|
-
"CONTENT_LENGTH" => input.size,
|
856
|
-
:input => rack_input)
|
857
|
-
|
858
|
-
lambda{ req.POST }.should.not.raise
|
859
|
-
lambda{ req.POST }.should.not.raise("input re-processed!")
|
860
|
-
end
|
861
|
-
|
862
|
-
should "conform to the Rack spec" do
|
863
|
-
app = lambda { |env|
|
864
|
-
content = Rack::Request.new(env).POST["file"].inspect
|
865
|
-
size = content.respond_to?(:bytesize) ? content.bytesize : content.size
|
866
|
-
[200, {"Content-Type" => "text/html", "Content-Length" => size.to_s}, [content]]
|
867
|
-
}
|
868
|
-
|
869
|
-
input = <<EOF
|
870
|
-
--AaB03x\r
|
871
|
-
content-disposition: form-data; name="reply"\r
|
872
|
-
\r
|
873
|
-
yes\r
|
874
|
-
--AaB03x\r
|
875
|
-
content-disposition: form-data; name="fileupload"; filename="dj.jpg"\r
|
876
|
-
Content-Type: image/jpeg\r
|
877
|
-
Content-Transfer-Encoding: base64\r
|
878
|
-
\r
|
879
|
-
/9j/4AAQSkZJRgABAQAAAQABAAD//gA+Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcg\r
|
880
|
-
--AaB03x--\r
|
881
|
-
EOF
|
882
|
-
input.force_encoding("ASCII-8BIT") if input.respond_to? :force_encoding
|
883
|
-
res = Rack::MockRequest.new(Rack::Lint.new(app)).get "/",
|
884
|
-
"CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
|
885
|
-
"CONTENT_LENGTH" => input.size.to_s, "rack.input" => StringIO.new(input)
|
886
|
-
|
887
|
-
res.should.be.ok
|
888
|
-
end
|
889
|
-
|
890
|
-
should "parse Accept-Encoding correctly" do
|
891
|
-
parser = lambda do |x|
|
892
|
-
Rack::Request.new(Rack::MockRequest.env_for("", "HTTP_ACCEPT_ENCODING" => x)).accept_encoding
|
893
|
-
end
|
894
|
-
|
895
|
-
parser.call(nil).should.equal([])
|
896
|
-
|
897
|
-
parser.call("compress, gzip").should.equal([["compress", 1.0], ["gzip", 1.0]])
|
898
|
-
parser.call("").should.equal([])
|
899
|
-
parser.call("*").should.equal([["*", 1.0]])
|
900
|
-
parser.call("compress;q=0.5, gzip;q=1.0").should.equal([["compress", 0.5], ["gzip", 1.0]])
|
901
|
-
parser.call("gzip;q=1.0, identity; q=0.5, *;q=0").should.equal([["gzip", 1.0], ["identity", 0.5], ["*", 0] ])
|
902
|
-
|
903
|
-
parser.call("gzip ; q=0.9").should.equal([["gzip", 0.9]])
|
904
|
-
parser.call("gzip ; deflate").should.equal([["gzip", 1.0]])
|
905
|
-
end
|
906
|
-
|
907
|
-
ip_app = lambda { |env|
|
908
|
-
request = Rack::Request.new(env)
|
909
|
-
response = Rack::Response.new
|
910
|
-
response.write request.ip
|
911
|
-
response.finish
|
912
|
-
}
|
913
|
-
|
914
|
-
should 'provide ip information' do
|
915
|
-
mock = Rack::MockRequest.new(Rack::Lint.new(ip_app))
|
916
|
-
|
917
|
-
res = mock.get '/', 'REMOTE_ADDR' => '1.2.3.4'
|
918
|
-
res.body.should.equal '1.2.3.4'
|
919
|
-
|
920
|
-
res = mock.get '/', 'REMOTE_ADDR' => 'fe80::202:b3ff:fe1e:8329'
|
921
|
-
res.body.should.equal 'fe80::202:b3ff:fe1e:8329'
|
922
|
-
|
923
|
-
res = mock.get '/', 'REMOTE_ADDR' => '1.2.3.4,3.4.5.6'
|
924
|
-
res.body.should.equal '1.2.3.4'
|
925
|
-
end
|
926
|
-
|
927
|
-
should 'deals with proxies' do
|
928
|
-
mock = Rack::MockRequest.new(Rack::Lint.new(ip_app))
|
929
|
-
|
930
|
-
res = mock.get '/',
|
931
|
-
'REMOTE_ADDR' => '1.2.3.4',
|
932
|
-
'HTTP_X_FORWARDED_FOR' => '3.4.5.6'
|
933
|
-
res.body.should.equal '1.2.3.4'
|
934
|
-
|
935
|
-
res = mock.get '/',
|
936
|
-
'REMOTE_ADDR' => '1.2.3.4',
|
937
|
-
'HTTP_X_FORWARDED_FOR' => 'unknown'
|
938
|
-
res.body.should.equal '1.2.3.4'
|
939
|
-
|
940
|
-
res = mock.get '/',
|
941
|
-
'REMOTE_ADDR' => '127.0.0.1',
|
942
|
-
'HTTP_X_FORWARDED_FOR' => '3.4.5.6'
|
943
|
-
res.body.should.equal '3.4.5.6'
|
944
|
-
|
945
|
-
res = mock.get '/', 'HTTP_X_FORWARDED_FOR' => 'unknown,3.4.5.6'
|
946
|
-
res.body.should.equal '3.4.5.6'
|
947
|
-
|
948
|
-
res = mock.get '/', 'HTTP_X_FORWARDED_FOR' => '192.168.0.1,3.4.5.6'
|
949
|
-
res.body.should.equal '3.4.5.6'
|
950
|
-
|
951
|
-
res = mock.get '/', 'HTTP_X_FORWARDED_FOR' => '10.0.0.1,3.4.5.6'
|
952
|
-
res.body.should.equal '3.4.5.6'
|
953
|
-
|
954
|
-
res = mock.get '/', 'HTTP_X_FORWARDED_FOR' => '10.0.0.1, 10.0.0.1, 3.4.5.6'
|
955
|
-
res.body.should.equal '3.4.5.6'
|
956
|
-
|
957
|
-
res = mock.get '/', 'HTTP_X_FORWARDED_FOR' => '127.0.0.1, 3.4.5.6'
|
958
|
-
res.body.should.equal '3.4.5.6'
|
959
|
-
|
960
|
-
res = mock.get '/', 'HTTP_X_FORWARDED_FOR' => 'unknown,192.168.0.1'
|
961
|
-
res.body.should.equal 'unknown'
|
962
|
-
|
963
|
-
res = mock.get '/', 'HTTP_X_FORWARDED_FOR' => 'other,unknown,192.168.0.1'
|
964
|
-
res.body.should.equal 'unknown'
|
965
|
-
|
966
|
-
res = mock.get '/', 'HTTP_X_FORWARDED_FOR' => 'unknown,localhost,192.168.0.1'
|
967
|
-
res.body.should.equal 'unknown'
|
968
|
-
|
969
|
-
res = mock.get '/', 'HTTP_X_FORWARDED_FOR' => '9.9.9.9, 3.4.5.6, 10.0.0.1, 172.31.4.4'
|
970
|
-
res.body.should.equal '3.4.5.6'
|
971
|
-
|
972
|
-
res = mock.get '/', 'HTTP_X_FORWARDED_FOR' => '::1,2620:0:1c00:0:812c:9583:754b:ca11'
|
973
|
-
res.body.should.equal '2620:0:1c00:0:812c:9583:754b:ca11'
|
974
|
-
|
975
|
-
res = mock.get '/', 'HTTP_X_FORWARDED_FOR' => '2620:0:1c00:0:812c:9583:754b:ca11,::1'
|
976
|
-
res.body.should.equal '2620:0:1c00:0:812c:9583:754b:ca11'
|
977
|
-
|
978
|
-
res = mock.get '/', 'HTTP_X_FORWARDED_FOR' => 'fd5b:982e:9130:247f:0000:0000:0000:0000,2620:0:1c00:0:812c:9583:754b:ca11'
|
979
|
-
res.body.should.equal '2620:0:1c00:0:812c:9583:754b:ca11'
|
980
|
-
|
981
|
-
res = mock.get '/', 'HTTP_X_FORWARDED_FOR' => '2620:0:1c00:0:812c:9583:754b:ca11,fd5b:982e:9130:247f:0000:0000:0000:0000'
|
982
|
-
res.body.should.equal '2620:0:1c00:0:812c:9583:754b:ca11'
|
983
|
-
|
984
|
-
res = mock.get '/',
|
985
|
-
'HTTP_X_FORWARDED_FOR' => '1.1.1.1, 127.0.0.1',
|
986
|
-
'HTTP_CLIENT_IP' => '1.1.1.1'
|
987
|
-
res.body.should.equal '1.1.1.1'
|
988
|
-
|
989
|
-
# Spoofing attempt
|
990
|
-
res = mock.get '/',
|
991
|
-
'HTTP_X_FORWARDED_FOR' => '1.1.1.1',
|
992
|
-
'HTTP_CLIENT_IP' => '2.2.2.2'
|
993
|
-
res.body.should.equal '1.1.1.1'
|
994
|
-
|
995
|
-
res = mock.get '/', 'HTTP_X_FORWARDED_FOR' => '8.8.8.8, 9.9.9.9'
|
996
|
-
res.body.should.equal '9.9.9.9'
|
997
|
-
|
998
|
-
res = mock.get '/', 'HTTP_X_FORWARDED_FOR' => '8.8.8.8, fe80::202:b3ff:fe1e:8329'
|
999
|
-
res.body.should.equal 'fe80::202:b3ff:fe1e:8329'
|
1000
|
-
|
1001
|
-
# Unix Sockets
|
1002
|
-
res = mock.get '/',
|
1003
|
-
'REMOTE_ADDR' => 'unix',
|
1004
|
-
'HTTP_X_FORWARDED_FOR' => '3.4.5.6'
|
1005
|
-
res.body.should.equal '3.4.5.6'
|
1006
|
-
|
1007
|
-
res = mock.get '/',
|
1008
|
-
'REMOTE_ADDR' => 'unix:/tmp/foo',
|
1009
|
-
'HTTP_X_FORWARDED_FOR' => '3.4.5.6'
|
1010
|
-
res.body.should.equal '3.4.5.6'
|
1011
|
-
end
|
1012
|
-
|
1013
|
-
should "regard local addresses as proxies" do
|
1014
|
-
req = Rack::Request.new(Rack::MockRequest.env_for("/"))
|
1015
|
-
req.trusted_proxy?('127.0.0.1').should.equal 0
|
1016
|
-
req.trusted_proxy?('10.0.0.1').should.equal 0
|
1017
|
-
req.trusted_proxy?('172.16.0.1').should.equal 0
|
1018
|
-
req.trusted_proxy?('172.20.0.1').should.equal 0
|
1019
|
-
req.trusted_proxy?('172.30.0.1').should.equal 0
|
1020
|
-
req.trusted_proxy?('172.31.0.1').should.equal 0
|
1021
|
-
req.trusted_proxy?('192.168.0.1').should.equal 0
|
1022
|
-
req.trusted_proxy?('::1').should.equal 0
|
1023
|
-
req.trusted_proxy?('fd00::').should.equal 0
|
1024
|
-
req.trusted_proxy?('localhost').should.equal 0
|
1025
|
-
req.trusted_proxy?('unix').should.equal 0
|
1026
|
-
req.trusted_proxy?('unix:/tmp/sock').should.equal 0
|
1027
|
-
|
1028
|
-
req.trusted_proxy?("unix.example.org").should.equal nil
|
1029
|
-
req.trusted_proxy?("example.org\n127.0.0.1").should.equal nil
|
1030
|
-
req.trusted_proxy?("127.0.0.1\nexample.org").should.equal nil
|
1031
|
-
req.trusted_proxy?("11.0.0.1").should.equal nil
|
1032
|
-
req.trusted_proxy?("172.15.0.1").should.equal nil
|
1033
|
-
req.trusted_proxy?("172.32.0.1").should.equal nil
|
1034
|
-
req.trusted_proxy?("2001:470:1f0b:18f8::1").should.equal nil
|
1035
|
-
end
|
1036
|
-
|
1037
|
-
class MyRequest < Rack::Request
|
1038
|
-
def params
|
1039
|
-
{:foo => "bar"}
|
1040
|
-
end
|
1041
|
-
end
|
1042
|
-
|
1043
|
-
should "allow subclass request to be instantiated after parent request" do
|
1044
|
-
env = Rack::MockRequest.env_for("/?foo=bar")
|
1045
|
-
|
1046
|
-
req1 = Rack::Request.new(env)
|
1047
|
-
req1.GET.should.equal "foo" => "bar"
|
1048
|
-
req1.params.should.equal "foo" => "bar"
|
1049
|
-
|
1050
|
-
req2 = MyRequest.new(env)
|
1051
|
-
req2.GET.should.equal "foo" => "bar"
|
1052
|
-
req2.params.should.equal :foo => "bar"
|
1053
|
-
end
|
1054
|
-
|
1055
|
-
should "allow parent request to be instantiated after subclass request" do
|
1056
|
-
env = Rack::MockRequest.env_for("/?foo=bar")
|
1057
|
-
|
1058
|
-
req1 = MyRequest.new(env)
|
1059
|
-
req1.GET.should.equal "foo" => "bar"
|
1060
|
-
req1.params.should.equal :foo => "bar"
|
1061
|
-
|
1062
|
-
req2 = Rack::Request.new(env)
|
1063
|
-
req2.GET.should.equal "foo" => "bar"
|
1064
|
-
req2.params.should.equal "foo" => "bar"
|
1065
|
-
end
|
1066
|
-
|
1067
|
-
(0x20...0x7E).collect { |a|
|
1068
|
-
b = a.chr
|
1069
|
-
c = CGI.escape(b)
|
1070
|
-
should "not strip '#{a}' => '#{c}' => '#{b}' escaped character from parameters when accessed as string" do
|
1071
|
-
url = "/?foo=#{c}bar#{c}"
|
1072
|
-
env = Rack::MockRequest.env_for(url)
|
1073
|
-
req2 = Rack::Request.new(env)
|
1074
|
-
req2.GET.should.equal "foo" => "#{b}bar#{b}"
|
1075
|
-
req2.params.should.equal "foo" => "#{b}bar#{b}"
|
1076
|
-
end
|
1077
|
-
}
|
1078
|
-
end
|