canql 6.0.3 → 7.0.0
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 +12 -1
- data/SECURITY.md +35 -0
- data/lib/canql/grammars/batch_types.treetop +9 -1
- data/lib/canql/grammars/e_base_records.treetop +4 -3
- data/lib/canql/nodes/batch_types.rb +12 -0
- data/lib/canql/version.rb +1 -1
- metadata +9 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2ad8b695027b32e574bb3df68d025413a16867dae1df05d66e60bf015048ffa2
|
|
4
|
+
data.tar.gz: 71e41326f9f3d13ad273e63e4583246d788a7d1df675b6b326430c019de3adc0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cb06edc70e67d52f5468f99097bd154b8d3bc20382311365aae9b14fdf0bb09528dfa94875f9c0d58ecb21a8e1399b3d9a32664bcea4f2d59af3ddae3edc2b2a
|
|
7
|
+
data.tar.gz: 1d644814b40d2401cda0e6650b9c15d7f0af63b2800350556eb1d6072f26dd6a508f3973702e8f8725f757f53ea1b1121320409720a2d48159471b04520d3f27
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
|
-
|
|
2
|
+
## 7.0.0 / 2026-07-31
|
|
3
|
+
### Fixed
|
|
4
|
+
* Support Ruby 4.0, Rails 8.1. Drop support for Ruby 3.2
|
|
5
|
+
### Added
|
|
6
|
+
* Added support for antenatal and postnatal batch types
|
|
7
|
+
|
|
8
|
+
## 6.1.0 / 2026-03-24
|
|
9
|
+
### Changed
|
|
10
|
+
* Added NCRS_CHECK and NCRS_CHECKED actions to action filter
|
|
11
|
+
* Removed SCR_CHECK and SCR_CHECKED actions from action filter
|
|
12
|
+
### Fixed
|
|
13
|
+
* Support Ruby 3.4. Drop support for Rails 7.0, Ruby 3.1
|
|
3
14
|
|
|
4
15
|
## 6.0.3 / 2025-06-11
|
|
5
16
|
### Fixed
|
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)
|
|
@@ -2,7 +2,7 @@ module Canql
|
|
|
2
2
|
grammar BatchTypes
|
|
3
3
|
rule batch_type
|
|
4
4
|
(paediatric / enote2 / badger / ucyto / nipt / rddeath /
|
|
5
|
-
umum / ca_death / biochem / hes / uss) <Nodes::BatchTypeNode>
|
|
5
|
+
umum / ca_death / biochem / hes / uss / antenatal / postnatal) <Nodes::BatchTypeNode>
|
|
6
6
|
end
|
|
7
7
|
|
|
8
8
|
rule paediatric
|
|
@@ -48,5 +48,13 @@ module Canql
|
|
|
48
48
|
rule ca_death
|
|
49
49
|
('cadeath' / 'ca death' / 'congenital anomaly death') <Nodes::CADeathNode>
|
|
50
50
|
end
|
|
51
|
+
|
|
52
|
+
rule antenatal
|
|
53
|
+
'antenatal' <Nodes::AntenatalNode>
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
rule postnatal
|
|
57
|
+
'postnatal' <Nodes::PostnatalNode>
|
|
58
|
+
end
|
|
51
59
|
end
|
|
52
60
|
end
|
|
@@ -50,9 +50,10 @@ module Canql
|
|
|
50
50
|
|
|
51
51
|
rule accepted_action
|
|
52
52
|
'badger_search' / 'badger_checked' / 'coding_group' / 'complete' /
|
|
53
|
-
'delete' / 'fasp_categorisation' / 'msds_sent' /
|
|
54
|
-
'
|
|
55
|
-
'
|
|
53
|
+
'delete' / 'fasp_categorisation' / 'msds_sent' /
|
|
54
|
+
'ncrs_checked' / 'ncrs_check' /
|
|
55
|
+
'qa' / 'rare_disease_team' / 'reg_coding_forum' /
|
|
56
|
+
'search' / 'sources_checked' / 'technical'
|
|
56
57
|
end
|
|
57
58
|
|
|
58
59
|
rule all_or_none_actions
|
data/lib/canql/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: canql
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 7.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- NHSD NDRS Development Team
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: exe
|
|
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: chronic
|
|
@@ -50,20 +49,20 @@ dependencies:
|
|
|
50
49
|
requirements:
|
|
51
50
|
- - ">="
|
|
52
51
|
- !ruby/object:Gem::Version
|
|
53
|
-
version: '7.
|
|
52
|
+
version: '7.1'
|
|
54
53
|
- - "<"
|
|
55
54
|
- !ruby/object:Gem::Version
|
|
56
|
-
version: '8.
|
|
55
|
+
version: '8.2'
|
|
57
56
|
type: :runtime
|
|
58
57
|
prerelease: false
|
|
59
58
|
version_requirements: !ruby/object:Gem::Requirement
|
|
60
59
|
requirements:
|
|
61
60
|
- - ">="
|
|
62
61
|
- !ruby/object:Gem::Version
|
|
63
|
-
version: '7.
|
|
62
|
+
version: '7.1'
|
|
64
63
|
- - "<"
|
|
65
64
|
- !ruby/object:Gem::Version
|
|
66
|
-
version: '8.
|
|
65
|
+
version: '8.2'
|
|
67
66
|
- !ruby/object:Gem::Dependency
|
|
68
67
|
name: treetop
|
|
69
68
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -95,6 +94,7 @@ files:
|
|
|
95
94
|
- LICENSE.txt
|
|
96
95
|
- README.md
|
|
97
96
|
- Rakefile
|
|
97
|
+
- SECURITY.md
|
|
98
98
|
- lib/canql.rb
|
|
99
99
|
- lib/canql/constants.rb
|
|
100
100
|
- lib/canql/grammars.rb
|
|
@@ -134,7 +134,6 @@ homepage: https://github.com/NHSDigital/canql
|
|
|
134
134
|
licenses:
|
|
135
135
|
- MIT
|
|
136
136
|
metadata: {}
|
|
137
|
-
post_install_message:
|
|
138
137
|
rdoc_options: []
|
|
139
138
|
require_paths:
|
|
140
139
|
- lib
|
|
@@ -142,15 +141,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
142
141
|
requirements:
|
|
143
142
|
- - ">="
|
|
144
143
|
- !ruby/object:Gem::Version
|
|
145
|
-
version: '3.
|
|
144
|
+
version: '3.3'
|
|
146
145
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
147
146
|
requirements:
|
|
148
147
|
- - ">="
|
|
149
148
|
- !ruby/object:Gem::Version
|
|
150
149
|
version: '0'
|
|
151
150
|
requirements: []
|
|
152
|
-
rubygems_version:
|
|
153
|
-
signing_key:
|
|
151
|
+
rubygems_version: 4.0.17
|
|
154
152
|
specification_version: 4
|
|
155
153
|
summary: Congenital Anomaly Natural Query Language
|
|
156
154
|
test_files: []
|