route_downcaser 1.2.2 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. checksums.yaml +5 -5
  2. data/README.rdoc +2 -2
  3. data/Rakefile +1 -5
  4. data/lib/route_downcaser/configuration.rb +0 -1
  5. data/lib/route_downcaser/downcase_route_middleware.rb +9 -10
  6. data/lib/route_downcaser/railtie.rb +1 -1
  7. data/lib/route_downcaser/version.rb +1 -1
  8. data/test/integration/route_middleware_test.rb +16 -14
  9. data/test/rails421/app/assets/config/manifest.js +3 -0
  10. data/test/rails421/app/controllers/hello_controller.rb +1 -1
  11. data/test/rails421/bin/rails +1 -1
  12. data/test/rails421/bin/rake +1 -1
  13. data/test/rails421/bin/setup +8 -8
  14. data/test/rails421/bin/spring +5 -5
  15. data/test/rails421/config/application.rb +6 -6
  16. data/test/rails421/config/environments/test.rb +4 -2
  17. data/test/rails421/config/routes.rb +2 -2
  18. data/test/rails421/log/test.log +611 -645
  19. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/0p/0pLW5uAkYcVMn-L1f008s8QG400BA-CGnjEUCaGLgwA.cache +0 -0
  20. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/1E/1Eq7urfYMOFFaH2_2qtEtAzItryBST0NWI8LjG7_8AY.cache +3 -0
  21. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/1t/1tj8wAl_ygkeV4rjgm17Yabg53-rR_pkntyJe1pnStk.cache +1 -0
  22. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/21/21O83OBXXXSWrKD2yP5QfOt5GdsGKcUvdkHuxGVDCq0.cache +0 -0
  23. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/2V/2VVsM_aqLieq8REU3CAcwO12z7nTUOMDaOG8mfPTlDc.cache +1 -0
  24. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/3K/3KLS9RO9SD43w2m7B37olZz-VRlZVFl3F98EcZ-T6OQ.cache +1 -0
  25. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/6H/6H_SytVX3LrLQVNblKfSUZm9U4zz0Hi3nC7zd2slWgE.cache +0 -0
  26. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/7A/7AfJBOCTRna7lhBueluC9znK0PVnN3Z0wUaxOqGL_A4.cache +3 -0
  27. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/9B/9BuTfVVX9s_SyGNUVwTAliEfEbBaBhN4h3UUAvmaO5w.cache +0 -0
  28. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/9G/9GSHOjw505wesb6iaMzEVqLjrV7bDI8N8MnO892fjkY.cache +1 -0
  29. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/9I/9IPM2vWQgQR4xfKHMKObDvNQpOackOP1Hhf3-GMlZnA.cache +1 -0
  30. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/AD/ADMJimKJauAcBJIneLV5egsXBPBoCjbSP9kY6njR36I.cache +0 -0
  31. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/AH/AHbfhhP0cTEOs-1EBUNUXXyeEHxgK0boxQfplICtNiA.cache +0 -0
  32. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/B5/B5enM7rLQGpvU7rBc2Zu3cO-5FhDDj0_nCVJWZvjX7s.cache +1 -0
  33. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/C5/C5PnkMgUphtk9ABTF6z2KS4sHgpENn8GBLoy-i3E3wo.cache +1 -0
  34. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/CQ/CQ_GqCyDnwt2tUBwsxP1dZHI65ufI-hB9MQ3y1--m9Q.cache +1 -0
  35. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/EL/EL7MuqbmZFKYS_80bdvW6_Wn5UEiX3eu1r6N-7G8UEw.cache +1 -0
  36. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/Fy/FyhhzuND_ItWUB5CEJ3iyuY40AgIG84NRv4zu9Timps.cache +1 -0
  37. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/H-/H-Xq75Ky6CJKbSHsls6b1RlUhAZsCvAsQBp1hEo4SQE.cache +0 -0
  38. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/JD/JDzlonPoUacVM5xof3d6jVjmE61rJg-Om9N6lYAo7ZI.cache +3 -0
  39. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/Jf/JfAkIfafqJLEVZeAwe3NPmILKAxLTIaQMkBDQv9lgRs.cache +0 -0
  40. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/KD/KDZ5JOyifGKCzqVzvh51rBn4-z2waWNs3-ied97ntvk.cache +0 -0
  41. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/KL/KLfhFc73IoPAgk4UqkkweYC0d9WoWDsdFt6tvPk-sH4.cache +1 -0
  42. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/Lr/Lr-IyGH4TR4pHCYggxyAjgjEdL2fA8HQm_WdYfSqivs.cache +3 -0
  43. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/MP/MPkUdTQ18IIRCAqCDpPHC_aLe9EvuxF2rCs0Zi7ormg.cache +3 -0
  44. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/Mk/MkHnY3zJtJQlrbU7VsPIbKzhVht8Kh-jfEbTilENQgA.cache +0 -0
  45. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/NS/NSoASzvu62nmDpGMHQrHaDmhnAtsI4vc8886q8304tk.cache +1 -0
  46. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/Od/Odde9BXdsuh0jKZhRr4e_mzWgRviGF2hraOo-CBT2Uc.cache +1 -0
  47. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/SP/SPGmSZC6qS--XzWg1MdmEEgH6dRyXOgJMe2P9QBYQZY.cache +0 -0
  48. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/UJ/UJ9oV8YAQYl3QXld841M9Q8GDChRm4hq-p_-ub-8Mnw.cache +1 -0
  49. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/Vi/ViNv05i6eMoI4yhVXbPOdOe8uxRNvkjNSYoK5OS99Dw.cache +0 -0
  50. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/Xg/Xg64R_L39P2xqnexdmGDRYDzSTX8azFSAWBFOy2B5lU.cache +1 -0
  51. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/Ys/Ys273n5EbMBrlmQ8NS6qFULe7v3P3HsMJ-7AKvcpUVQ.cache +1 -0
  52. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/bB/bBjLJM-5v5XvzSjbmk6765v1o0j-26cy2yuTD1KXkl0.cache +1 -0
  53. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/iG/iGXSyXK76m1vZahJipVHsBeSuq9a02pimNfRGul6UyE.cache +1 -0
  54. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/jZ/jZck37TJYp10fX7dzwjF6k7-gPhmNdzB5PWayl2lSRQ.cache +0 -0
  55. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/jh/jh8Rd8uXzJsR5P4NG39_-VpLgRemhQ8CxX5_dw6lT8Y.cache +1 -0
  56. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/kh/khKGwmTZNJ3bMZIUHcaMzBFC8ORvLIMmSF735G5h5JA.cache +1 -0
  57. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/p0/p00KopyzwCidTtAuB76KK2QxTXFwOLwu-Ur8rkyHV1Q.cache +1 -0
  58. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/p0/p0AgQcqeMod0Q93wM6Lm_wksgSixervifjXcfre3UNg.cache +0 -0
  59. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/tN/tNMYFw0s6bpMU4Rph9cmm8M-3G0ZCkojT-JjMxvXY5c.cache +1 -0
  60. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/uc/ucpiLQJan6bNoAklPDQXEwdgbK9N_iHcEdcUK3sXfi8.cache +1 -0
  61. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/uw/uw7uS6ON94iLO0V-uIz9HG08EtTXbCsegAx2rsW8ZZw.cache +1 -0
  62. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/v7/v79_HLVOJ_bTUgdWPb3KnIe1Ob_60Lytir4WusrWpQg.cache +3 -0
  63. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/wr/wrx3kO_wdP5NwpV8WnIPmG6582mk1yXcAYXwZECzF1c.cache +0 -0
  64. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/xs/xsXpTMvclkmE9PUtRWGU4l13KsXsf143bqyVpBHalvE.cache +1 -0
  65. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/z5/z5kOnAPBYWOw-zvMXDeGE_yVaZZoO9assTdxLAezanE.cache +1 -0
  66. data/test/rails421/tmp/cache/assets/sprockets/v4.0.0/zi/zi3iTvVQF4pcw9u3GU9UJ6mttFr7TO49bUhRb-pA7sc.cache +1 -0
  67. data/test/rails602/Gemfile.lock +183 -0
  68. data/test/rails602/log/development.log +2 -0
  69. data/test/rails602/log/test.log +642 -0
  70. data/test/rails602/tmp/cache/assets/sprockets/v4.0.0/0a/0akXyz-RvD7ECckO9hP1DJxTo5DmWnfdLxYT8v6iBB0.cache +1 -0
  71. data/test/rails602/tmp/cache/assets/sprockets/v4.0.0/1G/1GDNz0WzrvjCbDFhKGTRB4SqMCVxSD35_Xf7FM-xGyA.cache +2 -0
  72. data/test/rails602/tmp/cache/assets/sprockets/v4.0.0/8A/8Aj0qbTT_8xMiQdT4ay1288JA7cIiscUWqD8v8AhrSo.cache +1 -0
  73. data/test/rails602/tmp/cache/assets/sprockets/v4.0.0/99/99m8UCKl4j8IpsVOK8ltLHyNh8Ae0nHw3GBkC34V_co.cache +2 -0
  74. data/test/rails602/tmp/cache/assets/sprockets/v4.0.0/A9/A90cbULL8Hfbsv-9YOrxkplqpjR3vMl94Ty3mNaytyg.cache +1 -0
  75. data/test/rails602/tmp/cache/assets/sprockets/v4.0.0/B4/B43LeT9Wba4fLvXw-C_kKq-x9HwYZxnBBiltbIufzzQ.cache +2 -0
  76. data/test/rails602/tmp/cache/assets/sprockets/v4.0.0/Qw/QwqNC1B79H6PvmagB1AGJO9I9qeFBpiit-qXaOCDjp8.cache +1 -0
  77. data/test/rails602/tmp/cache/assets/sprockets/v4.0.0/lX/lXQ4hYUaxBbrnZMkw-u9ScABwdSoG7c63G01rUy4FLg.cache +0 -0
  78. data/test/rails602/tmp/cache/assets/sprockets/v4.0.0/sC/sCHJ2HP3o3cxIJWeTGqTYDYOtgzS7Hlcpmz1hBftKTc.cache +0 -0
  79. data/test/rails602/tmp/development_secret.txt +1 -0
  80. data/test/route_downcaser_test.rb +47 -53
  81. data/test/test_helper.rb +6 -6
  82. metadata +127 -5
  83. data/lib/route_downcaser/original_downcase_route_middleware.rb +0 -83
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 4b855f75d2262ba922dbb65614ac8ee7f4d2937f
4
- data.tar.gz: 65bc40f3240225100440c32cc52321a7a6dd8dd2
2
+ SHA256:
3
+ metadata.gz: 2a5efc21342424589e2db66e54ef1b758ce9747805c98d2ccadaa86f163b8111
4
+ data.tar.gz: b56e8a49da5fcb869b2609683e97d4ee7bd647d7cc4b4d8498c8659a6dd622e8
5
5
  SHA512:
6
- metadata.gz: 36c9a801e5cca3b45014a39303af64d5bb057efff7acab3e757fa8f9a8316ab8b8287e90ce596b59d3bb8d20d41fc8e917b4690fd863123735c355fbc93ee4a2
7
- data.tar.gz: e798586fe249683b8427b37f9c810af54a3660b3d93e2cde6ddfa1608a3cb84fba0d3a9546343cf46ac5bda4a846a0c1ca5bb7c139fc1a9df6ba8c346ff2ddc3
6
+ metadata.gz: e3286854a140421f292623de5b4cf6bd954b1ade7fd552a45f67e7c990111a44d2537bca9562932ebaa744f8b95f3021de6d7398e81fe4933b3ebe5212c7bc78
7
+ data.tar.gz: 1108ddc8f75a27577154a63b93dc8f32e80c8895a20d9df79df5cfaf929d9259563360f427786238d024f01c9300c9524454761d5b35ba60e04d4c4297613fb7
@@ -8,9 +8,9 @@ This gem hooks into the Rack middleware of Rails. This way all paths are downcas
8
8
 
9
9
  == Requirements
10
10
 
11
- This gem has been tested with Rails 3.1.x, 4.0.x, 4.1.x, 4.2.x, 5.0.x. It reportedly also works with Sinata, although I do not use Sinatra myself. Sinatra test-cases will be most welcome.
11
+ This gem is tested with 5.0.x, 5.1.x, 5.2.x. It reportedly also works with Sinata, although I do not use Sinatra myself. Sinatra test-cases will be most welcome.
12
12
 
13
- If you want this functionality in a Rails 2.x-3.0 application, please refer to {this blog post}[http://gehling.dk/2010/02/how-to-make-rails-routing-case-insensitive].
13
+ If you want this functionality in a Rails 2.x-3.0 application, please refer to {this blog post}[http://gehling.dk/2010/02/how-to-make-rails-routing-case-insensitive]. If you need it for Rails 3.1.x or 4.x version 1.2.2 should serve you just fine.
14
14
 
15
15
  <b>Note:</b> from version 1.2.0, route_downcaser depends on ActiveSupport 3.2 or later. This was necessary to enable support for multibyte characters.
16
16
 
data/Rakefile CHANGED
@@ -20,9 +20,6 @@ RDoc::Task.new(:rdoc) do |rdoc|
20
20
  rdoc.rdoc_files.include('lib/**/*.rb')
21
21
  end
22
22
 
23
-
24
-
25
-
26
23
  Bundler::GemHelper.install_tasks
27
24
 
28
25
  require 'rake/testtask'
@@ -34,5 +31,4 @@ Rake::TestTask.new(:test) do |t|
34
31
  t.verbose = false
35
32
  end
36
33
 
37
-
38
- task :default => :test
34
+ task default: :test
@@ -1,5 +1,4 @@
1
1
  module RouteDowncaser::Configuration
2
-
3
2
  def configuration
4
3
  yield self
5
4
  end
@@ -1,5 +1,7 @@
1
- module RouteDowncaser
1
+ require "active_support/core_ext/object/blank"
2
+ require "active_support/core_ext/string/multibyte"
2
3
 
4
+ module RouteDowncaser
3
5
  class DowncaseRouteMiddleware
4
6
  def initialize(app)
5
7
  @app = app
@@ -14,9 +16,7 @@ module RouteDowncaser
14
16
  path_info = env['PATH_INFO']
15
17
 
16
18
  # Don't touch anything, if uri/path is part of exclude_patterns
17
- if excluded?([request_uri, path_info])
18
- return @app.call(env)
19
- end
19
+ return @app.call(env) if excluded?([request_uri, path_info])
20
20
 
21
21
  # Downcase request_uri and/or path_info if applicable
22
22
  request_uri = downcased_uri(request_uri)
@@ -24,7 +24,7 @@ module RouteDowncaser
24
24
 
25
25
  # If redirect configured, then return redirect request,
26
26
  # if either request_uri or path_info has changed
27
- if RouteDowncaser.redirect && env['REQUEST_METHOD'] == "GET"
27
+ if RouteDowncaser.redirect && env['REQUEST_METHOD'] == 'GET'
28
28
  if request_uri.present? && request_uri != env['REQUEST_URI']
29
29
  return redirect_header(request_uri)
30
30
  end
@@ -45,13 +45,13 @@ module RouteDowncaser
45
45
  private
46
46
 
47
47
  def exclude_patterns_match?(uri)
48
- uri.match(Regexp.union(RouteDowncaser.exclude_patterns)) if uri and RouteDowncaser.exclude_patterns
48
+ uri.match(Regexp.union(RouteDowncaser.exclude_patterns)) if uri && RouteDowncaser.exclude_patterns
49
49
  end
50
50
 
51
51
  def excluded?(paths)
52
- paths.any? { |path|
52
+ paths.any? do |path|
53
53
  exclude_patterns_match?(path)
54
- }
54
+ end
55
55
  end
56
56
 
57
57
  def downcased_uri(uri)
@@ -80,8 +80,7 @@ module RouteDowncaser
80
80
  end
81
81
 
82
82
  def redirect_header(uri)
83
- [301, {'Location' => uri.to_s, 'Content-Type' => 'text/html'}, []]
83
+ [301, { 'Location' => uri.to_s, 'Content-Type' => 'text/html' }, []]
84
84
  end
85
85
  end
86
-
87
86
  end
@@ -1,6 +1,6 @@
1
1
  module RouteDowncaser
2
2
  class Railtie < Rails::Railtie
3
- initializer "add_downcase_route_middleware" do |app|
3
+ initializer 'add_downcase_route_middleware' do |app|
4
4
  app.config.middleware.use RouteDowncaser::DowncaseRouteMiddleware
5
5
  end
6
6
  end
@@ -1,3 +1,3 @@
1
1
  module RouteDowncaser
2
- VERSION = "1.2.2"
2
+ VERSION = '1.2.3'.freeze
3
3
  end
@@ -1,55 +1,57 @@
1
1
  require 'test_helper'
2
2
 
3
3
  class RouteMiddlewareTest < ActionDispatch::IntegrationTest
4
- test "Middleware is installed and working" do
4
+ test 'Middleware is installed and working' do
5
5
  RouteDowncaser.configuration do |config|
6
6
  config.redirect = false
7
7
  end
8
8
 
9
- get "/HELLO/WORLD"
9
+ get '/HELLO/WORLD'
10
10
  assert_response :success
11
- assert_equal("anybody out there?", @response.body)
11
+ assert_equal('anybody out there?', @response.body)
12
12
  end
13
13
 
14
- test "Assets are served correctly" do
14
+ test 'Assets are served correctly' do
15
15
  RouteDowncaser.configuration do |config|
16
16
  config.redirect = false
17
17
  end
18
18
 
19
- get "/assets/application.js"
19
+ get '/assets/application.js'
20
20
  assert_response :success
21
- assert(@response.body.include?("fancy manifest file"))
21
+ assert(@response.body.include?('fancy manifest file'))
22
22
  end
23
23
 
24
- test "Redirect instead of rewrite" do
24
+ test 'Redirect instead of rewrite' do
25
25
  RouteDowncaser.configuration do |config|
26
26
  config.redirect = true
27
27
  end
28
28
 
29
- get "/HELLO/WORLD"
29
+ get '/HELLO/WORLD'
30
30
  assert_equal 301, response.status
31
- assert_equal "/hello/world", response.location
31
+ assert_equal '/hello/world', response.location
32
32
  end
33
33
 
34
- test "Only GET requests should be redirected, POST should rewrite" do
34
+ test 'Only GET requests should be redirected, POST should rewrite' do
35
35
  RouteDowncaser.configuration do |config|
36
36
  config.redirect = true
37
37
  end
38
38
 
39
- post "/HELLO/WORLD"
39
+ post '/HELLO/WORLD'
40
40
  assert_response :success
41
- assert_equal("anybody out there?", @response.body)
41
+ assert_equal('anybody out there?', @response.body)
42
42
  end
43
43
 
44
44
  test 'Input and output env are the same' do
45
45
  class App
46
- def call(env) env; end
46
+ def call(env)
47
+ env
48
+ end
47
49
  end
48
50
 
49
51
  middleware = RouteDowncaser::DowncaseRouteMiddleware.new(App.new)
50
52
 
51
53
  env = {}
52
54
  new_env = middleware.call env
53
- assert(new_env.equal? env)
55
+ assert(new_env.equal?(env))
54
56
  end
55
57
  end
@@ -0,0 +1,3 @@
1
+ //= link_tree ../images
2
+ //= link_directory ../javascripts .js
3
+ //= link_directory ../stylesheets .css
@@ -1,5 +1,5 @@
1
1
  class HelloController < ApplicationController
2
2
  def world
3
- render :plain => "anybody out there?"
3
+ render plain: 'anybody out there?'
4
4
  end
5
5
  end
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  begin
3
- load File.expand_path("../spring", __FILE__)
3
+ load File.expand_path('../spring', __FILE__)
4
4
  rescue LoadError
5
5
  end
6
6
  APP_PATH = File.expand_path('../../config/application', __FILE__)
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  begin
3
- load File.expand_path("../spring", __FILE__)
3
+ load File.expand_path('../spring', __FILE__)
4
4
  rescue LoadError
5
5
  end
6
6
  require_relative '../config/boot'
@@ -2,15 +2,15 @@
2
2
  require 'pathname'
3
3
 
4
4
  # path to your application root.
5
- APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
5
+ APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
6
6
 
7
7
  Dir.chdir APP_ROOT do
8
8
  # This script is a starting point to setup your application.
9
9
  # Add necessary setup steps to this file:
10
10
 
11
- puts "== Installing dependencies =="
12
- system "gem install bundler --conservative"
13
- system "bundle check || bundle install"
11
+ puts '== Installing dependencies =='
12
+ system 'gem install bundler --conservative'
13
+ system 'bundle check || bundle install'
14
14
 
15
15
  # puts "\n== Copying sample files =="
16
16
  # unless File.exist?("config/database.yml")
@@ -18,12 +18,12 @@ Dir.chdir APP_ROOT do
18
18
  # end
19
19
 
20
20
  puts "\n== Preparing database =="
21
- system "bin/rake db:setup"
21
+ system 'bin/rake db:setup'
22
22
 
23
23
  puts "\n== Removing old logs and tempfiles =="
24
- system "rm -f log/*"
25
- system "rm -rf tmp/cache"
24
+ system 'rm -f log/*'
25
+ system 'rm -rf tmp/cache'
26
26
 
27
27
  puts "\n== Restarting application server =="
28
- system "touch tmp/restart.txt"
28
+ system 'touch tmp/restart.txt'
29
29
  end
@@ -4,12 +4,12 @@
4
4
  # It gets overwritten when you run the `spring binstub` command.
5
5
 
6
6
  unless defined?(Spring)
7
- require "rubygems"
8
- require "bundler"
7
+ require 'rubygems'
8
+ require 'bundler'
9
9
 
10
10
  if match = Bundler.default_lockfile.read.match(/^GEM$.*?^ (?: )*spring \((.*?)\)$.*?^$/m)
11
- Gem.paths = { "GEM_PATH" => [Bundler.bundle_path.to_s, *Gem.path].uniq }
12
- gem "spring", match[1]
13
- require "spring/binstub"
11
+ Gem.paths = { 'GEM_PATH' => [Bundler.bundle_path.to_s, *Gem.path].uniq }
12
+ gem 'spring', match[1]
13
+ require 'spring/binstub'
14
14
  end
15
15
  end
@@ -1,10 +1,10 @@
1
1
  require File.expand_path('../boot', __FILE__)
2
2
 
3
- #require 'rails/all'
4
- require "action_controller/railtie"
5
- require "action_mailer/railtie"
6
- require "sprockets/railtie"
7
- require "rails/test_unit/railtie"
3
+ # require 'rails/all'
4
+ require 'action_controller/railtie'
5
+ require 'action_mailer/railtie'
6
+ require 'sprockets/railtie'
7
+ require 'rails/test_unit/railtie'
8
8
  # Require the gems listed in Gemfile, including any gems
9
9
  # you've limited to :test, :development, or :production.
10
10
  Bundler.require(*Rails.groups)
@@ -24,6 +24,6 @@ module Rails421
24
24
  # config.i18n.default_locale = :de
25
25
 
26
26
  # Do not swallow errors in after_commit/after_rollback callbacks.
27
- #config.active_record.raise_in_transactional_callbacks = true
27
+ # config.active_record.raise_in_transactional_callbacks = true
28
28
  end
29
29
  end
@@ -13,8 +13,10 @@ Rails.application.configure do
13
13
  config.eager_load = false
14
14
 
15
15
  # Configure static file server for tests with Cache-Control for performance.
16
- config.serve_static_files = true
17
- config.static_cache_control = 'public, max-age=3600'
16
+ config.public_file_server.enabled = true
17
+ config.public_file_server.headers = {
18
+ 'Cache-Control' => 'public, max-age=3600'
19
+ }
18
20
 
19
21
  # Show full error reports and disable caching.
20
22
  config.consider_all_requests_local = true
@@ -1,6 +1,6 @@
1
1
  Rails.application.routes.draw do
2
- get "hello/world"
3
- post "hello/world"
2
+ get 'hello/world'
3
+ post 'hello/world'
4
4
 
5
5
  # The priority is based upon order of creation: first created -> highest priority.
6
6
  # See how all your routes lay out with "rake routes".
@@ -1,96 +1,45 @@
1
- -----------------------------------------------------------------------
2
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
3
- -----------------------------------------------------------------------
4
1
  ---------------------------------------------------------------------------------------
5
2
  RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
6
3
  ---------------------------------------------------------------------------------------
7
4
  -------------------------------------------------------------------------------------
8
5
  RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_can_contain_?
9
6
  -------------------------------------------------------------------------------------
7
+ -----------------------------------------------------------------------
8
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
9
+ -----------------------------------------------------------------------
10
10
  ------------------------------------------------------------------
11
11
  RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
12
12
  ------------------------------------------------------------------
13
13
  -----------------------------------------------------------------------------------
14
14
  RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
15
15
  -----------------------------------------------------------------------------------
16
- -----------------------------------------------------
17
- RouteMiddlewareTest: test_Assets_are_served_correctly
18
- -----------------------------------------------------
19
- Started GET "/assets/application.js" for 127.0.0.1 at 2018-05-10 09:35:02 +0200
20
- -----------------------------------------------------------
21
- RouteMiddlewareTest: test_Input_and_output_env_are_the_same
22
- -----------------------------------------------------------
23
- -------------------------------------------------------------
24
- RouteMiddlewareTest: test_Middleware_is_installed_and_working
25
- -------------------------------------------------------------
26
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 09:35:02 +0200
27
- Processing by HelloController#world as HTML
28
- Rendering text template
29
- Rendered text template (0.0ms)
30
- Completed 200 OK in 10ms (Views: 3.0ms)
31
- -------------------------------------------------------------------------------------
32
- RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
33
- -------------------------------------------------------------------------------------
34
- Started POST "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 09:35:02 +0200
35
- Processing by HelloController#world as HTML
36
- Rendering text template
37
- Rendered text template (0.0ms)
38
- Completed 200 OK in 1ms (Views: 0.3ms)
39
- -----------------------------------------------------
40
- RouteMiddlewareTest: test_Redirect_instead_of_rewrite
41
- -----------------------------------------------------
42
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 09:35:02 +0200
43
- -------------------------------------------------------------------------------------
44
- RouteDowncaserTest::MultibyteTests: test_Multibyte_REQUEST_URI_path-part_is_downcased
45
- -------------------------------------------------------------------------------------
46
- ----------------------------------------------------------------------------
47
- RouteDowncaserTest::MultibyteTests: test_Additional_multibyte_downcase_tests
48
- ----------------------------------------------------------------------------
49
- -------------------------------------------------------------------------
50
- RouteDowncaserTest::MultibyteTests: test_Multibyte_PATH_INFO_is_downcased
51
- -------------------------------------------------------------------------
52
16
  ----------------------------------------------------------------------------------------
53
17
  RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
54
18
  ----------------------------------------------------------------------------------------
55
19
  ------------------------------------------------------------------------------------------
56
20
  RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
57
21
  ------------------------------------------------------------------------------------------
58
- ---------------------------------------------------------------------------------------------
59
- RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
60
- ---------------------------------------------------------------------------------------------
61
- ------------------------------------------------------------------------------------------------------
62
- RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
63
- ------------------------------------------------------------------------------------------------------
64
- --------------------------------------------------------------------------------------------------------
65
- RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
66
- --------------------------------------------------------------------------------------------------------
67
- ------------------------------------------------------------------------------------------------------------------------------------------
68
- RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
69
- ------------------------------------------------------------------------------------------------------------------------------------------
70
22
  --------------------------------------------------------------------------------------------------------------------------------------------
71
23
  RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
72
24
  --------------------------------------------------------------------------------------------------------------------------------------------
73
- ------------------------------------------------------------------------------------------
74
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
75
- ------------------------------------------------------------------------------------------
76
- ----------------------------------------------------------------------------------------
77
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
78
- ----------------------------------------------------------------------------------------
79
- -----------------------------------------------------------------------
80
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
81
- -----------------------------------------------------------------------
82
- ------------------------------------------------------------------
83
- RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
84
- ------------------------------------------------------------------
85
- ---------------------------------------------------------------------------------------
86
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
87
- ---------------------------------------------------------------------------------------
88
- -----------------------------------------------------------------------------------
89
- RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
90
- -----------------------------------------------------------------------------------
25
+ ------------------------------------------------------------------------------------------------------------------------------------------
26
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
27
+ ------------------------------------------------------------------------------------------------------------------------------------------
28
+ -------------------------------------------------------------------------
29
+ RouteDowncaserTest::MultibyteTests: test_Multibyte_PATH_INFO_is_downcased
30
+ -------------------------------------------------------------------------
91
31
  -------------------------------------------------------------------------------------
92
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_can_contain_?
32
+ RouteDowncaserTest::MultibyteTests: test_Multibyte_REQUEST_URI_path-part_is_downcased
93
33
  -------------------------------------------------------------------------------------
34
+ ----------------------------------------------------------------------------
35
+ RouteDowncaserTest::MultibyteTests: test_Additional_multibyte_downcase_tests
36
+ ----------------------------------------------------------------------------
37
+ ---------------------------------------------------------------------------------
38
+ RouteDowncaserTest::MultibyteRedirectTests: test_it_redirects_Multibyte_PATH_INFO
39
+ ---------------------------------------------------------------------------------
40
+ -----------------------------------------------------------------------------------
41
+ RouteDowncaserTest::MultibyteRedirectTests: test_it_redirects_Multibyte_REQUEST_URI
42
+ -----------------------------------------------------------------------------------
94
43
  --------------------------------------------------------------------------------------------------------
95
44
  RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
96
45
  --------------------------------------------------------------------------------------------------------
@@ -100,86 +49,54 @@ RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_alway
100
49
  ------------------------------------------------------------------------------------------------------
101
50
  RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
102
51
  ------------------------------------------------------------------------------------------------------
103
- -----------------------------------------------------
104
- RouteMiddlewareTest: test_Redirect_instead_of_rewrite
105
- -----------------------------------------------------
106
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 09:40:21 +0200
107
- -----------------------------------------------------
108
- RouteMiddlewareTest: test_Assets_are_served_correctly
109
- -----------------------------------------------------
110
- Started GET "/assets/application.js" for 127.0.0.1 at 2018-05-10 09:40:21 +0200
111
- -------------------------------------------------------------------------------------
112
- RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
113
- -------------------------------------------------------------------------------------
114
- Started POST "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 09:40:21 +0200
115
- Processing by HelloController#world as HTML
116
- Rendered text template (0.0ms)
117
- Completed 200 OK in 13ms (Views: 5.4ms)
118
52
  -------------------------------------------------------------
119
53
  RouteMiddlewareTest: test_Middleware_is_installed_and_working
120
54
  -------------------------------------------------------------
121
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 09:40:21 +0200
55
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2020-01-31 10:32:58 +0100
122
56
  Processing by HelloController#world as HTML
123
- Rendered text template (0.0ms)
124
- Completed 200 OK in 0ms (Views: 0.2ms)
125
- -----------------------------------------------------------
126
- RouteMiddlewareTest: test_Input_and_output_env_are_the_same
127
- -----------------------------------------------------------
128
- ----------------------------------------------------------------------------
129
- RouteDowncaserTest::MultibyteTests: test_Additional_multibyte_downcase_tests
130
- ----------------------------------------------------------------------------
131
- -------------------------------------------------------------------------
132
- RouteDowncaserTest::MultibyteTests: test_Multibyte_PATH_INFO_is_downcased
133
- -------------------------------------------------------------------------
134
- -------------------------------------------------------------------------------------
135
- RouteDowncaserTest::MultibyteTests: test_Multibyte_REQUEST_URI_path-part_is_downcased
136
- -------------------------------------------------------------------------------------
137
- ------------------------------------------------------------------------------------------------------------------------------------------
138
- RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
139
- ------------------------------------------------------------------------------------------------------------------------------------------
140
- --------------------------------------------------------------------------------------------------------------------------------------------
141
- RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
142
- --------------------------------------------------------------------------------------------------------------------------------------------
57
+ Rendering text template
58
+ Rendered text template (Duration: 0.0ms | Allocations: 3)
59
+ Completed 200 OK in 7ms (Views: 4.3ms | Allocations: 1361)
143
60
  -----------------------------------------------------
144
- RouteMiddlewareTest: test_Redirect_instead_of_rewrite
61
+ RouteMiddlewareTest: test_Assets_are_served_correctly
145
62
  -----------------------------------------------------
146
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 10:27:01 +0200
63
+ Started GET "/assets/application.js" for 127.0.0.1 at 2020-01-31 10:32:58 +0100
147
64
  -----------------------------------------------------------
148
65
  RouteMiddlewareTest: test_Input_and_output_env_are_the_same
149
66
  -----------------------------------------------------------
150
67
  -----------------------------------------------------
151
- RouteMiddlewareTest: test_Assets_are_served_correctly
68
+ RouteMiddlewareTest: test_Redirect_instead_of_rewrite
152
69
  -----------------------------------------------------
153
- Started GET "/assets/application.js" for 127.0.0.1 at 2018-05-10 10:27:01 +0200
70
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2020-01-31 10:32:59 +0100
154
71
  -------------------------------------------------------------------------------------
155
72
  RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
156
73
  -------------------------------------------------------------------------------------
157
- Started POST "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 10:27:01 +0200
158
- Processing by HelloController#world as HTML
159
- Rendered text template (0.0ms)
160
- Completed 200 OK in 13ms (Views: 5.5ms)
161
- -------------------------------------------------------------
162
- RouteMiddlewareTest: test_Middleware_is_installed_and_working
163
- -------------------------------------------------------------
164
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 10:27:01 +0200
74
+ Started POST "/HELLO/WORLD" for 127.0.0.1 at 2020-01-31 10:32:59 +0100
165
75
  Processing by HelloController#world as HTML
166
- Rendered text template (0.0ms)
167
- Completed 200 OK in 0ms (Views: 0.2ms)
168
- -------------------------------------------------------------------------------------
169
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_can_contain_?
170
- -------------------------------------------------------------------------------------
171
- ------------------------------------------------------------------
172
- RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
173
- ------------------------------------------------------------------
76
+ Rendering text template
77
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
78
+ Completed 200 OK in 1ms (Views: 0.4ms | Allocations: 188)
174
79
  -----------------------------------------------------------------------
175
80
  RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
176
81
  -----------------------------------------------------------------------
177
- ---------------------------------------------------------------------------------------
178
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
179
- ---------------------------------------------------------------------------------------
82
+ ------------------------------------------------------------------
83
+ RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
84
+ ------------------------------------------------------------------
180
85
  -----------------------------------------------------------------------------------
181
86
  RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
182
87
  -----------------------------------------------------------------------------------
88
+ ---------------------------------------------------------------------------------------
89
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
90
+ ---------------------------------------------------------------------------------------
91
+ -------------------------------------------------------------------------------------
92
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_can_contain_?
93
+ -------------------------------------------------------------------------------------
94
+ ----------------------------------------------------------------------------------------
95
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
96
+ ----------------------------------------------------------------------------------------
97
+ ------------------------------------------------------------------------------------------
98
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
99
+ ------------------------------------------------------------------------------------------
183
100
  ------------------------------------------------------------------------------------------------------
184
101
  RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
185
102
  ------------------------------------------------------------------------------------------------------
@@ -189,39 +106,54 @@ RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_alway
189
106
  --------------------------------------------------------------------------------------------------------
190
107
  RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
191
108
  --------------------------------------------------------------------------------------------------------
192
- ----------------------------------------------------------------------------------------
193
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
194
- ----------------------------------------------------------------------------------------
195
- ---------------------------------------------------------------------------------------------------
196
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirecs_Multibyte_REQUEST_URI
197
- ---------------------------------------------------------------------------------------------------
198
- ------------------------------------------------------------------------------------------
199
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
200
- ------------------------------------------------------------------------------------------
201
- ----------------------------------------------------------------------------
202
- RouteDowncaserTest::MultibyteTests: test_Additional_multibyte_downcase_tests
203
- ----------------------------------------------------------------------------
204
109
  -------------------------------------------------------------------------------------
205
110
  RouteDowncaserTest::MultibyteTests: test_Multibyte_REQUEST_URI_path-part_is_downcased
206
111
  -------------------------------------------------------------------------------------
112
+ ----------------------------------------------------------------------------
113
+ RouteDowncaserTest::MultibyteTests: test_Additional_multibyte_downcase_tests
114
+ ----------------------------------------------------------------------------
207
115
  -------------------------------------------------------------------------
208
116
  RouteDowncaserTest::MultibyteTests: test_Multibyte_PATH_INFO_is_downcased
209
117
  -------------------------------------------------------------------------
118
+ -----------------------------------------------------
119
+ RouteMiddlewareTest: test_Assets_are_served_correctly
120
+ -----------------------------------------------------
121
+ Started GET "/assets/application.js" for 127.0.0.1 at 2020-01-31 11:17:59 +0100
122
+ -----------------------------------------------------------
123
+ RouteMiddlewareTest: test_Input_and_output_env_are_the_same
124
+ -----------------------------------------------------------
125
+ -------------------------------------------------------------
126
+ RouteMiddlewareTest: test_Middleware_is_installed_and_working
127
+ -------------------------------------------------------------
128
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2020-01-31 11:18:00 +0100
129
+ Processing by HelloController#world as HTML
130
+ Rendering text template
131
+ Rendered text template (Duration: 0.0ms | Allocations: 3)
132
+ Completed 200 OK in 23ms (Views: 14.6ms | Allocations: 1361)
133
+ -------------------------------------------------------------------------------------
134
+ RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
135
+ -------------------------------------------------------------------------------------
136
+ Started POST "/HELLO/WORLD" for 127.0.0.1 at 2020-01-31 11:18:00 +0100
137
+ Processing by HelloController#world as HTML
138
+ Rendering text template
139
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
140
+ Completed 200 OK in 1ms (Views: 0.7ms | Allocations: 188)
141
+ -----------------------------------------------------
142
+ RouteMiddlewareTest: test_Redirect_instead_of_rewrite
143
+ -----------------------------------------------------
144
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2020-01-31 11:18:00 +0100
145
+ ---------------------------------------------------------------------------------
146
+ RouteDowncaserTest::MultibyteRedirectTests: test_it_redirects_Multibyte_PATH_INFO
147
+ ---------------------------------------------------------------------------------
148
+ -----------------------------------------------------------------------------------
149
+ RouteDowncaserTest::MultibyteRedirectTests: test_it_redirects_Multibyte_REQUEST_URI
150
+ -----------------------------------------------------------------------------------
210
151
  ------------------------------------------------------------------------------------------------------------------------------------------
211
152
  RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
212
153
  ------------------------------------------------------------------------------------------------------------------------------------------
213
154
  --------------------------------------------------------------------------------------------------------------------------------------------
214
155
  RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
215
156
  --------------------------------------------------------------------------------------------------------------------------------------------
216
- ------------------------------------------------------------------------------------------------------
217
- RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
218
- ------------------------------------------------------------------------------------------------------
219
- --------------------------------------------------------------------------------------------------------
220
- RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
221
- --------------------------------------------------------------------------------------------------------
222
- ---------------------------------------------------------------------------------------------
223
- RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
224
- ---------------------------------------------------------------------------------------------
225
157
  ----------------------------------------------------------------------------
226
158
  RouteDowncaserTest::MultibyteTests: test_Additional_multibyte_downcase_tests
227
159
  ----------------------------------------------------------------------------
@@ -231,265 +163,378 @@ RouteDowncaserTest::MultibyteTests: test_Multibyte_PATH_INFO_is_downcased
231
163
  -------------------------------------------------------------------------------------
232
164
  RouteDowncaserTest::MultibyteTests: test_Multibyte_REQUEST_URI_path-part_is_downcased
233
165
  -------------------------------------------------------------------------------------
234
- -----------------------------------------------------------------------
235
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
236
- -----------------------------------------------------------------------
237
166
  ---------------------------------------------------------------------------------------
238
167
  RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
239
168
  ---------------------------------------------------------------------------------------
240
169
  -------------------------------------------------------------------------------------
241
170
  RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_can_contain_?
242
171
  -------------------------------------------------------------------------------------
243
- -----------------------------------------------------------------------------------
244
- RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
245
- -----------------------------------------------------------------------------------
246
172
  ------------------------------------------------------------------
247
173
  RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
248
174
  ------------------------------------------------------------------
249
- ------------------------------------------------------------------------------------------------------------------------------------------
250
- RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
251
- ------------------------------------------------------------------------------------------------------------------------------------------
175
+ -----------------------------------------------------------------------------------
176
+ RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
177
+ -----------------------------------------------------------------------------------
178
+ -----------------------------------------------------------------------
179
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
180
+ -----------------------------------------------------------------------
181
+ --------------------------------------------------------------------------------------------------------
182
+ RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
183
+ --------------------------------------------------------------------------------------------------------
184
+ ---------------------------------------------------------------------------------------------
185
+ RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
186
+ ---------------------------------------------------------------------------------------------
187
+ ------------------------------------------------------------------------------------------------------
188
+ RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
189
+ ------------------------------------------------------------------------------------------------------
190
+ -----------------------------------------------------
191
+ RouteMiddlewareTest: test_Assets_are_served_correctly
192
+ -----------------------------------------------------
193
+ Started GET "/assets/application.js" for 127.0.0.1 at 2020-02-03 09:30:01 +0100
194
+ -----------------------------------------------------------
195
+ RouteMiddlewareTest: test_Input_and_output_env_are_the_same
196
+ -----------------------------------------------------------
197
+ -----------------------------------------------------
198
+ RouteMiddlewareTest: test_Redirect_instead_of_rewrite
199
+ -----------------------------------------------------
200
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2020-02-03 09:30:01 +0100
201
+ -------------------------------------------------------------
202
+ RouteMiddlewareTest: test_Middleware_is_installed_and_working
203
+ -------------------------------------------------------------
204
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2020-02-03 09:30:01 +0100
205
+ Processing by HelloController#world as HTML
206
+ Rendering text template
207
+ Rendered text template (Duration: 0.0ms | Allocations: 3)
208
+ Completed 200 OK in 6ms (Views: 3.7ms | Allocations: 1361)
209
+ -------------------------------------------------------------------------------------
210
+ RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
211
+ -------------------------------------------------------------------------------------
212
+ Started POST "/HELLO/WORLD" for 127.0.0.1 at 2020-02-03 09:30:01 +0100
213
+ Processing by HelloController#world as HTML
214
+ Rendering text template
215
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
216
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 188)
252
217
  --------------------------------------------------------------------------------------------------------------------------------------------
253
218
  RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
254
219
  --------------------------------------------------------------------------------------------------------------------------------------------
255
- ------------------------------------------------------------------------------------------
256
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
257
- ------------------------------------------------------------------------------------------
258
- ---------------------------------------------------------------------------------------------------
259
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirecs_Multibyte_REQUEST_URI
260
- ---------------------------------------------------------------------------------------------------
220
+ ------------------------------------------------------------------------------------------------------------------------------------------
221
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
222
+ ------------------------------------------------------------------------------------------------------------------------------------------
223
+ ---------------------------------------------------------------------------------
224
+ RouteDowncaserTest::MultibyteRedirectTests: test_it_redirects_Multibyte_PATH_INFO
225
+ ---------------------------------------------------------------------------------
226
+ -----------------------------------------------------------------------------------
227
+ RouteDowncaserTest::MultibyteRedirectTests: test_it_redirects_Multibyte_REQUEST_URI
228
+ -----------------------------------------------------------------------------------
261
229
  ----------------------------------------------------------------------------------------
262
230
  RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
263
231
  ----------------------------------------------------------------------------------------
232
+ ------------------------------------------------------------------------------------------
233
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
234
+ ------------------------------------------------------------------------------------------
264
235
  -----------------------------------------------------
265
236
  RouteMiddlewareTest: test_Assets_are_served_correctly
266
237
  -----------------------------------------------------
267
- Started GET "/assets/application.js" for 127.0.0.1 at 2018-05-10 10:27:48 +0200
268
- -----------------------------------------------------
269
- RouteMiddlewareTest: test_Redirect_instead_of_rewrite
270
- -----------------------------------------------------
271
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 10:27:48 +0200
238
+ Started GET "/assets/application.js" for 127.0.0.1 at 2020-02-03 09:30:33 +0100
272
239
  -----------------------------------------------------------
273
240
  RouteMiddlewareTest: test_Input_and_output_env_are_the_same
274
241
  -----------------------------------------------------------
242
+ -----------------------------------------------------
243
+ RouteMiddlewareTest: test_Redirect_instead_of_rewrite
244
+ -----------------------------------------------------
245
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2020-02-03 09:30:33 +0100
275
246
  -------------------------------------------------------------
276
247
  RouteMiddlewareTest: test_Middleware_is_installed_and_working
277
248
  -------------------------------------------------------------
278
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 10:27:48 +0200
249
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2020-02-03 09:30:33 +0100
279
250
  Processing by HelloController#world as HTML
280
- Rendered text template (0.0ms)
281
- Completed 200 OK in 13ms (Views: 5.3ms)
251
+ Rendering text template
252
+ Rendered text template (Duration: 0.0ms | Allocations: 3)
253
+ Completed 200 OK in 5ms (Views: 2.5ms | Allocations: 1361)
282
254
  -------------------------------------------------------------------------------------
283
255
  RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
284
256
  -------------------------------------------------------------------------------------
285
- Started POST "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 10:27:48 +0200
257
+ Started POST "/HELLO/WORLD" for 127.0.0.1 at 2020-02-03 09:30:33 +0100
286
258
  Processing by HelloController#world as HTML
287
- Rendered text template (0.0ms)
288
- Completed 200 OK in 0ms (Views: 0.2ms)
289
- ---------------------------------------------------------------------------------------------------
290
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirecs_Multibyte_REQUEST_URI
291
- ---------------------------------------------------------------------------------------------------
292
- ------------------------------------------------------------------------------------------
293
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
294
- ------------------------------------------------------------------------------------------
259
+ Rendering text template
260
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
261
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 188)
262
+ -----------------------------------------------------------------------
263
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
264
+ -----------------------------------------------------------------------
265
+ -----------------------------------------------------------------------------------
266
+ RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
267
+ -----------------------------------------------------------------------------------
268
+ ------------------------------------------------------------------
269
+ RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
270
+ ------------------------------------------------------------------
271
+ ---------------------------------------------------------------------------------------
272
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
273
+ ---------------------------------------------------------------------------------------
274
+ -------------------------------------------------------------------------------------
275
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_can_contain_?
276
+ -------------------------------------------------------------------------------------
277
+ -----------------------------------------------------------------------------------
278
+ RouteDowncaserTest::MultibyteRedirectTests: test_it_redirects_Multibyte_REQUEST_URI
279
+ -----------------------------------------------------------------------------------
280
+ ---------------------------------------------------------------------------------
281
+ RouteDowncaserTest::MultibyteRedirectTests: test_it_redirects_Multibyte_PATH_INFO
282
+ ---------------------------------------------------------------------------------
295
283
  ----------------------------------------------------------------------------------------
296
284
  RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
297
285
  ----------------------------------------------------------------------------------------
298
- ------------------------------------------------------------------------------------------------------
299
- RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
300
- ------------------------------------------------------------------------------------------------------
286
+ ------------------------------------------------------------------------------------------
287
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
288
+ ------------------------------------------------------------------------------------------
289
+ --------------------------------------------------------------------------------------------------------------------------------------------
290
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
291
+ --------------------------------------------------------------------------------------------------------------------------------------------
292
+ ------------------------------------------------------------------------------------------------------------------------------------------
293
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
294
+ ------------------------------------------------------------------------------------------------------------------------------------------
295
+ -------------------------------------------------------------------------
296
+ RouteDowncaserTest::MultibyteTests: test_Multibyte_PATH_INFO_is_downcased
297
+ -------------------------------------------------------------------------
298
+ -------------------------------------------------------------------------------------
299
+ RouteDowncaserTest::MultibyteTests: test_Multibyte_REQUEST_URI_path-part_is_downcased
300
+ -------------------------------------------------------------------------------------
301
+ ----------------------------------------------------------------------------
302
+ RouteDowncaserTest::MultibyteTests: test_Additional_multibyte_downcase_tests
303
+ ----------------------------------------------------------------------------
301
304
  ---------------------------------------------------------------------------------------------
302
305
  RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
303
306
  ---------------------------------------------------------------------------------------------
307
+ ------------------------------------------------------------------------------------------------------
308
+ RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
309
+ ------------------------------------------------------------------------------------------------------
304
310
  --------------------------------------------------------------------------------------------------------
305
311
  RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
306
312
  --------------------------------------------------------------------------------------------------------
307
- ------------------------------------------------------------------
308
- RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
309
- ------------------------------------------------------------------
310
- -----------------------------------------------------------------------------------
311
- RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
312
- -----------------------------------------------------------------------------------
313
- -------------------------------------------------------------------------------------
314
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_can_contain_?
315
- -------------------------------------------------------------------------------------
316
313
  -----------------------------------------------------------------------
317
314
  RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
318
315
  -----------------------------------------------------------------------
319
316
  ---------------------------------------------------------------------------------------
320
317
  RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
321
318
  ---------------------------------------------------------------------------------------
322
- -------------------------------------------------------------
323
- RouteMiddlewareTest: test_Middleware_is_installed_and_working
324
- -------------------------------------------------------------
325
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 10:28:14 +0200
326
- Processing by HelloController#world as HTML
327
- Rendered text template (0.0ms)
328
- Completed 200 OK in 13ms (Views: 5.6ms)
329
319
  -------------------------------------------------------------------------------------
330
- RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
320
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_can_contain_?
321
+ -------------------------------------------------------------------------------------
322
+ ------------------------------------------------------------------
323
+ RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
324
+ ------------------------------------------------------------------
325
+ -----------------------------------------------------------------------------------
326
+ RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
327
+ -----------------------------------------------------------------------------------
328
+ ----------------------------------------------------------------------------------------
329
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
330
+ ----------------------------------------------------------------------------------------
331
+ ------------------------------------------------------------------------------------------
332
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
333
+ ------------------------------------------------------------------------------------------
334
+ -------------------------------------------------------------------------
335
+ RouteDowncaserTest::MultibyteTests: test_Multibyte_PATH_INFO_is_downcased
336
+ -------------------------------------------------------------------------
337
+ ----------------------------------------------------------------------------
338
+ RouteDowncaserTest::MultibyteTests: test_Additional_multibyte_downcase_tests
339
+ ----------------------------------------------------------------------------
340
+ -------------------------------------------------------------------------------------
341
+ RouteDowncaserTest::MultibyteTests: test_Multibyte_REQUEST_URI_path-part_is_downcased
331
342
  -------------------------------------------------------------------------------------
332
- Started POST "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 10:28:14 +0200
333
- Processing by HelloController#world as HTML
334
- Rendered text template (0.0ms)
335
- Completed 200 OK in 0ms (Views: 0.3ms)
336
343
  -----------------------------------------------------
337
344
  RouteMiddlewareTest: test_Assets_are_served_correctly
338
345
  -----------------------------------------------------
339
- Started GET "/assets/application.js" for 127.0.0.1 at 2018-05-10 10:28:14 +0200
340
- -----------------------------------------------------------
341
- RouteMiddlewareTest: test_Input_and_output_env_are_the_same
342
- -----------------------------------------------------------
346
+ Started GET "/assets/application.js" for 127.0.0.1 at 2020-02-03 09:31:22 +0100
343
347
  -----------------------------------------------------
344
348
  RouteMiddlewareTest: test_Redirect_instead_of_rewrite
345
349
  -----------------------------------------------------
346
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 10:28:14 +0200
347
- ----------------------------------------------------------------------------
348
- RouteDowncaserTest::MultibyteTests: test_Additional_multibyte_downcase_tests
349
- ----------------------------------------------------------------------------
350
- -------------------------------------------------------------------------
351
- RouteDowncaserTest::MultibyteTests: test_Multibyte_PATH_INFO_is_downcased
352
- -------------------------------------------------------------------------
350
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2020-02-03 09:31:22 +0100
351
+ -----------------------------------------------------------
352
+ RouteMiddlewareTest: test_Input_and_output_env_are_the_same
353
+ -----------------------------------------------------------
353
354
  -------------------------------------------------------------------------------------
354
- RouteDowncaserTest::MultibyteTests: test_Multibyte_REQUEST_URI_path-part_is_downcased
355
+ RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
355
356
  -------------------------------------------------------------------------------------
357
+ Started POST "/HELLO/WORLD" for 127.0.0.1 at 2020-02-03 09:31:22 +0100
358
+ Processing by HelloController#world as HTML
359
+ Rendering text template
360
+ Rendered text template (Duration: 0.0ms | Allocations: 3)
361
+ Completed 200 OK in 5ms (Views: 2.3ms | Allocations: 1352)
362
+ -------------------------------------------------------------
363
+ RouteMiddlewareTest: test_Middleware_is_installed_and_working
364
+ -------------------------------------------------------------
365
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2020-02-03 09:31:22 +0100
366
+ Processing by HelloController#world as HTML
367
+ Rendering text template
368
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
369
+ Completed 200 OK in 0ms (Views: 0.2ms | Allocations: 197)
370
+ ---------------------------------------------------------------------------------------------
371
+ RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
372
+ ---------------------------------------------------------------------------------------------
373
+ --------------------------------------------------------------------------------------------------------
374
+ RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
375
+ --------------------------------------------------------------------------------------------------------
376
+ ------------------------------------------------------------------------------------------------------
377
+ RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
378
+ ------------------------------------------------------------------------------------------------------
379
+ ---------------------------------------------------------------------------------
380
+ RouteDowncaserTest::MultibyteRedirectTests: test_it_redirects_Multibyte_PATH_INFO
381
+ ---------------------------------------------------------------------------------
382
+ -----------------------------------------------------------------------------------
383
+ RouteDowncaserTest::MultibyteRedirectTests: test_it_redirects_Multibyte_REQUEST_URI
384
+ -----------------------------------------------------------------------------------
385
+ ------------------------------------------------------------------------------------------------------------------------------------------
386
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
387
+ ------------------------------------------------------------------------------------------------------------------------------------------
356
388
  --------------------------------------------------------------------------------------------------------------------------------------------
357
389
  RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
358
390
  --------------------------------------------------------------------------------------------------------------------------------------------
359
391
  ------------------------------------------------------------------------------------------------------------------------------------------
360
392
  RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
361
393
  ------------------------------------------------------------------------------------------------------------------------------------------
394
+ --------------------------------------------------------------------------------------------------------------------------------------------
395
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
396
+ --------------------------------------------------------------------------------------------------------------------------------------------
362
397
  -----------------------------------------------------
363
398
  RouteMiddlewareTest: test_Assets_are_served_correctly
364
399
  -----------------------------------------------------
365
- Started GET "/assets/application.js" for 127.0.0.1 at 2018-05-10 10:29:05 +0200
366
- -------------------------------------------------------------
367
- RouteMiddlewareTest: test_Middleware_is_installed_and_working
368
- -------------------------------------------------------------
369
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 10:29:05 +0200
370
- Processing by HelloController#world as HTML
371
- Rendered text template (0.0ms)
372
- Completed 200 OK in 13ms (Views: 5.3ms)
400
+ Started GET "/assets/application.js" for 127.0.0.1 at 2020-02-03 09:32:06 +0100
373
401
  -------------------------------------------------------------------------------------
374
402
  RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
375
403
  -------------------------------------------------------------------------------------
376
- Started POST "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 10:29:05 +0200
404
+ Started POST "/HELLO/WORLD" for 127.0.0.1 at 2020-02-03 09:32:06 +0100
377
405
  Processing by HelloController#world as HTML
378
- Rendered text template (0.0ms)
379
- Completed 200 OK in 0ms (Views: 0.2ms)
406
+ Rendering text template
407
+ Rendered text template (Duration: 0.0ms | Allocations: 3)
408
+ Completed 200 OK in 6ms (Views: 2.9ms | Allocations: 1352)
380
409
  -----------------------------------------------------
381
410
  RouteMiddlewareTest: test_Redirect_instead_of_rewrite
382
411
  -----------------------------------------------------
383
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 10:29:05 +0200
412
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2020-02-03 09:32:06 +0100
413
+ -------------------------------------------------------------
414
+ RouteMiddlewareTest: test_Middleware_is_installed_and_working
415
+ -------------------------------------------------------------
416
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2020-02-03 09:32:06 +0100
417
+ Processing by HelloController#world as HTML
418
+ Rendering text template
419
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
420
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 197)
384
421
  -----------------------------------------------------------
385
422
  RouteMiddlewareTest: test_Input_and_output_env_are_the_same
386
423
  -----------------------------------------------------------
387
- ------------------------------------------------------------------------------------------
388
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
389
- ------------------------------------------------------------------------------------------
390
- ----------------------------------------------------------------------------------------
391
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
392
- ----------------------------------------------------------------------------------------
393
- ---------------------------------------------------------------------------------------------------
394
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirecs_Multibyte_REQUEST_URI
395
- ---------------------------------------------------------------------------------------------------
424
+ ------------------------------------------------------------------------------------------------------
425
+ RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
426
+ ------------------------------------------------------------------------------------------------------
427
+ ---------------------------------------------------------------------------------------------
428
+ RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
429
+ ---------------------------------------------------------------------------------------------
430
+ --------------------------------------------------------------------------------------------------------
431
+ RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
432
+ --------------------------------------------------------------------------------------------------------
396
433
  ------------------------------------------------------------------
397
434
  RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
398
435
  ------------------------------------------------------------------
399
- ---------------------------------------------------------------------------------------
400
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
401
- ---------------------------------------------------------------------------------------
402
- -----------------------------------------------------------------------
403
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
404
- -----------------------------------------------------------------------
405
436
  -------------------------------------------------------------------------------------
406
437
  RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_can_contain_?
407
438
  -------------------------------------------------------------------------------------
408
439
  -----------------------------------------------------------------------------------
409
440
  RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
410
441
  -----------------------------------------------------------------------------------
411
- ------------------------------------------------------------------------------------------------------------------------------------------
412
- RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
413
- ------------------------------------------------------------------------------------------------------------------------------------------
414
- --------------------------------------------------------------------------------------------------------------------------------------------
415
- RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
416
- --------------------------------------------------------------------------------------------------------------------------------------------
417
- --------------------------------------------------------------------------------------------------------
418
- RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
419
- --------------------------------------------------------------------------------------------------------
420
- ------------------------------------------------------------------------------------------------------
421
- RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
422
- ------------------------------------------------------------------------------------------------------
423
- ---------------------------------------------------------------------------------------------
424
- RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
425
- ---------------------------------------------------------------------------------------------
426
- -------------------------------------------------------------------------
427
- RouteDowncaserTest::MultibyteTests: test_Multibyte_PATH_INFO_is_downcased
428
- -------------------------------------------------------------------------
442
+ -----------------------------------------------------------------------
443
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
444
+ -----------------------------------------------------------------------
445
+ ---------------------------------------------------------------------------------------
446
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
447
+ ---------------------------------------------------------------------------------------
448
+ ---------------------------------------------------------------------------------
449
+ RouteDowncaserTest::MultibyteRedirectTests: test_it_redirects_Multibyte_PATH_INFO
450
+ ---------------------------------------------------------------------------------
451
+ -----------------------------------------------------------------------------------
452
+ RouteDowncaserTest::MultibyteRedirectTests: test_it_redirects_Multibyte_REQUEST_URI
453
+ -----------------------------------------------------------------------------------
429
454
  ----------------------------------------------------------------------------
430
455
  RouteDowncaserTest::MultibyteTests: test_Additional_multibyte_downcase_tests
431
456
  ----------------------------------------------------------------------------
457
+ -------------------------------------------------------------------------
458
+ RouteDowncaserTest::MultibyteTests: test_Multibyte_PATH_INFO_is_downcased
459
+ -------------------------------------------------------------------------
432
460
  -------------------------------------------------------------------------------------
433
461
  RouteDowncaserTest::MultibyteTests: test_Multibyte_REQUEST_URI_path-part_is_downcased
434
462
  -------------------------------------------------------------------------------------
435
- ------------------------------------------------------------------------------------------------------------------------------------------
436
- RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
437
- ------------------------------------------------------------------------------------------------------------------------------------------
438
- --------------------------------------------------------------------------------------------------------------------------------------------
439
- RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
440
- --------------------------------------------------------------------------------------------------------------------------------------------
463
+ ------------------------------------------------------------------------------------------
464
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
465
+ ------------------------------------------------------------------------------------------
466
+ ----------------------------------------------------------------------------------------
467
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
468
+ ----------------------------------------------------------------------------------------
469
+ -----------------------------------------------------
470
+ RouteMiddlewareTest: test_Assets_are_served_correctly
471
+ -----------------------------------------------------
472
+ Started GET "/assets/application.js" for 127.0.0.1 at 2020-02-03 09:32:15 +0100
441
473
  -------------------------------------------------------------
442
474
  RouteMiddlewareTest: test_Middleware_is_installed_and_working
443
475
  -------------------------------------------------------------
444
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 10:34:14 +0200
476
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2020-02-03 09:32:15 +0100
445
477
  Processing by HelloController#world as HTML
446
- Rendered text template (0.0ms)
447
- Completed 200 OK in 13ms (Views: 5.2ms)
478
+ Rendering text template
479
+ Rendered text template (Duration: 0.0ms | Allocations: 3)
480
+ Completed 200 OK in 5ms (Views: 2.5ms | Allocations: 1361)
448
481
  -----------------------------------------------------------
449
482
  RouteMiddlewareTest: test_Input_and_output_env_are_the_same
450
483
  -----------------------------------------------------------
451
484
  -----------------------------------------------------
452
- RouteMiddlewareTest: test_Assets_are_served_correctly
485
+ RouteMiddlewareTest: test_Redirect_instead_of_rewrite
453
486
  -----------------------------------------------------
454
- Started GET "/assets/application.js" for 127.0.0.1 at 2018-05-10 10:34:14 +0200
487
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2020-02-03 09:32:15 +0100
455
488
  -------------------------------------------------------------------------------------
456
489
  RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
457
490
  -------------------------------------------------------------------------------------
458
- Started POST "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 10:34:14 +0200
491
+ Started POST "/HELLO/WORLD" for 127.0.0.1 at 2020-02-03 09:32:15 +0100
459
492
  Processing by HelloController#world as HTML
460
- Rendered text template (0.0ms)
461
- Completed 200 OK in 0ms (Views: 0.2ms)
462
- -----------------------------------------------------
463
- RouteMiddlewareTest: test_Redirect_instead_of_rewrite
464
- -----------------------------------------------------
465
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 10:34:14 +0200
466
- -----------------------------------------------------------------------
467
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
468
- -----------------------------------------------------------------------
469
- ---------------------------------------------------------------------------------------
470
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
471
- ---------------------------------------------------------------------------------------
472
- ------------------------------------------------------------------
473
- RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
474
- ------------------------------------------------------------------
493
+ Rendering text template
494
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
495
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 188)
496
+ ----------------------------------------------------------------------------------------
497
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
498
+ ----------------------------------------------------------------------------------------
499
+ ------------------------------------------------------------------------------------------
500
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
501
+ ------------------------------------------------------------------------------------------
502
+ ---------------------------------------------------------------------------------
503
+ RouteDowncaserTest::MultibyteRedirectTests: test_it_redirects_Multibyte_PATH_INFO
504
+ ---------------------------------------------------------------------------------
505
+ -----------------------------------------------------------------------------------
506
+ RouteDowncaserTest::MultibyteRedirectTests: test_it_redirects_Multibyte_REQUEST_URI
507
+ -----------------------------------------------------------------------------------
508
+ ------------------------------------------------------------------------------------------------------------------------------------------
509
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
510
+ ------------------------------------------------------------------------------------------------------------------------------------------
511
+ --------------------------------------------------------------------------------------------------------------------------------------------
512
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
513
+ --------------------------------------------------------------------------------------------------------------------------------------------
514
+ ---------------------------------------------------------------------------------------------
515
+ RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
516
+ ---------------------------------------------------------------------------------------------
517
+ ------------------------------------------------------------------------------------------------------
518
+ RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
519
+ ------------------------------------------------------------------------------------------------------
520
+ --------------------------------------------------------------------------------------------------------
521
+ RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
522
+ --------------------------------------------------------------------------------------------------------
475
523
  -----------------------------------------------------------------------------------
476
524
  RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
477
525
  -----------------------------------------------------------------------------------
526
+ ------------------------------------------------------------------
527
+ RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
528
+ ------------------------------------------------------------------
478
529
  -------------------------------------------------------------------------------------
479
530
  RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_can_contain_?
480
531
  -------------------------------------------------------------------------------------
481
- ---------------------------------------------------------------------------------------------------
482
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirecs_Multibyte_REQUEST_URI
483
- ---------------------------------------------------------------------------------------------------
484
- ------------------------------------------------------------------------------------------
485
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
486
- ------------------------------------------------------------------------------------------
487
- ----------------------------------------------------------------------------------------
488
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
489
- ----------------------------------------------------------------------------------------
490
- -------------------------------------------------------------------------------------------------
491
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirecs_Multibyte_PATH_INFO
492
- -------------------------------------------------------------------------------------------------
532
+ -----------------------------------------------------------------------
533
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
534
+ -----------------------------------------------------------------------
535
+ ---------------------------------------------------------------------------------------
536
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
537
+ ---------------------------------------------------------------------------------------
493
538
  ----------------------------------------------------------------------------
494
539
  RouteDowncaserTest::MultibyteTests: test_Additional_multibyte_downcase_tests
495
540
  ----------------------------------------------------------------------------
@@ -508,6 +553,30 @@ RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclud
508
553
  --------------------------------------------------------------------------------------------------------
509
554
  RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
510
555
  --------------------------------------------------------------------------------------------------------
556
+ ------------------------------------------------------------------------------------------------------------------------------------------
557
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
558
+ ------------------------------------------------------------------------------------------------------------------------------------------
559
+ --------------------------------------------------------------------------------------------------------------------------------------------
560
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
561
+ --------------------------------------------------------------------------------------------------------------------------------------------
562
+ ----------------------------------------------------------------------------
563
+ RouteDowncaserTest::MultibyteTests: test_Additional_multibyte_downcase_tests
564
+ ----------------------------------------------------------------------------
565
+ -------------------------------------------------------------------------------------
566
+ RouteDowncaserTest::MultibyteTests: test_Multibyte_REQUEST_URI_path-part_is_downcased
567
+ -------------------------------------------------------------------------------------
568
+ -------------------------------------------------------------------------
569
+ RouteDowncaserTest::MultibyteTests: test_Multibyte_PATH_INFO_is_downcased
570
+ -------------------------------------------------------------------------
571
+ ------------------------------------------------------------------------------------------
572
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
573
+ ------------------------------------------------------------------------------------------
574
+ ----------------------------------------------------------------------------------------
575
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
576
+ ----------------------------------------------------------------------------------------
577
+ -------------------------------------------------------------------------------------
578
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_can_contain_?
579
+ -------------------------------------------------------------------------------------
511
580
  -----------------------------------------------------------------------------------
512
581
  RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
513
582
  -----------------------------------------------------------------------------------
@@ -517,280 +586,276 @@ RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
517
586
  ---------------------------------------------------------------------------------------
518
587
  RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
519
588
  ---------------------------------------------------------------------------------------
520
- -------------------------------------------------------------------------------------
521
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_can_contain_?
522
- -------------------------------------------------------------------------------------
523
589
  ------------------------------------------------------------------
524
590
  RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
525
591
  ------------------------------------------------------------------
526
- ------------------------------------------------------------------------------------------------------------------------------------------
527
- RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
528
- ------------------------------------------------------------------------------------------------------------------------------------------
529
- --------------------------------------------------------------------------------------------------------------------------------------------
530
- RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
531
- --------------------------------------------------------------------------------------------------------------------------------------------
532
- ---------------------------------------------------------------------------------------------
533
- RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
534
- ---------------------------------------------------------------------------------------------
535
- ------------------------------------------------------------------------------------------------------
536
- RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
537
- ------------------------------------------------------------------------------------------------------
538
- --------------------------------------------------------------------------------------------------------
539
- RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
540
- --------------------------------------------------------------------------------------------------------
541
592
  -------------------------------------------------------------
542
593
  RouteMiddlewareTest: test_Middleware_is_installed_and_working
543
594
  -------------------------------------------------------------
544
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 10:35:07 +0200
595
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2020-02-03 09:32:38 +0100
545
596
  Processing by HelloController#world as HTML
546
- Rendered text template (0.0ms)
547
- Completed 200 OK in 12ms (Views: 4.8ms)
548
- -------------------------------------------------------------------------------------
549
- RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
550
- -------------------------------------------------------------------------------------
551
- Started POST "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 10:35:07 +0200
552
- Processing by HelloController#world as HTML
553
- Rendered text template (0.0ms)
554
- Completed 200 OK in 0ms (Views: 0.2ms)
555
- -----------------------------------------------------------
556
- RouteMiddlewareTest: test_Input_and_output_env_are_the_same
557
- -----------------------------------------------------------
597
+ Rendering text template
598
+ Rendered text template (Duration: 0.0ms | Allocations: 3)
599
+ Completed 200 OK in 5ms (Views: 2.3ms | Allocations: 1361)
558
600
  -----------------------------------------------------
559
- RouteMiddlewareTest: test_Assets_are_served_correctly
601
+ RouteMiddlewareTest: test_Redirect_instead_of_rewrite
560
602
  -----------------------------------------------------
561
- Started GET "/assets/application.js" for 127.0.0.1 at 2018-05-10 10:35:07 +0200
603
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2020-02-03 09:32:38 +0100
562
604
  -----------------------------------------------------
563
- RouteMiddlewareTest: test_Redirect_instead_of_rewrite
605
+ RouteMiddlewareTest: test_Assets_are_served_correctly
564
606
  -----------------------------------------------------
565
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 10:35:07 +0200
566
- -------------------------------------------------------------------------
567
- RouteDowncaserTest::MultibyteTests: test_Multibyte_PATH_INFO_is_downcased
568
- -------------------------------------------------------------------------
569
- ------------------------------------------------------------------------------------------------
570
- RouteDowncaserTest::MultibyteTests: test_when_redirect_is_true_it_redirecs_Multibyte_REQUEST_URI
571
- ------------------------------------------------------------------------------------------------
572
- -------------------------------------------------------------------------------------
573
- RouteDowncaserTest::MultibyteTests: test_Multibyte_REQUEST_URI_path-part_is_downcased
574
- -------------------------------------------------------------------------------------
575
- ----------------------------------------------------------------------------------------------
576
- RouteDowncaserTest::MultibyteTests: test_when_redirect_is_true_it_redirecs_Multibyte_PATH_INFO
577
- ----------------------------------------------------------------------------------------------
578
- ----------------------------------------------------------------------------
579
- RouteDowncaserTest::MultibyteTests: test_Additional_multibyte_downcase_tests
580
- ----------------------------------------------------------------------------
581
- ----------------------------------------------------------------------------------------
582
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
583
- ----------------------------------------------------------------------------------------
584
- ------------------------------------------------------------------------------------------
585
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
586
- ------------------------------------------------------------------------------------------
587
- -------------------------------------------------------------------------------------------------
588
- RouteDowncaserTest::MultibyteTests: test_when_redirect_is_true_it_redirects_Multibyte_REQUEST_URI
589
- -------------------------------------------------------------------------------------------------
607
+ Started GET "/assets/application.js" for 127.0.0.1 at 2020-02-03 09:32:38 +0100
608
+ -----------------------------------------------------------
609
+ RouteMiddlewareTest: test_Input_and_output_env_are_the_same
610
+ -----------------------------------------------------------
590
611
  -------------------------------------------------------------------------------------
591
- RouteDowncaserTest::MultibyteTests: test_Multibyte_REQUEST_URI_path-part_is_downcased
612
+ RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
592
613
  -------------------------------------------------------------------------------------
593
- -----------------------------------------------------------------------------------------------
594
- RouteDowncaserTest::MultibyteTests: test_when_redirect_is_true_it_redirects_Multibyte_PATH_INFO
595
- -----------------------------------------------------------------------------------------------
596
- ----------------------------------------------------------------------------
597
- RouteDowncaserTest::MultibyteTests: test_Additional_multibyte_downcase_tests
598
- ----------------------------------------------------------------------------
599
- -------------------------------------------------------------------------
600
- RouteDowncaserTest::MultibyteTests: test_Multibyte_PATH_INFO_is_downcased
601
- -------------------------------------------------------------------------
614
+ Started POST "/HELLO/WORLD" for 127.0.0.1 at 2020-02-03 09:32:38 +0100
615
+ Processing by HelloController#world as HTML
616
+ Rendering text template
617
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
618
+ Completed 200 OK in 1ms (Views: 0.4ms | Allocations: 188)
619
+ -----------------------------------------------------------------------------------
620
+ RouteDowncaserTest::MultibyteRedirectTests: test_it_redirects_Multibyte_REQUEST_URI
621
+ -----------------------------------------------------------------------------------
622
+ ---------------------------------------------------------------------------------
623
+ RouteDowncaserTest::MultibyteRedirectTests: test_it_redirects_Multibyte_PATH_INFO
624
+ ---------------------------------------------------------------------------------
602
625
  ------------------------------------------------------------------------------------------------------------------------------------------
603
626
  RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
604
627
  ------------------------------------------------------------------------------------------------------------------------------------------
605
628
  --------------------------------------------------------------------------------------------------------------------------------------------
606
629
  RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
607
630
  --------------------------------------------------------------------------------------------------------------------------------------------
631
+ ---------------------------------------------------------------------------------
632
+ RouteDowncaserTest::MultibyteRedirectTests: test_it_redirects_Multibyte_PATH_INFO
633
+ ---------------------------------------------------------------------------------
608
634
  -----------------------------------------------------------------------------------
609
- RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
635
+ RouteDowncaserTest::MultibyteRedirectTests: test_it_redirects_Multibyte_REQUEST_URI
610
636
  -----------------------------------------------------------------------------------
637
+ -------------------------------------------------------------------------
638
+ RouteDowncaserTest::MultibyteTests: test_Multibyte_PATH_INFO_is_downcased
639
+ -------------------------------------------------------------------------
640
+ ----------------------------------------------------------------------------
641
+ RouteDowncaserTest::MultibyteTests: test_Additional_multibyte_downcase_tests
642
+ ----------------------------------------------------------------------------
643
+ -------------------------------------------------------------------------------------
644
+ RouteDowncaserTest::MultibyteTests: test_Multibyte_REQUEST_URI_path-part_is_downcased
645
+ -------------------------------------------------------------------------------------
611
646
  -------------------------------------------------------------------------------------
612
647
  RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_can_contain_?
613
648
  -------------------------------------------------------------------------------------
614
- ---------------------------------------------------------------------------------------
615
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
616
- ---------------------------------------------------------------------------------------
617
649
  ------------------------------------------------------------------
618
650
  RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
619
651
  ------------------------------------------------------------------
620
652
  -----------------------------------------------------------------------
621
653
  RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
622
654
  -----------------------------------------------------------------------
623
- ------------------------------------------------------------------------------------------------------
624
- RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
625
- ------------------------------------------------------------------------------------------------------
626
- ---------------------------------------------------------------------------------------------
627
- RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
628
- ---------------------------------------------------------------------------------------------
629
- --------------------------------------------------------------------------------------------------------
630
- RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
631
- --------------------------------------------------------------------------------------------------------
632
- -----------------------------------------------------
633
- RouteMiddlewareTest: test_Assets_are_served_correctly
634
- -----------------------------------------------------
635
- Started GET "/assets/application.js" for 127.0.0.1 at 2018-05-10 10:36:37 +0200
636
- -------------------------------------------------------------------------------------
637
- RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
638
- -------------------------------------------------------------------------------------
639
- Started POST "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 10:36:38 +0200
640
- Processing by HelloController#world as HTML
641
- Rendered text template (0.0ms)
642
- Completed 200 OK in 12ms (Views: 4.9ms)
643
- -----------------------------------------------------
644
- RouteMiddlewareTest: test_Redirect_instead_of_rewrite
645
- -----------------------------------------------------
646
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 10:36:38 +0200
655
+ ---------------------------------------------------------------------------------------
656
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
657
+ ---------------------------------------------------------------------------------------
658
+ -----------------------------------------------------------------------------------
659
+ RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
660
+ -----------------------------------------------------------------------------------
647
661
  -----------------------------------------------------------
648
662
  RouteMiddlewareTest: test_Input_and_output_env_are_the_same
649
663
  -----------------------------------------------------------
650
664
  -------------------------------------------------------------
651
665
  RouteMiddlewareTest: test_Middleware_is_installed_and_working
652
666
  -------------------------------------------------------------
653
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 10:36:38 +0200
667
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2020-02-03 09:32:45 +0100
654
668
  Processing by HelloController#world as HTML
655
- Rendered text template (0.0ms)
656
- Completed 200 OK in 0ms (Views: 0.2ms)
657
- ------------------------------------------------------------------------------------------
658
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
659
- ------------------------------------------------------------------------------------------
669
+ Rendering text template
670
+ Rendered text template (Duration: 0.0ms | Allocations: 3)
671
+ Completed 200 OK in 5ms (Views: 2.6ms | Allocations: 1361)
672
+ -----------------------------------------------------
673
+ RouteMiddlewareTest: test_Redirect_instead_of_rewrite
674
+ -----------------------------------------------------
675
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2020-02-03 09:32:45 +0100
676
+ -----------------------------------------------------
677
+ RouteMiddlewareTest: test_Assets_are_served_correctly
678
+ -----------------------------------------------------
679
+ Started GET "/assets/application.js" for 127.0.0.1 at 2020-02-03 09:32:45 +0100
680
+ -------------------------------------------------------------------------------------
681
+ RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
682
+ -------------------------------------------------------------------------------------
683
+ Started POST "/HELLO/WORLD" for 127.0.0.1 at 2020-02-03 09:32:45 +0100
684
+ Processing by HelloController#world as HTML
685
+ Rendering text template
686
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
687
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 188)
660
688
  ----------------------------------------------------------------------------------------
661
689
  RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
662
690
  ----------------------------------------------------------------------------------------
663
- ------------------------------------------------------------------------------------------------------
664
- RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
665
- ------------------------------------------------------------------------------------------------------
691
+ ------------------------------------------------------------------------------------------
692
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
693
+ ------------------------------------------------------------------------------------------
694
+ --------------------------------------------------------------------------------------------------------
695
+ RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
696
+ --------------------------------------------------------------------------------------------------------
666
697
  ---------------------------------------------------------------------------------------------
667
698
  RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
668
699
  ---------------------------------------------------------------------------------------------
700
+ ------------------------------------------------------------------------------------------------------
701
+ RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
702
+ ------------------------------------------------------------------------------------------------------
703
+ ------------------------------------------------------------------------------------------------------
704
+ RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
705
+ ------------------------------------------------------------------------------------------------------
669
706
  --------------------------------------------------------------------------------------------------------
670
707
  RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
671
708
  --------------------------------------------------------------------------------------------------------
709
+ ---------------------------------------------------------------------------------------------
710
+ RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
711
+ ---------------------------------------------------------------------------------------------
712
+ -----------------------------------------------------------------------------------
713
+ RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
714
+ -----------------------------------------------------------------------------------
715
+ -----------------------------------------------------------------------
716
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
717
+ -----------------------------------------------------------------------
718
+ ---------------------------------------------------------------------------------------
719
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
720
+ ---------------------------------------------------------------------------------------
721
+ -------------------------------------------------------------------------------------
722
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_can_contain_?
723
+ -------------------------------------------------------------------------------------
724
+ ------------------------------------------------------------------
725
+ RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
726
+ ------------------------------------------------------------------
727
+ ------------------------------------------------------------------------------------------------------------------------------------------
728
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
729
+ ------------------------------------------------------------------------------------------------------------------------------------------
730
+ --------------------------------------------------------------------------------------------------------------------------------------------
731
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
732
+ --------------------------------------------------------------------------------------------------------------------------------------------
672
733
  ----------------------------------------------------------------------------
673
734
  RouteDowncaserTest::MultibyteTests: test_Additional_multibyte_downcase_tests
674
735
  ----------------------------------------------------------------------------
675
- -------------------------------------------------------------------------
676
- RouteDowncaserTest::MultibyteTests: test_Multibyte_PATH_INFO_is_downcased
677
- -------------------------------------------------------------------------
678
736
  -------------------------------------------------------------------------------------
679
737
  RouteDowncaserTest::MultibyteTests: test_Multibyte_REQUEST_URI_path-part_is_downcased
680
738
  -------------------------------------------------------------------------------------
681
- -------------------------------------------------------------------------------------------------
682
- RouteDowncaserTest::MultibyteTests: test_when_redirect_is_true_it_redirects_Multibyte_REQUEST_URI
683
- -------------------------------------------------------------------------------------------------
684
- -----------------------------------------------------------------------------------------------
685
- RouteDowncaserTest::MultibyteTests: test_when_redirect_is_true_it_redirects_Multibyte_PATH_INFO
686
- -----------------------------------------------------------------------------------------------
739
+ -------------------------------------------------------------------------
740
+ RouteDowncaserTest::MultibyteTests: test_Multibyte_PATH_INFO_is_downcased
741
+ -------------------------------------------------------------------------
687
742
  ---------------------------------------------------------------------------------
688
743
  RouteDowncaserTest::MultibyteRedirectTests: test_it_redirects_Multibyte_PATH_INFO
689
744
  ---------------------------------------------------------------------------------
690
745
  -----------------------------------------------------------------------------------
691
746
  RouteDowncaserTest::MultibyteRedirectTests: test_it_redirects_Multibyte_REQUEST_URI
692
747
  -----------------------------------------------------------------------------------
748
+ -------------------------------------------------------------
749
+ RouteMiddlewareTest: test_Middleware_is_installed_and_working
750
+ -------------------------------------------------------------
751
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2020-02-03 09:33:46 +0100
752
+ Processing by HelloController#world as HTML
753
+ Rendering text template
754
+ Rendered text template (Duration: 0.0ms | Allocations: 3)
755
+ Completed 200 OK in 5ms (Views: 2.2ms | Allocations: 1361)
756
+ -----------------------------------------------------
757
+ RouteMiddlewareTest: test_Redirect_instead_of_rewrite
758
+ -----------------------------------------------------
759
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2020-02-03 09:33:46 +0100
760
+ -----------------------------------------------------
761
+ RouteMiddlewareTest: test_Assets_are_served_correctly
762
+ -----------------------------------------------------
763
+ Started GET "/assets/application.js" for 127.0.0.1 at 2020-02-03 09:33:46 +0100
764
+ -------------------------------------------------------------------------------------
765
+ RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
766
+ -------------------------------------------------------------------------------------
767
+ Started POST "/HELLO/WORLD" for 127.0.0.1 at 2020-02-03 09:33:46 +0100
768
+ Processing by HelloController#world as HTML
769
+ Rendering text template
770
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
771
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 188)
772
+ -----------------------------------------------------------
773
+ RouteMiddlewareTest: test_Input_and_output_env_are_the_same
774
+ -----------------------------------------------------------
775
+ ----------------------------------------------------------------------------------------
776
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
777
+ ----------------------------------------------------------------------------------------
778
+ ------------------------------------------------------------------------------------------
779
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
780
+ ------------------------------------------------------------------------------------------
781
+ ------------------------------------------------------------------------------------------------------
782
+ RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
783
+ ------------------------------------------------------------------------------------------------------
784
+ --------------------------------------------------------------------------------------------------------
785
+ RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
786
+ --------------------------------------------------------------------------------------------------------
787
+ ---------------------------------------------------------------------------------------------
788
+ RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
789
+ ---------------------------------------------------------------------------------------------
693
790
  ----------------------------------------------------------------------------------------
694
791
  RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
695
792
  ----------------------------------------------------------------------------------------
696
793
  ------------------------------------------------------------------------------------------
697
794
  RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
698
795
  ------------------------------------------------------------------------------------------
699
- -----------------------------------------------------------------------
700
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
701
- -----------------------------------------------------------------------
702
- ---------------------------------------------------------------------------------------
703
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
704
- ---------------------------------------------------------------------------------------
705
- -----------------------------------------------------------------------------------
706
- RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
707
- -----------------------------------------------------------------------------------
708
- -------------------------------------------------------------------------------------
709
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_can_contain_?
710
- -------------------------------------------------------------------------------------
711
- ------------------------------------------------------------------
712
- RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
713
- ------------------------------------------------------------------
714
- --------------------------------------------------------------------------------------------------------------------------------------------
715
- RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
716
- --------------------------------------------------------------------------------------------------------------------------------------------
717
796
  ------------------------------------------------------------------------------------------------------------------------------------------
718
797
  RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
719
798
  ------------------------------------------------------------------------------------------------------------------------------------------
799
+ --------------------------------------------------------------------------------------------------------------------------------------------
800
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
801
+ --------------------------------------------------------------------------------------------------------------------------------------------
802
+ ---------------------------------------------------------------------------------
803
+ RouteDowncaserTest::MultibyteRedirectTests: test_it_redirects_Multibyte_PATH_INFO
804
+ ---------------------------------------------------------------------------------
805
+ -----------------------------------------------------------------------------------
806
+ RouteDowncaserTest::MultibyteRedirectTests: test_it_redirects_Multibyte_REQUEST_URI
807
+ -----------------------------------------------------------------------------------
720
808
  -----------------------------------------------------------
721
809
  RouteMiddlewareTest: test_Input_and_output_env_are_the_same
722
810
  -----------------------------------------------------------
723
811
  -----------------------------------------------------
724
- RouteMiddlewareTest: test_Redirect_instead_of_rewrite
812
+ RouteMiddlewareTest: test_Assets_are_served_correctly
725
813
  -----------------------------------------------------
726
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 10:37:25 +0200
814
+ Started GET "/assets/application.js" for 127.0.0.1 at 2020-02-03 09:34:10 +0100
727
815
  -----------------------------------------------------
728
- RouteMiddlewareTest: test_Assets_are_served_correctly
816
+ RouteMiddlewareTest: test_Redirect_instead_of_rewrite
729
817
  -----------------------------------------------------
730
- Started GET "/assets/application.js" for 127.0.0.1 at 2018-05-10 10:37:25 +0200
731
- -------------------------------------------------------------
732
- RouteMiddlewareTest: test_Middleware_is_installed_and_working
733
- -------------------------------------------------------------
734
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 10:37:25 +0200
735
- Processing by HelloController#world as HTML
736
- Rendered text template (0.0ms)
737
- Completed 200 OK in 14ms (Views: 6.0ms)
738
- -------------------------------------------------------------------------------------
739
- RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
740
- -------------------------------------------------------------------------------------
741
- Started POST "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 10:37:25 +0200
742
- Processing by HelloController#world as HTML
743
- Rendered text template (0.0ms)
744
- Completed 200 OK in 1ms (Views: 0.3ms)
818
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2020-02-03 09:34:10 +0100
745
819
  -------------------------------------------------------------
746
820
  RouteMiddlewareTest: test_Middleware_is_installed_and_working
747
821
  -------------------------------------------------------------
748
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 10:37:41 +0200
822
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2020-02-03 09:34:10 +0100
749
823
  Processing by HelloController#world as HTML
750
- Rendered text template (0.0ms)
751
- Completed 200 OK in 12ms (Views: 5.3ms)
752
- -----------------------------------------------------
753
- RouteMiddlewareTest: test_Assets_are_served_correctly
754
- -----------------------------------------------------
755
- Started GET "/assets/application.js" for 127.0.0.1 at 2018-05-10 10:37:41 +0200
756
- -----------------------------------------------------------
757
- RouteMiddlewareTest: test_Input_and_output_env_are_the_same
758
- -----------------------------------------------------------
824
+ Rendering text template
825
+ Rendered text template (Duration: 0.0ms | Allocations: 3)
826
+ Completed 200 OK in 6ms (Views: 2.7ms | Allocations: 1361)
759
827
  -------------------------------------------------------------------------------------
760
828
  RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
761
829
  -------------------------------------------------------------------------------------
762
- Started POST "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 10:37:41 +0200
830
+ Started POST "/HELLO/WORLD" for 127.0.0.1 at 2020-02-03 09:34:10 +0100
763
831
  Processing by HelloController#world as HTML
764
- Rendered text template (0.0ms)
765
- Completed 200 OK in 0ms (Views: 0.2ms)
766
- -----------------------------------------------------
767
- RouteMiddlewareTest: test_Redirect_instead_of_rewrite
768
- -----------------------------------------------------
769
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 10:37:41 +0200
770
- ------------------------------------------------------------------
771
- RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
772
- ------------------------------------------------------------------
773
- -----------------------------------------------------------------------------------
774
- RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
775
- -----------------------------------------------------------------------------------
832
+ Rendering text template
833
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
834
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 188)
776
835
  -------------------------------------------------------------------------------------
777
836
  RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_can_contain_?
778
837
  -------------------------------------------------------------------------------------
779
838
  -----------------------------------------------------------------------
780
839
  RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
781
840
  -----------------------------------------------------------------------
841
+ -----------------------------------------------------------------------------------
842
+ RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
843
+ -----------------------------------------------------------------------------------
844
+ ------------------------------------------------------------------
845
+ RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
846
+ ------------------------------------------------------------------
782
847
  ---------------------------------------------------------------------------------------
783
848
  RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
784
849
  ---------------------------------------------------------------------------------------
850
+ -------------------------------------------------------------------------------------
851
+ RouteDowncaserTest::MultibyteTests: test_Multibyte_REQUEST_URI_path-part_is_downcased
852
+ -------------------------------------------------------------------------------------
785
853
  ----------------------------------------------------------------------------
786
854
  RouteDowncaserTest::MultibyteTests: test_Additional_multibyte_downcase_tests
787
855
  ----------------------------------------------------------------------------
788
856
  -------------------------------------------------------------------------
789
857
  RouteDowncaserTest::MultibyteTests: test_Multibyte_PATH_INFO_is_downcased
790
858
  -------------------------------------------------------------------------
791
- -------------------------------------------------------------------------------------
792
- RouteDowncaserTest::MultibyteTests: test_Multibyte_REQUEST_URI_path-part_is_downcased
793
- -------------------------------------------------------------------------------------
794
859
  --------------------------------------------------------------------------------------------------------------------------------------------
795
860
  RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
796
861
  --------------------------------------------------------------------------------------------------------------------------------------------
@@ -803,39 +868,36 @@ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_P
803
868
  ------------------------------------------------------------------------------------------
804
869
  RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
805
870
  ------------------------------------------------------------------------------------------
806
- --------------------------------------------------------------------------------------------------------
807
- RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
808
- --------------------------------------------------------------------------------------------------------
809
871
  ---------------------------------------------------------------------------------------------
810
872
  RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
811
873
  ---------------------------------------------------------------------------------------------
874
+ --------------------------------------------------------------------------------------------------------
875
+ RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
876
+ --------------------------------------------------------------------------------------------------------
812
877
  ------------------------------------------------------------------------------------------------------
813
878
  RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
814
879
  ------------------------------------------------------------------------------------------------------
815
- ---------------------------------------------------------------------------------
816
- RouteDowncaserTest::MultibyteRedirectTests: test_it_redirects_Multibyte_PATH_INFO
817
- ---------------------------------------------------------------------------------
818
880
  -----------------------------------------------------------------------------------
819
881
  RouteDowncaserTest::MultibyteRedirectTests: test_it_redirects_Multibyte_REQUEST_URI
820
882
  -----------------------------------------------------------------------------------
821
- ------------------------------------------------------------------------------------------------------------------------------------------
822
- RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
823
- ------------------------------------------------------------------------------------------------------------------------------------------
824
- --------------------------------------------------------------------------------------------------------------------------------------------
825
- RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
826
- --------------------------------------------------------------------------------------------------------------------------------------------
827
- ----------------------------------------------------------------------------------------
828
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
829
- ----------------------------------------------------------------------------------------
830
- ------------------------------------------------------------------------------------------
831
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
832
- ------------------------------------------------------------------------------------------
833
883
  ---------------------------------------------------------------------------------
834
884
  RouteDowncaserTest::MultibyteRedirectTests: test_it_redirects_Multibyte_PATH_INFO
835
885
  ---------------------------------------------------------------------------------
886
+ -----------------------------------------------------------------------
887
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
888
+ -----------------------------------------------------------------------
889
+ ---------------------------------------------------------------------------------------
890
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
891
+ ---------------------------------------------------------------------------------------
892
+ ------------------------------------------------------------------
893
+ RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
894
+ ------------------------------------------------------------------
836
895
  -----------------------------------------------------------------------------------
837
- RouteDowncaserTest::MultibyteRedirectTests: test_it_redirects_Multibyte_REQUEST_URI
896
+ RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
838
897
  -----------------------------------------------------------------------------------
898
+ -------------------------------------------------------------------------------------
899
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_can_contain_?
900
+ -------------------------------------------------------------------------------------
839
901
  ----------------------------------------------------------------------------
840
902
  RouteDowncaserTest::MultibyteTests: test_Additional_multibyte_downcase_tests
841
903
  ----------------------------------------------------------------------------
@@ -846,176 +908,101 @@ RouteDowncaserTest::MultibyteTests: test_Multibyte_PATH_INFO_is_downcased
846
908
  RouteDowncaserTest::MultibyteTests: test_Multibyte_REQUEST_URI_path-part_is_downcased
847
909
  -------------------------------------------------------------------------------------
848
910
  -----------------------------------------------------
849
- RouteMiddlewareTest: test_Assets_are_served_correctly
850
- -----------------------------------------------------
851
- Started GET "/assets/application.js" for 127.0.0.1 at 2018-05-10 10:38:20 +0200
852
- -------------------------------------------------------------
853
- RouteMiddlewareTest: test_Middleware_is_installed_and_working
854
- -------------------------------------------------------------
855
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 10:38:20 +0200
856
- Processing by HelloController#world as HTML
857
- Rendered text template (0.0ms)
858
- Completed 200 OK in 13ms (Views: 5.9ms)
859
- -----------------------------------------------------
860
911
  RouteMiddlewareTest: test_Redirect_instead_of_rewrite
861
912
  -----------------------------------------------------
862
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 10:38:20 +0200
913
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2020-02-03 09:34:23 +0100
863
914
  -------------------------------------------------------------------------------------
864
915
  RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
865
916
  -------------------------------------------------------------------------------------
866
- Started POST "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 10:38:20 +0200
917
+ Started POST "/HELLO/WORLD" for 127.0.0.1 at 2020-02-03 09:34:23 +0100
867
918
  Processing by HelloController#world as HTML
868
- Rendered text template (0.0ms)
869
- Completed 200 OK in 1ms (Views: 0.3ms)
919
+ Rendering text template
920
+ Rendered text template (Duration: 0.0ms | Allocations: 3)
921
+ Completed 200 OK in 5ms (Views: 2.4ms | Allocations: 1352)
870
922
  -----------------------------------------------------------
871
923
  RouteMiddlewareTest: test_Input_and_output_env_are_the_same
872
924
  -----------------------------------------------------------
873
- -------------------------------------------------------------------------------------
874
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_can_contain_?
875
- -------------------------------------------------------------------------------------
876
- -----------------------------------------------------------------------------------
877
- RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
878
- -----------------------------------------------------------------------------------
879
- -----------------------------------------------------------------------
880
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
881
- -----------------------------------------------------------------------
882
- ---------------------------------------------------------------------------------------
883
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
884
- ---------------------------------------------------------------------------------------
885
- ------------------------------------------------------------------
886
- RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
887
- ------------------------------------------------------------------
888
- ---------------------------------------------------------------------------------------------
889
- RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
890
- ---------------------------------------------------------------------------------------------
891
- ------------------------------------------------------------------------------------------------------
892
- RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
893
- ------------------------------------------------------------------------------------------------------
894
- --------------------------------------------------------------------------------------------------------
895
- RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
896
- --------------------------------------------------------------------------------------------------------
897
- -----------------------------------------------------
898
- RouteMiddlewareTest: test_Assets_are_served_correctly
899
- -----------------------------------------------------
900
- Started GET "/assets/application.js" for 127.0.0.1 at 2018-05-10 10:44:06 +0200
901
925
  -------------------------------------------------------------
902
926
  RouteMiddlewareTest: test_Middleware_is_installed_and_working
903
927
  -------------------------------------------------------------
904
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 10:44:06 +0200
928
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2020-02-03 09:34:23 +0100
905
929
  Processing by HelloController#world as HTML
906
- Rendered text template (0.0ms)
907
- Completed 200 OK in 13ms (Views: 5.3ms)
930
+ Rendering text template
931
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
932
+ Completed 200 OK in 0ms (Views: 0.3ms | Allocations: 197)
908
933
  -----------------------------------------------------
909
- RouteMiddlewareTest: test_Redirect_instead_of_rewrite
934
+ RouteMiddlewareTest: test_Assets_are_served_correctly
910
935
  -----------------------------------------------------
911
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 10:44:06 +0200
912
- -------------------------------------------------------------------------------------
913
- RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
914
- -------------------------------------------------------------------------------------
915
- Started POST "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 10:44:06 +0200
916
- Processing by HelloController#world as HTML
917
- Rendered text template (0.0ms)
918
- Completed 200 OK in 0ms (Views: 0.2ms)
919
- -----------------------------------------------------------
920
- RouteMiddlewareTest: test_Input_and_output_env_are_the_same
921
- -----------------------------------------------------------
922
- ---------------------------------------------------------------------------------
923
- RouteDowncaserTest::MultibyteRedirectTests: test_it_redirects_Multibyte_PATH_INFO
924
- ---------------------------------------------------------------------------------
925
- -----------------------------------------------------------------------------------
926
- RouteDowncaserTest::MultibyteRedirectTests: test_it_redirects_Multibyte_REQUEST_URI
927
- -----------------------------------------------------------------------------------
928
- --------------------------------------------------------------------------------------------------------
929
- RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
930
- --------------------------------------------------------------------------------------------------------
931
- ------------------------------------------------------------------------------------------------------
932
- RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
933
- ------------------------------------------------------------------------------------------------------
934
- ---------------------------------------------------------------------------------------------
935
- RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
936
- ---------------------------------------------------------------------------------------------
937
- --------------------------------------------------------------------------------------------------------------------------------------------
938
- RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
939
- --------------------------------------------------------------------------------------------------------------------------------------------
936
+ Started GET "/assets/application.js" for 127.0.0.1 at 2020-02-03 09:34:23 +0100
940
937
  ------------------------------------------------------------------------------------------------------------------------------------------
941
938
  RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
942
939
  ------------------------------------------------------------------------------------------------------------------------------------------
943
- -------------------------------------------------------------------------------------
944
- RouteDowncaserTest::MultibyteTests: test_Multibyte_REQUEST_URI_path-part_is_downcased
945
- -------------------------------------------------------------------------------------
946
- -------------------------------------------------------------------------
947
- RouteDowncaserTest::MultibyteTests: test_Multibyte_PATH_INFO_is_downcased
948
- -------------------------------------------------------------------------
940
+ --------------------------------------------------------------------------------------------------------------------------------------------
941
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
942
+ --------------------------------------------------------------------------------------------------------------------------------------------
949
943
  ----------------------------------------------------------------------------
950
944
  RouteDowncaserTest::MultibyteTests: test_Additional_multibyte_downcase_tests
951
945
  ----------------------------------------------------------------------------
952
- ------------------------------------------------------------------------------------------
953
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
954
- ------------------------------------------------------------------------------------------
955
- ----------------------------------------------------------------------------------------
956
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
957
- ----------------------------------------------------------------------------------------
946
+ -------------------------------------------------------------------------
947
+ RouteDowncaserTest::MultibyteTests: test_Multibyte_PATH_INFO_is_downcased
948
+ -------------------------------------------------------------------------
949
+ -------------------------------------------------------------------------------------
950
+ RouteDowncaserTest::MultibyteTests: test_Multibyte_REQUEST_URI_path-part_is_downcased
951
+ -------------------------------------------------------------------------------------
952
+ -------------------------------------------------------------------------------------
953
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_can_contain_?
954
+ -------------------------------------------------------------------------------------
958
955
  ------------------------------------------------------------------
959
956
  RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
960
957
  ------------------------------------------------------------------
958
+ -----------------------------------------------------------------------------------
959
+ RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
960
+ -----------------------------------------------------------------------------------
961
961
  -----------------------------------------------------------------------
962
962
  RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
963
963
  -----------------------------------------------------------------------
964
964
  ---------------------------------------------------------------------------------------
965
965
  RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
966
966
  ---------------------------------------------------------------------------------------
967
+ ----------------------------------------------------------------------------------------
968
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
969
+ ----------------------------------------------------------------------------------------
970
+ ------------------------------------------------------------------------------------------
971
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
972
+ ------------------------------------------------------------------------------------------
967
973
  -------------------------------------------------------------------------------------
968
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_can_contain_?
974
+ RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
969
975
  -------------------------------------------------------------------------------------
970
- -----------------------------------------------------------------------------------
971
- RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
972
- -----------------------------------------------------------------------------------
976
+ Started POST "/HELLO/WORLD" for 127.0.0.1 at 2020-02-03 09:46:50 +0100
977
+ Processing by HelloController#world as HTML
978
+ Rendering text template
979
+ Rendered text template (Duration: 0.0ms | Allocations: 4)
980
+ Completed 200 OK in 6ms (Views: 3.3ms | Allocations: 1507)
981
+ -----------------------------------------------------
982
+ RouteMiddlewareTest: test_Assets_are_served_correctly
983
+ -----------------------------------------------------
984
+ Started GET "/assets/application.js" for 127.0.0.1 at 2020-02-03 09:46:51 +0100
973
985
  -----------------------------------------------------------
974
986
  RouteMiddlewareTest: test_Input_and_output_env_are_the_same
975
987
  -----------------------------------------------------------
976
988
  -------------------------------------------------------------
977
989
  RouteMiddlewareTest: test_Middleware_is_installed_and_working
978
990
  -------------------------------------------------------------
979
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 11:35:55 +0200
980
- Processing by HelloController#world as HTML
981
- Rendered text template (0.0ms)
982
- Completed 200 OK in 13ms (Views: 5.4ms)
983
- -------------------------------------------------------------------------------------
984
- RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
985
- -------------------------------------------------------------------------------------
986
- Started POST "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 11:35:55 +0200
991
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2020-02-03 09:46:51 +0100
987
992
  Processing by HelloController#world as HTML
988
- Rendered text template (0.0ms)
989
- Completed 200 OK in 0ms (Views: 0.2ms)
990
- -----------------------------------------------------
991
- RouteMiddlewareTest: test_Assets_are_served_correctly
992
- -----------------------------------------------------
993
- Started GET "/assets/application.js" for 127.0.0.1 at 2018-05-10 11:35:55 +0200
993
+ Rendering text template
994
+ Rendered text template (Duration: 0.0ms | Allocations: 2)
995
+ Completed 200 OK in 0ms (Views: 0.3ms | Allocations: 232)
994
996
  -----------------------------------------------------
995
997
  RouteMiddlewareTest: test_Redirect_instead_of_rewrite
996
998
  -----------------------------------------------------
997
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2018-05-10 11:35:55 +0200
998
- -----------------------------------------------------------------------
999
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
1000
- -----------------------------------------------------------------------
1001
- ---------------------------------------------------------------------------------------
1002
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
1003
- ---------------------------------------------------------------------------------------
1004
- ------------------------------------------------------------------
1005
- RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
1006
- ------------------------------------------------------------------
1007
- -------------------------------------------------------------------------------------
1008
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_can_contain_?
1009
- -------------------------------------------------------------------------------------
999
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2020-02-03 09:46:51 +0100
1000
+ ---------------------------------------------------------------------------------
1001
+ RouteDowncaserTest::MultibyteRedirectTests: test_it_redirects_Multibyte_PATH_INFO
1002
+ ---------------------------------------------------------------------------------
1010
1003
  -----------------------------------------------------------------------------------
1011
- RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
1004
+ RouteDowncaserTest::MultibyteRedirectTests: test_it_redirects_Multibyte_REQUEST_URI
1012
1005
  -----------------------------------------------------------------------------------
1013
- ----------------------------------------------------------------------------------------
1014
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
1015
- ----------------------------------------------------------------------------------------
1016
- ------------------------------------------------------------------------------------------
1017
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
1018
- ------------------------------------------------------------------------------------------
1019
1006
  --------------------------------------------------------------------------------------------------------
1020
1007
  RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
1021
1008
  --------------------------------------------------------------------------------------------------------
@@ -1025,24 +1012,3 @@ RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_alway
1025
1012
  ------------------------------------------------------------------------------------------------------
1026
1013
  RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
1027
1014
  ------------------------------------------------------------------------------------------------------
1028
- ----------------------------------------------------------------------------
1029
- RouteDowncaserTest::MultibyteTests: test_Additional_multibyte_downcase_tests
1030
- ----------------------------------------------------------------------------
1031
- -------------------------------------------------------------------------------------
1032
- RouteDowncaserTest::MultibyteTests: test_Multibyte_REQUEST_URI_path-part_is_downcased
1033
- -------------------------------------------------------------------------------------
1034
- -------------------------------------------------------------------------
1035
- RouteDowncaserTest::MultibyteTests: test_Multibyte_PATH_INFO_is_downcased
1036
- -------------------------------------------------------------------------
1037
- --------------------------------------------------------------------------------------------------------------------------------------------
1038
- RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
1039
- --------------------------------------------------------------------------------------------------------------------------------------------
1040
- ------------------------------------------------------------------------------------------------------------------------------------------
1041
- RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
1042
- ------------------------------------------------------------------------------------------------------------------------------------------
1043
- ---------------------------------------------------------------------------------
1044
- RouteDowncaserTest::MultibyteRedirectTests: test_it_redirects_Multibyte_PATH_INFO
1045
- ---------------------------------------------------------------------------------
1046
- -----------------------------------------------------------------------------------
1047
- RouteDowncaserTest::MultibyteRedirectTests: test_it_redirects_Multibyte_REQUEST_URI
1048
- -----------------------------------------------------------------------------------