log_inspector 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +37 -0
  4. data/app/assets/javascripts/log_inspector/application.js +13 -0
  5. data/app/assets/javascripts/log_inspector/log_inspector.js +47 -0
  6. data/app/assets/stylesheets/log_inspector/application.css +14 -0
  7. data/app/assets/stylesheets/log_inspector/log_inspector.css +129 -0
  8. data/app/controllers/log_inspector/application_controller.rb +5 -0
  9. data/app/controllers/log_inspector/logs_controller.rb +35 -0
  10. data/app/helpers/log_inspector/application_helper.rb +4 -0
  11. data/app/helpers/log_inspector/logs_helper.rb +7 -0
  12. data/app/views/layouts/log_inspector/application.html.erb +25 -0
  13. data/app/views/log_inspector/logs/_file_contents.html.erb +25 -0
  14. data/app/views/log_inspector/logs/_folder_list.html.erb +20 -0
  15. data/app/views/log_inspector/logs/dir_contents.js.erb +4 -0
  16. data/app/views/log_inspector/logs/file_contents.js.erb +3 -0
  17. data/app/views/log_inspector/logs/index.html.erb +21 -0
  18. data/config/routes.rb +5 -0
  19. data/lib/log_inspector.rb +4 -0
  20. data/lib/log_inspector/engine.rb +5 -0
  21. data/lib/log_inspector/version.rb +3 -0
  22. data/lib/tasks/log_inspector_tasks.rake +4 -0
  23. data/test/dummy/README.rdoc +28 -0
  24. data/test/dummy/Rakefile +6 -0
  25. data/test/dummy/app/assets/javascripts/application.js +13 -0
  26. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  27. data/test/dummy/app/controllers/application_controller.rb +5 -0
  28. data/test/dummy/app/helpers/application_helper.rb +2 -0
  29. data/test/dummy/app/views/layouts/application.html.erb +15 -0
  30. data/test/dummy/bin/bundle +3 -0
  31. data/test/dummy/bin/rails +4 -0
  32. data/test/dummy/bin/rake +4 -0
  33. data/test/dummy/bin/setup +29 -0
  34. data/test/dummy/config.ru +4 -0
  35. data/test/dummy/config/application.rb +26 -0
  36. data/test/dummy/config/boot.rb +5 -0
  37. data/test/dummy/config/database.yml +25 -0
  38. data/test/dummy/config/environment.rb +5 -0
  39. data/test/dummy/config/environments/development.rb +41 -0
  40. data/test/dummy/config/environments/production.rb +79 -0
  41. data/test/dummy/config/environments/test.rb +42 -0
  42. data/test/dummy/config/initializers/assets.rb +11 -0
  43. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  44. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  45. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  46. data/test/dummy/config/initializers/inflections.rb +16 -0
  47. data/test/dummy/config/initializers/mime_types.rb +4 -0
  48. data/test/dummy/config/initializers/session_store.rb +3 -0
  49. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  50. data/test/dummy/config/locales/en.yml +23 -0
  51. data/test/dummy/config/routes.rb +4 -0
  52. data/test/dummy/config/secrets.yml +22 -0
  53. data/test/dummy/db/development.sqlite3 +0 -0
  54. data/test/dummy/log/development.log +130 -0
  55. data/test/dummy/public/404.html +67 -0
  56. data/test/dummy/public/422.html +67 -0
  57. data/test/dummy/public/500.html +66 -0
  58. data/test/dummy/public/favicon.ico +0 -0
  59. data/test/dummy/tmp/cache/assets/sprockets/v3.0/0y/0yjx2i0nmZqwdLWslc0yDGRUhVGkv8ERUl84cw7dTkw.cache +1 -0
  60. data/test/dummy/tmp/cache/assets/sprockets/v3.0/4y/4yMOi0MrbkUaXUC1UGYxdMTPEQgt2CPWNvi6e96uxaw.cache +0 -0
  61. data/test/dummy/tmp/cache/assets/sprockets/v3.0/52/52LcZUsZZiNPAUmhnfNk1z8dVt3PrCzZKsv9OTdokOk.cache +0 -0
  62. data/test/dummy/tmp/cache/assets/sprockets/v3.0/6c/6cueXxOf_mR9xKpYenM5emAbqgE1i3KW4Y_cE8Dk2ps.cache +2 -0
  63. data/test/dummy/tmp/cache/assets/sprockets/v3.0/6z/6zEHEYmN_KIEzK6_KAhvQDlkLzMnrdVoeJOP1TNufZA.cache +2 -0
  64. data/test/dummy/tmp/cache/assets/sprockets/v3.0/7q/7qDkYoxTbaURwA35XaukvRPR4LZqXTb7Tqf3zeCc1k4.cache +2 -0
  65. data/test/dummy/tmp/cache/assets/sprockets/v3.0/9N/9NrbIEau0zua8QoLQ3XbPBdJmWdJPArwEldK7g71Ry4.cache +2 -0
  66. data/test/dummy/tmp/cache/assets/sprockets/v3.0/9d/9d0IfaGcoT2cqOYryLTW-d2hWdkhJys5XS5_BsrCaiY.cache +0 -0
  67. data/test/dummy/tmp/cache/assets/sprockets/v3.0/BG/BGHSjISlgNIEhpLwjIOoZXLVLHEtOwBEJefvoFtKETs.cache +2 -0
  68. data/test/dummy/tmp/cache/assets/sprockets/v3.0/CC/CCXFxLzjxAzd7lZnlLU9d26oB5ohv26zFzbJk5nU-9Y.cache +2 -0
  69. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Cd/CdvY0rV5Fa-DezW9--_Rto5AEU7JBN-_F6x6ItgXOPo.cache +0 -0
  70. data/test/dummy/tmp/cache/assets/sprockets/v3.0/G7/G7QP2HuwtUd8D09prRQUp6Vyj8jbWL7TZYAtxkrNklk.cache +2 -0
  71. data/test/dummy/tmp/cache/assets/sprockets/v3.0/I0/I0j16VwEDAK0Jl6X-n1rswBBY_KLOhpwIJoAfETqgdw.cache +0 -0
  72. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Js/JsOpasUlDMF-NEsm-0XyvAGeWJHyGKMmwIuUDiNNFRY.cache +2 -0
  73. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ke/KeXx19PBjwB-uINDw9gnVBkUN9QkvDDeHrHCksryHQs.cache +1 -0
  74. data/test/dummy/tmp/cache/assets/sprockets/v3.0/L1/L1Y4b8ppqT2akZG6FnX-FWZ_m0mvNYrWiWnzMIizm10.cache +2 -0
  75. data/test/dummy/tmp/cache/assets/sprockets/v3.0/OF/OFm7dNMop5t2fsf2_0bREAPn0k8Kmie7UEOqbYxaD_M.cache +2 -0
  76. data/test/dummy/tmp/cache/assets/sprockets/v3.0/QX/QX1mHY-mCgHmwmWxRkFTUVsJ5HKbyPpNnlVQGU_0HPQ.cache +1 -0
  77. data/test/dummy/tmp/cache/assets/sprockets/v3.0/RE/RE2jMVdk-GcWx49IkLXXHDBbgWnHxkNFfeMIDUMU4M4.cache +1 -0
  78. data/test/dummy/tmp/cache/assets/sprockets/v3.0/RP/RPFT8-jWNmJ51NqtyuiqkB6SDpJ44piuvgKnGgOyjdY.cache +2 -0
  79. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Rt/Rt243JzUgm2vop7gVdsaLk29lZfZUFXR89bgeFi6Bks.cache +1 -0
  80. data/test/dummy/tmp/cache/assets/sprockets/v3.0/TK/TKfmevUUB0m67qHdyiqBMQq792W2hADaWbdtNmUQ8fE.cache +0 -0
  81. data/test/dummy/tmp/cache/assets/sprockets/v3.0/U4/U40pG4uRX_VT11S6jF0yjUdIHf744UswA6IupSVi5B0.cache +1 -0
  82. data/test/dummy/tmp/cache/assets/sprockets/v3.0/VJ/VJZf6loKqZz7jT1CRPQM9yXhqcDttEgHAi0IHYXCHJ4.cache +1 -0
  83. data/test/dummy/tmp/cache/assets/sprockets/v3.0/VO/VOn9z3AK4q4OOo5WxJvIqUXGoHcum2cSXHZyLDxTnA4.cache +1 -0
  84. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Yz/YzkhzcNL66EDHHEuTh_mqv6W-6IlRil60UYls40NnTI.cache +0 -0
  85. data/test/dummy/tmp/cache/assets/sprockets/v3.0/aN/aNhhF1a2vm9LZySZXuYFToWNcgeFpyUxb2yFzx5dQrI.cache +1 -0
  86. data/test/dummy/tmp/cache/assets/sprockets/v3.0/bv/bvznYaAD2Akrn6tRA7QbzHpPHIiJT5CYMPnuH3bQPbA.cache +1 -0
  87. data/test/dummy/tmp/cache/assets/sprockets/v3.0/d9/d9Cg_2YrFcbyaUhXRZTceMsS2kLjcpA_-9I7mi8TTWw.cache +1 -0
  88. data/test/dummy/tmp/cache/assets/sprockets/v3.0/eO/eOv1op0qmqHi1RyKoYldtvvcl2BMOEUCSo1OPkbCQoc.cache +1 -0
  89. data/test/dummy/tmp/cache/assets/sprockets/v3.0/eq/equ0NynE7_HWw9cdGuDnwiJXdnG_HXoTLngcsX1sS68.cache +0 -0
  90. data/test/dummy/tmp/cache/assets/sprockets/v3.0/fQ/fQuCzO4oDlqru0-RE5PL0krTDvMg6i-02e4rAppEnyM.cache +1 -0
  91. data/test/dummy/tmp/cache/assets/sprockets/v3.0/fa/faG0VWkwesZEu_09Rb3D5TQPCmXVihje_RLbHWYBI5s.cache +0 -0
  92. data/test/dummy/tmp/cache/assets/sprockets/v3.0/fi/fijcQXgMohDZOZ4M728spwXiIsgV7hfBTIp839v1tts.cache +1 -0
  93. data/test/dummy/tmp/cache/assets/sprockets/v3.0/iZ/iZHr9dToVTGKD78bKiasiAKKIX3UsoylHVOH8fh2-08.cache +1 -0
  94. data/test/dummy/tmp/cache/assets/sprockets/v3.0/in/inKh_WM0NI8ZJbbYr1c-3iPf5ogyLOZ5V2gPMd7IdDw.cache +0 -0
  95. data/test/dummy/tmp/cache/assets/sprockets/v3.0/k3/k3uyFw5bLVCkWd1TN-G0l8XVjU24pz1NHQ0uE0tB0PE.cache +0 -0
  96. data/test/dummy/tmp/cache/assets/sprockets/v3.0/m7/m7RyV2amu-MP_1uGjfAqIRFqaEvgKXEioQWf3OfNqdg.cache +2 -0
  97. data/test/dummy/tmp/cache/assets/sprockets/v3.0/mW/mWotCpRhR80HB0c_Hvlx9sYhJ_aI-I06MNNgTXHL7qA.cache +1 -0
  98. data/test/dummy/tmp/cache/assets/sprockets/v3.0/nX/nXvZe2dttgUKYR99mcZ_s69KYCMS2drWnb7fiU73HCg.cache +0 -0
  99. data/test/dummy/tmp/cache/assets/sprockets/v3.0/oL/oLKgG-GrQadF0aYtBjbRcmtG7p7-V44Eg8LuTqnkAW0.cache +1 -0
  100. data/test/dummy/tmp/cache/assets/sprockets/v3.0/oV/oVp94AATrZEXJENVhHW1yLDCNcl8nSia7GXyLdxO07g.cache +0 -0
  101. data/test/dummy/tmp/cache/assets/sprockets/v3.0/px/pxMa2MSSp1qRbvLIyRSk6hb3F5djJ8zP5WIX51OnDJg.cache +0 -0
  102. data/test/dummy/tmp/cache/assets/sprockets/v3.0/py/pyZ2Dd2uy3hSL4F1fa60y6X9hQVnBVxsgUc2Snh3sOc.cache +0 -0
  103. data/test/dummy/tmp/cache/assets/sprockets/v3.0/qa/qaXezH6QOMBvxNhYhSOj464igHPmLMObu7MVnPZDQzY.cache +1 -0
  104. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ts/tsEshchC2jWexOhgMhopUcqxFGKuEOII_M6RpWdi0B0.cache +1 -0
  105. data/test/dummy/tmp/cache/assets/sprockets/v3.0/uG/uGxnbi9_3oXzCbYkFYPJ7VWi-DIjiPw-2cPqluq3qos.cache +2 -0
  106. data/test/dummy/tmp/cache/assets/sprockets/v3.0/v8/v8yPBJtHK04q_s1O6KdlfMWBr6PPnFSb5LZgr_jGKeo.cache +1 -0
  107. data/test/dummy/tmp/cache/assets/sprockets/v3.0/vQ/vQyeu7nK0korPDY3FueOgohjPCIxuN-naaT175epN3g.cache +0 -0
  108. data/test/dummy/tmp/cache/assets/sprockets/v3.0/vV/vVD2lxq3cfeBu3afX9w019Id8mzwn9c-_oY7wOv1cA4.cache +1 -0
  109. data/test/dummy/tmp/cache/assets/sprockets/v3.0/yI/yIfjc_jL6SU2G_uHLxC-Xq-i5PN48jENSR39nzNOMcI.cache +1 -0
  110. data/test/dummy/tmp/cache/assets/sprockets/v3.0/zX/zXE7FdZFI1O7oOCvLIjR7DbGrfRdfZKoiZtN6QltYWk.cache +2 -0
  111. data/test/dummy/tmp/pids/server.pid +1 -0
  112. data/test/integration/navigation_test.rb +8 -0
  113. data/test/log_inspector_test.rb +7 -0
  114. data/test/test_helper.rb +21 -0
  115. metadata +277 -0
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Configure sensitive parameters which will be filtered from the log file.
4
+ Rails.application.config.filter_parameters += [:password]
@@ -0,0 +1,16 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format. Inflections
4
+ # are locale specific, and you may define rules for as many different
5
+ # locales as you wish. All of these examples are active by default:
6
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
+ # inflect.plural /^(ox)$/i, '\1en'
8
+ # inflect.singular /^(ox)en/i, '\1'
9
+ # inflect.irregular 'person', 'people'
10
+ # inflect.uncountable %w( fish sheep )
11
+ # end
12
+
13
+ # These inflection rules are supported but not enabled by default:
14
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
+ # inflect.acronym 'RESTful'
16
+ # end
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.session_store :cookie_store, key: '_dummy_session'
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
9
+ end
10
+
11
+ # To enable root element in JSON for ActiveRecord objects.
12
+ # ActiveSupport.on_load(:active_record) do
13
+ # self.include_root_in_json = true
14
+ # end
@@ -0,0 +1,23 @@
1
+ # Files in the config/locales directory are used for internationalization
2
+ # and are automatically loaded by Rails. If you want to use locales other
3
+ # than English, add the necessary files in this directory.
4
+ #
5
+ # To use the locales, use `I18n.t`:
6
+ #
7
+ # I18n.t 'hello'
8
+ #
9
+ # In views, this is aliased to just `t`:
10
+ #
11
+ # <%= t('hello') %>
12
+ #
13
+ # To use a different locale, set it with `I18n.locale`:
14
+ #
15
+ # I18n.locale = :es
16
+ #
17
+ # This would use the information in config/locales/es.yml.
18
+ #
19
+ # To learn more, please read the Rails Internationalization guide
20
+ # available at http://guides.rubyonrails.org/i18n.html.
21
+
22
+ en:
23
+ hello: "Hello world"
@@ -0,0 +1,4 @@
1
+ Rails.application.routes.draw do
2
+
3
+ mount LogInspector::Engine => "/log_inspector"
4
+ end
@@ -0,0 +1,22 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure the secrets in this file are kept private
11
+ # if you're sharing your code publicly.
12
+
13
+ development:
14
+ secret_key_base: 166ae978129f823102988e9d90849c2372ccb4da5da67a92e82f5c1430e5a0d0f336b30f0e91f7e0ecb510b7e1dd7a1a87468f83f1649af007d3c3e22fe93b6e
15
+
16
+ test:
17
+ secret_key_base: 7f1ea1efe60740db811670f469665f6a6ffd9a7dc4a3d0b0ff6246d8dcd0a77824732c38f157ef535458b629f5323b2f4dc6b4ef248402bd11d6a43211e99f4c
18
+
19
+ # Do not keep production secrets in the repository,
20
+ # instead read values from the environment.
21
+ production:
22
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
File without changes
@@ -0,0 +1,130 @@
1
+
2
+
3
+ Started GET "/" for ::1 at 2016-07-04 11:35:40 -0500
4
+ Processing by Rails::WelcomeController#index as HTML
5
+ Rendered /Users/seanhuber/.rvm/gems/ruby-2.3.1/gems/railties-4.2.6/lib/rails/templates/rails/welcome/index.html.erb (1.5ms)
6
+ Completed 200 OK in 9ms (Views: 9.2ms | ActiveRecord: 0.0ms)
7
+
8
+
9
+ Started GET "/log_inspector" for ::1 at 2016-07-04 11:36:08 -0500
10
+ Processing by LogInspector::LogsController#index as HTML
11
+ Rendered text template (0.0ms)
12
+ Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)
13
+
14
+
15
+ Started GET "/" for ::1 at 2016-07-04 16:40:24 -0500
16
+ Processing by Rails::WelcomeController#index as HTML
17
+ Rendered /Users/seanhuber/.rvm/gems/ruby-2.3.1/gems/railties-4.2.6/lib/rails/templates/rails/welcome/index.html.erb (1.5ms)
18
+ Completed 200 OK in 10ms (Views: 10.2ms | ActiveRecord: 0.0ms)
19
+
20
+
21
+ Started GET "/log_inspector" for ::1 at 2016-07-04 16:40:30 -0500
22
+ Processing by LogInspector::LogsController#index as HTML
23
+ Rendered /Users/seanhuber/Rails Apps/log_inspector/app/views/log_inspector/logs/index.html.erb within layouts/log_inspector/application (0.4ms)
24
+ Completed 200 OK in 193ms (Views: 192.5ms | ActiveRecord: 0.0ms)
25
+
26
+
27
+ Started GET "/assets/log_inspector/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-07-04 16:40:31 -0500
28
+
29
+
30
+ Started GET "/assets/log_inspector/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-07-04 16:40:31 -0500
31
+
32
+
33
+ Started GET "/log_inspector" for ::1 at 2016-07-04 16:40:53 -0500
34
+ Processing by LogInspector::LogsController#index as HTML
35
+ Rendered /Users/seanhuber/Rails Apps/log_inspector/app/views/log_inspector/logs/index.html.erb within layouts/log_inspector/application (0.0ms)
36
+ Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)
37
+
38
+
39
+ Started GET "/assets/log_inspector/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-07-04 16:40:53 -0500
40
+
41
+
42
+ Started GET "/assets/log_inspector/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-07-04 16:40:53 -0500
43
+
44
+
45
+ Started GET "/log_inspector" for ::1 at 2016-07-04 16:40:54 -0500
46
+ Processing by LogInspector::LogsController#index as HTML
47
+ Rendered /Users/seanhuber/Rails Apps/log_inspector/app/views/log_inspector/logs/index.html.erb within layouts/log_inspector/application (0.1ms)
48
+ Completed 200 OK in 27ms (Views: 26.8ms | ActiveRecord: 0.0ms)
49
+
50
+
51
+ Started GET "/assets/log_inspector/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-07-04 16:40:54 -0500
52
+
53
+
54
+ Started GET "/assets/log_inspector/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-07-04 16:40:54 -0500
55
+
56
+
57
+ Started GET "/log_inspector" for ::1 at 2016-07-04 16:40:55 -0500
58
+ Processing by LogInspector::LogsController#index as HTML
59
+ Rendered /Users/seanhuber/Rails Apps/log_inspector/app/views/log_inspector/logs/index.html.erb within layouts/log_inspector/application (0.1ms)
60
+ Completed 200 OK in 8ms (Views: 8.1ms | ActiveRecord: 0.0ms)
61
+
62
+
63
+ Started GET "/assets/log_inspector/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-07-04 16:40:55 -0500
64
+
65
+
66
+ Started GET "/assets/log_inspector/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-07-04 16:40:55 -0500
67
+
68
+
69
+ Started GET "/log_inspector" for ::1 at 2016-07-04 16:41:20 -0500
70
+ Processing by LogInspector::LogsController#index as HTML
71
+ Rendered /Users/seanhuber/Rails Apps/log_inspector/app/views/log_inspector/logs/index.html.erb within layouts/log_inspector/application (0.9ms)
72
+ Completed 200 OK in 10ms (Views: 9.9ms | ActiveRecord: 0.0ms)
73
+
74
+
75
+ Started GET "/assets/log_inspector/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-07-04 16:41:20 -0500
76
+
77
+
78
+ Started GET "/assets/log_inspector/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-07-04 16:41:20 -0500
79
+
80
+
81
+ Started GET "/log_inspector" for ::1 at 2016-07-04 16:45:05 -0500
82
+ Processing by LogInspector::LogsController#index as HTML
83
+ Rendered /Users/seanhuber/Rails Apps/log_inspector/app/views/log_inspector/logs/index.html.erb within layouts/log_inspector/application (0.6ms)
84
+ Completed 200 OK in 16ms (Views: 15.9ms | ActiveRecord: 0.0ms)
85
+
86
+
87
+ Started GET "/assets/log_inspector/application.self-99d4c01f46c0336d30dc0eb136df235172c539525b75b24097acc87ea7c52f89.css?body=1" for ::1 at 2016-07-04 16:45:05 -0500
88
+
89
+
90
+ Started GET "/assets/log_inspector/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-07-04 16:45:05 -0500
91
+
92
+
93
+ Started GET "/log_inspector" for ::1 at 2016-07-04 17:16:14 -0500
94
+ Processing by LogInspector::LogsController#index as HTML
95
+ Rendered /Users/seanhuber/Rails Apps/log_inspector/app/views/log_inspector/logs/index.html.erb within layouts/log_inspector/application (0.1ms)
96
+ Completed 200 OK in 17ms (Views: 16.4ms | ActiveRecord: 0.0ms)
97
+
98
+
99
+ Started GET "/assets/log_inspector/application.self-dbf39f28ea88647c06b7958d18976dd47b9690506b3e99e6d174d533476da8b3.css?body=1" for ::1 at 2016-07-04 17:16:14 -0500
100
+
101
+
102
+ Started GET "/assets/log_inspector/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-07-04 17:16:14 -0500
103
+
104
+
105
+ Started GET "/log_inspector" for ::1 at 2016-07-04 17:52:20 -0500
106
+ Processing by LogInspector::LogsController#index as HTML
107
+ Rendered /Users/seanhuber/Rails Apps/log_inspector/app/views/log_inspector/logs/index.html.erb within layouts/log_inspector/application (0.9ms)
108
+ Completed 200 OK in 14ms (Views: 13.7ms | ActiveRecord: 0.0ms)
109
+
110
+
111
+ Started GET "/assets/log_inspector/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-07-04 17:52:20 -0500
112
+
113
+
114
+ Started GET "/assets/log_inspector/application.self-dbf39f28ea88647c06b7958d18976dd47b9690506b3e99e6d174d533476da8b3.css?body=1" for ::1 at 2016-07-04 17:52:20 -0500
115
+
116
+
117
+ Started GET "/log_inspector/logs/dir_contents?path=%2FUsers%2Fseanhuber%2FRails+Apps%2Flog_inspector%2Ftest%2Fdummy%2Flog" for ::1 at 2016-07-04 17:52:20 -0500
118
+ Processing by LogInspector::LogsController#dir_contents as */*
119
+ Parameters: {"path"=>"/Users/seanhuber/Rails Apps/log_inspector/test/dummy/log"}
120
+ Rendered /Users/seanhuber/Rails Apps/log_inspector/app/views/log_inspector/logs/_folder_list.html.erb (3.3ms)
121
+ Rendered /Users/seanhuber/Rails Apps/log_inspector/app/views/log_inspector/logs/dir_contents.js.erb (48.8ms)
122
+ Completed 200 OK in 88ms (Views: 86.4ms | ActiveRecord: 0.0ms)
123
+
124
+
125
+ Started GET "/log_inspector/logs/file_contents?filepath=%2FUsers%2Fseanhuber%2FRails+Apps%2Flog_inspector%2Ftest%2Fdummy%2Flog%2Fdevelopment.log" for ::1 at 2016-07-04 17:52:22 -0500
126
+ Processing by LogInspector::LogsController#file_contents as */*
127
+ Parameters: {"filepath"=>"/Users/seanhuber/Rails Apps/log_inspector/test/dummy/log/development.log"}
128
+ Rendered /Users/seanhuber/Rails Apps/log_inspector/app/views/log_inspector/logs/_file_contents.html.erb (11.2ms)
129
+ Rendered /Users/seanhuber/Rails Apps/log_inspector/app/views/log_inspector/logs/file_contents.js.erb (24.9ms)
130
+ Completed 200 OK in 51ms (Views: 41.2ms | ActiveRecord: 0.0ms)
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/404.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The page you were looking for doesn't exist.</h1>
62
+ <p>You may have mistyped the address or the page may have moved.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/422.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The change you wanted was rejected.</h1>
62
+ <p>Maybe you tried to change something you didn't have access to.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,66 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/500.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>We're sorry, but something went wrong.</h1>
62
+ </div>
63
+ <p>If you are the application owner check the logs for more information.</p>
64
+ </div>
65
+ </body>
66
+ </html>
File without changes