rails_error_dashboard 0.1.9 → 0.1.10
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
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0be193c8efc5a3a6e1a5ea10196b987dad5d3a00fd69fd9ead8ed8f0c8e4e33c
|
|
4
|
+
data.tar.gz: 7dd591b0299ff74146b5f8863a82613bc8e8648a07e9c90de572d1ead637cda2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a313aee0a1163997bc07ccab988c1f103276149d8cba3130be243196bb7ffab040e846dce8f914f923a4f70809157e7bf45bfaeb5b5005eaa6543c587a413a75
|
|
7
|
+
data.tar.gz: e5a1237da3bc791415fee438d556d88a167c08e3d02ceec3aa1f4b02675852303ea5362b804da13780fd1dbd628b2c12a29af1d9d402af19630aed1f18f8b07e
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
<% if RailsErrorDashboard.configuration.enable_similar_errors && @error.respond_to?(:similar_errors) %>
|
|
179
179
|
<% similar = @error.similar_errors(threshold: 0.6, limit: 5) %>
|
|
180
180
|
<% if similar.any? %>
|
|
181
|
-
<% cache [@error, 'similar_errors_v1', similar.
|
|
181
|
+
<% cache [@error, 'similar_errors_v1', similar.map { |s| s[:error]&.updated_at }.compact.max] do %>
|
|
182
182
|
<div class="card mb-4">
|
|
183
183
|
<div class="card-header bg-white">
|
|
184
184
|
<h5 class="mb-0">
|
|
@@ -809,19 +809,19 @@
|
|
|
809
809
|
</div>
|
|
810
810
|
</div>
|
|
811
811
|
|
|
812
|
-
<% if baseline.mean && baseline.std_dev %>
|
|
812
|
+
<% if baseline.respond_to?(:mean) && baseline.mean && baseline.respond_to?(:std_dev) && baseline.std_dev %>
|
|
813
813
|
<div class="mt-2">
|
|
814
814
|
<small class="text-muted">
|
|
815
|
-
Threshold (2σ): <strong><%= baseline.threshold(sensitivity: 2)&.round(1) %></strong>
|
|
815
|
+
Threshold (2σ): <strong><%= baseline.respond_to?(:threshold) ? baseline.threshold(sensitivity: 2)&.round(1) : 'N/A' %></strong>
|
|
816
816
|
</small>
|
|
817
817
|
</div>
|
|
818
818
|
<% end %>
|
|
819
819
|
|
|
820
820
|
<div class="mt-2">
|
|
821
821
|
<small class="text-muted">
|
|
822
|
-
Sample: <%= baseline.sample_size %> periods
|
|
822
|
+
Sample: <%= baseline.respond_to?(:sample_size) ? baseline.sample_size : 'N/A' %> periods
|
|
823
823
|
<span class="text-muted">|</span>
|
|
824
|
-
Updated: <%= baseline.updated_at&.strftime("%m/%d %I:%M%p") %>
|
|
824
|
+
Updated: <%= baseline.respond_to?(:updated_at) ? baseline.updated_at&.strftime("%m/%d %I:%M%p") : 'N/A' %>
|
|
825
825
|
</small>
|
|
826
826
|
</div>
|
|
827
827
|
</div>
|
data/config/routes.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rails_error_dashboard
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Anjan Jagirdar
|
|
@@ -326,6 +326,7 @@ files:
|
|
|
326
326
|
- db/migrate/20251226020000_add_workflow_fields_to_error_logs.rb
|
|
327
327
|
- db/migrate/20251226020100_create_error_comments.rb
|
|
328
328
|
- db/migrate/20251229111223_add_additional_performance_indexes.rb
|
|
329
|
+
- db/migrate/20251230075315_cleanup_orphaned_migrations.rb
|
|
329
330
|
- lib/generators/rails_error_dashboard/install/install_generator.rb
|
|
330
331
|
- lib/generators/rails_error_dashboard/install/templates/README
|
|
331
332
|
- lib/generators/rails_error_dashboard/install/templates/initializer.rb
|
|
@@ -378,7 +379,7 @@ metadata:
|
|
|
378
379
|
source_code_uri: https://github.com/AnjanJ/rails_error_dashboard
|
|
379
380
|
changelog_uri: https://github.com/AnjanJ/rails_error_dashboard/blob/main/CHANGELOG.md
|
|
380
381
|
post_install_message: "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n
|
|
381
|
-
\ Rails Error Dashboard v0.1.
|
|
382
|
+
\ Rails Error Dashboard v0.1.10 installed successfully!\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\n\U0001F4E6
|
|
382
383
|
Next steps to get started:\n\n 1. Run the installer:\n rails generate rails_error_dashboard:install\n\n
|
|
383
384
|
\ 2. Run migrations:\n rails db:migrate\n\n 3. Mount the engine in config/routes.rb:\n
|
|
384
385
|
\ mount RailsErrorDashboard::Engine => '/error_dashboard'\n\n 4. Start your
|