ndr_error 2.4.0 → 2.4.1

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: 2a3df3ca931e154b2ad12097ab5725021d6aa1d3bcb3b61706459258d54084c6
4
- data.tar.gz: 471325de64342030d9e7088eb27bf803dbcce0163aae2a95bbac7ad2ba6a7df5
3
+ metadata.gz: c5d2f582669a22424c21fc7262a17ce150bf9abb51faf8dd5dca875ad131805b
4
+ data.tar.gz: 7b987c72fc5645ab2758c47f4fabb3cc228e437b0c77f6114764bab36b41c223
5
5
  SHA512:
6
- metadata.gz: 6a36f65267a128ab83d5eeaf4b836ea70508c89b30c2661f07bb6398ed78351506a632f4b794de621707bc9ca16abdc27d00e044188e4dfd26234986e7610ed6
7
- data.tar.gz: f0968ff0236b079e0513ee841d3010f4c3135d6931e0f5cb7339471b74729a2b76e7a7707de425d16b0952a50ebda856dd2d5f54ce3f171234b7069d702a72e7
6
+ metadata.gz: f09dedad2b60183d6151e451b9580193f8c82e78422cef43decc25fa088c658d4eeed715cd5057cc349ac758632c5adddb3f69c5f1c7f825993ce8441c759428
7
+ data.tar.gz: 47b6b35f1ea7d9ac062e93d5ea39c5ca84a0692208489641bf9caab74b3abe4d8a28fe0f01267dc9510c81a88f742a3acbebd0f23a7c720c78616c5937d61711
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
- +* no unreleased changes
2
+ * no unreleased changes
3
+
4
+ ## 2.4.1 / 2025-02-03
5
+ ### Fixed
6
+ * fix bootstrap 5 data attribute with BS namespace
3
7
 
4
8
  ## 2.4.0 / 2025-01-31
5
9
  ### Changed
@@ -33,10 +33,10 @@ module NdrError
33
33
 
34
34
  text = "+ #{fingerprint.count - 1}"
35
35
  opts = {
36
- 'class' => 'badge badge-info',
37
- 'data-toggle' => 'tooltip',
38
- 'data-placement' => 'right',
39
- 'title' => "Since #{fingerprint.created_at.to_formatted_s(:db)}"
36
+ 'class' => 'badge badge-info',
37
+ 'data-bs-toggle' => 'tooltip',
38
+ 'data-bs-placement' => 'right',
39
+ 'data-bs-title' => "Since #{fingerprint.created_at.to_formatted_s(:db)}"
40
40
  }
41
41
 
42
42
  content_tag(:span, text, opts)
@@ -22,7 +22,7 @@
22
22
  <%= previous_button_for(@error.previous) %>
23
23
 
24
24
  <div class="btn-group">
25
- <a class="btn btn-outline-secondary dropdown-toggle" data-toggle="dropdown" href="#">
25
+ <a class="btn btn-outline-secondary dropdown-toggle" data-bs-toggle="dropdown" href="#">
26
26
  <%= pluralize(@error.similar_errors.length - 1, 'Similar Error') %> Stored
27
27
  <span class="caret"></span>
28
28
  </a>
@@ -45,7 +45,7 @@
45
45
 
46
46
  <% if @fingerprint.caused_error_fingerprints.any? %>
47
47
  <div class="btn-group">
48
- <a class="btn btn-outline-secondary dropdown-toggle" data-toggle="dropdown" href="#">
48
+ <a class="btn btn-outline-secondary dropdown-toggle" data-bs-toggle="dropdown" href="#">
49
49
  <%= pluralize(@fingerprint.caused_error_fingerprints.length, 'Downstream Error') %> Stored
50
50
  <span class="caret"></span>
51
51
  </a>
@@ -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.0'
5
+ VERSION = '2.4.1'
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.0
4
+ version: 2.4.1
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-01-31 00:00:00.000000000 Z
11
+ date: 2025-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails