route_downcaser 1.1.3 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f3aa0dc706c2e0e79f499995dd7f208a12411f26
4
- data.tar.gz: 09ad5085c98a6de6e4cde0d7f502b6069b6a31a7
3
+ metadata.gz: 4646905b4ecfb610f5c41fb7f5b9d32500146092
4
+ data.tar.gz: c20294554fad43a8f65d1609460304534310be44
5
5
  SHA512:
6
- metadata.gz: ee8d1c5f6516d46240e4be2fd49ca54847f6699e4ab0c0ce566e3d94d1987e31cd9eae41910328abd394b162f1edfc89520761d8909ae498347199a6f9a70878
7
- data.tar.gz: 876bd53ce32f67fb6175a2c1be46a3756ec5e48343c3491e49b35c2b5e2e2983622767ada9c38003021714bcff07a19a7df52fc9238e0da1f773ad8e834ab1dc
6
+ metadata.gz: 0a05f13483e6b52d69d242b0cce9c6c4f2892d52f57b0ec5ea1df8264d2449999f33d87e56dc2059d7de15ccc874dd2436d9660ee8bab12956299d0cc2f31399
7
+ data.tar.gz: 2ee51dd632a644937a07c1e5553ef3bf8f547c113520f8624400251d3cce5f3ccbdf0d8299ab629ca0f9e29ba99699d312ec0d73503f7b53ac6375440b1e0cb2
data/README.rdoc CHANGED
@@ -100,6 +100,10 @@ All it really does is to take the path and downcase it before dispatching. Query
100
100
 
101
101
  == Changelog
102
102
 
103
+ === 1.1.4
104
+
105
+ Better solution to the incompatibility issue with Warden. Thank you to {l3akage}[https://github.com/l3akage]
106
+
103
107
  === 1.1.3
104
108
 
105
109
  Fixes issue #14. If Devise/Warden is used in the Rails app, RouteDowncaser::DowncaseRouteMiddleware needs to be inserted before Warden::Manager in the middleware list.
@@ -6,37 +6,44 @@ module RouteDowncaser
6
6
  end
7
7
 
8
8
  def call(env)
9
- new_env = env.clone
9
+ dup._call(env)
10
+ end
11
+
12
+ def _call(env)
13
+ old_env = {
14
+ 'REQUEST_URI' => env['REQUEST_URI'],
15
+ 'PATH_INFO' => env['PATH_INFO']
16
+ }
10
17
 
11
18
  # Don't touch anything, if uri/path is part of exclude_patterns
12
- if exclude_patterns_match?(new_env['REQUEST_URI']) or exclude_patterns_match?(new_env['PATH_INFO'])
13
- return @app.call(new_env)
19
+ if exclude_patterns_match?(env['REQUEST_URI']) or exclude_patterns_match?(env['PATH_INFO'])
20
+ return @app.call(env)
14
21
  end
15
22
 
16
23
  # Downcase request_uri and/or path_info if applicable
17
- if new_env['REQUEST_URI'].present?
18
- new_env['REQUEST_URI'] = downcased_uri(new_env['REQUEST_URI'])
24
+ if env['REQUEST_URI'].present?
25
+ env['REQUEST_URI'] = downcased_uri(env['REQUEST_URI'])
19
26
  end
20
27
 
21
- if new_env['PATH_INFO'].present?
22
- new_env['PATH_INFO'] = downcased_uri(new_env['PATH_INFO'])
28
+ if env['PATH_INFO'].present?
29
+ env['PATH_INFO'] = downcased_uri(env['PATH_INFO'])
23
30
  end
24
31
 
25
32
  # If redirect configured, then return redirect request,
26
33
  # if either request_uri or path_info has changed
27
- if RouteDowncaser.redirect && new_env['REQUEST_METHOD'] == "GET"
28
- if new_env["REQUEST_URI"].present? and new_env["REQUEST_URI"] != env["REQUEST_URI"]
29
- return redirect_header(new_env["REQUEST_URI"])
34
+ 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"])
30
37
  end
31
38
 
32
- if new_env["PATH_INFO"].present? and new_env["PATH_INFO"] != env["PATH_INFO"]
33
- return redirect_header(new_env["PATH_INFO"])
39
+ if env["PATH_INFO"].present? and old_env["PATH_INFO"] != env["PATH_INFO"]
40
+ return redirect_header(env["PATH_INFO"])
34
41
  end
35
42
  end
36
43
 
37
44
  # Default just move to next chain in Rack callstack
38
45
  # calling with downcased uri if needed
39
- @app.call(new_env)
46
+ @app.call(env)
40
47
  end
41
48
 
42
49
  private
@@ -1,12 +1,7 @@
1
1
  module RouteDowncaser
2
2
  class Railtie < Rails::Railtie
3
3
  initializer "add_downcase_route_middleware" do |app|
4
- # For some reason, RouteDowncaser needs to be inserted before Devise/Warden, if Devise is used
5
- # But since it is not possible to test for the presence of a specific middleware module,
6
- # we instead insert RouteDowncaser before a middleware module, that a) is always present
7
- # and b) is inserted before Devise/Warden is
8
- app.config.middleware.insert_before 'Rack::Head', 'RouteDowncaser::DowncaseRouteMiddleware'
4
+ app.config.middleware.use 'RouteDowncaser::DowncaseRouteMiddleware'
9
5
  end
10
6
  end
11
7
  end
12
-
@@ -1,3 +1,3 @@
1
1
  module RouteDowncaser
2
- VERSION = "1.1.3"
2
+ VERSION = "1.1.4"
3
3
  end
@@ -41,4 +41,15 @@ class RouteMiddlewareTest < ActionDispatch::IntegrationTest
41
41
  assert_equal("anybody out there?", @response.body)
42
42
  end
43
43
 
44
+ test 'Input and output env are the same' do
45
+ class App
46
+ def call(env) env; end
47
+ end
48
+
49
+ middleware = RouteDowncaser::DowncaseRouteMiddleware.new(App.new)
50
+
51
+ env = {}
52
+ new_env = middleware.call env
53
+ assert(new_env.equal? env)
54
+ end
44
55
  end
@@ -1467,3 +1467,980 @@ RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_
1467
1467
  -----------------------------------------------------------------------
1468
1468
  RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
1469
1469
  -----------------------------------------------------------------------
1470
+ -----------------------------------------------------
1471
+ RouteMiddlewareTest: test_Redirect_instead_of_rewrite
1472
+ -----------------------------------------------------
1473
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:04:02 +0200
1474
+ -----------------------------------------------------
1475
+ RouteMiddlewareTest: test_Assets_are_served_correctly
1476
+ -----------------------------------------------------
1477
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-05-30 16:04:02 +0200
1478
+ -------------------------------------------------------------
1479
+ RouteMiddlewareTest: test_Middleware_is_installed_and_working
1480
+ -------------------------------------------------------------
1481
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:04:02 +0200
1482
+ -------------------------------------------------------------------------------------
1483
+ RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
1484
+ -------------------------------------------------------------------------------------
1485
+ Started POST "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:04:02 +0200
1486
+ ------------------------------------------------------------------------------------------------------------------------------------------
1487
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
1488
+ ------------------------------------------------------------------------------------------------------------------------------------------
1489
+ --------------------------------------------------------------------------------------------------------------------------------------------
1490
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
1491
+ --------------------------------------------------------------------------------------------------------------------------------------------
1492
+ ------------------------------------------------------------------
1493
+ RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
1494
+ ------------------------------------------------------------------
1495
+ ---------------------------------------------------------------------------------------
1496
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
1497
+ ---------------------------------------------------------------------------------------
1498
+ -----------------------------------------------------------------------------------
1499
+ RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
1500
+ -----------------------------------------------------------------------------------
1501
+ -----------------------------------------------------------------------
1502
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
1503
+ -----------------------------------------------------------------------
1504
+ ------------------------------------------------------------------------------------------------------
1505
+ RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
1506
+ ------------------------------------------------------------------------------------------------------
1507
+ ---------------------------------------------------------------------------------------------
1508
+ RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
1509
+ ---------------------------------------------------------------------------------------------
1510
+ --------------------------------------------------------------------------------------------------------
1511
+ RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
1512
+ --------------------------------------------------------------------------------------------------------
1513
+ ----------------------------------------------------------------------------------------
1514
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
1515
+ ----------------------------------------------------------------------------------------
1516
+ ------------------------------------------------------------------------------------------
1517
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
1518
+ ------------------------------------------------------------------------------------------
1519
+ -----------------------------------------------------
1520
+ RouteMiddlewareTest: test_Assets_are_served_correctly
1521
+ -----------------------------------------------------
1522
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-05-30 16:05:26 +0200
1523
+ -------------------------------------------------------------------------------------
1524
+ RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
1525
+ -------------------------------------------------------------------------------------
1526
+ Started POST "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:05:26 +0200
1527
+ Processing by HelloController#world as HTML
1528
+ Rendered text template (0.0ms)
1529
+ Completed 200 OK in 9ms (Views: 2.8ms)
1530
+ -----------------------------------------------------
1531
+ RouteMiddlewareTest: test_Redirect_instead_of_rewrite
1532
+ -----------------------------------------------------
1533
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:05:26 +0200
1534
+ -------------------------------------------------------------
1535
+ RouteMiddlewareTest: test_Middleware_is_installed_and_working
1536
+ -------------------------------------------------------------
1537
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:05:26 +0200
1538
+ Processing by HelloController#world as HTML
1539
+ Rendered text template (0.0ms)
1540
+ Completed 200 OK in 0ms (Views: 0.2ms)
1541
+ ----------------------------------------------------------------------------------------
1542
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
1543
+ ----------------------------------------------------------------------------------------
1544
+ ------------------------------------------------------------------------------------------
1545
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
1546
+ ------------------------------------------------------------------------------------------
1547
+ ------------------------------------------------------------------------------------------------------------------------------------------
1548
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
1549
+ ------------------------------------------------------------------------------------------------------------------------------------------
1550
+ --------------------------------------------------------------------------------------------------------------------------------------------
1551
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
1552
+ --------------------------------------------------------------------------------------------------------------------------------------------
1553
+ ---------------------------------------------------------------------------------------------
1554
+ RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
1555
+ ---------------------------------------------------------------------------------------------
1556
+ --------------------------------------------------------------------------------------------------------
1557
+ RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
1558
+ --------------------------------------------------------------------------------------------------------
1559
+ ------------------------------------------------------------------------------------------------------
1560
+ RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
1561
+ ------------------------------------------------------------------------------------------------------
1562
+ -----------------------------------------------------------------------
1563
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
1564
+ -----------------------------------------------------------------------
1565
+ ---------------------------------------------------------------------------------------
1566
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
1567
+ ---------------------------------------------------------------------------------------
1568
+ ------------------------------------------------------------------
1569
+ RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
1570
+ ------------------------------------------------------------------
1571
+ -----------------------------------------------------------------------------------
1572
+ RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
1573
+ -----------------------------------------------------------------------------------
1574
+ ----------------------------------------------------------------------------------------
1575
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
1576
+ ----------------------------------------------------------------------------------------
1577
+ ------------------------------------------------------------------------------------------
1578
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
1579
+ ------------------------------------------------------------------------------------------
1580
+ -------------------------------------------------------------
1581
+ RouteMiddlewareTest: test_Middleware_is_installed_and_working
1582
+ -------------------------------------------------------------
1583
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:06:22 +0200
1584
+ Processing by HelloController#world as HTML
1585
+ Rendered text template (0.0ms)
1586
+ Completed 200 OK in 12ms (Views: 3.7ms)
1587
+ -----------------------------------------------------
1588
+ RouteMiddlewareTest: test_Redirect_instead_of_rewrite
1589
+ -----------------------------------------------------
1590
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:06:22 +0200
1591
+ -------------------------------------------------------------------------------------
1592
+ RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
1593
+ -------------------------------------------------------------------------------------
1594
+ Started POST "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:06:22 +0200
1595
+ Processing by HelloController#world as HTML
1596
+ Rendered text template (0.0ms)
1597
+ Completed 200 OK in 0ms (Views: 0.2ms)
1598
+ -----------------------------------------------------
1599
+ RouteMiddlewareTest: test_Assets_are_served_correctly
1600
+ -----------------------------------------------------
1601
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-05-30 16:06:22 +0200
1602
+ -----------------------------------------------------------------------------------
1603
+ RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
1604
+ -----------------------------------------------------------------------------------
1605
+ ---------------------------------------------------------------------------------------
1606
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
1607
+ ---------------------------------------------------------------------------------------
1608
+ ------------------------------------------------------------------
1609
+ RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
1610
+ ------------------------------------------------------------------
1611
+ -----------------------------------------------------------------------
1612
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
1613
+ -----------------------------------------------------------------------
1614
+ ------------------------------------------------------------------------------------------------------------------------------------------
1615
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
1616
+ ------------------------------------------------------------------------------------------------------------------------------------------
1617
+ --------------------------------------------------------------------------------------------------------------------------------------------
1618
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
1619
+ --------------------------------------------------------------------------------------------------------------------------------------------
1620
+ ---------------------------------------------------------------------------------------------
1621
+ RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
1622
+ ---------------------------------------------------------------------------------------------
1623
+ --------------------------------------------------------------------------------------------------------
1624
+ RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
1625
+ --------------------------------------------------------------------------------------------------------
1626
+ ------------------------------------------------------------------------------------------------------
1627
+ RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
1628
+ ------------------------------------------------------------------------------------------------------
1629
+ -----------------------------------------------------
1630
+ RouteMiddlewareTest: test_Assets_are_served_correctly
1631
+ -----------------------------------------------------
1632
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-05-30 16:15:54 +0200
1633
+ -------------------------------------------------------------
1634
+ RouteMiddlewareTest: test_Middleware_is_installed_and_working
1635
+ -------------------------------------------------------------
1636
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:15:54 +0200
1637
+ Processing by HelloController#world as HTML
1638
+ Rendered text template (0.0ms)
1639
+ Completed 200 OK in 10ms (Views: 3.0ms)
1640
+ -------------------------------------------------------------------------------------
1641
+ RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
1642
+ -------------------------------------------------------------------------------------
1643
+ Started POST "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:15:55 +0200
1644
+ Processing by HelloController#world as HTML
1645
+ Rendered text template (0.0ms)
1646
+ Completed 200 OK in 0ms (Views: 0.2ms)
1647
+ -----------------------------------------------------
1648
+ RouteMiddlewareTest: test_Redirect_instead_of_rewrite
1649
+ -----------------------------------------------------
1650
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:15:55 +0200
1651
+ ------------------------------------------------------------------
1652
+ RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
1653
+ ------------------------------------------------------------------
1654
+ -----------------------------------------------------------------------
1655
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
1656
+ -----------------------------------------------------------------------
1657
+ ---------------------------------------------------------------------------------------
1658
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
1659
+ ---------------------------------------------------------------------------------------
1660
+ -----------------------------------------------------------------------------------
1661
+ RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
1662
+ -----------------------------------------------------------------------------------
1663
+ --------------------------------------------------------------------------------------------------------------
1664
+ RouteDowncaserTest::EnvironmentTests: test_object_instances_in_call-env_must_not_be_touched_(happens_on_clone)
1665
+ --------------------------------------------------------------------------------------------------------------
1666
+ ------------------------------------------------------------------------------------------------------------------------------------------
1667
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
1668
+ ------------------------------------------------------------------------------------------------------------------------------------------
1669
+ --------------------------------------------------------------------------------------------------------------------------------------------
1670
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
1671
+ --------------------------------------------------------------------------------------------------------------------------------------------
1672
+ ----------------------------------------------------------------------------------------
1673
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
1674
+ ----------------------------------------------------------------------------------------
1675
+ ------------------------------------------------------------------------------------------
1676
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
1677
+ ------------------------------------------------------------------------------------------
1678
+ ---------------------------------------------------------------------------------------------
1679
+ RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
1680
+ ---------------------------------------------------------------------------------------------
1681
+ ------------------------------------------------------------------------------------------------------
1682
+ RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
1683
+ ------------------------------------------------------------------------------------------------------
1684
+ --------------------------------------------------------------------------------------------------------
1685
+ RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
1686
+ --------------------------------------------------------------------------------------------------------
1687
+ --------------------------------------------------------------------------------------------------------------
1688
+ RouteDowncaserTest::EnvironmentTests: test_object_instances_in_call-env_must_not_be_touched_(happens_on_clone)
1689
+ --------------------------------------------------------------------------------------------------------------
1690
+ --------------------------------------------------------------------------------------------------------
1691
+ RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
1692
+ --------------------------------------------------------------------------------------------------------
1693
+ ------------------------------------------------------------------------------------------------------
1694
+ RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
1695
+ ------------------------------------------------------------------------------------------------------
1696
+ ---------------------------------------------------------------------------------------------
1697
+ RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
1698
+ ---------------------------------------------------------------------------------------------
1699
+ -----------------------------------------------------------------------------------
1700
+ RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
1701
+ -----------------------------------------------------------------------------------
1702
+ -----------------------------------------------------------------------
1703
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
1704
+ -----------------------------------------------------------------------
1705
+ ------------------------------------------------------------------
1706
+ RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
1707
+ ------------------------------------------------------------------
1708
+ ---------------------------------------------------------------------------------------
1709
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
1710
+ ---------------------------------------------------------------------------------------
1711
+ -----------------------------------------------------
1712
+ RouteMiddlewareTest: test_Assets_are_served_correctly
1713
+ -----------------------------------------------------
1714
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-05-30 16:16:13 +0200
1715
+ -----------------------------------------------------
1716
+ RouteMiddlewareTest: test_Redirect_instead_of_rewrite
1717
+ -----------------------------------------------------
1718
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:16:13 +0200
1719
+ -------------------------------------------------------------
1720
+ RouteMiddlewareTest: test_Middleware_is_installed_and_working
1721
+ -------------------------------------------------------------
1722
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:16:13 +0200
1723
+ Processing by HelloController#world as HTML
1724
+ Rendered text template (0.0ms)
1725
+ Completed 200 OK in 9ms (Views: 2.9ms)
1726
+ -------------------------------------------------------------------------------------
1727
+ RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
1728
+ -------------------------------------------------------------------------------------
1729
+ Started POST "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:16:13 +0200
1730
+ Processing by HelloController#world as HTML
1731
+ Rendered text template (0.0ms)
1732
+ Completed 200 OK in 0ms (Views: 0.2ms)
1733
+ ------------------------------------------------------------------------------------------------------------------------------------------
1734
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
1735
+ ------------------------------------------------------------------------------------------------------------------------------------------
1736
+ --------------------------------------------------------------------------------------------------------------------------------------------
1737
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
1738
+ --------------------------------------------------------------------------------------------------------------------------------------------
1739
+ ----------------------------------------------------------------------------------------
1740
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
1741
+ ----------------------------------------------------------------------------------------
1742
+ ------------------------------------------------------------------------------------------
1743
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
1744
+ ------------------------------------------------------------------------------------------
1745
+ ------------------------------------------------------------------------------------------------------
1746
+ RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
1747
+ ------------------------------------------------------------------------------------------------------
1748
+ ---------------------------------------------------------------------------------------------
1749
+ RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
1750
+ ---------------------------------------------------------------------------------------------
1751
+ --------------------------------------------------------------------------------------------------------
1752
+ RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
1753
+ --------------------------------------------------------------------------------------------------------
1754
+ ----------------------------------------------------------------------------------------
1755
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
1756
+ ----------------------------------------------------------------------------------------
1757
+ ------------------------------------------------------------------------------------------
1758
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
1759
+ ------------------------------------------------------------------------------------------
1760
+ ------------------------------------------------------------------
1761
+ RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
1762
+ ------------------------------------------------------------------
1763
+ -----------------------------------------------------------------------------------
1764
+ RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
1765
+ -----------------------------------------------------------------------------------
1766
+ ---------------------------------------------------------------------------------------
1767
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
1768
+ ---------------------------------------------------------------------------------------
1769
+ -----------------------------------------------------------------------
1770
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
1771
+ -----------------------------------------------------------------------
1772
+ --------------------------------------------------------------------------------------------------------------
1773
+ RouteDowncaserTest::EnvironmentTests: test_object_instances_in_call-env_must_not_be_touched_(happens_on_clone)
1774
+ --------------------------------------------------------------------------------------------------------------
1775
+ ------------------------------------------------------------------------------------------------------------------------------------------
1776
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
1777
+ ------------------------------------------------------------------------------------------------------------------------------------------
1778
+ --------------------------------------------------------------------------------------------------------------------------------------------
1779
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
1780
+ --------------------------------------------------------------------------------------------------------------------------------------------
1781
+ -------------------------------------------------------------------------------------
1782
+ RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
1783
+ -------------------------------------------------------------------------------------
1784
+ Started POST "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:16:31 +0200
1785
+ Processing by HelloController#world as HTML
1786
+ Rendered text template (0.0ms)
1787
+ Completed 200 OK in 10ms (Views: 3.0ms)
1788
+ -------------------------------------------------------------
1789
+ RouteMiddlewareTest: test_Middleware_is_installed_and_working
1790
+ -------------------------------------------------------------
1791
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:16:31 +0200
1792
+ Processing by HelloController#world as HTML
1793
+ Rendered text template (0.0ms)
1794
+ Completed 200 OK in 0ms (Views: 0.2ms)
1795
+ -----------------------------------------------------
1796
+ RouteMiddlewareTest: test_Redirect_instead_of_rewrite
1797
+ -----------------------------------------------------
1798
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:16:31 +0200
1799
+ -----------------------------------------------------
1800
+ RouteMiddlewareTest: test_Assets_are_served_correctly
1801
+ -----------------------------------------------------
1802
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-05-30 16:16:31 +0200
1803
+ --------------------------------------------------------------------------------------------------------------------------------------------
1804
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
1805
+ --------------------------------------------------------------------------------------------------------------------------------------------
1806
+ ------------------------------------------------------------------------------------------------------------------------------------------
1807
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
1808
+ ------------------------------------------------------------------------------------------------------------------------------------------
1809
+ -----------------------------------------------------
1810
+ RouteMiddlewareTest: test_Redirect_instead_of_rewrite
1811
+ -----------------------------------------------------
1812
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:21:56 +0200
1813
+ -------------------------------------------------------------
1814
+ RouteMiddlewareTest: test_Middleware_is_installed_and_working
1815
+ -------------------------------------------------------------
1816
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:21:56 +0200
1817
+ Processing by HelloController#world as HTML
1818
+ Rendered text template (0.0ms)
1819
+ Completed 200 OK in 11ms (Views: 3.4ms)
1820
+ -------------------------------------------------------------------------------------
1821
+ RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
1822
+ -------------------------------------------------------------------------------------
1823
+ Started POST "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:21:56 +0200
1824
+ Processing by HelloController#world as HTML
1825
+ Rendered text template (0.0ms)
1826
+ Completed 200 OK in 0ms (Views: 0.2ms)
1827
+ -----------------------------------------------------
1828
+ RouteMiddlewareTest: test_Assets_are_served_correctly
1829
+ -----------------------------------------------------
1830
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-05-30 16:21:56 +0200
1831
+ -----------------------------------------------------------------------
1832
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
1833
+ -----------------------------------------------------------------------
1834
+ ---------------------------------------------------------------------------------------
1835
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
1836
+ ---------------------------------------------------------------------------------------
1837
+ ------------------------------------------------------------------
1838
+ RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
1839
+ ------------------------------------------------------------------
1840
+ -----------------------------------------------------------------------------------
1841
+ RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
1842
+ -----------------------------------------------------------------------------------
1843
+ ----------------------------------------------------------------------------------------
1844
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
1845
+ ----------------------------------------------------------------------------------------
1846
+ ------------------------------------------------------------------------------------------
1847
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
1848
+ ------------------------------------------------------------------------------------------
1849
+ --------------------------------------------------------------------------------------------------------
1850
+ RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
1851
+ --------------------------------------------------------------------------------------------------------
1852
+ ---------------------------------------------------------------------------------------------
1853
+ RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
1854
+ ---------------------------------------------------------------------------------------------
1855
+ ------------------------------------------------------------------------------------------------------
1856
+ RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
1857
+ ------------------------------------------------------------------------------------------------------
1858
+ --------------------------------------------------------------------------------------------------------------
1859
+ RouteDowncaserTest::EnvironmentTests: test_object_instances_in_call-env_must_not_be_touched_(happens_on_clone)
1860
+ --------------------------------------------------------------------------------------------------------------
1861
+ ---------------------------------------------------------------------------------------------
1862
+ RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
1863
+ ---------------------------------------------------------------------------------------------
1864
+ ------------------------------------------------------------------------------------------------------
1865
+ RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
1866
+ ------------------------------------------------------------------------------------------------------
1867
+ --------------------------------------------------------------------------------------------------------
1868
+ RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
1869
+ --------------------------------------------------------------------------------------------------------
1870
+ ----------------------------------------------------------------------------------------
1871
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
1872
+ ----------------------------------------------------------------------------------------
1873
+ ------------------------------------------------------------------------------------------
1874
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
1875
+ ------------------------------------------------------------------------------------------
1876
+ ------------------------------------------------------------------------------------------------------------------------------------------
1877
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
1878
+ ------------------------------------------------------------------------------------------------------------------------------------------
1879
+ --------------------------------------------------------------------------------------------------------------------------------------------
1880
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
1881
+ --------------------------------------------------------------------------------------------------------------------------------------------
1882
+ ---------------------------------------------------------------------------------------
1883
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
1884
+ ---------------------------------------------------------------------------------------
1885
+ -----------------------------------------------------------------------
1886
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
1887
+ -----------------------------------------------------------------------
1888
+ -----------------------------------------------------------------------------------
1889
+ RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
1890
+ -----------------------------------------------------------------------------------
1891
+ ------------------------------------------------------------------
1892
+ RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
1893
+ ------------------------------------------------------------------
1894
+ --------------------------------------------------------------------------------------------------------------
1895
+ RouteDowncaserTest::EnvironmentTests: test_object_instances_in_call-env_must_not_be_touched_(happens_on_clone)
1896
+ --------------------------------------------------------------------------------------------------------------
1897
+ -----------------------------------------------------
1898
+ RouteMiddlewareTest: test_Assets_are_served_correctly
1899
+ -----------------------------------------------------
1900
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-05-30 16:22:07 +0200
1901
+ -------------------------------------------------------------------------------------
1902
+ RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
1903
+ -------------------------------------------------------------------------------------
1904
+ Started POST "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:22:07 +0200
1905
+ Processing by HelloController#world as HTML
1906
+ Rendered text template (0.0ms)
1907
+ Completed 200 OK in 9ms (Views: 2.9ms)
1908
+ -----------------------------------------------------
1909
+ RouteMiddlewareTest: test_Redirect_instead_of_rewrite
1910
+ -----------------------------------------------------
1911
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:22:07 +0200
1912
+ -------------------------------------------------------------
1913
+ RouteMiddlewareTest: test_Middleware_is_installed_and_working
1914
+ -------------------------------------------------------------
1915
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:22:07 +0200
1916
+ Processing by HelloController#world as HTML
1917
+ Rendered text template (0.0ms)
1918
+ Completed 200 OK in 0ms (Views: 0.2ms)
1919
+ ------------------------------------------------------------------
1920
+ RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
1921
+ ------------------------------------------------------------------
1922
+ -----------------------------------------------------------------------------------
1923
+ RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
1924
+ -----------------------------------------------------------------------------------
1925
+ -----------------------------------------------------------------------
1926
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
1927
+ -----------------------------------------------------------------------
1928
+ ---------------------------------------------------------------------------------------
1929
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
1930
+ ---------------------------------------------------------------------------------------
1931
+ ------------------------------------------------------------------------------------------
1932
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
1933
+ ------------------------------------------------------------------------------------------
1934
+ ----------------------------------------------------------------------------------------
1935
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
1936
+ ----------------------------------------------------------------------------------------
1937
+ --------------------------------------------------------------------------------------------------------------------------------------------
1938
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
1939
+ --------------------------------------------------------------------------------------------------------------------------------------------
1940
+ ------------------------------------------------------------------------------------------------------------------------------------------
1941
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
1942
+ ------------------------------------------------------------------------------------------------------------------------------------------
1943
+ -------------------------------------------------------------
1944
+ RouteMiddlewareTest: test_Middleware_is_installed_and_working
1945
+ -------------------------------------------------------------
1946
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:22:24 +0200
1947
+ Processing by HelloController#world as HTML
1948
+ Rendered text template (0.0ms)
1949
+ Completed 200 OK in 10ms (Views: 3.2ms)
1950
+ -------------------------------------------------------------------------------------
1951
+ RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
1952
+ -------------------------------------------------------------------------------------
1953
+ Started POST "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:22:24 +0200
1954
+ Processing by HelloController#world as HTML
1955
+ Rendered text template (0.0ms)
1956
+ Completed 200 OK in 0ms (Views: 0.2ms)
1957
+ -----------------------------------------------------
1958
+ RouteMiddlewareTest: test_Assets_are_served_correctly
1959
+ -----------------------------------------------------
1960
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-05-30 16:22:24 +0200
1961
+ -----------------------------------------------------
1962
+ RouteMiddlewareTest: test_Redirect_instead_of_rewrite
1963
+ -----------------------------------------------------
1964
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:22:24 +0200
1965
+ ---------------------------------------------------------------------------------------------
1966
+ RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
1967
+ ---------------------------------------------------------------------------------------------
1968
+ --------------------------------------------------------------------------------------------------------
1969
+ RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
1970
+ --------------------------------------------------------------------------------------------------------
1971
+ ------------------------------------------------------------------------------------------------------
1972
+ RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
1973
+ ------------------------------------------------------------------------------------------------------
1974
+ --------------------------------------------------------------------------------------------------------------
1975
+ RouteDowncaserTest::EnvironmentTests: test_object_instances_in_call-env_must_not_be_touched_(happens_on_clone)
1976
+ --------------------------------------------------------------------------------------------------------------
1977
+ -----------------------------------------------------------------------
1978
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
1979
+ -----------------------------------------------------------------------
1980
+ ---------------------------------------------------------------------------------------
1981
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
1982
+ ---------------------------------------------------------------------------------------
1983
+ -----------------------------------------------------------------------------------
1984
+ RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
1985
+ -----------------------------------------------------------------------------------
1986
+ ------------------------------------------------------------------
1987
+ RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
1988
+ ------------------------------------------------------------------
1989
+ -------------------------------------------------------------
1990
+ RouteMiddlewareTest: test_Middleware_is_installed_and_working
1991
+ -------------------------------------------------------------
1992
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:22:51 +0200
1993
+ Processing by HelloController#world as HTML
1994
+ Rendered text template (0.0ms)
1995
+ Completed 200 OK in 11ms (Views: 3.5ms)
1996
+ -----------------------------------------------------
1997
+ RouteMiddlewareTest: test_Assets_are_served_correctly
1998
+ -----------------------------------------------------
1999
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-05-30 16:22:51 +0200
2000
+ -------------------------------------------------------------------------------------
2001
+ RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
2002
+ -------------------------------------------------------------------------------------
2003
+ Started POST "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:22:51 +0200
2004
+ Processing by HelloController#world as HTML
2005
+ Rendered text template (0.0ms)
2006
+ Completed 200 OK in 0ms (Views: 0.2ms)
2007
+ -----------------------------------------------------
2008
+ RouteMiddlewareTest: test_Redirect_instead_of_rewrite
2009
+ -----------------------------------------------------
2010
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:22:51 +0200
2011
+ ----------------------------------------------------------------------------------------
2012
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
2013
+ ----------------------------------------------------------------------------------------
2014
+ ------------------------------------------------------------------------------------------
2015
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
2016
+ ------------------------------------------------------------------------------------------
2017
+ --------------------------------------------------------------------------------------------------------------------------------------------
2018
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
2019
+ --------------------------------------------------------------------------------------------------------------------------------------------
2020
+ ------------------------------------------------------------------------------------------------------------------------------------------
2021
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
2022
+ ------------------------------------------------------------------------------------------------------------------------------------------
2023
+ --------------------------------------------------------------------------------------------------------------
2024
+ RouteDowncaserTest::EnvironmentTests: test_object_instances_in_call-env_must_not_be_touched_(happens_on_clone)
2025
+ --------------------------------------------------------------------------------------------------------------
2026
+ --------------------------------------------------------------------------------------------------------
2027
+ RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
2028
+ --------------------------------------------------------------------------------------------------------
2029
+ ---------------------------------------------------------------------------------------------
2030
+ RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
2031
+ ---------------------------------------------------------------------------------------------
2032
+ ------------------------------------------------------------------------------------------------------
2033
+ RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
2034
+ ------------------------------------------------------------------------------------------------------
2035
+ ----------------------------------------------------------------------------------------
2036
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
2037
+ ----------------------------------------------------------------------------------------
2038
+ ------------------------------------------------------------------------------------------
2039
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
2040
+ ------------------------------------------------------------------------------------------
2041
+ --------------------------------------------------------------------------------------------------------------
2042
+ RouteDowncaserTest::EnvironmentTests: test_object_instances_in_call-env_must_not_be_touched_(happens_on_clone)
2043
+ --------------------------------------------------------------------------------------------------------------
2044
+ -------------------------------------------------------------------------------------
2045
+ RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
2046
+ -------------------------------------------------------------------------------------
2047
+ Started POST "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:23:33 +0200
2048
+ Processing by HelloController#world as HTML
2049
+ Rendered text template (0.0ms)
2050
+ Completed 200 OK in 11ms (Views: 3.5ms)
2051
+ -------------------------------------------------------------
2052
+ RouteMiddlewareTest: test_Middleware_is_installed_and_working
2053
+ -------------------------------------------------------------
2054
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:23:33 +0200
2055
+ Processing by HelloController#world as HTML
2056
+ Rendered text template (0.0ms)
2057
+ Completed 200 OK in 0ms (Views: 0.2ms)
2058
+ -----------------------------------------------------
2059
+ RouteMiddlewareTest: test_Assets_are_served_correctly
2060
+ -----------------------------------------------------
2061
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-05-30 16:23:33 +0200
2062
+ -----------------------------------------------------
2063
+ RouteMiddlewareTest: test_Redirect_instead_of_rewrite
2064
+ -----------------------------------------------------
2065
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:23:33 +0200
2066
+ --------------------------------------------------------------------------------------------------------
2067
+ RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
2068
+ --------------------------------------------------------------------------------------------------------
2069
+ ------------------------------------------------------------------------------------------------------
2070
+ RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
2071
+ ------------------------------------------------------------------------------------------------------
2072
+ ---------------------------------------------------------------------------------------------
2073
+ RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
2074
+ ---------------------------------------------------------------------------------------------
2075
+ ------------------------------------------------------------------------------------------------------------------------------------------
2076
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
2077
+ ------------------------------------------------------------------------------------------------------------------------------------------
2078
+ --------------------------------------------------------------------------------------------------------------------------------------------
2079
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
2080
+ --------------------------------------------------------------------------------------------------------------------------------------------
2081
+ -----------------------------------------------------------------------
2082
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
2083
+ -----------------------------------------------------------------------
2084
+ ---------------------------------------------------------------------------------------
2085
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
2086
+ ---------------------------------------------------------------------------------------
2087
+ ------------------------------------------------------------------
2088
+ RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
2089
+ ------------------------------------------------------------------
2090
+ -----------------------------------------------------------------------------------
2091
+ RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
2092
+ -----------------------------------------------------------------------------------
2093
+ --------------------------------------------------------------------------------------------------------------
2094
+ RouteDowncaserTest::EnvironmentTests: test_object_instances_in_call-env_must_not_be_touched_(happens_on_clone)
2095
+ --------------------------------------------------------------------------------------------------------------
2096
+ ------------------------------------------------------------------------------------------------------------------------------------------
2097
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
2098
+ ------------------------------------------------------------------------------------------------------------------------------------------
2099
+ --------------------------------------------------------------------------------------------------------------------------------------------
2100
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
2101
+ --------------------------------------------------------------------------------------------------------------------------------------------
2102
+ ---------------------------------------------------------------------------------------
2103
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
2104
+ ---------------------------------------------------------------------------------------
2105
+ ------------------------------------------------------------------
2106
+ RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
2107
+ ------------------------------------------------------------------
2108
+ -----------------------------------------------------------------------------------
2109
+ RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
2110
+ -----------------------------------------------------------------------------------
2111
+ -----------------------------------------------------------------------
2112
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
2113
+ -----------------------------------------------------------------------
2114
+ ---------------------------------------------------------------------------------------------
2115
+ RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
2116
+ ---------------------------------------------------------------------------------------------
2117
+ --------------------------------------------------------------------------------------------------------
2118
+ RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
2119
+ --------------------------------------------------------------------------------------------------------
2120
+ ------------------------------------------------------------------------------------------------------
2121
+ RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
2122
+ ------------------------------------------------------------------------------------------------------
2123
+ ----------------------------------------------------------------------------------------
2124
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
2125
+ ----------------------------------------------------------------------------------------
2126
+ ------------------------------------------------------------------------------------------
2127
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
2128
+ ------------------------------------------------------------------------------------------
2129
+ -------------------------------------------------------------
2130
+ RouteMiddlewareTest: test_Middleware_is_installed_and_working
2131
+ -------------------------------------------------------------
2132
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:24:08 +0200
2133
+ Processing by HelloController#world as HTML
2134
+ Rendered text template (0.0ms)
2135
+ Completed 200 OK in 10ms (Views: 3.1ms)
2136
+ -----------------------------------------------------
2137
+ RouteMiddlewareTest: test_Redirect_instead_of_rewrite
2138
+ -----------------------------------------------------
2139
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:24:08 +0200
2140
+ -----------------------------------------------------
2141
+ RouteMiddlewareTest: test_Assets_are_served_correctly
2142
+ -----------------------------------------------------
2143
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-05-30 16:24:08 +0200
2144
+ -------------------------------------------------------------------------------------
2145
+ RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
2146
+ -------------------------------------------------------------------------------------
2147
+ Started POST "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 16:24:08 +0200
2148
+ Processing by HelloController#world as HTML
2149
+ Rendered text template (0.0ms)
2150
+ Completed 200 OK in 0ms (Views: 0.2ms)
2151
+ -----------------------------------------------------
2152
+ RouteMiddlewareTest: test_Redirect_instead_of_rewrite
2153
+ -----------------------------------------------------
2154
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 21:13:12 +0200
2155
+ -------------------------------------------------------------
2156
+ RouteMiddlewareTest: test_Middleware_is_installed_and_working
2157
+ -------------------------------------------------------------
2158
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 21:13:12 +0200
2159
+ Processing by HelloController#world as HTML
2160
+ Rendered text template (0.0ms)
2161
+ Completed 200 OK in 10ms (Views: 3.1ms)
2162
+ -----------------------------------------------------
2163
+ RouteMiddlewareTest: test_Assets_are_served_correctly
2164
+ -----------------------------------------------------
2165
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-05-30 21:13:12 +0200
2166
+ -----------------------------------------------------------
2167
+ RouteMiddlewareTest: test_Input_and_output_env_are_the_same
2168
+ -----------------------------------------------------------
2169
+ -------------------------------------------------------------------------------------
2170
+ RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
2171
+ -------------------------------------------------------------------------------------
2172
+ Started POST "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 21:13:12 +0200
2173
+ Processing by HelloController#world as HTML
2174
+ Rendered text template (0.0ms)
2175
+ Completed 200 OK in 0ms (Views: 0.2ms)
2176
+ ---------------------------------------------------------------------------------------------
2177
+ RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
2178
+ ---------------------------------------------------------------------------------------------
2179
+ --------------------------------------------------------------------------------------------------------
2180
+ RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
2181
+ --------------------------------------------------------------------------------------------------------
2182
+ ------------------------------------------------------------------------------------------------------
2183
+ RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
2184
+ ------------------------------------------------------------------------------------------------------
2185
+ --------------------------------------------------------------------------------------------------------------
2186
+ RouteDowncaserTest::EnvironmentTests: test_object_instances_in_call-env_must_not_be_touched_(happens_on_clone)
2187
+ --------------------------------------------------------------------------------------------------------------
2188
+ ------------------------------------------------------------------
2189
+ RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
2190
+ ------------------------------------------------------------------
2191
+ -----------------------------------------------------------------------------------
2192
+ RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
2193
+ -----------------------------------------------------------------------------------
2194
+ ---------------------------------------------------------------------------------------
2195
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
2196
+ ---------------------------------------------------------------------------------------
2197
+ -----------------------------------------------------------------------
2198
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
2199
+ -----------------------------------------------------------------------
2200
+ ----------------------------------------------------------------------------------------
2201
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
2202
+ ----------------------------------------------------------------------------------------
2203
+ ------------------------------------------------------------------------------------------
2204
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
2205
+ ------------------------------------------------------------------------------------------
2206
+ ------------------------------------------------------------------------------------------------------------------------------------------
2207
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
2208
+ ------------------------------------------------------------------------------------------------------------------------------------------
2209
+ --------------------------------------------------------------------------------------------------------------------------------------------
2210
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
2211
+ --------------------------------------------------------------------------------------------------------------------------------------------
2212
+ ---------------------------------------------------------------------------------------------
2213
+ RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
2214
+ ---------------------------------------------------------------------------------------------
2215
+ ------------------------------------------------------------------------------------------------------
2216
+ RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
2217
+ ------------------------------------------------------------------------------------------------------
2218
+ --------------------------------------------------------------------------------------------------------
2219
+ RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
2220
+ --------------------------------------------------------------------------------------------------------
2221
+ -----------------------------------------------------------
2222
+ RouteMiddlewareTest: test_Input_and_output_env_are_the_same
2223
+ -----------------------------------------------------------
2224
+ -------------------------------------------------------------
2225
+ RouteMiddlewareTest: test_Middleware_is_installed_and_working
2226
+ -------------------------------------------------------------
2227
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 21:13:47 +0200
2228
+ Processing by HelloController#world as HTML
2229
+ Rendered text template (0.0ms)
2230
+ Completed 200 OK in 9ms (Views: 3.0ms)
2231
+ -------------------------------------------------------------------------------------
2232
+ RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
2233
+ -------------------------------------------------------------------------------------
2234
+ Started POST "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 21:13:47 +0200
2235
+ Processing by HelloController#world as HTML
2236
+ Rendered text template (0.0ms)
2237
+ Completed 200 OK in 0ms (Views: 0.2ms)
2238
+ -----------------------------------------------------
2239
+ RouteMiddlewareTest: test_Assets_are_served_correctly
2240
+ -----------------------------------------------------
2241
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-05-30 21:13:47 +0200
2242
+ -----------------------------------------------------
2243
+ RouteMiddlewareTest: test_Redirect_instead_of_rewrite
2244
+ -----------------------------------------------------
2245
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 21:13:47 +0200
2246
+ ------------------------------------------------------------------
2247
+ RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
2248
+ ------------------------------------------------------------------
2249
+ -----------------------------------------------------------------------------------
2250
+ RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
2251
+ -----------------------------------------------------------------------------------
2252
+ -----------------------------------------------------------------------
2253
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
2254
+ -----------------------------------------------------------------------
2255
+ ---------------------------------------------------------------------------------------
2256
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
2257
+ ---------------------------------------------------------------------------------------
2258
+ ------------------------------------------------------------------------------------------------------------------------------------------
2259
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
2260
+ ------------------------------------------------------------------------------------------------------------------------------------------
2261
+ --------------------------------------------------------------------------------------------------------------------------------------------
2262
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
2263
+ --------------------------------------------------------------------------------------------------------------------------------------------
2264
+ --------------------------------------------------------------------------------------------------------------
2265
+ RouteDowncaserTest::EnvironmentTests: test_object_instances_in_call-env_must_not_be_touched_(happens_on_clone)
2266
+ --------------------------------------------------------------------------------------------------------------
2267
+ ----------------------------------------------------------------------------------------
2268
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
2269
+ ----------------------------------------------------------------------------------------
2270
+ ------------------------------------------------------------------------------------------
2271
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
2272
+ ------------------------------------------------------------------------------------------
2273
+ ------------------------------------------------------------------------------------------------------------------------------------------
2274
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
2275
+ ------------------------------------------------------------------------------------------------------------------------------------------
2276
+ --------------------------------------------------------------------------------------------------------------------------------------------
2277
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
2278
+ --------------------------------------------------------------------------------------------------------------------------------------------
2279
+ ----------------------------------------------------------------------------------------
2280
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
2281
+ ----------------------------------------------------------------------------------------
2282
+ ------------------------------------------------------------------------------------------
2283
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
2284
+ ------------------------------------------------------------------------------------------
2285
+ ------------------------------------------------------------------
2286
+ RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
2287
+ ------------------------------------------------------------------
2288
+ -----------------------------------------------------------------------
2289
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
2290
+ -----------------------------------------------------------------------
2291
+ -----------------------------------------------------------------------------------
2292
+ RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
2293
+ -----------------------------------------------------------------------------------
2294
+ ---------------------------------------------------------------------------------------
2295
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
2296
+ ---------------------------------------------------------------------------------------
2297
+ -----------------------------------------------------
2298
+ RouteMiddlewareTest: test_Assets_are_served_correctly
2299
+ -----------------------------------------------------
2300
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-05-30 21:14:36 +0200
2301
+ -----------------------------------------------------------
2302
+ RouteMiddlewareTest: test_Input_and_output_env_are_the_same
2303
+ -----------------------------------------------------------
2304
+ -------------------------------------------------------------
2305
+ RouteMiddlewareTest: test_Middleware_is_installed_and_working
2306
+ -------------------------------------------------------------
2307
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 21:14:36 +0200
2308
+ Processing by HelloController#world as HTML
2309
+ Rendered text template (0.0ms)
2310
+ Completed 200 OK in 9ms (Views: 2.8ms)
2311
+ -----------------------------------------------------
2312
+ RouteMiddlewareTest: test_Redirect_instead_of_rewrite
2313
+ -----------------------------------------------------
2314
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 21:14:36 +0200
2315
+ -------------------------------------------------------------------------------------
2316
+ RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
2317
+ -------------------------------------------------------------------------------------
2318
+ Started POST "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 21:14:36 +0200
2319
+ Processing by HelloController#world as HTML
2320
+ Rendered text template (0.0ms)
2321
+ Completed 200 OK in 0ms (Views: 0.2ms)
2322
+ --------------------------------------------------------------------------------------------------------
2323
+ RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
2324
+ --------------------------------------------------------------------------------------------------------
2325
+ ---------------------------------------------------------------------------------------------
2326
+ RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
2327
+ ---------------------------------------------------------------------------------------------
2328
+ ------------------------------------------------------------------------------------------------------
2329
+ RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
2330
+ ------------------------------------------------------------------------------------------------------
2331
+ ---------------------------------------------------------------------------------------
2332
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
2333
+ ---------------------------------------------------------------------------------------
2334
+ -----------------------------------------------------------------------
2335
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
2336
+ -----------------------------------------------------------------------
2337
+ ------------------------------------------------------------------
2338
+ RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
2339
+ ------------------------------------------------------------------
2340
+ -----------------------------------------------------------------------------------
2341
+ RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
2342
+ -----------------------------------------------------------------------------------
2343
+ ------------------------------------------------------------------------------------------
2344
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
2345
+ ------------------------------------------------------------------------------------------
2346
+ ----------------------------------------------------------------------------------------
2347
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
2348
+ ----------------------------------------------------------------------------------------
2349
+ ------------------------------------------------------------------------------------------------------------------------------------------
2350
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
2351
+ ------------------------------------------------------------------------------------------------------------------------------------------
2352
+ --------------------------------------------------------------------------------------------------------------------------------------------
2353
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
2354
+ --------------------------------------------------------------------------------------------------------------------------------------------
2355
+ -----------------------------------------------------------
2356
+ RouteMiddlewareTest: test_Input_and_output_env_are_the_same
2357
+ -----------------------------------------------------------
2358
+ -------------------------------------------------------------
2359
+ RouteMiddlewareTest: test_Middleware_is_installed_and_working
2360
+ -------------------------------------------------------------
2361
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 21:14:49 +0200
2362
+ Processing by HelloController#world as HTML
2363
+ Rendered text template (0.0ms)
2364
+ Completed 200 OK in 11ms (Views: 3.3ms)
2365
+ -------------------------------------------------------------------------------------
2366
+ RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
2367
+ -------------------------------------------------------------------------------------
2368
+ Started POST "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 21:14:49 +0200
2369
+ Processing by HelloController#world as HTML
2370
+ Rendered text template (0.0ms)
2371
+ Completed 200 OK in 0ms (Views: 0.2ms)
2372
+ -----------------------------------------------------
2373
+ RouteMiddlewareTest: test_Assets_are_served_correctly
2374
+ -----------------------------------------------------
2375
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-05-30 21:14:49 +0200
2376
+ -----------------------------------------------------
2377
+ RouteMiddlewareTest: test_Redirect_instead_of_rewrite
2378
+ -----------------------------------------------------
2379
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 21:14:49 +0200
2380
+ ------------------------------------------------------------------------------------------------------
2381
+ RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
2382
+ ------------------------------------------------------------------------------------------------------
2383
+ --------------------------------------------------------------------------------------------------------
2384
+ RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
2385
+ --------------------------------------------------------------------------------------------------------
2386
+ ---------------------------------------------------------------------------------------------
2387
+ RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
2388
+ ---------------------------------------------------------------------------------------------
2389
+ ------------------------------------------------------------------------------------------------------------------------------------------
2390
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_PATH_INFO_match_exclude_patterns
2391
+ ------------------------------------------------------------------------------------------------------------------------------------------
2392
+ --------------------------------------------------------------------------------------------------------------------------------------------
2393
+ RouteDowncaserTest::RedirectTrueExcludePatternsTests: test_when_redirect_is_true_it_does_not_redirect,_if_REQUEST_URI_match_exclude_patterns
2394
+ --------------------------------------------------------------------------------------------------------------------------------------------
2395
+ ---------------------------------------------------------------------------------------------
2396
+ RouteDowncaserTest::ExcludePatternsTests: test_the_call_environment_should_always_be_returned
2397
+ ---------------------------------------------------------------------------------------------
2398
+ ------------------------------------------------------------------------------------------------------
2399
+ RouteDowncaserTest::ExcludePatternsTests: test_when_PATH_INFO_is_found_in_exclude_patterns,_do_nothing
2400
+ ------------------------------------------------------------------------------------------------------
2401
+ --------------------------------------------------------------------------------------------------------
2402
+ RouteDowncaserTest::ExcludePatternsTests: test_when_REQUEST_URI_is_found_in_exclude_patterns,_do_nothing
2403
+ --------------------------------------------------------------------------------------------------------
2404
+ ------------------------------------------------------------------------------------------
2405
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_REQUEST_URI
2406
+ ------------------------------------------------------------------------------------------
2407
+ ----------------------------------------------------------------------------------------
2408
+ RouteDowncaserTest::RedirectTrueTests: test_when_redirect_is_true_it_redirects_PATH_INFO
2409
+ ----------------------------------------------------------------------------------------
2410
+ ------------------------------------------------------------------
2411
+ RouteDowncaserTest::BasicTests: test_entire_PATH_INFO_is_downcased
2412
+ ------------------------------------------------------------------
2413
+ ---------------------------------------------------------------------------------------
2414
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_querystring_parameters_are_not_touched
2415
+ ---------------------------------------------------------------------------------------
2416
+ -----------------------------------------------------------------------------------
2417
+ RouteDowncaserTest::BasicTests: test_the_call_environment_should_always_be_returned
2418
+ -----------------------------------------------------------------------------------
2419
+ -----------------------------------------------------------------------
2420
+ RouteDowncaserTest::BasicTests: test_REQUEST_URI_path-part_is_downcased
2421
+ -----------------------------------------------------------------------
2422
+ -----------------------------------------------------
2423
+ RouteMiddlewareTest: test_Assets_are_served_correctly
2424
+ -----------------------------------------------------
2425
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-05-30 21:22:53 +0200
2426
+ -----------------------------------------------------------
2427
+ RouteMiddlewareTest: test_Input_and_output_env_are_the_same
2428
+ -----------------------------------------------------------
2429
+ -------------------------------------------------------------------------------------
2430
+ RouteMiddlewareTest: test_Only_GET_requests_should_be_redirected,_POST_should_rewrite
2431
+ -------------------------------------------------------------------------------------
2432
+ Started POST "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 21:22:53 +0200
2433
+ Processing by HelloController#world as HTML
2434
+ Rendered text template (0.0ms)
2435
+ Completed 200 OK in 10ms (Views: 2.9ms)
2436
+ -------------------------------------------------------------
2437
+ RouteMiddlewareTest: test_Middleware_is_installed_and_working
2438
+ -------------------------------------------------------------
2439
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 21:22:53 +0200
2440
+ Processing by HelloController#world as HTML
2441
+ Rendered text template (0.0ms)
2442
+ Completed 200 OK in 0ms (Views: 0.2ms)
2443
+ -----------------------------------------------------
2444
+ RouteMiddlewareTest: test_Redirect_instead_of_rewrite
2445
+ -----------------------------------------------------
2446
+ Started GET "/HELLO/WORLD" for 127.0.0.1 at 2015-05-30 21:22:53 +0200
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: route_downcaser
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carsten Gehling