tnql 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 84f8dbf9e2ffa3742f3862ceab072de0b902a7898d3d02a41f46e4f7edaf0da6
4
- data.tar.gz: 777e9c6aeb0db7ddc37c9629053c69b42e4a7a23fc8b3d5ebdbac0680ba57929
3
+ metadata.gz: 5e7fe1a52c8dd14cff3661003715b53dac3d454d7e95d6dff273d58d55da8773
4
+ data.tar.gz: 042eb326a98fba15bd0bdd92de8360aaac1ab8b7c010a9a9907a64deefd23720
5
5
  SHA512:
6
- metadata.gz: faf39b0b48420853a4684f4a54b2bba3590e029dd3e41d7315d5b0442358a9160d5b06637d9599384b681e85de36a6213f7666ea1d7d176e72f3f479414c284b
7
- data.tar.gz: b447671bf6d26ed0d6218704098ff906faffee0c2ce9aa505b8d3463a0e6acf8f96a496824cce9bc5ffef031eecac2403cb46d418c405b6a7983c7e29901fbb8
6
+ metadata.gz: 5e1b1e45ad2efb145fa60ba7282ede036e9d69d874fef6e31724f428fa2d90fdc7b61045afd4ef6b93487ceba9c6f861fa8414423c67b705869a50f73c3c50ed
7
+ data.tar.gz: 4854b60d9c41af4d0b98bb20b39dad440c07de54488c95bef6a1797a242cf0ba1b7f136b19621fe0ebe5bf28b53cdcefa90389220a526bc7ee911ed7622b762a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  ## [Unreleased]
2
- *no unreleased changes*
2
+ * No unreleased changes
3
+
4
+ ## 1.1.1 / 2022-12-08
5
+ ### Fixed
6
+ * Drop support for Ruby 2.6
7
+ * Support Ruby 3.1, Rails 7.0
8
+ * Replace Public Health England naming with NHS Digital
3
9
 
4
10
  ## 1.1.0 / 2021-11-25
5
11
  ### Added
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2015 Public Health England
3
+ Copyright (c) 2015-2022 NHS Digital
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # TNQL [![Build Status](https://github.com/publichealthengland/tnql/workflows/Test/badge.svg)](https://github.com/publichealthengland/tnql/actions?query=workflow%3Atest) [![Gem Version](https://badge.fury.io/rb/tnql.svg)](https://rubygems.org/gems/tnql)
1
+ # TNQL [![Build Status](https://github.com/NHSDigital/tnql/workflows/Test/badge.svg)](https://github.com/NHSDigital/tnql/actions?query=workflow%3Atest) [![Gem Version](https://badge.fury.io/rb/tnql.svg)](https://rubygems.org/gems/tnql)
2
2
 
3
- Tumour Natural Query Language (TNQL) is a [Treetop](http://treetop.rubyforge.org/) driven Domain Specific Language (DSL) used by the Public Health England (PHE) National Cancer Registration and Analysis Service (NCRAS) to identify cohorts of tumours.
3
+ Tumour Natural Query Language (TNQL) is a [Treetop](http://treetop.rubyforge.org/) driven Domain Specific Language (DSL) used by the NHS Digital (NHS-D) National Cancer Registration and Analysis Service (NCRAS) to identify cohorts of tumours.
4
4
 
5
5
  Used for analysis, research and day-to-day operations, it was first created in March 2011 to empower non-technical users to write sophisticated human readable queries without the need to know or understand the underlying datastore and/or schema.
6
6
 
@@ -64,7 +64,7 @@ PLEASE NOTE: A side-effect of decoupling TNQL from the NCRAS SQL adapter is that
64
64
 
65
65
  ## Contributing
66
66
 
67
- Bug reports and pull requests are welcome on GitHub at https://github.com/PublicHealthEngland/tnql.
67
+ Bug reports and pull requests are welcome on GitHub at https://github.com/NHSDigital/tnql.
68
68
 
69
69
  This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
70
70
 
data/lib/tnql/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # This stores the current version of the Tnql gem
2
2
  module Tnql
3
- VERSION = '1.1.0'.freeze
3
+ VERSION = '1.1.1'.freeze
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tnql
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
- - PHE NDR IT Development Team
8
- autorequire:
7
+ - NHSD NDRS Development Team
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-26 00:00:00.000000000 Z
11
+ date: 2022-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: 3.2.18
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '7'
22
+ version: '7.1'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,21 @@ dependencies:
29
29
  version: 3.2.18
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '7'
32
+ version: '7.1'
33
+ - !ruby/object:Gem::Dependency
34
+ name: chronic
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '0.3'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '0.3'
33
47
  - !ruby/object:Gem::Dependency
34
48
  name: ndr_support
35
49
  requirement: !ruby/object:Gem::Requirement
@@ -65,35 +79,35 @@ dependencies:
65
79
  - !ruby/object:Gem::Version
66
80
  version: 1.4.10
67
81
  - !ruby/object:Gem::Dependency
68
- name: chronic
82
+ name: bundler
69
83
  requirement: !ruby/object:Gem::Requirement
70
84
  requirements:
71
- - - "~>"
85
+ - - ">="
72
86
  - !ruby/object:Gem::Version
73
- version: '0.3'
74
- type: :runtime
87
+ version: '0'
88
+ type: :development
75
89
  prerelease: false
76
90
  version_requirements: !ruby/object:Gem::Requirement
77
91
  requirements:
78
- - - "~>"
92
+ - - ">="
79
93
  - !ruby/object:Gem::Version
80
- version: '0.3'
94
+ version: '0'
81
95
  - !ruby/object:Gem::Dependency
82
- name: ndr_dev_support
96
+ name: guard
83
97
  requirement: !ruby/object:Gem::Requirement
84
98
  requirements:
85
- - - "~>"
99
+ - - ">="
86
100
  - !ruby/object:Gem::Version
87
- version: '6.0'
101
+ version: '0'
88
102
  type: :development
89
103
  prerelease: false
90
104
  version_requirements: !ruby/object:Gem::Requirement
91
105
  requirements:
92
- - - "~>"
106
+ - - ">="
93
107
  - !ruby/object:Gem::Version
94
- version: '6.0'
108
+ version: '0'
95
109
  - !ruby/object:Gem::Dependency
96
- name: bundler
110
+ name: guard-minitest
97
111
  requirement: !ruby/object:Gem::Requirement
98
112
  requirements:
99
113
  - - ">="
@@ -107,7 +121,7 @@ dependencies:
107
121
  - !ruby/object:Gem::Version
108
122
  version: '0'
109
123
  - !ruby/object:Gem::Dependency
110
- name: rake
124
+ name: guard-rubocop
111
125
  requirement: !ruby/object:Gem::Requirement
112
126
  requirements:
113
127
  - - ">="
@@ -135,35 +149,27 @@ dependencies:
135
149
  - !ruby/object:Gem::Version
136
150
  version: 5.0.0
137
151
  - !ruby/object:Gem::Dependency
138
- name: pry
152
+ name: ndr_dev_support
139
153
  requirement: !ruby/object:Gem::Requirement
140
154
  requirements:
141
155
  - - ">="
142
156
  - !ruby/object:Gem::Version
143
- version: '0'
144
- type: :development
145
- prerelease: false
146
- version_requirements: !ruby/object:Gem::Requirement
147
- requirements:
148
- - - ">="
149
- - !ruby/object:Gem::Version
150
- version: '0'
151
- - !ruby/object:Gem::Dependency
152
- name: guard
153
- requirement: !ruby/object:Gem::Requirement
154
- requirements:
155
- - - ">="
157
+ version: '6.0'
158
+ - - "<"
156
159
  - !ruby/object:Gem::Version
157
- version: '0'
160
+ version: '8.0'
158
161
  type: :development
159
162
  prerelease: false
160
163
  version_requirements: !ruby/object:Gem::Requirement
161
164
  requirements:
162
165
  - - ">="
163
166
  - !ruby/object:Gem::Version
164
- version: '0'
167
+ version: '6.0'
168
+ - - "<"
169
+ - !ruby/object:Gem::Version
170
+ version: '8.0'
165
171
  - !ruby/object:Gem::Dependency
166
- name: guard-rubocop
172
+ name: pry
167
173
  requirement: !ruby/object:Gem::Requirement
168
174
  requirements:
169
175
  - - ">="
@@ -177,7 +183,7 @@ dependencies:
177
183
  - !ruby/object:Gem::Version
178
184
  version: '0'
179
185
  - !ruby/object:Gem::Dependency
180
- name: guard-minitest
186
+ name: rake
181
187
  requirement: !ruby/object:Gem::Requirement
182
188
  requirements:
183
189
  - - ">="
@@ -210,24 +216,11 @@ executables: []
210
216
  extensions: []
211
217
  extra_rdoc_files: []
212
218
  files:
213
- - ".github/CODEOWNERS"
214
- - ".github/workflows/lint.yml"
215
- - ".github/workflows/test.yml"
216
- - ".gitignore"
217
- - ".hound.yml"
218
- - ".rubocop.yml"
219
219
  - CHANGELOG.md
220
220
  - CODE_OF_CONDUCT.md
221
- - Gemfile
222
- - Guardfile
223
221
  - LICENSE.txt
224
222
  - README.md
225
223
  - Rakefile
226
- - bin/console
227
- - bin/setup
228
- - code_safety.yml
229
- - gemfiles/Gemfile.rails52
230
- - gemfiles/Gemfile.rails60
231
224
  - lib/tnql.rb
232
225
  - lib/tnql/constants.rb
233
226
  - lib/tnql/grammars.rb
@@ -263,12 +256,11 @@ files:
263
256
  - lib/tnql/parser.rb
264
257
  - lib/tnql/treetop/extensions.rb
265
258
  - lib/tnql/version.rb
266
- - tnql.gemspec
267
- homepage: https://github.com/PublicHealthEngland/tnql
259
+ homepage: https://github.com/NHSDigital/tnql
268
260
  licenses:
269
261
  - MIT
270
262
  metadata: {}
271
- post_install_message:
263
+ post_install_message:
272
264
  rdoc_options: []
273
265
  require_paths:
274
266
  - lib
@@ -276,15 +268,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
276
268
  requirements:
277
269
  - - ">="
278
270
  - !ruby/object:Gem::Version
279
- version: '2.6'
271
+ version: '2.7'
280
272
  required_rubygems_version: !ruby/object:Gem::Requirement
281
273
  requirements:
282
274
  - - ">="
283
275
  - !ruby/object:Gem::Version
284
276
  version: '0'
285
277
  requirements: []
286
- rubygems_version: 3.0.3
287
- signing_key:
278
+ rubygems_version: 3.2.33
279
+ signing_key:
288
280
  specification_version: 4
289
281
  summary: Tumour Natural Query Language
290
282
  test_files: []
data/.github/CODEOWNERS DELETED
@@ -1,2 +0,0 @@
1
- # Admins should have oversight of the version:
2
- lib/tnql/version.rb @publichealthengland/ndr-admins
@@ -1,23 +0,0 @@
1
- name: Lint
2
-
3
- on: [pull_request]
4
-
5
- jobs:
6
- rubocop:
7
- name: RuboCop
8
-
9
- runs-on: ubuntu-latest
10
-
11
- steps:
12
- - uses: actions/checkout@v2
13
- with:
14
- fetch-depth: 0 # fetch everything
15
- - name: Set up Ruby
16
- uses: ruby/setup-ruby@v1
17
- with:
18
- ruby-version: 3.0
19
- - name: Install dependencies
20
- run: bundle install
21
- - name: Run RuboCop against BASE..HEAD changes
22
- run: bundle exec rake rubocop:diff origin/${GITHUB_BASE_REF#*/}
23
-
@@ -1,71 +0,0 @@
1
- name: Test
2
-
3
- on: [push]
4
-
5
- jobs:
6
- test:
7
- strategy:
8
- matrix:
9
- ruby-version:
10
- - 2.6
11
- - 2.7
12
- - 3.0
13
- gemfile:
14
- - gemfiles/Gemfile.rails52
15
- - gemfiles/Gemfile.rails60
16
-
17
- name: Ruby ${{ matrix.ruby-version }} / Bundle ${{ matrix.gemfile }}
18
-
19
- runs-on: ubuntu-latest
20
-
21
- env:
22
- BUNDLE_GEMFILE: ${{ matrix.gemfile }}
23
-
24
- steps:
25
- - uses: actions/checkout@v2
26
- - name: Set up Ruby
27
- uses: ruby/setup-ruby@v1
28
- with:
29
- ruby-version: ${{ matrix.ruby-version }}
30
- - name: Install dependencies
31
- run: bundle install
32
- - name: Run tests
33
- run: bundle exec rake
34
-
35
- # A utility job upon which Branch Protection can depend,
36
- # thus remaining agnostic of the matrix.
37
- test_matrix:
38
- if: ${{ always() }}
39
- runs-on: ubuntu-latest
40
- name: Matrix
41
- needs: test
42
- steps:
43
- - name: Check build matrix status
44
- if: ${{ needs.test.result != 'success' }}
45
- run: exit 1
46
-
47
- notify:
48
- # Run only on master, but regardless of whether tests past:
49
- if: ${{ always() && github.ref == 'refs/heads/master' }}
50
-
51
- needs: test_matrix
52
-
53
- runs-on: ubuntu-latest
54
-
55
- steps:
56
- - uses: 8398a7/action-slack@v3
57
- with:
58
- status: custom
59
- fields: workflow,commit,author
60
- custom_payload: |
61
- {
62
- channel: 'C7FQWGDHP',
63
- username: 'CI – ' + '${{ github.repository }}'.split('/')[1],
64
- icon_emoji: ':hammer_and_wrench:',
65
- attachments: [{
66
- color: '${{ needs.test_matrix.result }}' === 'success' ? 'good' : '${{ needs.test_matrix.result }}' === 'failure' ? 'danger' : 'warning',
67
- text: `${process.env.AS_WORKFLOW} against \`${{ github.ref }}\` (${process.env.AS_COMMIT}) for ${{ github.actor }} resulted in *${{ needs.test_matrix.result }}*.`
68
- }]
69
- }
70
- env:
71
- SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
data/.gitignore DELETED
@@ -1,11 +0,0 @@
1
- /.rubocop-https---raw-githubusercontent-com-PublicHealthEngland-ndr-dev-support-master--rubocop-yml
2
- /.bundle/
3
- /.yardoc
4
- /gemfiles/*.lock
5
- /Gemfile.lock
6
- /_yardoc/
7
- /coverage/
8
- /doc/
9
- /pkg/
10
- /spec/reports/
11
- /tmp/
data/.hound.yml DELETED
@@ -1,10 +0,0 @@
1
- fail_on_violations: true
2
-
3
- coffeescript:
4
- enabled: false
5
- javascript:
6
- enabled: false
7
- ruby:
8
- config_file: .rubocop.yml
9
- scss:
10
- enabled: false
data/.rubocop.yml DELETED
@@ -1 +0,0 @@
1
- require: ndr_dev_support
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in tnql.gemspec
4
- gemspec
data/Guardfile DELETED
@@ -1,15 +0,0 @@
1
- # A sample Guardfile
2
- # More info at https://github.com/guard/guard#readme
3
-
4
- # automatically check Ruby code style with Rubocop when files are modified
5
- guard :rubocop, all_on_start: false, keep_failed: false do
6
- watch(/.+\.rb$/)
7
- watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
8
- end
9
-
10
- guard :minitest do
11
- watch(%r{^test/.+_test\.rb$})
12
- watch('test/test_helper.rb') { 'test' }
13
-
14
- watch(%r{^lib/tnql/(.+)\.rb$}) { |m| "test/#{m[1]}_test.rb" }
15
- end
data/bin/console DELETED
@@ -1,10 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require 'bundler/setup'
4
- require 'tnql'
5
-
6
- # You can add fixtures and/or initialization code here to make experimenting
7
- # with your gem easier. You can also use a different console, if you like.
8
-
9
- require 'pry'
10
- Pry.start
data/bin/setup DELETED
@@ -1,7 +0,0 @@
1
- #!/bin/bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
-
5
- bundle install
6
-
7
- # Do any other automated setup that you need to do here
data/code_safety.yml DELETED
@@ -1,292 +0,0 @@
1
- ---
2
- file safety:
3
- ".github/CODEOWNERS":
4
- comments:
5
- reviewed_by: josh.pencheon
6
- safe_revision: b2ac2de6856884bdb1e0cb369b02d30c1fd64166
7
- ".github/workflows/lint.yml":
8
- comments:
9
- reviewed_by: josh.pencheon
10
- safe_revision: b2ac2de6856884bdb1e0cb369b02d30c1fd64166
11
- ".github/workflows/test.yml":
12
- comments:
13
- reviewed_by: josh.pencheon
14
- safe_revision: b2ac2de6856884bdb1e0cb369b02d30c1fd64166
15
- ".gitignore":
16
- comments:
17
- reviewed_by: josh.pencheon
18
- safe_revision: fbc1cf349a296e3489e4b27b4de6c52222113926
19
- ".hound.yml":
20
- comments:
21
- reviewed_by: timgentry
22
- safe_revision: 1cf068b17559ed381e013fe71a481eb3db15f553
23
- ".rubocop.yml":
24
- comments:
25
- reviewed_by: ollietulloch
26
- safe_revision: b1aeb26ad5721337fc37605b11e2a4a859ebc1f7
27
- CHANGELOG.md:
28
- comments: Incorrectly bumped to v1.5.0 from v1.0.4 previously
29
- reviewed_by: ollietulloch
30
- safe_revision: dbd0e04b521511e49b7e5b004d1ca7e915867c09
31
- CODE_OF_CONDUCT.md:
32
- comments:
33
- reviewed_by: timgentry
34
- safe_revision: 065dcccb9db71374cea5aad104657a5c1f877d1c
35
- Gemfile:
36
- comments:
37
- reviewed_by: timgentry
38
- safe_revision: 065dcccb9db71374cea5aad104657a5c1f877d1c
39
- Guardfile:
40
- comments:
41
- reviewed_by: timgentry
42
- safe_revision: 2c3dd20879903b98f7f05d5d3e73b1478c275c93
43
- LICENSE.txt:
44
- comments:
45
- reviewed_by: timgentry
46
- safe_revision: 065dcccb9db71374cea5aad104657a5c1f877d1c
47
- README.md:
48
- comments:
49
- reviewed_by: josh.pencheon
50
- safe_revision: b2ac2de6856884bdb1e0cb369b02d30c1fd64166
51
- Rakefile:
52
- comments:
53
- reviewed_by: timgentry
54
- safe_revision: 2c3dd20879903b98f7f05d5d3e73b1478c275c93
55
- bin/console:
56
- comments:
57
- reviewed_by: timgentry
58
- safe_revision: fdea3ed4f37453978857611724116f70dd08f1fd
59
- bin/setup:
60
- comments:
61
- reviewed_by: timgentry
62
- safe_revision: 065dcccb9db71374cea5aad104657a5c1f877d1c
63
- gemfiles/Gemfile.rails52:
64
- comments:
65
- reviewed_by: josh.pencheon
66
- safe_revision: 3316c8246806653c6ae3f50864b710dd76a064b3
67
- gemfiles/Gemfile.rails60:
68
- comments:
69
- reviewed_by: josh.pencheon
70
- safe_revision: 8f52c0cbddb974f10eb4f8c3de06038aa95e3429
71
- lib/tnql.rb:
72
- comments:
73
- reviewed_by: timgentry
74
- safe_revision: 61b0293f89d57118268e15fc49b529c64bbbe2b7
75
- lib/tnql/constants.rb:
76
- comments:
77
- reviewed_by: timgentry
78
- safe_revision: 2c3dd20879903b98f7f05d5d3e73b1478c275c93
79
- lib/tnql/grammars.rb:
80
- comments:
81
- reviewed_by: timgentry
82
- safe_revision: 61b0293f89d57118268e15fc49b529c64bbbe2b7
83
- lib/tnql/grammars/age.treetop:
84
- comments: It is a known issue that this is potentially susceptible to certain
85
- kinds of DoS attack
86
- reviewed_by: timgentry
87
- safe_revision: b3a8b33cbc5dd29822e0e6ded32500ccd7a15670
88
- lib/tnql/grammars/batch_types.treetop:
89
- comments: It is a known issue that this is potentially susceptible to certain
90
- kinds of DoS attack
91
- reviewed_by: timgentry
92
- safe_revision: b3a8b33cbc5dd29822e0e6ded32500ccd7a15670
93
- lib/tnql/grammars/dates.treetop:
94
- comments: It is a known issue that this is potentially susceptible to certain
95
- kinds of DoS attack
96
- reviewed_by: timgentry
97
- safe_revision: b3a8b33cbc5dd29822e0e6ded32500ccd7a15670
98
- lib/tnql/grammars/diagnosis.treetop:
99
- comments: It is a known issue that this is potentially susceptible to certain
100
- kinds of DoS attack
101
- reviewed_by: timgentry
102
- safe_revision: b3a8b33cbc5dd29822e0e6ded32500ccd7a15670
103
- lib/tnql/grammars/e_base_records.treetop:
104
- comments: It is a known issue that this is potentially susceptible to certain
105
- kinds of DoS attack
106
- reviewed_by: timgentry
107
- safe_revision: b3a8b33cbc5dd29822e0e6ded32500ccd7a15670
108
- lib/tnql/grammars/main.treetop:
109
- comments: It is a known issue that this is potentially susceptible to certain
110
- kinds of DoS attack
111
- reviewed_by: timgentry
112
- safe_revision: b3a8b33cbc5dd29822e0e6ded32500ccd7a15670
113
- lib/tnql/grammars/patient.treetop:
114
- comments: It is a known issue that this is potentially susceptible to certain
115
- kinds of DoS attack
116
- reviewed_by: timgentry
117
- safe_revision: b3a8b33cbc5dd29822e0e6ded32500ccd7a15670
118
- lib/tnql/grammars/provider.treetop:
119
- comments: It is a known issue that this is potentially susceptible to certain
120
- kinds of DoS attack
121
- reviewed_by: timgentry
122
- safe_revision: b3a8b33cbc5dd29822e0e6ded32500ccd7a15670
123
- lib/tnql/grammars/registration_status.treetop:
124
- comments: It is a known issue that this is potentially susceptible to certain
125
- kinds of DoS attack
126
- reviewed_by: timgentry
127
- safe_revision: b3a8b33cbc5dd29822e0e6ded32500ccd7a15670
128
- lib/tnql/grammars/registry.treetop:
129
- comments: It is a known issue that this is potentially susceptible to certain
130
- kinds of DoS attack
131
- reviewed_by: ollietulloch
132
- safe_revision: 0ba6205a546963eb7e7387bea51f81e6b5485af8
133
- lib/tnql/grammars/staging.treetop:
134
- comments: It is a known issue that this is potentially susceptible to certain
135
- kinds of DoS attack
136
- reviewed_by: timgentry
137
- safe_revision: b3a8b33cbc5dd29822e0e6ded32500ccd7a15670
138
- lib/tnql/grammars/treatment.treetop:
139
- comments: It is a known issue that this is potentially susceptible to certain
140
- kinds of DoS attack
141
- reviewed_by: timgentry
142
- safe_revision: b3a8b33cbc5dd29822e0e6ded32500ccd7a15670
143
- lib/tnql/grammars/tumour_type.treetop:
144
- comments: It is a known issue that this is potentially susceptible to certain
145
- kinds of DoS attack
146
- reviewed_by: timgentry
147
- safe_revision: b3a8b33cbc5dd29822e0e6ded32500ccd7a15670
148
- lib/tnql/grammars/vital_status.treetop:
149
- comments: It is a known issue that this is potentially susceptible to certain
150
- kinds of DoS attack
151
- reviewed_by: timgentry
152
- safe_revision: b3a8b33cbc5dd29822e0e6ded32500ccd7a15670
153
- lib/tnql/nodes.rb:
154
- comments:
155
- reviewed_by: timgentry
156
- safe_revision: 61b0293f89d57118268e15fc49b529c64bbbe2b7
157
- lib/tnql/nodes/age.rb:
158
- comments:
159
- reviewed_by: timgentry
160
- safe_revision: 2c3dd20879903b98f7f05d5d3e73b1478c275c93
161
- lib/tnql/nodes/batch_types.rb:
162
- comments:
163
- reviewed_by: timgentry
164
- safe_revision: 61b0293f89d57118268e15fc49b529c64bbbe2b7
165
- lib/tnql/nodes/dates.rb:
166
- comments:
167
- reviewed_by: timgentry
168
- safe_revision: 2c3dd20879903b98f7f05d5d3e73b1478c275c93
169
- lib/tnql/nodes/diagnosis.rb:
170
- comments:
171
- reviewed_by: timgentry
172
- safe_revision: 2c3dd20879903b98f7f05d5d3e73b1478c275c93
173
- lib/tnql/nodes/e_base_records.rb:
174
- comments:
175
- reviewed_by: timgentry
176
- safe_revision: 2c3dd20879903b98f7f05d5d3e73b1478c275c93
177
- lib/tnql/nodes/main.rb:
178
- comments:
179
- reviewed_by: timgentry
180
- safe_revision: 61b0293f89d57118268e15fc49b529c64bbbe2b7
181
- lib/tnql/nodes/patient.rb:
182
- comments:
183
- reviewed_by: timgentry
184
- safe_revision: 61b0293f89d57118268e15fc49b529c64bbbe2b7
185
- lib/tnql/nodes/provider.rb:
186
- comments:
187
- reviewed_by: timgentry
188
- safe_revision: 2c3dd20879903b98f7f05d5d3e73b1478c275c93
189
- lib/tnql/nodes/registration_status.rb:
190
- comments:
191
- reviewed_by: timgentry
192
- safe_revision: 61b0293f89d57118268e15fc49b529c64bbbe2b7
193
- lib/tnql/nodes/registry.rb:
194
- comments:
195
- reviewed_by: ollietulloch
196
- safe_revision: 96b9ba36a2da7246bff2f0a49cef0e1808ddb4e5
197
- lib/tnql/nodes/staging.rb:
198
- comments:
199
- reviewed_by: timgentry
200
- safe_revision: 61b0293f89d57118268e15fc49b529c64bbbe2b7
201
- lib/tnql/nodes/treatment.rb:
202
- comments:
203
- reviewed_by: timgentry
204
- safe_revision: 2c3dd20879903b98f7f05d5d3e73b1478c275c93
205
- lib/tnql/nodes/tumour_type.rb:
206
- comments:
207
- reviewed_by: timgentry
208
- safe_revision: 2c3dd20879903b98f7f05d5d3e73b1478c275c93
209
- lib/tnql/nodes/vital_status.rb:
210
- comments:
211
- reviewed_by: timgentry
212
- safe_revision: 61b0293f89d57118268e15fc49b529c64bbbe2b7
213
- lib/tnql/parser.rb:
214
- comments:
215
- reviewed_by: timgentry
216
- safe_revision: 40100d5f23601b0033ddcf0bd7a6367446066cc5
217
- lib/tnql/treetop/extensions.rb:
218
- comments:
219
- reviewed_by: timgentry
220
- safe_revision: 61b0293f89d57118268e15fc49b529c64bbbe2b7
221
- lib/tnql/version.rb:
222
- comments: Incorrectly bumped to v1.5.0 from v1.0.4 previously
223
- reviewed_by: ollietulloch
224
- safe_revision: dbd0e04b521511e49b7e5b004d1ca7e915867c09
225
- test/nodes/age_test.rb:
226
- comments:
227
- reviewed_by: timgentry
228
- safe_revision: 61b0293f89d57118268e15fc49b529c64bbbe2b7
229
- test/nodes/dates_test.rb:
230
- comments:
231
- reviewed_by: timgentry
232
- safe_revision: 61b0293f89d57118268e15fc49b529c64bbbe2b7
233
- test/nodes/diagnosis_test.rb:
234
- comments:
235
- reviewed_by: timgentry
236
- safe_revision: 61b0293f89d57118268e15fc49b529c64bbbe2b7
237
- test/nodes/e_base_records_test.rb:
238
- comments:
239
- reviewed_by: timgentry
240
- safe_revision: '0749ad008871e286c6e0450a733599f0c86ced5f'
241
- test/nodes/main_test.rb:
242
- comments:
243
- reviewed_by: timgentry
244
- safe_revision: 61b0293f89d57118268e15fc49b529c64bbbe2b7
245
- test/nodes/patient_test.rb:
246
- comments:
247
- reviewed_by: timgentry
248
- safe_revision: 61b0293f89d57118268e15fc49b529c64bbbe2b7
249
- test/nodes/provider_test.rb:
250
- comments:
251
- reviewed_by: timgentry
252
- safe_revision: 61b0293f89d57118268e15fc49b529c64bbbe2b7
253
- test/nodes/registration_status_test.rb:
254
- comments:
255
- reviewed_by: timgentry
256
- safe_revision: 61b0293f89d57118268e15fc49b529c64bbbe2b7
257
- test/nodes/registry_test.rb:
258
- comments:
259
- reviewed_by: ollietulloch
260
- safe_revision: 0ba6205a546963eb7e7387bea51f81e6b5485af8
261
- test/nodes/staging_test.rb:
262
- comments:
263
- reviewed_by: timgentry
264
- safe_revision: 61b0293f89d57118268e15fc49b529c64bbbe2b7
265
- test/nodes/treatment_test.rb:
266
- comments:
267
- reviewed_by: timgentry
268
- safe_revision: 61b0293f89d57118268e15fc49b529c64bbbe2b7
269
- test/nodes/tumour_type_test.rb:
270
- comments:
271
- reviewed_by: timgentry
272
- safe_revision: 61b0293f89d57118268e15fc49b529c64bbbe2b7
273
- test/nodes/vital_status_test.rb:
274
- comments:
275
- reviewed_by: timgentry
276
- safe_revision: 61b0293f89d57118268e15fc49b529c64bbbe2b7
277
- test/parser_test.rb:
278
- comments:
279
- reviewed_by: timgentry
280
- safe_revision: 40100d5f23601b0033ddcf0bd7a6367446066cc5
281
- test/test_helper.rb:
282
- comments:
283
- reviewed_by: timgentry
284
- safe_revision: 2c3dd20879903b98f7f05d5d3e73b1478c275c93
285
- test/tnql_test.rb:
286
- comments:
287
- reviewed_by: timgentry
288
- safe_revision: 61b0293f89d57118268e15fc49b529c64bbbe2b7
289
- tnql.gemspec:
290
- comments:
291
- reviewed_by: ollietulloch
292
- safe_revision: 14e059d904af19a4921a37b2949529b916d19b93
@@ -1,5 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec path: '..'
4
-
5
- gem 'rails', '~> 5.2.0'
@@ -1,5 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec path: '..'
4
-
5
- gem 'rails', '~> 6.0'
data/tnql.gemspec DELETED
@@ -1,41 +0,0 @@
1
- # coding: utf-8
2
- lib = File.expand_path('lib', __dir__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'tnql/version'
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = 'tnql'
8
- spec.version = Tnql::VERSION
9
- spec.authors = ['PHE NDR IT Development Team']
10
- spec.email = []
11
-
12
- spec.summary = 'Tumour Natural Query Language'
13
- spec.description = 'Domain Specific Language for querying PHE NCRAS datastores'
14
- spec.homepage = 'https://github.com/PublicHealthEngland/tnql'
15
- spec.license = 'MIT'
16
-
17
- spec.files = `git ls-files -z`.split("\x0").
18
- reject { |f| f.match(%r{^(test|spec|features)/}) }
19
- # SECURE BNS 2018-08-06: Minimise sharing of (public-key encrypted) slack secrets in .travis.yml
20
- spec.files -= %w[.travis.yml] # Not needed in the gem
21
- spec.bindir = 'exe'
22
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
- spec.require_paths = ['lib']
24
-
25
- spec.required_ruby_version = '>= 2.6'
26
-
27
- spec.add_dependency 'activesupport', '>= 3.2.18', '< 7'
28
- spec.add_dependency 'ndr_support', '>= 3.0', '< 6'
29
- spec.add_dependency 'treetop', '>= 1.4.10'
30
- spec.add_dependency 'chronic', '~> 0.3'
31
-
32
- spec.add_development_dependency 'ndr_dev_support', '~> 6.0'
33
- spec.add_development_dependency 'bundler'
34
- spec.add_development_dependency 'rake'
35
- spec.add_development_dependency 'minitest', '>= 5.0.0'
36
- spec.add_development_dependency 'pry'
37
- spec.add_development_dependency 'guard'
38
- spec.add_development_dependency 'guard-rubocop'
39
- spec.add_development_dependency 'guard-minitest'
40
- spec.add_development_dependency 'terminal-notifier-guard' if RUBY_PLATFORM =~ /darwin/
41
- end