ndr_dev_support 7.3.6 → 7.3.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/SECURITY.md +35 -0
- data/lib/ndr_dev_support/capistrano/restart.rb +10 -0
- data/lib/ndr_dev_support/version.rb +1 -1
- data/ndr_dev_support.gemspec +3 -3
- metadata +11 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8fd8bba1f3c88cc84df99dd1fe9b1f3a8877d49ede2736d4a1b8b362c6217663
|
|
4
|
+
data.tar.gz: b0476e365b2ed4cda0d6cace8107c9a569e91af2b67b6bace8284bc3393e320f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5a6457d87e9cc922d07c94944b88c5a032cdd9401d2de59960fa8611f6736d1f86fc4943fd707b38de01a6c1a9e4ae6d4692b4e01ebf918b72bf26bdbe30d1ea
|
|
7
|
+
data.tar.gz: 0d47c0e6fa632d39610dbd3acde0f6b71b617e2a436439d28d40d8d95bfaa6ab344fd254d5fb40ae0c227b9c4fa1cccd4d6c8c34e201bc1741b1139c0714b34f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
*no unreleased changes*
|
|
3
3
|
|
|
4
|
+
## 7.3.7 / 2026-06-29
|
|
5
|
+
### Fixed
|
|
6
|
+
* Drop support for Ruby 3.1 and 3.2, Rails 7.0
|
|
7
|
+
* Capistrano: deployment should continue even if cleanup cannot delete files
|
|
8
|
+
|
|
4
9
|
## 7.3.6 / 2026-01-13
|
|
5
10
|
### Added
|
|
6
11
|
* Support Rails 8.1, Ruby 4.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)
|
|
@@ -5,5 +5,15 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
5
5
|
# The tmp/ directory should be shared, so this affects all prior deployments
|
|
6
6
|
run "touch #{shared_path}/tmp/restart.txt"
|
|
7
7
|
end
|
|
8
|
+
|
|
9
|
+
desc <<~DESC
|
|
10
|
+
Clean up old releases. Overrides the default deploy:cleanup but without blocking \
|
|
11
|
+
subsequent tasks if cleanup fails (e.g. because of locked files or permissions issues).
|
|
12
|
+
DESC
|
|
13
|
+
task :cleanup, except: { no_release: true } do
|
|
14
|
+
count = fetch(:keep_releases, 5).to_i
|
|
15
|
+
try_sudo "ls -1dt #{releases_path}/* | tail -n +#{count + 1} | #{try_sudo} xargs -r rm -rf " \
|
|
16
|
+
"|| echo 'cap deploy:cleanup failed - continuing, but check permissions.' >&2"
|
|
17
|
+
end
|
|
8
18
|
end
|
|
9
19
|
end
|
data/ndr_dev_support.gemspec
CHANGED
|
@@ -13,14 +13,14 @@ Gem::Specification.new do |spec|
|
|
|
13
13
|
spec.license = 'MIT'
|
|
14
14
|
|
|
15
15
|
gem_files = %w[CHANGELOG.md CODE_OF_CONDUCT.md LICENSE.txt README.md
|
|
16
|
-
config lib ndr_dev_support.gemspec]
|
|
16
|
+
SECURITY.md config lib ndr_dev_support.gemspec]
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0").
|
|
18
18
|
select { |f| gem_files.include?(f.split('/')[0]) }
|
|
19
19
|
spec.bindir = 'exe'
|
|
20
20
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
21
21
|
spec.require_paths = ['lib']
|
|
22
22
|
|
|
23
|
-
spec.required_ruby_version = '>= 3.
|
|
23
|
+
spec.required_ruby_version = '>= 3.2'
|
|
24
24
|
|
|
25
25
|
spec.add_dependency 'pry'
|
|
26
26
|
|
|
@@ -39,7 +39,7 @@ Gem::Specification.new do |spec|
|
|
|
39
39
|
# Integration test dependencies:
|
|
40
40
|
spec.add_dependency 'capybara', '>= 3.34'
|
|
41
41
|
spec.add_dependency 'capybara-screenshot'
|
|
42
|
-
spec.add_dependency 'minitest', '
|
|
42
|
+
spec.add_dependency 'minitest', '>= 5.11', '< 7.0'
|
|
43
43
|
spec.add_dependency 'selenium-webdriver', '~> 4.8'
|
|
44
44
|
spec.add_dependency 'show_me_the_cookies'
|
|
45
45
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ndr_dev_support
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 7.3.
|
|
4
|
+
version: 7.3.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- NCRS Development Team
|
|
@@ -167,16 +167,22 @@ dependencies:
|
|
|
167
167
|
name: minitest
|
|
168
168
|
requirement: !ruby/object:Gem::Requirement
|
|
169
169
|
requirements:
|
|
170
|
-
- - "
|
|
170
|
+
- - ">="
|
|
171
171
|
- !ruby/object:Gem::Version
|
|
172
172
|
version: '5.11'
|
|
173
|
+
- - "<"
|
|
174
|
+
- !ruby/object:Gem::Version
|
|
175
|
+
version: '7.0'
|
|
173
176
|
type: :runtime
|
|
174
177
|
prerelease: false
|
|
175
178
|
version_requirements: !ruby/object:Gem::Requirement
|
|
176
179
|
requirements:
|
|
177
|
-
- - "
|
|
180
|
+
- - ">="
|
|
178
181
|
- !ruby/object:Gem::Version
|
|
179
182
|
version: '5.11'
|
|
183
|
+
- - "<"
|
|
184
|
+
- !ruby/object:Gem::Version
|
|
185
|
+
version: '7.0'
|
|
180
186
|
- !ruby/object:Gem::Dependency
|
|
181
187
|
name: selenium-webdriver
|
|
182
188
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -403,6 +409,7 @@ files:
|
|
|
403
409
|
- CODE_OF_CONDUCT.md
|
|
404
410
|
- LICENSE.txt
|
|
405
411
|
- README.md
|
|
412
|
+
- SECURITY.md
|
|
406
413
|
- config/rubocop/ndr.yml
|
|
407
414
|
- lib/minitest/rake_ci.rb
|
|
408
415
|
- lib/minitest/rake_ci_plugin.rb
|
|
@@ -480,7 +487,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
480
487
|
requirements:
|
|
481
488
|
- - ">="
|
|
482
489
|
- !ruby/object:Gem::Version
|
|
483
|
-
version: '3.
|
|
490
|
+
version: '3.2'
|
|
484
491
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
485
492
|
requirements:
|
|
486
493
|
- - ">="
|