ndr_error 2.3.2 → 2.3.4
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 +4 -4
- data/CHANGELOG.md +9 -0
- data/SECURITY.md +35 -0
- data/app/helpers/ndr_error/errors_helper.rb +4 -4
- data/lib/ndr_error/version.rb +1 -1
- metadata +13 -57
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cc647609724df66e2ef237cd3373f459e2607f42b1b7312d83d7b161e7842c55
|
|
4
|
+
data.tar.gz: f08d35d2bc1ac26fc397f870ba3fe68886a39ee458aed044bd52904253c27d6d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 76d375aa7c43b7ff6edea6f7a0680ee96917f23e696b4304de12a09a743d5bb50af75b87e6b54bec7195bbad26ab8b42a2613930553780ef4a425094973cf3b3
|
|
7
|
+
data.tar.gz: 2a41a403e3af819a85f9152adb5f4e904b95d321626f59363faaa382a82aea6a1b47ec3108da0dd72c6f2943fc6a3b4281acd1c7ce7f25c48ccef488bd8f5be6
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
* no unreleased changes
|
|
3
3
|
|
|
4
|
+
## 2.3.4 / 2026-07-10
|
|
5
|
+
### Fixed
|
|
6
|
+
* Support Rails 8.1, Ruby 4.0. Drop support for Ruby 3.2 [backported from v2.4.3]
|
|
7
|
+
|
|
8
|
+
## 2.3.3 / 2025-11-24
|
|
9
|
+
### Fixed
|
|
10
|
+
* Support Ruby 3.4, Rails 8.0 [backported from v2.4.3]
|
|
11
|
+
* Fix ruby 3.4 frozen string literal warnings [backported from v2.4.3]
|
|
12
|
+
|
|
4
13
|
## 2.3.2 / 2024-11-21
|
|
5
14
|
### Fixed
|
|
6
15
|
* Support Ruby 3.2 and 3.3, Rails 7.1 and 7.2. Drop support for Ruby 2.7, Rails 6.0
|
data/SECURITY.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Security
|
|
2
|
+
|
|
3
|
+
NHS England takes security and the protection of private data extremely seriously. If you believe you have found a vulnerability or other issue which has compromised or could compromise the security of any of our systems and/or private data managed by our systems, please do not hesitate to contact us using the methods outlined below.
|
|
4
|
+
|
|
5
|
+
## Table of Contents
|
|
6
|
+
|
|
7
|
+
- [Security](#security)
|
|
8
|
+
- [Table of Contents](#table-of-contents)
|
|
9
|
+
- [Reporting a vulnerability](#reporting-a-vulnerability)
|
|
10
|
+
- [Email](#email)
|
|
11
|
+
- [NCSC](#ncsc)
|
|
12
|
+
- [General Security Enquiries](#general-security-enquiries)
|
|
13
|
+
|
|
14
|
+
## Reporting a vulnerability
|
|
15
|
+
|
|
16
|
+
Please note, email is our preferred method of receiving reports.
|
|
17
|
+
|
|
18
|
+
### Email
|
|
19
|
+
|
|
20
|
+
If you wish to notify us of a vulnerability via email, please include detailed information on the nature of the vulnerability and any steps required to reproduce it.
|
|
21
|
+
|
|
22
|
+
You can reach us at:
|
|
23
|
+
|
|
24
|
+
- [Brian.Shand@nhs.net](mailto:Brian.Shand@nhs.net)
|
|
25
|
+
- [cybersecurity@nhs.net](mailto:cybersecurity@nhs.net)
|
|
26
|
+
|
|
27
|
+
### NCSC
|
|
28
|
+
|
|
29
|
+
You can send your report to the National Cyber Security Centre, who will assess your report and pass it on to NHS England if necessary.
|
|
30
|
+
|
|
31
|
+
You can report vulnerabilities here: [https://www.ncsc.gov.uk/information/vulnerability-reporting](https://www.ncsc.gov.uk/information/vulnerability-reporting)
|
|
32
|
+
|
|
33
|
+
## General Security Enquiries
|
|
34
|
+
|
|
35
|
+
If you have general enquiries regarding our cybersecurity, please reach out to us at [cybersecurity@nhs.net](mailto:cybersecurity@nhs.net)
|
|
@@ -11,7 +11,7 @@ module NdrError
|
|
|
11
11
|
|
|
12
12
|
error.backtrace.map do |line|
|
|
13
13
|
css_classes = 'trace-item'
|
|
14
|
-
css_classes
|
|
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)
|
|
60
60
|
text = glyphicon_tag('asterisk') + ' View ticket'
|
|
61
61
|
css = 'btn btn-default'
|
|
62
|
-
css
|
|
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-default'
|
|
90
|
-
css
|
|
90
|
+
css += ' disabled' if error.nil?
|
|
91
91
|
text = glyphicon_tag('chevron-left')
|
|
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-default'
|
|
99
|
-
css
|
|
99
|
+
css += ' disabled' if error.nil?
|
|
100
100
|
text = glyphicon_tag('chevron-right')
|
|
101
101
|
path = error.nil? ? '#' : error_fingerprint_path(error.error_fingerprint, log_id: error)
|
|
102
102
|
|
data/lib/ndr_error/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ndr_error
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.3.
|
|
4
|
+
version: 2.3.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- NCRS Development Team
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: rails
|
|
@@ -16,62 +15,20 @@ dependencies:
|
|
|
16
15
|
requirements:
|
|
17
16
|
- - ">="
|
|
18
17
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '
|
|
18
|
+
version: '7.1'
|
|
20
19
|
- - "<"
|
|
21
20
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: '
|
|
21
|
+
version: '8.2'
|
|
23
22
|
type: :runtime
|
|
24
23
|
prerelease: false
|
|
25
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
26
25
|
requirements:
|
|
27
26
|
- - ">="
|
|
28
27
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: '
|
|
28
|
+
version: '7.1'
|
|
30
29
|
- - "<"
|
|
31
30
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: '
|
|
33
|
-
- !ruby/object:Gem::Dependency
|
|
34
|
-
name: net-imap
|
|
35
|
-
requirement: !ruby/object:Gem::Requirement
|
|
36
|
-
requirements:
|
|
37
|
-
- - ">="
|
|
38
|
-
- !ruby/object:Gem::Version
|
|
39
|
-
version: '0'
|
|
40
|
-
type: :runtime
|
|
41
|
-
prerelease: false
|
|
42
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
43
|
-
requirements:
|
|
44
|
-
- - ">="
|
|
45
|
-
- !ruby/object:Gem::Version
|
|
46
|
-
version: '0'
|
|
47
|
-
- !ruby/object:Gem::Dependency
|
|
48
|
-
name: net-pop
|
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
|
50
|
-
requirements:
|
|
51
|
-
- - ">="
|
|
52
|
-
- !ruby/object:Gem::Version
|
|
53
|
-
version: '0'
|
|
54
|
-
type: :runtime
|
|
55
|
-
prerelease: false
|
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
57
|
-
requirements:
|
|
58
|
-
- - ">="
|
|
59
|
-
- !ruby/object:Gem::Version
|
|
60
|
-
version: '0'
|
|
61
|
-
- !ruby/object:Gem::Dependency
|
|
62
|
-
name: net-smtp
|
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
|
64
|
-
requirements:
|
|
65
|
-
- - ">="
|
|
66
|
-
- !ruby/object:Gem::Version
|
|
67
|
-
version: '0'
|
|
68
|
-
type: :runtime
|
|
69
|
-
prerelease: false
|
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
71
|
-
requirements:
|
|
72
|
-
- - ">="
|
|
73
|
-
- !ruby/object:Gem::Version
|
|
74
|
-
version: '0'
|
|
31
|
+
version: '8.2'
|
|
75
32
|
- !ruby/object:Gem::Dependency
|
|
76
33
|
name: will_paginate
|
|
77
34
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -90,16 +47,16 @@ dependencies:
|
|
|
90
47
|
name: ndr_ui
|
|
91
48
|
requirement: !ruby/object:Gem::Requirement
|
|
92
49
|
requirements:
|
|
93
|
-
- - "
|
|
50
|
+
- - "<"
|
|
94
51
|
- !ruby/object:Gem::Version
|
|
95
|
-
version: '0'
|
|
52
|
+
version: '5.0'
|
|
96
53
|
type: :runtime
|
|
97
54
|
prerelease: false
|
|
98
55
|
version_requirements: !ruby/object:Gem::Requirement
|
|
99
56
|
requirements:
|
|
100
|
-
- - "
|
|
57
|
+
- - "<"
|
|
101
58
|
- !ruby/object:Gem::Version
|
|
102
|
-
version: '0'
|
|
59
|
+
version: '5.0'
|
|
103
60
|
- !ruby/object:Gem::Dependency
|
|
104
61
|
name: pry
|
|
105
62
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -223,6 +180,7 @@ files:
|
|
|
223
180
|
- MIT-LICENSE
|
|
224
181
|
- README.md
|
|
225
182
|
- Rakefile
|
|
183
|
+
- SECURITY.md
|
|
226
184
|
- app/assets/javascripts/ndr_error/ndr_error.js
|
|
227
185
|
- app/assets/stylesheets/ndr_error/ndr_error.scss
|
|
228
186
|
- app/controllers/ndr_error/application_controller.rb
|
|
@@ -255,7 +213,6 @@ homepage: https://github.com/NHSDigital/ndr_error
|
|
|
255
213
|
licenses:
|
|
256
214
|
- MIT
|
|
257
215
|
metadata: {}
|
|
258
|
-
post_install_message:
|
|
259
216
|
rdoc_options: []
|
|
260
217
|
require_paths:
|
|
261
218
|
- lib
|
|
@@ -263,15 +220,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
263
220
|
requirements:
|
|
264
221
|
- - ">="
|
|
265
222
|
- !ruby/object:Gem::Version
|
|
266
|
-
version: '3.
|
|
223
|
+
version: '3.3'
|
|
267
224
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
268
225
|
requirements:
|
|
269
226
|
- - ">="
|
|
270
227
|
- !ruby/object:Gem::Version
|
|
271
228
|
version: '0'
|
|
272
229
|
requirements: []
|
|
273
|
-
rubygems_version: 3.
|
|
274
|
-
signing_key:
|
|
230
|
+
rubygems_version: 3.6.9
|
|
275
231
|
specification_version: 4
|
|
276
232
|
summary: Rails exception logging
|
|
277
233
|
test_files: []
|