newshound 0.2.5 → 0.2.7

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: 58c2540992cef9f0214865a6d365d0e2b2e98e6f7a9d186df9c50affbc254498
4
+ data.tar.gz: e1db27edd5f1f665bb30154ce0fe2aea85781397e6caaf71f171d2c5e5a4fc8c
5
5
  SHA512:
6
- metadata.gz: a3c24e8dcf33ef8ea5c346e566f6a5441afa0657ab338b2599806133088f0f19ed36af407cf3d93da087bc76965dc35b3d135b222d6b0aa53f5caa610e015954
7
- data.tar.gz: 3f2197e8a8bd9d99a2968df964bfd0c471d1c344a365c31a8e092ea9d5c09dfe9f4a87f97da14b3e92e32f9b9219327414998c3f36779b6780ef56b0f03cd9fd
6
+ metadata.gz: fb50eb837a41ceafd5e5b47a5a90762d7e04b5642c520e24a103202a87eead65d241dcb9674939d1cef34fdb9a1fb186d885cd19cdd154ac9d0049f9bb6ccefd
7
+ data.tar.gz: 5344958684e704bba2f18ef8bce4bccd04ad954119ed8f0b5e57f6d2e6b1af422ac70642e32eceb7af488946102b0e71474f540db38030b930222b88f8ca97da
data/CHANGELOG.md CHANGED
@@ -5,31 +5,14 @@ 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
- ## [0.2.5] - 2025-12-12
8
+ ## [0.2.7] - 2026-01-30
9
9
 
10
- ### Added
10
+ ## [] -
11
11
 
12
- - Add `Newshound::Warnings` module with registry-based adapter pattern for custom warning sources
13
- - Add `Newshound::Warnings::Base` abstract class for warning adapters
14
- - Add `Newshound::WarningReporter` for fetching and formatting warnings
15
- - Display warnings in banner alongside exceptions and job stats
12
+ ###
16
13
 
17
- ### Fixed
18
-
19
- - Fixed summary badge to show combined warnings and failed jobs count
20
-
21
- ## [0.2.4] - 2025-12-12
14
+ - [0.2.6] -2025-01-13
22
15
 
23
16
  ### Fixed
24
17
 
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)
18
+ - Solid Errors title is able to present in banner.
data/README.md CHANGED
@@ -203,12 +203,7 @@ bin/console
203
203
 
204
204
  ## Release Management
205
205
 
206
- This gem uses [Reissue](https://github.com/rails/reissue) for release management. Releases are automated via GitHub Actions:
207
-
208
- 1. Navigate to Actions → "Release gem to RubyGems.org"
209
- 2. Click "Run workflow"
210
- 3. Select version segment to bump (patch, minor, major)
211
- 4. Review and merge the auto-generated PR
206
+ This gem uses [Reissue](https://github.com/SOFware/reissue) for release management. Releases are automated via the [shared release workflow](https://github.com/SOFware/reissue/blob/main/.github/workflows/SHARED_WORKFLOW_README.md). Trigger a release by running the "Release gem to RubyGems.org" workflow from the Actions tab.
212
207
 
213
208
  ## Dependencies
214
209
 
data/Rakefile CHANGED
@@ -8,7 +8,7 @@ require "standard/rake"
8
8
  Reissue::Task.create :reissue do |task|
9
9
  task.version_file = "lib/newshound/version.rb"
10
10
  task.fragment = :git
11
- task.commit_finalize = false # Let workflow handle commits
11
+ task.push_finalize = :branch
12
12
  end
13
13
 
14
14
  RSpec::Core::RakeTask.new(:spec)
@@ -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.7"
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.7
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: 3.6.7
97
98
  specification_version: 4
98
99
  summary: Real-time web UI banner for monitoring Que jobs and exception tracking
99
100
  test_files: []