ndr_error 2.4.2 → 2.4.3

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: 4f8b7422f35d4b16e8402c00e8a69aa11f525f03b3ab4706de9da71da19fd23e
4
- data.tar.gz: fb5961dcc8c850f426b44bb7e7662d3c4b9bc02628acf7179fe4839ff716e09d
3
+ metadata.gz: 8223a432e5e51138416635671777021e86f484aafec69f1447d4ace9c913808e
4
+ data.tar.gz: 964e87419fbc8706d7292c024079f4055e062cba39b79e174d66fea78aa4d3eb
5
5
  SHA512:
6
- metadata.gz: ab39227fb77d4577ae81152be2c178221e358fa4fe6e9c1e7a6351a128b22d9ec6576e32a6cad15b33a6d8ae61b40721208bb4ca1ede03c7dc06c6925db8b6da
7
- data.tar.gz: fa6b884994088356ea98c23d613b7485c928a6729a6f6283014d7a087a2fe33b5620c1cc81ef8e35bb01eede735f8e45405772124562f94b1078b6954d9fde02
6
+ metadata.gz: 3ccd3d948fca08b016e93b6c525d1903634ca75d98cb1c5bb49a3d5ac345394106cba028b0db831fdf7f913af6acb3b09119993c09b3c4082d1e2ad26982b9de
7
+ data.tar.gz: 64ce6677cb61b14e21ca2e386d9fc59ee02d35f30903edec4459717671bf032f027349433e3494cd6d0fb6b97b1ee514905b8d05be17044d79da2c9a109922ca
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  ## [Unreleased]
2
2
  * no unreleased changes
3
3
 
4
+ ## 2.4.3 / 2025-11-07
5
+ ### Fixed
6
+ * Support Ruby 3.4, Rails 8.0
7
+ * Fix ruby 3.4 frozen string literal warnings
8
+
4
9
  ## 2.4.2 / 2025-03-23
5
10
  * fix link with icon button style
6
11
 
@@ -11,7 +11,7 @@ module NdrError
11
11
 
12
12
  error.backtrace.map do |line|
13
13
  css_classes = 'trace-item'
14
- css_classes << ' stack-only' unless highlighting.include?(line)
14
+ css_classes += ' stack-only' unless highlighting.include?(line)
15
15
 
16
16
  content_tag(:span, line, class: css_classes)
17
17
  end
@@ -59,7 +59,7 @@ module NdrError
59
59
  def ticket_link_for(fingerprint, small = false) # rubocop:disable Style/OptionalBooleanParameter
60
60
  text = bootstrap_icon_tag('asterisk', :bi) + ' View ticket' # rubocop:disable Style/StringConcatenation
61
61
  css = 'btn btn-outline-secondary'
62
- css << ' btn-xs' if small
62
+ css += ' btn-xs' if small
63
63
 
64
64
  url = fingerprint.ticket_url
65
65
  link_to(text, /^http/i =~ url ? url : "http://#{url}", class: css)
@@ -87,7 +87,7 @@ module NdrError
87
87
 
88
88
  def previous_button_for(error)
89
89
  css = 'btn btn-outline-secondary'
90
- css << ' disabled' if error.nil?
90
+ css += ' disabled' if error.nil?
91
91
  text = bootstrap_icon_tag('chevron-left', :bi)
92
92
  path = error.nil? ? '#' : error_fingerprint_path(error.error_fingerprint, log_id: error)
93
93
 
@@ -96,7 +96,7 @@ module NdrError
96
96
 
97
97
  def next_button_for(error)
98
98
  css = 'btn btn-outline-secondary'
99
- css << ' disabled' if error.nil?
99
+ css += ' disabled' if error.nil?
100
100
  text = bootstrap_icon_tag('chevron-right', :bi)
101
101
  path = error.nil? ? '#' : error_fingerprint_path(error.error_fingerprint, log_id: error)
102
102
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Contains the version of NdrError. Sourced by the gemspec.
4
4
  module NdrError
5
- VERSION = '2.4.2'
5
+ VERSION = '2.4.3'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ndr_error
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.2
4
+ version: 2.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - NCRS Development Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-23 00:00:00.000000000 Z
11
+ date: 2025-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '6.1'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '7.3'
22
+ version: '8.1'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '6.1'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '7.3'
32
+ version: '8.1'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: net-imap
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -284,7 +284,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
284
284
  - !ruby/object:Gem::Version
285
285
  version: '0'
286
286
  requirements: []
287
- rubygems_version: 3.3.27
287
+ rubygems_version: 3.5.22
288
288
  signing_key:
289
289
  specification_version: 4
290
290
  summary: Rails exception logging