newshound 0.2.5 → 0.2.6

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: 3d9a10844e45f2216a4e2f9a3aa895d72a2cbffb09c157460ce989e7a390564b
4
- data.tar.gz: e271a3cd7916ec4eee93274e7601f14e4c7dd55d6db92ae55dce2f74f9c31245
3
+ metadata.gz: 3f0581293553e927cf028699263598959a326bf29cab1959cf0e5ee76cd503f7
4
+ data.tar.gz: 806595e8afa6a5b86c3b72c8b23cb4d4416c55244b7cb64eb7f03fc5b4bb0ea6
5
5
  SHA512:
6
- metadata.gz: a3c24e8dcf33ef8ea5c346e566f6a5441afa0657ab338b2599806133088f0f19ed36af407cf3d93da087bc76965dc35b3d135b222d6b0aa53f5caa610e015954
7
- data.tar.gz: 3f2197e8a8bd9d99a2968df964bfd0c471d1c344a365c31a8e092ea9d5c09dfe9f4a87f97da14b3e92e32f9b9219327414998c3f36779b6780ef56b0f03cd9fd
6
+ metadata.gz: 9097b991022152d1a97ee04ebf2667221444b36362b18ab5bfb787a975fbc25f76a7a6a1d1b7b5f56c7947eb6c9bd8ae7f29c50cdbc8fe60869f67fae5b5fc25
7
+ data.tar.gz: 8057adf5d2fde41a7d4d770abd4dfe7a483b6a467f6f2e058630b6b538d662e52ca5e72d7a07b4dd82a032fc5435f3cb2e11777b0d17c13e29fa222f5ceaba61
data/CHANGELOG.md CHANGED
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [] -
9
+
10
+ ###
11
+
12
+ - [0.2.6] -2025-01-13
13
+
14
+ ### Fixed
15
+
16
+ - Solid Errors title is able to present in banner.
17
+
8
18
  ## [0.2.5] - 2025-12-12
9
19
 
10
20
  ### Added
@@ -17,19 +27,3 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
17
27
  ### Fixed
18
28
 
19
29
  - Fixed summary badge to show combined warnings and failed jobs count
20
-
21
- ## [0.2.4] - 2025-12-12
22
-
23
- ### Fixed
24
-
25
- - Fixed release workflow to properly create version bump PRs using gh pr create instead of peter-evans/create-pull-request action, resolving compatibility issue with reissue gem
26
-
27
- ## [0.2.3] - 2025-10-29
28
-
29
- ### Fixed
30
-
31
- - Updated styling in banner injector to attempt to keep newshound banner above other application's menus, instead of hovering over them.
32
-
33
- ### Changed
34
-
35
- - Consolidated exception data extraction in ExceptionTrack and SolidErrors (55cffd3)
@@ -0,0 +1 @@
1
+ 6dcf90a0da955161482aaae7ae5ea1c4501b55f69bb7e5dc402147b8aa09df981ef2f0952539f11b68a3f9f4b658fa3894b03469fb6be5e4c5ef93952669bb5f
@@ -37,9 +37,11 @@ module Newshound
37
37
  controller = context_data["controller"]
38
38
  action = context_data["action"]
39
39
 
40
+ error_record = exception.try(:error)
41
+
40
42
  {
41
- title: exception.try(:error_class).presence || "Unknown Exception",
42
- message: exception.try(:message).presence&.to_s || context_data["message"].presence&.to_s || +"",
43
+ title: error_record&.exception_class.presence || "Unknown Exception",
44
+ message: error_record&.message.presence&.to_s || context_data["message"].presence&.to_s || +"",
43
45
  location: (controller && action) ? "#{controller}##{action}" : +"",
44
46
  controller: controller,
45
47
  action: action
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Newshound
4
- VERSION = "0.2.5"
4
+ VERSION = "0.2.6"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: newshound
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Savannah Moore
@@ -54,6 +54,7 @@ files:
54
54
  - TRANSPORT_USAGE.md
55
55
  - checksums/newshound-0.2.3.gem.sha512
56
56
  - checksums/newshound-0.2.5.gem.sha512
57
+ - checksums/newshound-0.2.6.gem.sha512
57
58
  - lib/generators/newshound/install/install_generator.rb
58
59
  - lib/generators/newshound/install/templates/newshound.rb
59
60
  - lib/newshound.rb
@@ -93,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
94
  - !ruby/object:Gem::Version
94
95
  version: '0'
95
96
  requirements: []
96
- rubygems_version: 3.6.9
97
+ rubygems_version: 4.0.3
97
98
  specification_version: 4
98
99
  summary: Real-time web UI banner for monitoring Que jobs and exception tracking
99
100
  test_files: []