simplificator_infrastructure 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/simplificator_infrastructure/errors_controller.rb +7 -0
- data/app/views/errors/404.html.erb +3 -1
- data/app/views/errors/generic_error.html.erb +5 -2
- data/config/locales/de.yml +1 -1
- data/config/locales/en.yml +1 -1
- data/config/locales/fr.yml +13 -0
- data/lib/simplificator_infrastructure/version.rb +1 -1
- data/test/dummy/app/views/error_previews/index.html.erb +2 -2
- data/test/dummy/log/development.log +990 -0
- data/test/dummy/log/test.log +56 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d7cb110ec211a8c4ef021e93a2f976f7 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e96855d0fc8137ba701522baf08faf33 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/0500adeee201d5a348b4c3ec497adae2 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/09ed1ef41f7cd9d17777b1411359e566 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/1344657b8f5d1906efcbafe0e22c17cc +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/5acaff767402e80bb9961b92c8bc3dda +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/6d07f71bc133b650e297569a7e19174e +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/7f0315cb615b6ab601fd42d59b8afde9 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/8861585cc3fb654bbf27d60c86aba449 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/9c500634b58fe570e801dd477f2f9769 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/9e70666db09ef523b119125cc9eb73c5 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/a58c29f74df199333ef9f066c7b436bd +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/d7cb110ec211a8c4ef021e93a2f976f7 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/e303fbe4b122fbe771c62af737c0e1b5 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/e96855d0fc8137ba701522baf08faf33 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f39692dced32f5d36d10caed783739ee +0 -0
- metadata +34 -1
data/test/dummy/log/test.log
CHANGED
@@ -809,3 +809,59 @@ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_
|
|
809
809
|
-------------------------------------------
|
810
810
|
SimplificatorInfrastructureTest: test_truth
|
811
811
|
-------------------------------------------
|
812
|
+
-------------------------------------
|
813
|
+
ErrorPreviewsControllerTest: test_500
|
814
|
+
-------------------------------------
|
815
|
+
Started GET "/error_previews/preview" for 127.0.0.1 at 2015-01-21 15:07:06 +0100
|
816
|
+
Processing by ErrorPreviewsController#preview as HTML
|
817
|
+
Completed 500 Internal Server Error in 0ms
|
818
|
+
|
819
|
+
RuntimeError (some generic exception):
|
820
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
821
|
+
test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
|
822
|
+
|
823
|
+
|
824
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
825
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (5.0ms)
|
826
|
+
Completed 500 Internal Server Error in 26ms (Views: 21.1ms)
|
827
|
+
-------------------------------------
|
828
|
+
ErrorPreviewsControllerTest: test_404
|
829
|
+
-------------------------------------
|
830
|
+
Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-01-21 15:07:06 +0100
|
831
|
+
Processing by ErrorPreviewsController#preview as HTML
|
832
|
+
Parameters: {"code"=>"404"}
|
833
|
+
Completed 404 Not Found in 0ms
|
834
|
+
|
835
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
836
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
837
|
+
test/integration/error_previews_controller_test.rb:10:in `block in <class:ErrorPreviewsControllerTest>'
|
838
|
+
|
839
|
+
|
840
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
841
|
+
Parameters: {"code"=>"404"}
|
842
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (2.5ms)
|
843
|
+
Completed 404 Not Found in 4ms (Views: 3.0ms)
|
844
|
+
-------------------------------------------
|
845
|
+
SimplificatorInfrastructureTest: test_truth
|
846
|
+
-------------------------------------------
|
847
|
+
-----------------------------------------------------------------------------------------------------------------
|
848
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
|
849
|
+
-----------------------------------------------------------------------------------------------------------------
|
850
|
+
----------------------------------------------------------------------------
|
851
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
|
852
|
+
----------------------------------------------------------------------------
|
853
|
+
--------------------------------------------------------------------------------------------------------
|
854
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
|
855
|
+
--------------------------------------------------------------------------------------------------------
|
856
|
+
-----------------------------------------------------------------------------------------
|
857
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
|
858
|
+
-----------------------------------------------------------------------------------------
|
859
|
+
---------------------------------------------------------------------------------------
|
860
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
|
861
|
+
---------------------------------------------------------------------------------------
|
862
|
+
----------------------------------------------------------------------
|
863
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
|
864
|
+
----------------------------------------------------------------------
|
865
|
+
-------------------------------------------------------------------------------
|
866
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
|
867
|
+
-------------------------------------------------------------------------------
|
Binary file
|
Binary file
|
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
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pascal Betz
|
@@ -53,6 +53,7 @@ files:
|
|
53
53
|
- app/views/layouts/simplificator_infrastructure/errors.html.erb
|
54
54
|
- config/locales/de.yml
|
55
55
|
- config/locales/en.yml
|
56
|
+
- config/locales/fr.yml
|
56
57
|
- config/routes.rb
|
57
58
|
- lib/simplificator_infrastructure.rb
|
58
59
|
- lib/simplificator_infrastructure/engine.rb
|
@@ -113,9 +114,25 @@ files:
|
|
113
114
|
- test/dummy/tmp/cache/assets/development/sprockets/a58c29f74df199333ef9f066c7b436bd
|
114
115
|
- test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
|
115
116
|
- test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
|
117
|
+
- test/dummy/tmp/cache/assets/development/sprockets/d7cb110ec211a8c4ef021e93a2f976f7
|
116
118
|
- test/dummy/tmp/cache/assets/development/sprockets/e303fbe4b122fbe771c62af737c0e1b5
|
119
|
+
- test/dummy/tmp/cache/assets/development/sprockets/e96855d0fc8137ba701522baf08faf33
|
117
120
|
- test/dummy/tmp/cache/assets/development/sprockets/f39692dced32f5d36d10caed783739ee
|
118
121
|
- test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
122
|
+
- test/dummy/tmp/cache/assets/test/sprockets/0500adeee201d5a348b4c3ec497adae2
|
123
|
+
- test/dummy/tmp/cache/assets/test/sprockets/09ed1ef41f7cd9d17777b1411359e566
|
124
|
+
- test/dummy/tmp/cache/assets/test/sprockets/1344657b8f5d1906efcbafe0e22c17cc
|
125
|
+
- test/dummy/tmp/cache/assets/test/sprockets/5acaff767402e80bb9961b92c8bc3dda
|
126
|
+
- test/dummy/tmp/cache/assets/test/sprockets/6d07f71bc133b650e297569a7e19174e
|
127
|
+
- test/dummy/tmp/cache/assets/test/sprockets/7f0315cb615b6ab601fd42d59b8afde9
|
128
|
+
- test/dummy/tmp/cache/assets/test/sprockets/8861585cc3fb654bbf27d60c86aba449
|
129
|
+
- test/dummy/tmp/cache/assets/test/sprockets/9c500634b58fe570e801dd477f2f9769
|
130
|
+
- test/dummy/tmp/cache/assets/test/sprockets/9e70666db09ef523b119125cc9eb73c5
|
131
|
+
- test/dummy/tmp/cache/assets/test/sprockets/a58c29f74df199333ef9f066c7b436bd
|
132
|
+
- test/dummy/tmp/cache/assets/test/sprockets/d7cb110ec211a8c4ef021e93a2f976f7
|
133
|
+
- test/dummy/tmp/cache/assets/test/sprockets/e303fbe4b122fbe771c62af737c0e1b5
|
134
|
+
- test/dummy/tmp/cache/assets/test/sprockets/e96855d0fc8137ba701522baf08faf33
|
135
|
+
- test/dummy/tmp/cache/assets/test/sprockets/f39692dced32f5d36d10caed783739ee
|
119
136
|
- test/integration/navigation_test.rb
|
120
137
|
- test/lib/simplificator_infrastructure/error_summary_test.rb
|
121
138
|
- test/simplificator_infrastructure_test.rb
|
@@ -198,9 +215,25 @@ test_files:
|
|
198
215
|
- test/dummy/tmp/cache/assets/development/sprockets/a58c29f74df199333ef9f066c7b436bd
|
199
216
|
- test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
|
200
217
|
- test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
|
218
|
+
- test/dummy/tmp/cache/assets/development/sprockets/d7cb110ec211a8c4ef021e93a2f976f7
|
201
219
|
- test/dummy/tmp/cache/assets/development/sprockets/e303fbe4b122fbe771c62af737c0e1b5
|
220
|
+
- test/dummy/tmp/cache/assets/development/sprockets/e96855d0fc8137ba701522baf08faf33
|
202
221
|
- test/dummy/tmp/cache/assets/development/sprockets/f39692dced32f5d36d10caed783739ee
|
203
222
|
- test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
223
|
+
- test/dummy/tmp/cache/assets/test/sprockets/0500adeee201d5a348b4c3ec497adae2
|
224
|
+
- test/dummy/tmp/cache/assets/test/sprockets/09ed1ef41f7cd9d17777b1411359e566
|
225
|
+
- test/dummy/tmp/cache/assets/test/sprockets/1344657b8f5d1906efcbafe0e22c17cc
|
226
|
+
- test/dummy/tmp/cache/assets/test/sprockets/5acaff767402e80bb9961b92c8bc3dda
|
227
|
+
- test/dummy/tmp/cache/assets/test/sprockets/6d07f71bc133b650e297569a7e19174e
|
228
|
+
- test/dummy/tmp/cache/assets/test/sprockets/7f0315cb615b6ab601fd42d59b8afde9
|
229
|
+
- test/dummy/tmp/cache/assets/test/sprockets/8861585cc3fb654bbf27d60c86aba449
|
230
|
+
- test/dummy/tmp/cache/assets/test/sprockets/9c500634b58fe570e801dd477f2f9769
|
231
|
+
- test/dummy/tmp/cache/assets/test/sprockets/9e70666db09ef523b119125cc9eb73c5
|
232
|
+
- test/dummy/tmp/cache/assets/test/sprockets/a58c29f74df199333ef9f066c7b436bd
|
233
|
+
- test/dummy/tmp/cache/assets/test/sprockets/d7cb110ec211a8c4ef021e93a2f976f7
|
234
|
+
- test/dummy/tmp/cache/assets/test/sprockets/e303fbe4b122fbe771c62af737c0e1b5
|
235
|
+
- test/dummy/tmp/cache/assets/test/sprockets/e96855d0fc8137ba701522baf08faf33
|
236
|
+
- test/dummy/tmp/cache/assets/test/sprockets/f39692dced32f5d36d10caed783739ee
|
204
237
|
- test/integration/navigation_test.rb
|
205
238
|
- test/lib/simplificator_infrastructure/error_summary_test.rb
|
206
239
|
- test/simplificator_infrastructure_test.rb
|