cqm-validators 2.0.0 → 3.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/lib/validators.rb CHANGED
@@ -13,6 +13,7 @@ module CqmValidators
13
13
  CDA_SDTC_SCHEMA = 'lib/schema/infrastructure/cda/CDA_SDTC.xsd'
14
14
  QRDA_CAT1_R5_SCHEMATRON = 'lib/schematron/qrda/cat_1_r5/HL7 QRDA Category I STU 5.sch'
15
15
  QRDA_CAT1_R51_SCHEMATRON = 'lib/schematron/qrda/cat_1_r5_1/HL7 QRDA Category I STU 5.1.sch'
16
+ QRDA_CAT1_R52_SCHEMATRON = 'lib/schematron/qrda/cat_1_r5_2/HL7 QRDA Category I STU 5.2.sch'
16
17
  QRDA_CAT3_21SCHEMATRON = 'lib/schematron/qrda/cat_3_r2_1/HL7 QRDA Category III STU 2.1.sch'
17
18
  BASE_DIR = File.expand_path('..', __dir__)
18
19
 
@@ -56,6 +57,14 @@ module CqmValidators
56
57
  end
57
58
  end
58
59
 
60
+ class Cat1R52 < Schematron::Validator
61
+ include Singleton
62
+
63
+ def initialize
64
+ super('QRDA Cat 1 Validator', File.join(BASE_DIR, QRDA_CAT1_R52_SCHEMATRON))
65
+ end
66
+ end
67
+
59
68
  class Cat3R21 < Schematron::Validator
60
69
  include Singleton
61
70
 
metadata CHANGED
@@ -1,30 +1,36 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cqm-validators
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Laura
8
8
  - Michael O'Keefe
9
- autorequire:
9
+ autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2019-06-20 00:00:00.000000000 Z
12
+ date: 2021-06-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - "~>"
18
+ - - ">="
19
+ - !ruby/object:Gem::Version
20
+ version: 1.8.5
21
+ - - "<"
19
22
  - !ruby/object:Gem::Version
20
- version: 1.10.3
23
+ version: 1.12.0
21
24
  type: :runtime
22
25
  prerelease: false
23
26
  version_requirements: !ruby/object:Gem::Requirement
24
27
  requirements:
25
- - - "~>"
28
+ - - ">="
29
+ - !ruby/object:Gem::Version
30
+ version: 1.8.5
31
+ - - "<"
26
32
  - !ruby/object:Gem::Version
27
- version: 1.10.3
33
+ version: 1.12.0
28
34
  - !ruby/object:Gem::Dependency
29
35
  name: bundler
30
36
  requirement: !ruby/object:Gem::Requirement
@@ -113,30 +119,30 @@ dependencies:
113
119
  name: rake
114
120
  requirement: !ruby/object:Gem::Requirement
115
121
  requirements:
116
- - - "~>"
122
+ - - ">="
117
123
  - !ruby/object:Gem::Version
118
- version: '10.0'
124
+ version: 12.3.3
119
125
  type: :development
120
126
  prerelease: false
121
127
  version_requirements: !ruby/object:Gem::Requirement
122
128
  requirements:
123
- - - "~>"
129
+ - - ">="
124
130
  - !ruby/object:Gem::Version
125
- version: '10.0'
131
+ version: 12.3.3
126
132
  - !ruby/object:Gem::Dependency
127
133
  name: rubocop
128
134
  requirement: !ruby/object:Gem::Requirement
129
135
  requirements:
130
136
  - - "~>"
131
137
  - !ruby/object:Gem::Version
132
- version: '0.60'
138
+ version: '0.93'
133
139
  type: :development
134
140
  prerelease: false
135
141
  version_requirements: !ruby/object:Gem::Requirement
136
142
  requirements:
137
143
  - - "~>"
138
144
  - !ruby/object:Gem::Version
139
- version: '0.60'
145
+ version: '0.93'
140
146
  description: new cqm validator library
141
147
  email:
142
148
  - laclark@mitre.org
@@ -146,11 +152,11 @@ extensions: []
146
152
  extra_rdoc_files: []
147
153
  files:
148
154
  - ".github/PULL_REQUEST_TEMPLATE.md"
155
+ - ".github/workflows/ci.yml"
149
156
  - ".gitignore"
150
157
  - ".overcommit.yml"
151
158
  - ".rubocop.yml"
152
159
  - ".simplecov"
153
- - ".travis.yml"
154
160
  - Gemfile
155
161
  - LICENSE.txt
156
162
  - QRDA_Schematron_License.txt
@@ -206,6 +212,8 @@ files:
206
212
  - lib/schematron/qrda/cat_1_r5/voc.xml
207
213
  - lib/schematron/qrda/cat_1_r5_1/HL7 QRDA Category I STU 5.1.sch
208
214
  - lib/schematron/qrda/cat_1_r5_1/voc.xml
215
+ - lib/schematron/qrda/cat_1_r5_2/HL7 QRDA Category I STU 5.2.sch
216
+ - lib/schematron/qrda/cat_1_r5_2/voc.xml
209
217
  - lib/schematron/qrda/cat_3_r2_1/HL7 QRDA Category III STU 2.1.sch
210
218
  - lib/schematron/qrda/cat_3_r2_1/voc.xml
211
219
  - lib/schematron_validator.rb
@@ -216,7 +224,7 @@ homepage: https://github.com/projecttacoma/cqm-validators
216
224
  licenses:
217
225
  - Apache-2.0
218
226
  metadata: {}
219
- post_install_message:
227
+ post_install_message:
220
228
  rdoc_options: []
221
229
  require_paths:
222
230
  - lib
@@ -224,15 +232,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
224
232
  requirements:
225
233
  - - ">="
226
234
  - !ruby/object:Gem::Version
227
- version: '0'
235
+ version: 2.4.0
228
236
  required_rubygems_version: !ruby/object:Gem::Requirement
229
237
  requirements:
230
238
  - - ">="
231
239
  - !ruby/object:Gem::Version
232
240
  version: '0'
233
241
  requirements: []
234
- rubygems_version: 3.0.3
235
- signing_key:
242
+ rubygems_version: 3.1.4
243
+ signing_key:
236
244
  specification_version: 4
237
245
  summary: new cqm validator library
238
246
  test_files: []
data/.travis.yml DELETED
@@ -1,21 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.6
4
- - 2.5
5
- - 2.4
6
- - 2.3
7
- cache:
8
- - bundler
9
- sudo: required
10
- services:
11
- - mongodb
12
- branches:
13
- only:
14
- - master
15
- before_script:
16
- - git config --global user.email "travis@travis.ci"
17
- - git config --global user.name "Travis CI"
18
- script:
19
- - bundle exec overcommit --sign
20
- - bundle exec overcommit --run
21
- - travis_retry bundle exec rake test