simplificator_infrastructure 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2f65b793e6b7299ebcf439320f35522aa3585001
4
- data.tar.gz: 2081c31a9b08d2c2d2f3c06c6976d53940ca692e
3
+ metadata.gz: be754a84b2e9cc491203cf0f0988b55686e085a6
4
+ data.tar.gz: 42e4398095ab1964536d44c5514ed323731f7a61
5
5
  SHA512:
6
- metadata.gz: 6fa69432902b63e2d80aff5a94705e382acaffd0ee123b9e1f1b8d6b33610bd8f133cce59afe2de3637a78a24754ade632f60e1e0215d8a63e065ca0b4efe7d8
7
- data.tar.gz: 716c8e04b48ce772a7b74569ca82ec6b752f4e8d9322368cf9f0cc58f5dc35c630006b730d3f8d1c1af5ebc00a70e7e94817e9d1c42d30d449786194938d4f6e
6
+ metadata.gz: 3d9003429fdb0a281f602032029049aac7c97bae9d787c0c098544ff9ea16b7b567b989fadaaf29ee7ad4a169816e3a7196a8a1a967a419b4bf0aba841a08e56
7
+ data.tar.gz: c244d689375da4e583c6aed1271b53917ea25570d797ec9edecaa720fa6497702664bf67299f10c1278cb4a0296970f68f63edd4459796b570fddea410fd8661
@@ -1,4 +1,9 @@
1
1
  module SimplificatorInfrastructure
2
2
  module ApplicationHelper
3
+
4
+ def referrer_or_root(request)
5
+ referrer = request.env["HTTP_REFERER"]
6
+ referrer.presence || '/'
7
+ end
3
8
  end
4
9
  end
@@ -1,7 +1,7 @@
1
1
  <div class="content">
2
2
  <h1 class="error"><%= I18n.t("simplificator_infrastructure.errors.404.title") %></h1>
3
3
  <p class="lead"><%= I18n.t("simplificator_infrastructure.errors.404.lead") %></p>
4
- <p><%= (I18n.t("simplificator_infrastructure.errors.404.text") % {referrer: request.env["HTTP_REFERER"]}).html_safe %></p>
4
+ <p><%= (I18n.t("simplificator_infrastructure.errors.404.text") % {referrer: referrer_or_root(request)}).html_safe %></p>
5
5
  <p>
6
6
  <%= image_tag("simplificator_infrastructure/errors/error_404.png", class: 'icon')%>
7
7
  <br/>
@@ -15,7 +15,7 @@ class SimplificatorInfrastructure::ErrorPageHandler
15
15
  end
16
16
 
17
17
  def self.register_exception_app
18
- Rails.application.config.exceptions_app= lambda do |env|
18
+ Rails.application.config.exceptions_app = lambda do |env|
19
19
  action = SimplificatorInfrastructure::ErrorsController.action(:render_error)
20
20
  action.call(env)
21
21
  end
@@ -1,3 +1,3 @@
1
1
  module SimplificatorInfrastructure
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -587,3 +587,429 @@ Started GET "/assets/simplificator_infrastructure/application-6003a83c88a1f90ef3
587
587
 
588
588
 
589
589
  Started GET "/assets/simplificator_infrastructure/errors/logo-48573dc0d89ffec82bd936f919c7b96d.png" for ::1 at 2015-01-21 09:50:52 +0100
590
+
591
+
592
+ Started GET "/error_previews/preview?code=404&locale=en" for ::1 at 2015-01-21 09:57:02 +0100
593
+ Processing by ErrorPreviewsController#preview as HTML
594
+ Parameters: {"code"=>"404", "locale"=>"en"}
595
+ Completed 404 Not Found in 0ms
596
+
597
+ ActionController::RoutingError (Was asked to raise generate a 404):
598
+ app/controllers/error_previews_controller.rb:9:in `preview'
599
+
600
+
601
+ Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
602
+ Parameters: {"code"=>"404", "locale"=>"en"}
603
+ Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (3.9ms)
604
+ Completed 404 Not Found in 35ms (Views: 30.3ms)
605
+
606
+
607
+ Started GET "/assets/simplificator_infrastructure/errors-928ba3bb41870ff2506534e889b5a343.css?body=1" for ::1 at 2015-01-21 09:57:02 +0100
608
+
609
+
610
+ Started GET "/assets/simplificator_infrastructure/application-680fe1d8377d3b30ccc6040ff6efb0f6.css?body=1" for ::1 at 2015-01-21 09:57:02 +0100
611
+
612
+
613
+ Started GET "/assets/simplificator_infrastructure/application-6003a83c88a1f90ef300f4f20d8f3218.js?body=1" for ::1 at 2015-01-21 09:57:02 +0100
614
+
615
+
616
+ Started GET "/assets/simplificator_infrastructure/errors/error_404-1b456d7204a73d7e2b991d63e1bb0bb6.png" for ::1 at 2015-01-21 09:57:02 +0100
617
+
618
+
619
+ Started GET "/assets/simplificator_infrastructure/errors/logo-48573dc0d89ffec82bd936f919c7b96d.png" for ::1 at 2015-01-21 09:57:02 +0100
620
+
621
+
622
+ Started GET "/" for ::1 at 2015-01-21 09:57:04 +0100
623
+ Processing by ErrorPreviewsController#index as HTML
624
+ Rendered error_previews/index.html.erb within layouts/application (0.3ms)
625
+ Completed 200 OK in 15ms (Views: 14.8ms)
626
+
627
+
628
+ Started GET "/assets/application-823e88bf1231c4323ee1d35731d8f1b6.css?body=1" for ::1 at 2015-01-21 09:57:04 +0100
629
+
630
+
631
+ Started GET "/assets/application-6003a83c88a1f90ef300f4f20d8f3218.js?body=1" for ::1 at 2015-01-21 09:57:04 +0100
632
+
633
+
634
+ Started GET "/error_previews/preview?code=404&locale=en" for ::1 at 2015-01-21 09:57:07 +0100
635
+ Processing by ErrorPreviewsController#preview as HTML
636
+ Parameters: {"code"=>"404", "locale"=>"en"}
637
+ Completed 404 Not Found in 0ms
638
+
639
+ ActionController::RoutingError (Was asked to raise generate a 404):
640
+ app/controllers/error_previews_controller.rb:9:in `preview'
641
+
642
+
643
+ Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
644
+ Parameters: {"code"=>"404", "locale"=>"en"}
645
+ Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (0.8ms)
646
+ Completed 404 Not Found in 10ms (Views: 9.2ms)
647
+
648
+
649
+ Started GET "/assets/simplificator_infrastructure/errors-928ba3bb41870ff2506534e889b5a343.css?body=1" for ::1 at 2015-01-21 09:57:07 +0100
650
+
651
+
652
+ Started GET "/assets/simplificator_infrastructure/application-680fe1d8377d3b30ccc6040ff6efb0f6.css?body=1" for ::1 at 2015-01-21 09:57:07 +0100
653
+
654
+
655
+ Started GET "/assets/simplificator_infrastructure/application-6003a83c88a1f90ef300f4f20d8f3218.js?body=1" for ::1 at 2015-01-21 09:57:07 +0100
656
+
657
+
658
+ Started GET "/assets/simplificator_infrastructure/errors/error_404-1b456d7204a73d7e2b991d63e1bb0bb6.png" for ::1 at 2015-01-21 09:57:07 +0100
659
+
660
+
661
+ Started GET "/assets/simplificator_infrastructure/errors/logo-48573dc0d89ffec82bd936f919c7b96d.png" for ::1 at 2015-01-21 09:57:07 +0100
662
+
663
+
664
+ Started GET "/" for ::1 at 2015-01-21 09:57:09 +0100
665
+ Processing by ErrorPreviewsController#index as HTML
666
+ Rendered error_previews/index.html.erb within layouts/application (0.0ms)
667
+ Completed 200 OK in 10ms (Views: 9.4ms)
668
+
669
+
670
+ Started GET "/assets/application-823e88bf1231c4323ee1d35731d8f1b6.css?body=1" for ::1 at 2015-01-21 09:57:09 +0100
671
+
672
+
673
+ Started GET "/assets/application-6003a83c88a1f90ef300f4f20d8f3218.js?body=1" for ::1 at 2015-01-21 09:57:09 +0100
674
+
675
+
676
+ Started GET "/foos" for ::1 at 2015-01-21 09:59:11 +0100
677
+
678
+ ActionController::RoutingError (No route matches [GET] "/foos"):
679
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
680
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
681
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
682
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
683
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
684
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
685
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
686
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
687
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
688
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
689
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
690
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
691
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
692
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
693
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
694
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
695
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
696
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
697
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
698
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
699
+ /Users/pascal/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
700
+ /Users/pascal/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
701
+ /Users/pascal/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
702
+
703
+
704
+ Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
705
+ Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (3.0ms)
706
+ Completed 500 Internal Server Error in 14ms
707
+
708
+
709
+ Started GET "/foos/bla" for ::1 at 2015-01-21 09:59:12 +0100
710
+
711
+ ActionController::RoutingError (No route matches [GET] "/foos/bla"):
712
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
713
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
714
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
715
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
716
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
717
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
718
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
719
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
720
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
721
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
722
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
723
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
724
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
725
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
726
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
727
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
728
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
729
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
730
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
731
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
732
+ /Users/pascal/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
733
+ /Users/pascal/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
734
+ /Users/pascal/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
735
+
736
+
737
+ Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
738
+ Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (0.8ms)
739
+ Completed 500 Internal Server Error in 3ms
740
+
741
+
742
+ Started GET "/foos/bla" for ::1 at 2015-01-21 09:59:33 +0100
743
+
744
+ ActionController::RoutingError (No route matches [GET] "/foos/bla"):
745
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
746
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
747
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
748
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
749
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
750
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
751
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
752
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
753
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
754
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
755
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
756
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
757
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
758
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
759
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
760
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
761
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
762
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
763
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
764
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
765
+ /Users/pascal/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
766
+ /Users/pascal/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
767
+ /Users/pascal/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
768
+
769
+
770
+ Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
771
+ Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (5.2ms)
772
+ Completed 404 Not Found in 33ms (Views: 32.3ms)
773
+
774
+
775
+ Started GET "/assets/simplificator_infrastructure/errors-928ba3bb41870ff2506534e889b5a343.css?body=1" for ::1 at 2015-01-21 09:59:33 +0100
776
+
777
+
778
+ Started GET "/assets/simplificator_infrastructure/application-680fe1d8377d3b30ccc6040ff6efb0f6.css?body=1" for ::1 at 2015-01-21 09:59:33 +0100
779
+
780
+
781
+ Started GET "/assets/simplificator_infrastructure/application-6003a83c88a1f90ef300f4f20d8f3218.js?body=1" for ::1 at 2015-01-21 09:59:33 +0100
782
+
783
+
784
+ Started GET "/assets/simplificator_infrastructure/errors/error_404-1b456d7204a73d7e2b991d63e1bb0bb6.png" for ::1 at 2015-01-21 09:59:33 +0100
785
+
786
+
787
+ Started GET "/assets/simplificator_infrastructure/errors/logo-48573dc0d89ffec82bd936f919c7b96d.png" for ::1 at 2015-01-21 09:59:33 +0100
788
+
789
+
790
+ Started GET "/foos/bla" for ::1 at 2015-01-21 09:59:58 +0100
791
+
792
+ ActionController::RoutingError (No route matches [GET] "/foos/bla"):
793
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
794
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
795
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
796
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
797
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
798
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
799
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
800
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
801
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
802
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
803
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
804
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
805
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
806
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
807
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
808
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
809
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
810
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
811
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
812
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
813
+ /Users/pascal/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
814
+ /Users/pascal/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
815
+ /Users/pascal/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
816
+
817
+
818
+ Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
819
+ Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (0.8ms)
820
+ Completed 404 Not Found in 14ms (Views: 12.6ms)
821
+
822
+
823
+ Started GET "/assets/simplificator_infrastructure/errors-928ba3bb41870ff2506534e889b5a343.css?body=1" for ::1 at 2015-01-21 09:59:58 +0100
824
+
825
+
826
+ Started GET "/assets/simplificator_infrastructure/application-680fe1d8377d3b30ccc6040ff6efb0f6.css?body=1" for ::1 at 2015-01-21 09:59:58 +0100
827
+
828
+
829
+ Started GET "/assets/simplificator_infrastructure/errors/error_404-1b456d7204a73d7e2b991d63e1bb0bb6.png" for ::1 at 2015-01-21 09:59:58 +0100
830
+
831
+
832
+ Started GET "/assets/simplificator_infrastructure/application-6003a83c88a1f90ef300f4f20d8f3218.js?body=1" for ::1 at 2015-01-21 09:59:58 +0100
833
+
834
+
835
+ Started GET "/assets/simplificator_infrastructure/errors/logo-48573dc0d89ffec82bd936f919c7b96d.png" for ::1 at 2015-01-21 09:59:58 +0100
836
+
837
+
838
+ Started GET "/foos/bla" for ::1 at 2015-01-21 10:01:20 +0100
839
+
840
+ ActionController::RoutingError (No route matches [GET] "/foos/bla"):
841
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
842
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
843
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
844
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
845
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
846
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
847
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
848
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
849
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
850
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
851
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
852
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
853
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
854
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
855
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
856
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
857
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
858
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
859
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
860
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
861
+ /Users/pascal/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
862
+ /Users/pascal/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
863
+ /Users/pascal/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
864
+
865
+
866
+
867
+
868
+ Started GET "/foos/bla" for ::1 at 2015-01-21 10:01:32 +0100
869
+
870
+ ActionController::RoutingError (No route matches [GET] "/foos/bla"):
871
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
872
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
873
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
874
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
875
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
876
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
877
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
878
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
879
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
880
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
881
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
882
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
883
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
884
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
885
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
886
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
887
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
888
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
889
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
890
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
891
+ /Users/pascal/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
892
+ /Users/pascal/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
893
+ /Users/pascal/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
894
+
895
+
896
+ Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
897
+ Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (4.0ms)
898
+ Completed 404 Not Found in 38ms (Views: 33.5ms)
899
+
900
+
901
+ Started GET "/assets/simplificator_infrastructure/errors-928ba3bb41870ff2506534e889b5a343.css?body=1" for ::1 at 2015-01-21 10:01:32 +0100
902
+
903
+
904
+ Started GET "/assets/simplificator_infrastructure/application-680fe1d8377d3b30ccc6040ff6efb0f6.css?body=1" for ::1 at 2015-01-21 10:01:32 +0100
905
+
906
+
907
+ Started GET "/assets/simplificator_infrastructure/application-6003a83c88a1f90ef300f4f20d8f3218.js?body=1" for ::1 at 2015-01-21 10:01:32 +0100
908
+
909
+
910
+ Started GET "/assets/simplificator_infrastructure/errors/error_404-1b456d7204a73d7e2b991d63e1bb0bb6.png" for ::1 at 2015-01-21 10:01:32 +0100
911
+
912
+
913
+ Started GET "/assets/simplificator_infrastructure/errors/logo-48573dc0d89ffec82bd936f919c7b96d.png" for ::1 at 2015-01-21 10:01:32 +0100
914
+
915
+
916
+ Started GET "/" for ::1 at 2015-01-21 10:01:48 +0100
917
+ Processing by ErrorPreviewsController#index as HTML
918
+ Rendered error_previews/index.html.erb within layouts/application (0.3ms)
919
+ Completed 200 OK in 16ms (Views: 15.9ms)
920
+
921
+
922
+ Started GET "/assets/application-823e88bf1231c4323ee1d35731d8f1b6.css?body=1" for ::1 at 2015-01-21 10:01:48 +0100
923
+
924
+
925
+ Started GET "/assets/application-6003a83c88a1f90ef300f4f20d8f3218.js?body=1" for ::1 at 2015-01-21 10:01:48 +0100
926
+
927
+
928
+ Started GET "/error_previews/preview?code=404&locale=en" for ::1 at 2015-01-21 10:01:49 +0100
929
+ Processing by ErrorPreviewsController#preview as HTML
930
+ Parameters: {"code"=>"404", "locale"=>"en"}
931
+ Completed 404 Not Found in 0ms
932
+
933
+ ActionController::RoutingError (Was asked to raise generate a 404):
934
+ app/controllers/error_previews_controller.rb:9:in `preview'
935
+
936
+
937
+ Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
938
+ Parameters: {"code"=>"404", "locale"=>"en"}
939
+ Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (0.9ms)
940
+ Completed 404 Not Found in 11ms (Views: 10.1ms)
941
+
942
+
943
+ Started GET "/assets/simplificator_infrastructure/errors-928ba3bb41870ff2506534e889b5a343.css?body=1" for ::1 at 2015-01-21 10:01:49 +0100
944
+
945
+
946
+ Started GET "/assets/simplificator_infrastructure/application-680fe1d8377d3b30ccc6040ff6efb0f6.css?body=1" for ::1 at 2015-01-21 10:01:49 +0100
947
+
948
+
949
+ Started GET "/assets/simplificator_infrastructure/application-6003a83c88a1f90ef300f4f20d8f3218.js?body=1" for ::1 at 2015-01-21 10:01:49 +0100
950
+
951
+
952
+ Started GET "/assets/simplificator_infrastructure/errors/error_404-1b456d7204a73d7e2b991d63e1bb0bb6.png" for ::1 at 2015-01-21 10:01:49 +0100
953
+
954
+
955
+ Started GET "/assets/simplificator_infrastructure/errors/logo-48573dc0d89ffec82bd936f919c7b96d.png" for ::1 at 2015-01-21 10:01:49 +0100
956
+
957
+
958
+ Started GET "/blabla" for ::1 at 2015-01-21 10:02:08 +0100
959
+
960
+ ActionController::RoutingError (No route matches [GET] "/blabla"):
961
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
962
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
963
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
964
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
965
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
966
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
967
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
968
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
969
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
970
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
971
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
972
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
973
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
974
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
975
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
976
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
977
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
978
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
979
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
980
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
981
+ /Users/pascal/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
982
+ /Users/pascal/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
983
+ /Users/pascal/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
984
+
985
+
986
+ Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
987
+ Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (0.5ms)
988
+ Completed 404 Not Found in 10ms (Views: 9.5ms)
989
+
990
+
991
+ Started GET "/assets/simplificator_infrastructure/errors-928ba3bb41870ff2506534e889b5a343.css?body=1" for ::1 at 2015-01-21 10:02:08 +0100
992
+
993
+
994
+ Started GET "/assets/simplificator_infrastructure/errors/error_404-1b456d7204a73d7e2b991d63e1bb0bb6.png" for ::1 at 2015-01-21 10:02:08 +0100
995
+
996
+
997
+ Started GET "/assets/simplificator_infrastructure/application-6003a83c88a1f90ef300f4f20d8f3218.js?body=1" for ::1 at 2015-01-21 10:02:08 +0100
998
+
999
+
1000
+ Started GET "/assets/simplificator_infrastructure/application-680fe1d8377d3b30ccc6040ff6efb0f6.css?body=1" for ::1 at 2015-01-21 10:02:08 +0100
1001
+
1002
+
1003
+ Started GET "/assets/simplificator_infrastructure/errors/logo-48573dc0d89ffec82bd936f919c7b96d.png" for ::1 at 2015-01-21 10:02:08 +0100
1004
+
1005
+
1006
+ Started GET "/" for ::1 at 2015-01-21 10:02:27 +0100
1007
+ Processing by ErrorPreviewsController#index as HTML
1008
+ Rendered error_previews/index.html.erb within layouts/application (0.0ms)
1009
+ Completed 200 OK in 9ms (Views: 8.9ms)
1010
+
1011
+
1012
+ Started GET "/assets/application-823e88bf1231c4323ee1d35731d8f1b6.css?body=1" for ::1 at 2015-01-21 10:02:27 +0100
1013
+
1014
+
1015
+ Started GET "/assets/application-6003a83c88a1f90ef300f4f20d8f3218.js?body=1" for ::1 at 2015-01-21 10:02:27 +0100
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simplificator_infrastructure
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pascal Betz