route_downcaser 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (132) hide show
  1. checksums.yaml +4 -4
  2. data/README.rdoc +8 -4
  3. data/lib/route_downcaser/downcase_route_middleware.rb +19 -16
  4. data/lib/route_downcaser/original_downcase_route_middleware.rb +87 -0
  5. data/lib/route_downcaser/railtie.rb +1 -1
  6. data/lib/route_downcaser/version.rb +1 -1
  7. data/test/integration/route_middleware_test.rb +2 -2
  8. data/test/rails421/app/controllers/hello_controller.rb +1 -1
  9. data/test/rails421/log/test.log +17 -431
  10. data/test/rails421/tmp/cache/assets/sprockets/v3.0/-B/-Bgmyr63R89_vIyXN9mCNapfDXapBpDRck9XmKhL5CA.cache +0 -0
  11. data/test/rails421/tmp/cache/assets/sprockets/v3.0/-W/-WQ3FNnhW7tLBOxo4aGnRb2Fve0zgOnoMYj6wqTNkbM.cache +1 -0
  12. data/test/rails421/tmp/cache/assets/sprockets/v3.0/0E/0EDP1-KVZYBKHTAmflqiPVViMAVEG0SC-kK_5oEVZn0.cache +0 -0
  13. data/test/rails421/tmp/cache/assets/{test/sprockets/v3.0/2qMUc-xad3gltBQavQERZuy-wADuY6GH7mJb5AO6VN4.cache → sprockets/v3.0/3K/3KLS9RO9SD43w2m7B37olZz-VRlZVFl3F98EcZ-T6OQ.cache} +0 -0
  14. data/test/rails421/tmp/cache/assets/sprockets/v3.0/3O/3OqO1F9b_ZzzrtlAoCMgvevQgZnwcUOgeLR8rv3IEic.cache +0 -0
  15. data/test/rails421/tmp/cache/assets/sprockets/v3.0/4r/4rAedh6S2USq6-0-HuB_CCVHHLcpx52AIjXhD_2ZBGg.cache +1 -0
  16. data/test/rails421/tmp/cache/assets/sprockets/v3.0/5C/5CT_8kIrhxIJ83JBc79GdAhqzTv5yYzmjQTu_6ALk50.cache +0 -0
  17. data/test/rails421/tmp/cache/assets/sprockets/v3.0/5t/5tiqCRpLfxs-Y6ybOzuDwipvuUFossP-XvncvDt1beA.cache +1 -0
  18. data/test/rails421/tmp/cache/assets/{test/sprockets/v3.0/CPa261uy4A4MTI6QDiP8SgVAtbpWmBmthOkAENtr9io.cache → sprockets/v3.0/6H/6H_SytVX3LrLQVNblKfSUZm9U4zz0Hi3nC7zd2slWgE.cache} +0 -0
  19. data/test/rails421/tmp/cache/assets/sprockets/v3.0/7a/7aucnxDrWU2Wq9Gv2-MzRJ-TODqCU9XYtPF9yUAxzrA.cache +3 -0
  20. data/test/rails421/tmp/cache/assets/sprockets/v3.0/7j/7jspo8CcT9uFS4H8PqxscgE3AlgXB7pTQyQIhMJPVg0.cache +1 -0
  21. data/test/rails421/tmp/cache/assets/sprockets/v3.0/8b/8bGxiI7b1E3sXm_6Main4IVaCaNunTCJECvMivc6vao.cache +0 -0
  22. data/test/rails421/tmp/cache/assets/sprockets/v3.0/91/91xRePltaCv1RzwqjVg8J1eDPpMSQzAP2xE0NfHN790.cache +0 -0
  23. data/test/rails421/tmp/cache/assets/sprockets/v3.0/Ag/AgHzzOWYl7FCzWVoy3hK75zrV0K8Fb-_06edGSVp2Ow.cache +0 -0
  24. data/test/rails421/tmp/cache/assets/sprockets/v3.0/Cf/CflQs9dwKZXgCIWoyonGUgbz8uPXLgmyP_FlcJScD7o.cache +1 -0
  25. data/test/rails421/tmp/cache/assets/sprockets/v3.0/Cg/CgOhJxWpn75PUgDhTSfe1qt0yvhVyPToVq13nv5zuZQ.cache +1 -0
  26. data/test/rails421/tmp/cache/assets/{test/sprockets/v3.0/F2GHPtHQFBfNXnvRaLDM4TZMVmKjJXgtptjjXtipgJo.cache → sprockets/v3.0/EL/EL7MuqbmZFKYS_80bdvW6_Wn5UEiX3eu1r6N-7G8UEw.cache} +0 -0
  27. data/test/rails421/tmp/cache/assets/sprockets/v3.0/FV/FV8nUPacNnUiza7kOCqckUSyEGBdphbSPSuZtJUy8tE.cache +1 -0
  28. data/test/rails421/tmp/cache/assets/sprockets/v3.0/GP/GPlQQXNQ-w_dTZRfo4-FYNUzSGE1cEKrXjS7crmzVG0.cache +1 -0
  29. data/test/rails421/tmp/cache/assets/sprockets/v3.0/Ig/Igg0gxUZFtM3hQ7W6dbvFXdZpIbV6tOiVPR2vEmQYXI.cache +1 -0
  30. data/test/rails421/tmp/cache/assets/sprockets/v3.0/Jf/JfAkIfafqJLEVZeAwe3NPmILKAxLTIaQMkBDQv9lgRs.cache +0 -0
  31. data/test/rails421/tmp/cache/assets/sprockets/v3.0/Jg/Jgz4YtR2FGBSwxB6thNOJDk7klfksp2yQy2XkBjht4g.cache +1 -0
  32. data/test/rails421/tmp/cache/assets/sprockets/v3.0/Ki/KiL7BwSVbz_z5w4y93R2R4LCkyj0b19GujTz6XIiarY.cache +0 -0
  33. data/test/rails421/tmp/cache/assets/sprockets/v3.0/LU/LUAozPg7QdzK21QBqXW25-a5gN_7zLRAqQSupvkblSg.cache +0 -0
  34. data/test/rails421/tmp/cache/assets/sprockets/v3.0/Ln/LnFnKRPLxutlTQ7fOvRsapfgXEw5btGpLwFPbpRzRlM.cache +0 -0
  35. data/test/rails421/tmp/cache/assets/sprockets/v3.0/Ls/LsZJopR7cTyB7JsVfz5aSomahT3jHGL6Pa2CICmFoQg.cache +3 -0
  36. data/test/rails421/tmp/cache/assets/sprockets/v3.0/PK/PKl6w1pmCXwfusuCnKunu1GYOTLNPwF7_K8p3ytcTgg.cache +3 -0
  37. data/test/rails421/tmp/cache/assets/sprockets/v3.0/Pi/PitG24Ap6XHTl1N62RP6JfNqaWJFxaUoe59hR-YXKPE.cache +3 -0
  38. data/test/rails421/tmp/cache/assets/sprockets/v3.0/Pm/PmYoMk9-uw3hPLN-bvhDGLKg6cTarLI8BYk3DhheO1k.cache +3 -0
  39. data/test/rails421/tmp/cache/assets/sprockets/v3.0/SP/SPGmSZC6qS--XzWg1MdmEEgH6dRyXOgJMe2P9QBYQZY.cache +0 -0
  40. data/test/rails421/tmp/cache/assets/sprockets/v3.0/V4/V440s0_NvNOTLoVbZrUe2eeHjF7uUg4OPlf9swcXXDA.cache +1 -0
  41. data/test/rails421/tmp/cache/assets/sprockets/v3.0/WS/WSBIVButxIEVKNZe-7Nc4vJqenDzrMKArSNbIy7H8Cs.cache +1 -0
  42. data/test/rails421/tmp/cache/assets/{test/sprockets/v3.0/AKOc_gEqZbAKVvBiDvztgggNL08RH10w9Qwe_D5GXYE.cache → sprockets/v3.0/Xg/Xg64R_L39P2xqnexdmGDRYDzSTX8azFSAWBFOy2B5lU.cache} +0 -0
  43. data/test/rails421/tmp/cache/assets/sprockets/v3.0/YY/YYg4F7MwALcoY2sRAE6hl0-2rtVq5V-9JixAGfbxLF0.cache +2 -0
  44. data/test/rails421/tmp/cache/assets/sprockets/v3.0/ZU/ZUn7d2k8KPMHyjjf6lnKTGwGfn2BO-IdyYXQ8wfkVIM.cache +0 -0
  45. data/test/rails421/tmp/cache/assets/sprockets/v3.0/_n/_nYxMUNBMU9KjdTucuCyGutY4g7x8eJjbF9NwXdn1po.cache +0 -0
  46. data/test/rails421/tmp/cache/assets/sprockets/v3.0/aW/aWW6yUInnVq44DuXVWtVU0Uu6MVqbDk_31S2NWl7K74.cache +1 -0
  47. data/test/rails421/tmp/cache/assets/sprockets/v3.0/ap/aprbFEg82SGajctPy-pfnM30hK8PtEZrmsgk9pgRHRk.cache +1 -0
  48. data/test/rails421/tmp/cache/assets/sprockets/v3.0/cy/cy6FSlBMXEvsU2hDor-RFfO7au2LngZ3WqI2vqa1r8U.cache +0 -0
  49. data/test/rails421/tmp/cache/assets/sprockets/v3.0/du/duFUmZ4ysy7RyIkeiWtvwe6BtTfBJhNMuO2oRfkfoVo.cache +1 -0
  50. data/test/rails421/tmp/cache/assets/sprockets/v3.0/ed/edkFBPusn0eAqYUpbC3hk4dVs45tYZg3w4p50PKPokk.cache +0 -0
  51. data/test/rails421/tmp/cache/assets/sprockets/v3.0/fC/fCrT0zlSV767KPzO87GqdHMO_QsiEr19LLDZb0XFHfc.cache +1 -0
  52. data/test/rails421/tmp/cache/assets/sprockets/v3.0/g3/g3DI9kbhIoXd-w_hDm4y5teEzaSmtyBGpP1zd-JWcek.cache +0 -0
  53. data/test/rails421/tmp/cache/assets/sprockets/v3.0/g6/g6fovXx3tOX2i7BAnBDxcViTe4leaTm9Kkrfdl8wMQA.cache +0 -0
  54. data/test/rails421/tmp/cache/assets/sprockets/v3.0/go/gorAkyJ6oqUlHs8L907X6eA5ORKpX19iQIIz85e1Om4.cache +1 -0
  55. data/test/rails421/tmp/cache/assets/sprockets/v3.0/hD/hDxUuofMAs4S7GXborJiutJawcnl4o2LNudaxNbN4ec.cache +1 -0
  56. data/test/rails421/tmp/cache/assets/sprockets/v3.0/hQ/hQj6p2AFknE_MgYgHnwoPOe91PEUgpn6Z_FiuyaJ82k.cache +1 -0
  57. data/test/rails421/tmp/cache/assets/sprockets/v3.0/hw/hwHQHMDHwgnbAp8O9R8o4Q5POdU6sxLG89slbhtkmEk.cache +1 -0
  58. data/test/rails421/tmp/cache/assets/sprockets/v3.0/is/isbz3mXXlcEL2HMerIcSsLWpTN3D4lHiK2HOygFzss8.cache +1 -0
  59. data/test/rails421/tmp/cache/assets/sprockets/v3.0/iw/iwUWP-Z82gbzpNgNohj70sxyUtc3xNWla6RKzVYItxg.cache +0 -0
  60. data/test/rails421/tmp/cache/assets/sprockets/v3.0/j9/j9dS7uGziRYgnlks5CDCYPt1e_REM0RIz9UpIgMKgdg.cache +0 -0
  61. data/test/rails421/tmp/cache/assets/sprockets/v3.0/jY/jYVt_HA9ZEkn6SDsjj7OSswwgRzN39gj7oCIcNhw6G4.cache +1 -0
  62. data/test/rails421/tmp/cache/assets/{test/sprockets/v3.0/T8t-FznXwAvz8xhIMTyRGyGfh6bxqon9-qJXl9w5v-8.cache → sprockets/v3.0/jh/jh8Rd8uXzJsR5P4NG39_-VpLgRemhQ8CxX5_dw6lT8Y.cache} +0 -0
  63. data/test/rails421/tmp/cache/assets/sprockets/v3.0/kU/kUhgMRj0dXypOCVx0_3_wrOtw53hBixKcGLLqSxuw6w.cache +3 -0
  64. data/test/rails421/tmp/cache/assets/sprockets/v3.0/ni/niGBqsssmceju94eXn6eko8N-B_Wd_TfuVca3esL0PA.cache +0 -0
  65. data/test/rails421/tmp/cache/assets/sprockets/v3.0/oB/oBw4u1I-YHiDLfqGBonN5VMbTkmFJCA2IZIWABuZCZY.cache +0 -0
  66. data/test/rails421/tmp/cache/assets/sprockets/v3.0/oN/oNYh-Q08FfdNyVFqXISNg8_l67G5FeBHokHp5greQLo.cache +1 -0
  67. data/test/rails421/tmp/cache/assets/{test/sprockets/v3.0/_i31NRrurVKuWLt-v2K7Pdvbs0sToj8MqGZYYhpU1KA.cache → sprockets/v3.0/p0/p00KopyzwCidTtAuB76KK2QxTXFwOLwu-Ur8rkyHV1Q.cache} +0 -0
  68. data/test/rails421/tmp/cache/assets/sprockets/v3.0/pR/pRAbQ3DoSMCVan9vdc4o6gLmg2MfGWD_yjv6SwBjomc.cache +1 -0
  69. data/test/rails421/tmp/cache/assets/sprockets/v3.0/qy/qy5ffSUvVTPRKpXNBphBzko8sGj8Ce4dDXBu8rCvA_k.cache +1 -0
  70. data/test/rails421/tmp/cache/assets/sprockets/v3.0/rj/rj9TDm5Ag9No-NQsnf_1jVYYLtMtHzwzJz0DBSS0JA0.cache +0 -0
  71. data/test/rails421/tmp/cache/assets/sprockets/v3.0/sk/skD9Azvu31NegSi2oQtxsOd9ghnyKi7-4FHq4WwvWtE.cache +0 -0
  72. data/test/rails421/tmp/cache/assets/sprockets/v3.0/sn/SnvXlg8cBOz55_kauZGh-V4IC5Zauq8JVhOlzJ02iSU.cache +1 -0
  73. data/test/rails421/tmp/cache/assets/sprockets/v3.0/sn/snbk_vUdpRIi6RfNIaIjl1NOO3pWiCe6KFWZ30k1XL8.cache +1 -0
  74. data/test/rails421/tmp/cache/assets/sprockets/v3.0/tn/tnnlCZmqi-M2TWOY6xMLnGBbKqxvkwkMHVJ8kHRBmik.cache +1 -0
  75. data/test/rails421/tmp/cache/assets/sprockets/v3.0/u1/u1WQc8AMAiOmt_v_5_2yi3XbEaUf9yC4itiSk53jRGg.cache +0 -0
  76. data/test/rails421/tmp/cache/assets/sprockets/v3.0/uH/uH1B6_PPjBQ_4l8KBo3b9ewINago1_K8JKjG1w0YKH4.cache +1 -0
  77. data/test/rails421/tmp/cache/assets/sprockets/v3.0/v5/v56pz21chnsTcHF9GlXTNEdYxkn5O1M9WyIVgb17pzo.cache +2 -0
  78. data/test/rails421/tmp/cache/assets/sprockets/v3.0/vS/vSW7CsUHjw-gbleWbQODWkGxCP7xL776KWz12vIsn5U.cache +2 -0
  79. data/test/rails421/tmp/cache/assets/sprockets/v3.0/vm/vm9hQSEhxR6wE0cFbLeqVjYZax2SwNkord1DCAzA2xg.cache +1 -0
  80. data/test/rails421/tmp/cache/assets/sprockets/v3.0/xu/xuHg3Ok3I6Ioa8MvbTYwIrYE_ECmwnU6iG9oIqi9Kw0.cache +1 -0
  81. data/test/rails421/tmp/cache/assets/sprockets/v3.0/y3/y397xgx0zBU7JiqxnZxg555Z1CcnrG1svhgwJvZA6Fs.cache +1 -0
  82. data/test/rails421/tmp/cache/assets/sprockets/v3.0/y5/y5VE9EjY2KAk8NIkbwOZzYod3U0KM5Q5ZqJ_J0CmJIs.cache +0 -0
  83. data/test/test_helper.rb +2 -2
  84. metadata +171 -138
  85. data/test/rails421/tmp/cache/assets/test/sprockets/v3.0/3HX16TDDs7tkDvSMzy1CGshfIKRn6QJf9cUVhhmuJkg.cache +0 -1
  86. data/test/rails421/tmp/cache/assets/test/sprockets/v3.0/54bMlQcHHuN5bWLSRvEt8q1HdtMagTCqX1_5srJ7kTw.cache +0 -1
  87. data/test/rails421/tmp/cache/assets/test/sprockets/v3.0/7X3TKoN3mVipashvr-kGWCpaXUAtpkK5sPm9M3lMcqo.cache +0 -1
  88. data/test/rails421/tmp/cache/assets/test/sprockets/v3.0/82lM_MmN7VzwqKoIUDv_OqSuylAymUVB2_YF0VzMuYc.cache +0 -0
  89. data/test/rails421/tmp/cache/assets/test/sprockets/v3.0/JfAkIfafqJLEVZeAwe3NPmILKAxLTIaQMkBDQv9lgRs.cache +0 -2
  90. data/test/rails421/tmp/cache/assets/test/sprockets/v3.0/KJfO5BRaahoYz_J8REGniMEtSvsqOEmGmAo1J8QI2jM.cache +0 -0
  91. data/test/rails421/tmp/cache/assets/test/sprockets/v3.0/LcnSOLNLdI0U1IY3OlOlc9d46cZQUADYD8_J_xX6O6Y.cache +0 -1
  92. data/test/rails421/tmp/cache/assets/test/sprockets/v3.0/MHd1PO0yQc7xbthz9iKySXYKjv32Mmh9ZUC_bpn18u8.cache +0 -2
  93. data/test/rails421/tmp/cache/assets/test/sprockets/v3.0/RPFYm_nCEk2ne81gRM1LePPBSzsc5iNVW01o1-yXaSo.cache +0 -1
  94. data/test/rails421/tmp/cache/assets/test/sprockets/v3.0/SPGmSZC6qS--XzWg1MdmEEgH6dRyXOgJMe2P9QBYQZY.cache +0 -2
  95. data/test/rails421/tmp/cache/assets/test/sprockets/v3.0/SuhtC6f7E2-1SXl4bkRvOKqhzFKTjPvbglVtjbjV6WQ.cache +0 -0
  96. data/test/rails421/tmp/cache/assets/test/sprockets/v3.0/Xk11Snk5wWAV9-bBpdKLXbUsSZZ3T0nDoUKb6_TQQBU.cache +0 -1
  97. data/test/rails421/tmp/cache/assets/test/sprockets/v3.0/ezh9co_LkO8cDkS8forgBl1Tvut4kJT9euVYR1dis1Q.cache +0 -0
  98. data/test/rails421/tmp/cache/assets/test/sprockets/v3.0/fQZOHo3Q_ISnGou9ry6a12QfE3okcIHpYMxCvBlMQ78.cache +0 -0
  99. data/test/rails421/tmp/cache/assets/test/sprockets/v3.0/mv4h9hklvBzEns1gnfx681q17PX9SROi-O-vWIYQ6xk.cache +0 -1
  100. data/test/rails421/tmp/cache/assets/test/sprockets/v3.0/nkoG1xN4Ew-fuVTaeoCMzGrwZiwjjiyovVYVlHUfyzY.cache +0 -2
  101. data/test/rails421/tmp/cache/assets/test/sprockets/v3.0/nmw75CMC6o1P7fVcjGihsVnOR5gK67wZXigFHY-BVRI.cache +0 -1
  102. data/test/rails421/tmp/cache/assets/test/sprockets/v3.0/oHISxfMXvQLMROS3e6myMKUxssz34d9vGojCEkyFM4U.cache +0 -0
  103. data/test/rails421/tmp/cache/assets/test/sprockets/v3.0/poG36w-BR0vHgssU50uZqqyX9JMD9ZR-8CPm9UnXLao.cache +0 -1
  104. data/test/rails421/tmp/cache/assets/test/sprockets/v3.0/rmcNVEuczVFlT4zVKpvEtGkHXIEodC2jPADaGe8hgOo.cache +0 -0
  105. data/test/rails421/tmp/cache/assets/test/sprockets/v3.0/w5-JsbpplEqqsRoC90MkMROluqufYUcrlYMtrokbR4A.cache +0 -2
  106. data/test/rails421/tmp/cache/sprockets/v3.0/2qMUc-xad3gltBQavQERZuy-wADuY6GH7mJb5AO6VN4.cache +0 -1
  107. data/test/rails421/tmp/cache/sprockets/v3.0/40UBoAkeAmYWRbD6mm8DKMybqcHW9a67-c9XqQZk5g4.cache +0 -2
  108. data/test/rails421/tmp/cache/sprockets/v3.0/9Nv3vlaBmtmw13efvMK8NKqPLih_t-RDDYflAGcuj1c.cache +0 -1
  109. data/test/rails421/tmp/cache/sprockets/v3.0/AKOc_gEqZbAKVvBiDvztgggNL08RH10w9Qwe_D5GXYE.cache +0 -1
  110. data/test/rails421/tmp/cache/sprockets/v3.0/CPa261uy4A4MTI6QDiP8SgVAtbpWmBmthOkAENtr9io.cache +0 -0
  111. data/test/rails421/tmp/cache/sprockets/v3.0/F2GHPtHQFBfNXnvRaLDM4TZMVmKjJXgtptjjXtipgJo.cache +0 -1
  112. data/test/rails421/tmp/cache/sprockets/v3.0/GK0ylJaES5FhTG9FFl3OZ4L0yolfT_ohDZjBJgz4JUY.cache +0 -0
  113. data/test/rails421/tmp/cache/sprockets/v3.0/HJ1r3qTSFLcQSzpvR8E7iq0kLOJJb8BQ-aeEtK9IRu4.cache +0 -0
  114. data/test/rails421/tmp/cache/sprockets/v3.0/JfAkIfafqJLEVZeAwe3NPmILKAxLTIaQMkBDQv9lgRs.cache +0 -2
  115. data/test/rails421/tmp/cache/sprockets/v3.0/LfK_k0mIf59td5lrPnWNgG753Si0rt4-o_7st4G67mY.cache +0 -0
  116. data/test/rails421/tmp/cache/sprockets/v3.0/SPGmSZC6qS--XzWg1MdmEEgH6dRyXOgJMe2P9QBYQZY.cache +0 -2
  117. data/test/rails421/tmp/cache/sprockets/v3.0/SuhtC6f7E2-1SXl4bkRvOKqhzFKTjPvbglVtjbjV6WQ.cache +0 -0
  118. data/test/rails421/tmp/cache/sprockets/v3.0/T8t-FznXwAvz8xhIMTyRGyGfh6bxqon9-qJXl9w5v-8.cache +0 -1
  119. data/test/rails421/tmp/cache/sprockets/v3.0/VFOKVfGgAN9X69gY7_iHeAqCp1a3tHbNQ8vOkZCDxmw.cache +0 -1
  120. data/test/rails421/tmp/cache/sprockets/v3.0/_i31NRrurVKuWLt-v2K7Pdvbs0sToj8MqGZYYhpU1KA.cache +0 -1
  121. data/test/rails421/tmp/cache/sprockets/v3.0/axYtNbV1uzSCCFuhy5xBm0fRFosFsky_TgKCDvTMNFY.cache +0 -1
  122. data/test/rails421/tmp/cache/sprockets/v3.0/fnO_U6bBm5RbWzLzuscBsBMf6xwSy4zkyGvdHnDfu_w.cache +0 -0
  123. data/test/rails421/tmp/cache/sprockets/v3.0/hnhUUC94zc7I6qw3b_ncE4WuIR_ve6tHMuR7cPwIQCI.cache +0 -2
  124. data/test/rails421/tmp/cache/sprockets/v3.0/nEN4-bpHvXqSSSImpws-_RAcBBUMqCrMx3Ib1BMX1bM.cache +0 -0
  125. data/test/rails421/tmp/cache/sprockets/v3.0/rIfm_zYyApGAlv-L6sosQwNQnNgnYhwHKasgJ5wiR1s.cache +0 -1
  126. data/test/rails421/tmp/cache/sprockets/v3.0/snPLkee2nGyt9qB_hoYK72xnJVeY-i4munBLG8TnVoM.cache +0 -2
  127. data/test/rails421/tmp/cache/sprockets/v3.0/uXFc_YdSBKBgMeqrFlcMe-f9Ix9znTSilTqUwQzS66Y.cache +0 -1
  128. data/test/rails421/tmp/cache/sprockets/v3.0/uXHfxS4mtcWtv0OuTrFdSKkosT12RZO_bj9kn3xIby4.cache +0 -1
  129. data/test/rails421/tmp/cache/sprockets/v3.0/wZPHMqAXpfAyrThOGNLv9uFeBgZPW-h60OfB0k7MFJo.cache +0 -1
  130. data/test/rails421/tmp/cache/sprockets/v3.0/xgBCnAt5kjWfpxfpyaMUYYAPhxDmfGCWfZALXb4d5iE.cache +0 -1
  131. data/test/rails421/tmp/cache/sprockets/v3.0/yQmAXk4Q_TP0r_xSOtHzYJYS6GEO5tZKHv9unxU9Kyc.cache +0 -2
  132. data/test/rails421/tmp/cache/sprockets/v3.0/yme4hieEedbgZjyBKtL263G1Qi5yllYUq9wVb0t4Omo.cache +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2de3ce024831a01ba48fa1871207bb8b186b777c
4
- data.tar.gz: d90e706bd023068c13b6924f7433e6442bdcae16
3
+ metadata.gz: 81e101b5158e1d2e72aeb09d7ed1aca2789a1fb7
4
+ data.tar.gz: 2794fd794689957c772cf30cc59a9e03ee7db2de
5
5
  SHA512:
6
- metadata.gz: b46bcb3c85372fd94c266fc1b4f57d27ec7f5c1b3deee683bd651bddd954ea4c924930b1a057be28e10a7dc612a15e9c54be1f4435be81d402cbbca32a678263
7
- data.tar.gz: fce6cba3c700a6388e8b1a8155c0ce3416e05ccd39ffae2a35ec5855e1818c700e39e30640173c5e95a1ac1e2e8ce9cf0f4ec34de48bcfb3d152c98ed2fa6bc9
6
+ metadata.gz: 0487b13866a4fa2b414fd03386c02020c11a1a57424f81265f65da0c76e150a6ff77f3300037346523dfa0e9478f6014e14e75e67ef0aa895261803111ad9d42
7
+ data.tar.gz: 517fd343ee7d1d0d9914374df99c6e64f23f67a0dae955f470db48cc0423833fc015776386f27483e4b6239fa35eac3be0554243534123213baac9d5064fe225
data/README.rdoc CHANGED
@@ -1,8 +1,6 @@
1
1
  = RouteDowncaser
2
2
 
3
- {<img src="https://travis-ci.org/carstengehling/route_downcaser.png" />}[https://travis-ci.org/carstengehling/route_downcaser] {<img src="https://codeclimate.com/github/carstengehling/route_downcaser/badges/gpa.svg" />}[https://codeclimate.com/github/carstengehling/route_downcaser]
4
-
5
- <b>Note about Rails 5.0.0:</b> Rails 5.0.0.beta1 was released on December 18th. RouteDowncaser 1.1.5 has been tested to work with this beta-version of Rails.
3
+ {<img src="https://travis-ci.org/substancelab/route_downcaser.svg?branch=master" alt="Build Status" />}[https://travis-ci.org/substancelab/route_downcaser] {<img src="https://codeclimate.com/github/substancelab/route_downcaser/badges/gpa.svg" />}[https://codeclimate.com/github/substancelab/route_downcaser]
6
4
 
7
5
  Makes routing in Rails case-insensitive (and other Rack-servers like Sinatra)
8
6
 
@@ -10,7 +8,7 @@ This gem hooks into the Rack middleware of Rails. This way all paths are downcas
10
8
 
11
9
  == Requirements
12
10
 
13
- This gem has been tested with Rails 3.1.x, 4.0.x, 4.1.x, 4.2.x. It reportedly also works with Sinata, although I do not use Sinatra myself. Sinatra test-cases will be most welcome.
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.
14
12
 
15
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].
16
14
 
@@ -104,6 +102,12 @@ All it really does is to take the path and downcase it before dispatching. Query
104
102
 
105
103
  == Changelog
106
104
 
105
+ === 1.2.1
106
+
107
+ Support for Rails 5.1, we now support most recently released versions of Rails 4.2, 5.0, and 5.1. Thanks to {pepawel}[https://github.com/pepawel].
108
+
109
+ No more deprecation warnings about passing strings or symbols to the middleware builder. Thanks, {flou}[https://github.com/flou]!
110
+
107
111
  === 1.2.0
108
112
 
109
113
  Support for multibyte characters - dependency on ActiveSupport version 3.2 or later
@@ -10,37 +10,33 @@ module RouteDowncaser
10
10
  end
11
11
 
12
12
  def _call(env)
13
- old_env = {
14
- 'REQUEST_URI' => env['REQUEST_URI'],
15
- 'PATH_INFO' => env['PATH_INFO']
16
- }
13
+ request_uri = env['REQUEST_URI']
14
+ path_info = env['PATH_INFO']
17
15
 
18
16
  # Don't touch anything, if uri/path is part of exclude_patterns
19
- if exclude_patterns_match?(env['REQUEST_URI']) or exclude_patterns_match?(env['PATH_INFO'])
17
+ if excluded?([request_uri, path_info])
20
18
  return @app.call(env)
21
19
  end
22
20
 
23
21
  # Downcase request_uri and/or path_info if applicable
24
- if env['REQUEST_URI'].present?
25
- env['REQUEST_URI'] = downcased_uri(env['REQUEST_URI'])
26
- end
27
-
28
- if env['PATH_INFO'].present?
29
- env['PATH_INFO'] = downcased_uri(env['PATH_INFO'])
30
- end
22
+ request_uri = downcased_uri(request_uri)
23
+ path_info = downcased_uri(path_info)
31
24
 
32
25
  # If redirect configured, then return redirect request,
33
26
  # if either request_uri or path_info has changed
34
27
  if RouteDowncaser.redirect && env['REQUEST_METHOD'] == "GET"
35
- if env["REQUEST_URI"].present? and old_env["REQUEST_URI"] != env["REQUEST_URI"]
36
- return redirect_header(env["REQUEST_URI"])
28
+ if request_uri.present? && request_uri != env['REQUEST_URI']
29
+ return redirect_header(request_uri)
37
30
  end
38
31
 
39
- if env["PATH_INFO"].present? and old_env["PATH_INFO"] != env["PATH_INFO"]
40
- return redirect_header(env["PATH_INFO"])
32
+ if path_info.present? && path_info != env['PATH_INFO']
33
+ return redirect_header(path_info)
41
34
  end
42
35
  end
43
36
 
37
+ env['PATH_INFO'] = path_info.to_s if path_info
38
+ env['REQUEST_URI'] = request_uri.to_s if request_uri
39
+
44
40
  # Default just move to next chain in Rack callstack
45
41
  # calling with downcased uri if needed
46
42
  @app.call(env)
@@ -52,7 +48,14 @@ module RouteDowncaser
52
48
  uri.match(Regexp.union(RouteDowncaser.exclude_patterns)) if uri and RouteDowncaser.exclude_patterns
53
49
  end
54
50
 
51
+ def excluded?(paths)
52
+ paths.any? { |path|
53
+ exclude_patterns_match?(path)
54
+ }
55
+ end
56
+
55
57
  def downcased_uri(uri)
58
+ return nil unless uri.present?
56
59
  if has_querystring?(uri)
57
60
  "#{path(uri).mb_chars.downcase}?#{querystring(uri)}"
58
61
  else
@@ -0,0 +1,87 @@
1
+ module RouteDowncaser
2
+
3
+ class OriginalDowncaseRouteMiddleware
4
+ def initialize(app)
5
+ @app = app
6
+ end
7
+
8
+ def call(env)
9
+ dup._call(env)
10
+ end
11
+
12
+ def _call(env)
13
+ request_uri = env['REQUEST_URI']
14
+ path_info = env['PATH_INFO']
15
+
16
+ # 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
20
+
21
+ # Downcase request_uri and/or path_info if applicable
22
+ request_uri = downcased_uri(request_uri)
23
+ path_info = downcased_uri(path_info)
24
+
25
+ # If redirect configured, then return redirect request,
26
+ # if either request_uri or path_info has changed
27
+ if RouteDowncaser.redirect && env['REQUEST_METHOD'] == "GET"
28
+ if request_uri.present? && request_uri != env['REQUEST_URI']
29
+ return redirect_header(request_uri)
30
+ end
31
+
32
+ if path_info.present? && path_info != env['PATH_INFO']
33
+ return redirect_header(path_info)
34
+ end
35
+ end
36
+
37
+ env['PATH_INFO'] = path_info.to_s if path_info
38
+ env['REQUEST_URI'] = request_uri.to_s if request_uri
39
+
40
+ # Default just move to next chain in Rack callstack
41
+ # calling with downcased uri if needed
42
+ @app.call(env)
43
+ end
44
+
45
+ private
46
+
47
+ def exclude_patterns_match?(uri)
48
+ uri.match(Regexp.union(RouteDowncaser.exclude_patterns)) if uri and RouteDowncaser.exclude_patterns
49
+ end
50
+
51
+ def excluded?(paths)
52
+ paths.any? { |path|
53
+ exclude_patterns_match?(path)
54
+ }
55
+ end
56
+
57
+ def downcased_uri(uri)
58
+ return nil unless uri.present?
59
+ if has_querystring?(uri)
60
+ "#{path(uri).mb_chars.downcase}?#{querystring(uri)}"
61
+ else
62
+ path(uri).mb_chars.downcase
63
+ end
64
+ end
65
+
66
+ def path(uri)
67
+ uri_items(uri).first
68
+ end
69
+
70
+ def querystring(uri)
71
+ uri_items(uri).last
72
+ end
73
+
74
+ def has_querystring?(uri)
75
+ uri_items(uri).length > 1
76
+ end
77
+
78
+ def uri_items(uri)
79
+ uri.split('?')
80
+ end
81
+
82
+ def redirect_header(uri)
83
+ [301, {'Location' => uri, 'Content-Type' => 'text/html'}, []]
84
+ end
85
+ end
86
+
87
+ end
@@ -1,7 +1,7 @@
1
1
  module RouteDowncaser
2
2
  class Railtie < Rails::Railtie
3
3
  initializer "add_downcase_route_middleware" do |app|
4
- app.config.middleware.use 'RouteDowncaser::DowncaseRouteMiddleware'
4
+ app.config.middleware.use RouteDowncaser::DowncaseRouteMiddleware
5
5
  end
6
6
  end
7
7
  end
@@ -1,3 +1,3 @@
1
1
  module RouteDowncaser
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
@@ -27,8 +27,8 @@ class RouteMiddlewareTest < ActionDispatch::IntegrationTest
27
27
  end
28
28
 
29
29
  get "/HELLO/WORLD"
30
- assert_response :redirect
31
- assert_redirected_to("/hello/world")
30
+ assert_equal 301, response.status
31
+ assert_equal "/hello/world", response.location
32
32
  end
33
33
 
34
34
  test "Only GET requests should be redirected, POST should rewrite" do
@@ -1,5 +1,5 @@
1
1
  class HelloController < ApplicationController
2
2
  def world
3
- render :text => "anybody out there?"
3
+ render :plain => "anybody out there?"
4
4
  end
5
5
  end
@@ -1,367 +1,24 @@
1
- -----------------------------------------------------
2
- RouteMiddlewareTest: test_Assets_are_served_correctly
3
- -----------------------------------------------------
4
- Started GET "/assets/application.js" for 127.0.0.1 at 2015-12-27 12:20:17 +0100
5
- -----------------------------------------------------------
6
- RouteMiddlewareTest: test_Input_and_output_env_are_the_same
7
- -----------------------------------------------------------
8
- -------------------------------------------------------------
9
- RouteMiddlewareTest: test_Middleware_is_installed_and_working
10
- -------------------------------------------------------------
11
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-12-27 12:20:17 +0100
12
- Processing by HelloController#world as HTML
13
- Completed 200 OK in 22ms (Views: 15.0ms)
14
- -------------------------------------------------------------------------------------
15
- RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
16
- -------------------------------------------------------------------------------------
17
- Started POST "/HELLO/WORLD" for 127.0.0.1 at 2015-12-27 12:20:17 +0100
18
- Processing by HelloController#world as HTML
19
- Completed 200 OK in 1ms (Views: 0.1ms)
20
- -----------------------------------------------------
21
- RouteMiddlewareTest: test_Redirect_instead_of_rewrite
22
- -----------------------------------------------------
23
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-12-27 12:20:17 +0100
24
- ------------------------------------------------------------------------------------------------------------------------------------------
25
- RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
26
- ------------------------------------------------------------------------------------------------------------------------------------------
27
- --------------------------------------------------------------------------------------------------------------------------------------------
28
- RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
29
- --------------------------------------------------------------------------------------------------------------------------------------------
30
- ---------------------------------------------------------------------------------------------
31
- RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
32
- ---------------------------------------------------------------------------------------------
33
- ------------------------------------------------------------------------------------------------------
34
- RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
35
- ------------------------------------------------------------------------------------------------------
36
- --------------------------------------------------------------------------------------------------------
37
- RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
38
- --------------------------------------------------------------------------------------------------------
39
- -----------------------------------------------------------------------
40
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
41
- -----------------------------------------------------------------------
42
- ---------------------------------------------------------------------------------------
43
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
44
- ---------------------------------------------------------------------------------------
45
- ------------------------------------------------------------------
46
- RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
47
- ------------------------------------------------------------------
48
- -----------------------------------------------------------------------------------
49
- RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
50
- -----------------------------------------------------------------------------------
51
- ----------------------------------------------------------------------------------------
52
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
53
- ----------------------------------------------------------------------------------------
54
- ------------------------------------------------------------------------------------------
55
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
56
- ------------------------------------------------------------------------------------------
57
- -----------------------------------------------------
58
- RouteMiddlewareTest: test_Assets_are_served_correctly
59
- -----------------------------------------------------
60
- Started GET "/assets/application.js" for 127.0.0.1 at 2015-12-27 12:21:36 +0100
61
- -----------------------------------------------------------
62
- RouteMiddlewareTest: test_Input_and_output_env_are_the_same
63
- -----------------------------------------------------------
64
- -------------------------------------------------------------
65
- RouteMiddlewareTest: test_Middleware_is_installed_and_working
66
- -------------------------------------------------------------
67
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-12-27 12:21:36 +0100
68
- Processing by HelloController#world as HTML
69
- Completed 200 OK in 10ms (Views: 2.9ms)
70
- -------------------------------------------------------------------------------------
71
- RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
72
- -------------------------------------------------------------------------------------
73
- Started POST "/HELLO/WORLD" for 127.0.0.1 at 2015-12-27 12:21:36 +0100
74
- Processing by HelloController#world as HTML
75
- Completed 200 OK in 0ms (Views: 0.1ms)
76
- -----------------------------------------------------
77
- RouteMiddlewareTest: test_Redirect_instead_of_rewrite
78
- -----------------------------------------------------
79
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-12-27 12:21:36 +0100
80
- ---------------------------------------------------------------------------------------------
81
- RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
82
- ---------------------------------------------------------------------------------------------
83
- ------------------------------------------------------------------------------------------------------
84
- RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
85
- ------------------------------------------------------------------------------------------------------
86
- --------------------------------------------------------------------------------------------------------
87
- RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
88
- --------------------------------------------------------------------------------------------------------
89
- ------------------------------------------------------------------------------------------------------------------------------------------
90
- RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
91
- ------------------------------------------------------------------------------------------------------------------------------------------
92
- --------------------------------------------------------------------------------------------------------------------------------------------
93
- RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
94
- --------------------------------------------------------------------------------------------------------------------------------------------
95
- ----------------------------------------------------------------------------------------
96
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
97
- ----------------------------------------------------------------------------------------
98
- ------------------------------------------------------------------------------------------
99
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
100
- ------------------------------------------------------------------------------------------
101
- -----------------------------------------------------------------------
102
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
103
- -----------------------------------------------------------------------
104
- ---------------------------------------------------------------------------------------
105
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
106
- ---------------------------------------------------------------------------------------
107
- ------------------------------------------------------------------
108
- RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
109
- ------------------------------------------------------------------
110
- -----------------------------------------------------------------------------------
111
- RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
112
- -----------------------------------------------------------------------------------
113
- ------------------------------------------------------------------------------------------------------------------------------------------
114
- RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
115
- ------------------------------------------------------------------------------------------------------------------------------------------
116
- --------------------------------------------------------------------------------------------------------------------------------------------
117
- RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
118
- --------------------------------------------------------------------------------------------------------------------------------------------
119
- -----------------------------------------------------
120
- RouteMiddlewareTest: test_Assets_are_served_correctly
121
- -----------------------------------------------------
122
- Started GET "/assets/application.js" for 127.0.0.1 at 2015-12-27 12:23:26 +0100
123
- -----------------------------------------------------------
124
- RouteMiddlewareTest: test_Input_and_output_env_are_the_same
125
- -----------------------------------------------------------
126
- -------------------------------------------------------------
127
- RouteMiddlewareTest: test_Middleware_is_installed_and_working
128
- -------------------------------------------------------------
129
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-12-27 12:23:27 +0100
130
- Processing by HelloController#world as HTML
131
- Completed 200 OK in 32ms (Views: 25.1ms)
132
- -------------------------------------------------------------------------------------
133
- RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
134
- -------------------------------------------------------------------------------------
135
- Started POST "/HELLO/WORLD" for 127.0.0.1 at 2015-12-27 12:23:27 +0100
136
- Processing by HelloController#world as HTML
137
- Completed 200 OK in 0ms (Views: 0.2ms)
138
- -----------------------------------------------------
139
- RouteMiddlewareTest: test_Redirect_instead_of_rewrite
140
- -----------------------------------------------------
141
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-12-27 12:23:27 +0100
142
- ----------------------------------------------------------------------------------------
143
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
144
- ----------------------------------------------------------------------------------------
145
- ------------------------------------------------------------------------------------------
146
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
147
- ------------------------------------------------------------------------------------------
148
- ---------------------------------------------------------------------------------------------
149
- RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
150
- ---------------------------------------------------------------------------------------------
151
- ------------------------------------------------------------------------------------------------------
152
- RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
153
- ------------------------------------------------------------------------------------------------------
154
- --------------------------------------------------------------------------------------------------------
155
- RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
156
- --------------------------------------------------------------------------------------------------------
157
- -----------------------------------------------------------------------
158
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
159
- -----------------------------------------------------------------------
160
- ---------------------------------------------------------------------------------------
161
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
162
- ---------------------------------------------------------------------------------------
163
- ------------------------------------------------------------------
164
- RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
165
- ------------------------------------------------------------------
166
- -----------------------------------------------------------------------------------
167
- RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
168
- -----------------------------------------------------------------------------------
169
1
  ----------------------------------------------------------------------------------------
170
2
  RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
171
3
  ----------------------------------------------------------------------------------------
172
4
  ------------------------------------------------------------------------------------------
173
5
  RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
174
6
  ------------------------------------------------------------------------------------------
175
- -----------------------------------------------------------------------
176
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
177
- -----------------------------------------------------------------------
178
- ---------------------------------------------------------------------------------------
179
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
180
- ---------------------------------------------------------------------------------------
181
- ------------------------------------------------------------------
182
- RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
183
- ------------------------------------------------------------------
184
- -----------------------------------------------------------------------------------
185
- RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
186
- -----------------------------------------------------------------------------------
187
- ---------------------------------------------------------------------------------------------
188
- RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
189
- ---------------------------------------------------------------------------------------------
190
- ------------------------------------------------------------------------------------------------------
191
- RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
192
- ------------------------------------------------------------------------------------------------------
193
- --------------------------------------------------------------------------------------------------------
194
- RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
195
- --------------------------------------------------------------------------------------------------------
196
- ------------------------------------------------------------------------------------------------------------------------------------------
197
- RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
198
- ------------------------------------------------------------------------------------------------------------------------------------------
199
7
  --------------------------------------------------------------------------------------------------------------------------------------------
200
8
  RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
201
9
  --------------------------------------------------------------------------------------------------------------------------------------------
202
- -----------------------------------------------------
203
- RouteMiddlewareTest: test_Assets_are_served_correctly
204
- -----------------------------------------------------
205
- Started GET "/assets/application.js" for 127.0.0.1 at 2015-12-27 12:23:40 +0100
206
- -----------------------------------------------------------
207
- RouteMiddlewareTest: test_Input_and_output_env_are_the_same
208
- -----------------------------------------------------------
209
- -------------------------------------------------------------
210
- RouteMiddlewareTest: test_Middleware_is_installed_and_working
211
- -------------------------------------------------------------
212
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-12-27 12:23:41 +0100
213
- Processing by HelloController#world as HTML
214
- Completed 200 OK in 9ms (Views: 2.7ms)
215
- -------------------------------------------------------------------------------------
216
- RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
217
- -------------------------------------------------------------------------------------
218
- Started POST "/HELLO/WORLD" for 127.0.0.1 at 2015-12-27 12:23:41 +0100
219
- Processing by HelloController#world as HTML
220
- Completed 200 OK in 0ms (Views: 0.1ms)
221
- -----------------------------------------------------
222
- RouteMiddlewareTest: test_Redirect_instead_of_rewrite
223
- -----------------------------------------------------
224
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-12-27 12:23:41 +0100
225
10
  ------------------------------------------------------------------------------------------------------------------------------------------
226
11
  RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
227
12
  ------------------------------------------------------------------------------------------------------------------------------------------
228
- --------------------------------------------------------------------------------------------------------------------------------------------
229
- RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
230
- --------------------------------------------------------------------------------------------------------------------------------------------
231
- -------------------------------------------------------------------------------------
232
- RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
233
- -------------------------------------------------------------------------------------
234
- Started POST "/HELLO/WORLD" for 127.0.0.1 at 2015-12-28 13:00:33 +0100
235
- Processing by HelloController#world as HTML
236
- Rendered text template (0.0ms)
237
- Completed 200 OK in 11ms (Views: 4.2ms)
238
- -----------------------------------------------------------
239
- RouteMiddlewareTest: test_Input_and_output_env_are_the_same
240
- -----------------------------------------------------------
241
- -----------------------------------------------------
242
- RouteMiddlewareTest: test_Redirect_instead_of_rewrite
243
- -----------------------------------------------------
244
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-12-28 13:00:33 +0100
245
- -----------------------------------------------------
246
- RouteMiddlewareTest: test_Assets_are_served_correctly
247
- -----------------------------------------------------
248
- Started GET "/assets/application.js" for 127.0.0.1 at 2015-12-28 13:00:33 +0100
249
- -------------------------------------------------------------
250
- RouteMiddlewareTest: test_Middleware_is_installed_and_working
251
- -------------------------------------------------------------
252
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-12-28 13:00:33 +0100
253
- Processing by HelloController#world as HTML
254
- Rendered text template (0.0ms)
255
- Completed 200 OK in 0ms (Views: 0.3ms)
256
- -----------------------------------------------------------------------------------
257
- RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
258
- -----------------------------------------------------------------------------------
259
- ---------------------------------------------------------------------------------------
260
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
261
- ---------------------------------------------------------------------------------------
262
- -----------------------------------------------------------------------
263
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
264
- -----------------------------------------------------------------------
265
- ------------------------------------------------------------------
266
- RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
267
- ------------------------------------------------------------------
268
- ------------------------------------------------------------------------------------------------------
269
- RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
270
- ------------------------------------------------------------------------------------------------------
271
- ---------------------------------------------------------------------------------------------
272
- RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
273
- ---------------------------------------------------------------------------------------------
274
- --------------------------------------------------------------------------------------------------------
275
- RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
276
- --------------------------------------------------------------------------------------------------------
277
- ----------------------------------------------------------------------------------------
278
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
279
- ----------------------------------------------------------------------------------------
280
- ------------------------------------------------------------------------------------------
281
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
282
- ------------------------------------------------------------------------------------------
283
13
  ---------------------------------------------------------------------------------------------
284
14
  RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
285
15
  ---------------------------------------------------------------------------------------------
286
- ------------------------------------------------------------------------------------------------------
287
- RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
288
- ------------------------------------------------------------------------------------------------------
289
16
  --------------------------------------------------------------------------------------------------------
290
17
  RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
291
18
  --------------------------------------------------------------------------------------------------------
292
- -----------------------------------------------------------------------
293
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
294
- -----------------------------------------------------------------------
295
- ------------------------------------------------------------------
296
- RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
297
- ------------------------------------------------------------------
298
- -----------------------------------------------------------------------------------
299
- RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
300
- -----------------------------------------------------------------------------------
301
- ---------------------------------------------------------------------------------------
302
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
303
- ---------------------------------------------------------------------------------------
304
- -----------------------------------------------------
305
- RouteMiddlewareTest: test_Assets_are_served_correctly
306
- -----------------------------------------------------
307
- Started GET "/assets/application.js" for 127.0.0.1 at 2015-12-28 13:05:14 +0100
308
- -----------------------------------------------------------
309
- RouteMiddlewareTest: test_Input_and_output_env_are_the_same
310
- -----------------------------------------------------------
311
- -------------------------------------------------------------------------------------
312
- RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
313
- -------------------------------------------------------------------------------------
314
- Started POST "/HELLO/WORLD" for 127.0.0.1 at 2015-12-28 13:05:14 +0100
315
- Processing by HelloController#world as HTML
316
- Rendered text template (0.0ms)
317
- Completed 200 OK in 11ms (Views: 4.5ms)
318
- -----------------------------------------------------
319
- RouteMiddlewareTest: test_Redirect_instead_of_rewrite
320
- -----------------------------------------------------
321
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-12-28 13:05:14 +0100
322
- -------------------------------------------------------------
323
- RouteMiddlewareTest: test_Middleware_is_installed_and_working
324
- -------------------------------------------------------------
325
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-12-28 13:05:14 +0100
326
- Processing by HelloController#world as HTML
327
- Rendered text template (0.0ms)
328
- Completed 200 OK in 0ms (Views: 0.2ms)
329
- ----------------------------------------------------------------------------------------
330
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
331
- ----------------------------------------------------------------------------------------
332
- ------------------------------------------------------------------------------------------
333
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
334
- ------------------------------------------------------------------------------------------
335
- -------------------------------------------------------------------------
336
- RouteDowncaserTest::MultibyteTests: test_Multibyte_PATH_INFO_is_downcased
337
- -------------------------------------------------------------------------
338
- ----------------------------------------------------------------------------
339
- RouteDowncaserTest::MultibyteTests: test_Additional_multibyte_downcase_tests
340
- ----------------------------------------------------------------------------
341
- -------------------------------------------------------------------------------------
342
- RouteDowncaserTest::MultibyteTests: test_Multibyte_REQUEST_URI_path-part_is_downcased
343
- -------------------------------------------------------------------------------------
344
- ------------------------------------------------------------------------------------------------------------------------------------------
345
- RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
346
- ------------------------------------------------------------------------------------------------------------------------------------------
347
- --------------------------------------------------------------------------------------------------------------------------------------------
348
- RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
349
- --------------------------------------------------------------------------------------------------------------------------------------------
350
- ------------------------------------------------------------------------------------------------------------------------------------------
351
- RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
352
- ------------------------------------------------------------------------------------------------------------------------------------------
353
- --------------------------------------------------------------------------------------------------------------------------------------------
354
- RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
355
- --------------------------------------------------------------------------------------------------------------------------------------------
356
- ---------------------------------------------------------------------------------------------
357
- RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
358
- ---------------------------------------------------------------------------------------------
359
19
  ------------------------------------------------------------------------------------------------------
360
20
  RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
361
21
  ------------------------------------------------------------------------------------------------------
362
- --------------------------------------------------------------------------------------------------------
363
- RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
364
- --------------------------------------------------------------------------------------------------------
365
22
  ----------------------------------------------------------------------------
366
23
  RouteDowncaserTest::MultibyteTests: test_Additional_multibyte_downcase_tests
367
24
  ----------------------------------------------------------------------------
@@ -371,113 +28,42 @@ RouteDowncaserTest::MultibyteTests: test_Multibyte_REQUEST_URI_path-part_is_down
371
28
  -------------------------------------------------------------------------
372
29
  RouteDowncaserTest::MultibyteTests: test_Multibyte_PATH_INFO_is_downcased
373
30
  -------------------------------------------------------------------------
374
- ------------------------------------------------------------------------------------------
375
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
376
- ------------------------------------------------------------------------------------------
377
- ----------------------------------------------------------------------------------------
378
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
379
- ----------------------------------------------------------------------------------------
380
- -----------------------------------------------------------------------
381
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
382
- -----------------------------------------------------------------------
383
- ---------------------------------------------------------------------------------------
384
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
385
- ---------------------------------------------------------------------------------------
386
- -----------------------------------------------------------------------------------
387
- RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
388
- -----------------------------------------------------------------------------------
389
- ------------------------------------------------------------------
390
- RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
391
- ------------------------------------------------------------------
392
- -----------------------------------------------------
393
- RouteMiddlewareTest: test_Assets_are_served_correctly
394
- -----------------------------------------------------
395
- Started GET "/assets/application.js" for 127.0.0.1 at 2015-12-28 13:06:47 +0100
396
- -----------------------------------------------------------
397
- RouteMiddlewareTest: test_Input_and_output_env_are_the_same
398
- -----------------------------------------------------------
399
31
  -------------------------------------------------------------------------------------
400
32
  RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
401
33
  -------------------------------------------------------------------------------------
402
- Started POST "/HELLO/WORLD" for 127.0.0.1 at 2015-12-28 13:06:47 +0100
34
+ Started POST "/HELLO/WORLD" for 127.0.0.1 at 2017-05-27 20:48:14 +0200
403
35
  Processing by HelloController#world as HTML
36
+ Rendering text template
404
37
  Rendered text template (0.0ms)
405
- Completed 200 OK in 11ms (Views: 4.0ms)
406
- -------------------------------------------------------------
407
- RouteMiddlewareTest: test_Middleware_is_installed_and_working
408
- -------------------------------------------------------------
409
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-12-28 13:06:47 +0100
410
- Processing by HelloController#world as HTML
411
- Rendered text template (0.0ms)
412
- Completed 200 OK in 0ms (Views: 0.2ms)
413
- -----------------------------------------------------
414
- RouteMiddlewareTest: test_Redirect_instead_of_rewrite
415
- -----------------------------------------------------
416
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-12-28 13:06:47 +0100
417
- ------------------------------------------------------------------------------------------
418
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
419
- ------------------------------------------------------------------------------------------
420
- ----------------------------------------------------------------------------------------
421
- RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
422
- ----------------------------------------------------------------------------------------
38
+ Completed 200 OK in 12ms (Views: 4.7ms)
423
39
  -----------------------------------------------------
424
40
  RouteMiddlewareTest: test_Assets_are_served_correctly
425
41
  -----------------------------------------------------
426
- Started GET "/assets/application.js" for 127.0.0.1 at 2015-12-28 13:11:43 +0100
42
+ Started GET "/assets/application.js" for 127.0.0.1 at 2017-05-27 20:48:15 +0200
427
43
  -------------------------------------------------------------
428
44
  RouteMiddlewareTest: test_Middleware_is_installed_and_working
429
45
  -------------------------------------------------------------
430
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-12-28 13:11:44 +0100
46
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2017-05-27 20:48:15 +0200
431
47
  Processing by HelloController#world as HTML
48
+ Rendering text template
432
49
  Rendered text template (0.0ms)
433
- Completed 200 OK in 10ms (Views: 4.1ms)
434
- -----------------------------------------------------------
435
- RouteMiddlewareTest: test_Input_and_output_env_are_the_same
436
- -----------------------------------------------------------
437
- -------------------------------------------------------------------------------------
438
- RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
439
- -------------------------------------------------------------------------------------
440
- Started POST "/HELLO/WORLD" for 127.0.0.1 at 2015-12-28 13:11:44 +0100
441
- Processing by HelloController#world as HTML
442
- Rendered text template (0.0ms)
443
- Completed 200 OK in 0ms (Views: 0.2ms)
50
+ Completed 200 OK in 1ms (Views: 0.3ms)
444
51
  -----------------------------------------------------
445
52
  RouteMiddlewareTest: test_Redirect_instead_of_rewrite
446
53
  -----------------------------------------------------
447
- Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-12-28 13:11:44 +0100
448
- ------------------------------------------------------------------------------------------------------------------------------------------
449
- RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
450
- ------------------------------------------------------------------------------------------------------------------------------------------
451
- --------------------------------------------------------------------------------------------------------------------------------------------
452
- RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
453
- --------------------------------------------------------------------------------------------------------------------------------------------
454
- ---------------------------------------------------------------------------------------------
455
- RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
456
- ---------------------------------------------------------------------------------------------
457
- --------------------------------------------------------------------------------------------------------
458
- RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
459
- --------------------------------------------------------------------------------------------------------
460
- ------------------------------------------------------------------------------------------------------
461
- RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
462
- ------------------------------------------------------------------------------------------------------
463
- -------------------------------------------------------------------------
464
- RouteDowncaserTest::MultibyteTests: test_Multibyte_PATH_INFO_is_downcased
465
- -------------------------------------------------------------------------
466
- -------------------------------------------------------------------------------------
467
- RouteDowncaserTest::MultibyteTests: test_Multibyte_REQUEST_URI_path-part_is_downcased
468
- -------------------------------------------------------------------------------------
469
- ----------------------------------------------------------------------------
470
- RouteDowncaserTest::MultibyteTests: test_Additional_multibyte_downcase_tests
471
- ----------------------------------------------------------------------------
472
- -----------------------------------------------------------------------------------
473
- RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
474
- -----------------------------------------------------------------------------------
54
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2017-05-27 20:48:15 +0200
55
+ -----------------------------------------------------------
56
+ RouteMiddlewareTest: test_Input_and_output_env_are_the_same
57
+ -----------------------------------------------------------
475
58
  ------------------------------------------------------------------
476
59
  RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
477
60
  ------------------------------------------------------------------
478
- -----------------------------------------------------------------------
479
- RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
480
- -----------------------------------------------------------------------
61
+ -----------------------------------------------------------------------------------
62
+ RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
63
+ -----------------------------------------------------------------------------------
481
64
  ---------------------------------------------------------------------------------------
482
65
  RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
483
66
  ---------------------------------------------------------------------------------------
67
+ -----------------------------------------------------------------------
68
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
69
+ -----------------------------------------------------------------------