ndr_error 2.4.1 → 2.4.2

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: c5d2f582669a22424c21fc7262a17ce150bf9abb51faf8dd5dca875ad131805b
4
- data.tar.gz: 7b987c72fc5645ab2758c47f4fabb3cc228e437b0c77f6114764bab36b41c223
3
+ metadata.gz: 4f8b7422f35d4b16e8402c00e8a69aa11f525f03b3ab4706de9da71da19fd23e
4
+ data.tar.gz: fb5961dcc8c850f426b44bb7e7662d3c4b9bc02628acf7179fe4839ff716e09d
5
5
  SHA512:
6
- metadata.gz: f09dedad2b60183d6151e451b9580193f8c82e78422cef43decc25fa088c658d4eeed715cd5057cc349ac758632c5adddb3f69c5f1c7f825993ce8441c759428
7
- data.tar.gz: 47b6b35f1ea7d9ac062e93d5ea39c5ca84a0692208489641bf9caab74b3abe4d8a28fe0f01267dc9510c81a88f742a3acbebd0f23a7c720c78616c5937d61711
6
+ metadata.gz: ab39227fb77d4577ae81152be2c178221e358fa4fe6e9c1e7a6351a128b22d9ec6576e32a6cad15b33a6d8ae61b40721208bb4ca1ede03c7dc06c6925db8b6da
7
+ data.tar.gz: fa6b884994088356ea98c23d613b7485c928a6729a6f6283014d7a087a2fe33b5620c1cc81ef8e35bb01eede735f8e45405772124562f94b1078b6954d9fde02
data/CHANGELOG.md CHANGED
@@ -1,6 +1,9 @@
1
1
  ## [Unreleased]
2
2
  * no unreleased changes
3
3
 
4
+ ## 2.4.2 / 2025-03-23
5
+ * fix link with icon button style
6
+
4
7
  ## 2.4.1 / 2025-02-03
5
8
  ### Fixed
6
9
  * fix bootstrap 5 data attribute with BS namespace
@@ -57,7 +57,7 @@ module NdrError
57
57
  end
58
58
 
59
59
  def ticket_link_for(fingerprint, small = false) # rubocop:disable Style/OptionalBooleanParameter
60
- text = "#{bootstrap_icon_tag('asterisk', :bi)} View ticket"
60
+ text = bootstrap_icon_tag('asterisk', :bi) + ' View ticket' # rubocop:disable Style/StringConcatenation
61
61
  css = 'btn btn-outline-secondary'
62
62
  css << ' btn-xs' if small
63
63
 
@@ -67,14 +67,14 @@ module NdrError
67
67
 
68
68
  def edit_button_for(fingerprint)
69
69
  css = 'btn btn-outline-secondary'
70
- text = "#{bootstrap_icon_tag('pencil', :bi)} Edit Ticket"
70
+ text = bootstrap_icon_tag('pencil', :bi) + ' Edit Ticket' # rubocop:disable Style/StringConcatenation
71
71
 
72
72
  link_to(text, edit_error_fingerprint_path(fingerprint), class: css)
73
73
  end
74
74
 
75
75
  def purge_button_for(fingerprint)
76
76
  css = 'btn btn-danger'
77
- text = "#{bootstrap_icon_tag('trash-fill', :bi)} Purge"
77
+ text = bootstrap_icon_tag('trash-fill', :bi) + ' Purge' # rubocop:disable Style/StringConcatenation
78
78
 
79
79
  options = {
80
80
  'method' => :delete,
@@ -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.1'
5
+ VERSION = '2.4.2'
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.1
4
+ version: 2.4.2
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-02-03 00:00:00.000000000 Z
11
+ date: 2025-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails