power_trace 0.2.2 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby.yml +3 -18
  3. data/Gemfile +5 -0
  4. data/Gemfile.lock +124 -1
  5. data/README.md +70 -19
  6. data/examples/rails-6/.browserslistrc +1 -0
  7. data/examples/rails-6/.gitignore +41 -0
  8. data/examples/rails-6/.ruby-version +1 -0
  9. data/examples/rails-6/Gemfile +55 -0
  10. data/examples/rails-6/Gemfile.lock +233 -0
  11. data/examples/rails-6/README.md +24 -0
  12. data/examples/rails-6/Rakefile +6 -0
  13. data/examples/rails-6/app/assets/config/manifest.js +2 -0
  14. data/examples/rails-6/app/assets/images/.keep +0 -0
  15. data/examples/rails-6/app/assets/stylesheets/application.css +15 -0
  16. data/examples/rails-6/app/assets/stylesheets/posts.scss +3 -0
  17. data/examples/rails-6/app/assets/stylesheets/scaffolds.scss +65 -0
  18. data/examples/rails-6/app/channels/application_cable/channel.rb +4 -0
  19. data/examples/rails-6/app/channels/application_cable/connection.rb +4 -0
  20. data/examples/rails-6/app/controllers/application_controller.rb +2 -0
  21. data/examples/rails-6/app/controllers/concerns/.keep +0 -0
  22. data/examples/rails-6/app/controllers/posts_controller.rb +75 -0
  23. data/examples/rails-6/app/helpers/application_helper.rb +2 -0
  24. data/examples/rails-6/app/helpers/posts_helper.rb +2 -0
  25. data/examples/rails-6/app/javascript/channels/consumer.js +6 -0
  26. data/examples/rails-6/app/javascript/channels/index.js +5 -0
  27. data/examples/rails-6/app/javascript/packs/application.js +17 -0
  28. data/examples/rails-6/app/jobs/application_job.rb +7 -0
  29. data/examples/rails-6/app/mailers/application_mailer.rb +4 -0
  30. data/examples/rails-6/app/models/application_record.rb +3 -0
  31. data/examples/rails-6/app/models/concerns/.keep +0 -0
  32. data/examples/rails-6/app/models/post.rb +2 -0
  33. data/examples/rails-6/app/views/layouts/application.html.erb +15 -0
  34. data/examples/rails-6/app/views/layouts/mailer.html.erb +13 -0
  35. data/examples/rails-6/app/views/layouts/mailer.text.erb +1 -0
  36. data/examples/rails-6/app/views/posts/_form.html.erb +27 -0
  37. data/examples/rails-6/app/views/posts/_post.json.jbuilder +2 -0
  38. data/examples/rails-6/app/views/posts/edit.html.erb +6 -0
  39. data/examples/rails-6/app/views/posts/index.html.erb +29 -0
  40. data/examples/rails-6/app/views/posts/index.json.jbuilder +1 -0
  41. data/examples/rails-6/app/views/posts/new.html.erb +5 -0
  42. data/examples/rails-6/app/views/posts/show.html.erb +14 -0
  43. data/examples/rails-6/app/views/posts/show.json.jbuilder +1 -0
  44. data/examples/rails-6/babel.config.js +72 -0
  45. data/examples/rails-6/bin/bundle +114 -0
  46. data/examples/rails-6/bin/rails +9 -0
  47. data/examples/rails-6/bin/rake +9 -0
  48. data/examples/rails-6/bin/setup +36 -0
  49. data/examples/rails-6/bin/webpack +18 -0
  50. data/examples/rails-6/bin/webpack-dev-server +18 -0
  51. data/examples/rails-6/bin/yarn +11 -0
  52. data/examples/rails-6/config.ru +5 -0
  53. data/examples/rails-6/config/application.rb +19 -0
  54. data/examples/rails-6/config/boot.rb +4 -0
  55. data/examples/rails-6/config/cable.yml +10 -0
  56. data/examples/rails-6/config/credentials.yml.enc +1 -0
  57. data/examples/rails-6/config/database.yml +25 -0
  58. data/examples/rails-6/config/environment.rb +5 -0
  59. data/examples/rails-6/config/environments/development.rb +62 -0
  60. data/examples/rails-6/config/environments/production.rb +112 -0
  61. data/examples/rails-6/config/environments/test.rb +49 -0
  62. data/examples/rails-6/config/initializers/application_controller_renderer.rb +8 -0
  63. data/examples/rails-6/config/initializers/assets.rb +14 -0
  64. data/examples/rails-6/config/initializers/backtrace_silencers.rb +7 -0
  65. data/examples/rails-6/config/initializers/content_security_policy.rb +30 -0
  66. data/examples/rails-6/config/initializers/cookies_serializer.rb +5 -0
  67. data/examples/rails-6/config/initializers/filter_parameter_logging.rb +4 -0
  68. data/examples/rails-6/config/initializers/inflections.rb +16 -0
  69. data/examples/rails-6/config/initializers/mime_types.rb +4 -0
  70. data/examples/rails-6/config/initializers/power_trace.rb +3 -0
  71. data/examples/rails-6/config/initializers/wrap_parameters.rb +14 -0
  72. data/examples/rails-6/config/locales/en.yml +33 -0
  73. data/examples/rails-6/config/puma.rb +38 -0
  74. data/examples/rails-6/config/routes.rb +5 -0
  75. data/examples/rails-6/config/storage.yml +34 -0
  76. data/examples/rails-6/config/webpack/development.js +5 -0
  77. data/examples/rails-6/config/webpack/environment.js +3 -0
  78. data/examples/rails-6/config/webpack/production.js +5 -0
  79. data/examples/rails-6/config/webpack/test.js +5 -0
  80. data/examples/rails-6/config/webpacker.yml +96 -0
  81. data/examples/rails-6/db/migrate/20200829063653_create_posts.rb +10 -0
  82. data/examples/rails-6/db/seeds.rb +7 -0
  83. data/examples/rails-6/lib/assets/.keep +0 -0
  84. data/examples/rails-6/lib/tasks/.keep +0 -0
  85. data/examples/rails-6/log/.keep +0 -0
  86. data/examples/rails-6/package.json +15 -0
  87. data/examples/rails-6/postcss.config.js +12 -0
  88. data/examples/rails-6/public/404.html +67 -0
  89. data/examples/rails-6/public/422.html +67 -0
  90. data/examples/rails-6/public/500.html +66 -0
  91. data/examples/rails-6/public/apple-touch-icon-precomposed.png +0 -0
  92. data/examples/rails-6/public/apple-touch-icon.png +0 -0
  93. data/examples/rails-6/public/favicon.ico +0 -0
  94. data/examples/rails-6/public/robots.txt +1 -0
  95. data/examples/rails-6/storage/.keep +0 -0
  96. data/examples/rails-6/test/application_system_test_case.rb +5 -0
  97. data/examples/rails-6/test/channels/application_cable/connection_test.rb +11 -0
  98. data/examples/rails-6/test/controllers/.keep +0 -0
  99. data/examples/rails-6/test/controllers/posts_controller_test.rb +48 -0
  100. data/examples/rails-6/test/fixtures/.keep +0 -0
  101. data/examples/rails-6/test/fixtures/files/.keep +0 -0
  102. data/examples/rails-6/test/fixtures/posts.yml +9 -0
  103. data/examples/rails-6/test/helpers/.keep +0 -0
  104. data/examples/rails-6/test/integration/.keep +0 -0
  105. data/examples/rails-6/test/mailers/.keep +0 -0
  106. data/examples/rails-6/test/models/.keep +0 -0
  107. data/examples/rails-6/test/models/post_test.rb +7 -0
  108. data/examples/rails-6/test/system/.keep +0 -0
  109. data/examples/rails-6/test/system/posts_test.rb +45 -0
  110. data/examples/rails-6/test/test_helper.rb +13 -0
  111. data/examples/rails-6/tmp/.keep +0 -0
  112. data/examples/rails-6/tmp/pids/.keep +0 -0
  113. data/examples/rails-6/vendor/.keep +0 -0
  114. data/examples/rails-6/yarn.lock +7593 -0
  115. data/images/normal_minitest_error.png +0 -0
  116. data/images/normal_rails_error.png +0 -0
  117. data/images/power_minitest_error.png +0 -0
  118. data/images/power_rails_error.png +0 -0
  119. data/lib/power_trace.rb +24 -7
  120. data/lib/power_trace/entry.rb +75 -10
  121. data/lib/power_trace/exception_patch.rb +1 -1
  122. data/lib/power_trace/integrations/minitest.rb +14 -0
  123. data/lib/power_trace/integrations/rails.rb +2 -0
  124. data/lib/power_trace/integrations/rspec.rb +11 -0
  125. data/lib/power_trace/rails/action_dispatch/debug_exceptions.rb +28 -0
  126. data/lib/power_trace/rails/action_dispatch/exception_wrapper.rb +28 -0
  127. data/lib/power_trace/version.rb +1 -1
  128. data/power_trace.gemspec +1 -0
  129. metadata +134 -3
  130. data/lib/power_trace/rspec_patch.rb +0 -15

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.