cqm-models 0.8.2 → 0.8.3

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
  SHA1:
3
- metadata.gz: 1db6adc6a07fd19b2bbf444b8f4f8fc36c5c7e53
4
- data.tar.gz: 6ea8d2a9a7d1034fec223e96786ddff12e3f0b1e
3
+ metadata.gz: 9a9112723b0e517a2632987b6fc5fd7aea269156
4
+ data.tar.gz: 48e94bfe9226c50e930774becde0777383a4597c
5
5
  SHA512:
6
- metadata.gz: 74b863976c88fd23d4e382f1e59ecf10381d0411a2145ca5bc48d140ade7e4190f562e431ae806b6b492d2a050c09e7f593ce19ab1f1c263a7538b65e753b979
7
- data.tar.gz: 47cdb5c41f3e81735b0b8f7a6f3c2ba375444cd8be22d157a32d49a20b1a5f32a767f081b6eb893c405151ae551863fa7b489adf0aff9139f89f747c48edbe4d
6
+ metadata.gz: c1f9ee3b7d996709c957066e1ecff149d55a71f8fac38d3ab63c0bd785514fab56ed5f1d1992e54a69ceac63df2aba5674471d2dc666fb52f7d91ab529accf12
7
+ data.tar.gz: 46da62a6f59b1fc2c33bca35300e628181ea123f4289d8d0bd3543c271050b559ff12d8b2c1f4fa10f741bb67634e75fffe8766100c8d591241663c175d47c48
data/cqm-models.gemspec CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'cqm-models'
7
- spec.version = '0.8.2'
7
+ spec.version = '0.8.3'
8
8
  spec.authors = ['aholmes@mitre.org', 'mokeefe@mitre.org', 'lades@mitre.org']
9
9
 
10
10
  spec.summary = 'Mongo models that correspond to the QDM specification.'
data/dist/index.js CHANGED
@@ -26692,6 +26692,19 @@ function objectToString(o) {
26692
26692
  }
26693
26693
  });
26694
26694
 
26695
+ Interval.prototype.copy = function() {
26696
+ var newHigh, newLow;
26697
+ newLow = this.low;
26698
+ newHigh = this.high;
26699
+ if (typeof this.low.copy === 'function') {
26700
+ newLow = this.low.copy();
26701
+ }
26702
+ if (typeof this.high.copy === 'function') {
26703
+ newHigh = this.high.copy();
26704
+ }
26705
+ return new Interval(newLow, newHigh, this.lowClosed, this.highClosed);
26706
+ };
26707
+
26695
26708
  Interval.prototype.contains = function(item, precision) {
26696
26709
  var closed;
26697
26710
  if (item instanceof Interval) {
@@ -27140,6 +27153,19 @@ function objectToString(o) {
27140
27153
  }
27141
27154
  }
27142
27155
 
27156
+ Uncertainty.prototype.copy = function() {
27157
+ var newHigh, newLow;
27158
+ newLow = this.low;
27159
+ newHigh = this.high;
27160
+ if (typeof this.low.copy === 'function') {
27161
+ newLow = this.low.copy();
27162
+ }
27163
+ if (typeof this.high.copy === 'function') {
27164
+ newHigh = this.high.copy();
27165
+ }
27166
+ return new Uncertainty(newLow, newHigh);
27167
+ };
27168
+
27143
27169
  Uncertainty.prototype.isPoint = function() {
27144
27170
  var gte, lte;
27145
27171
  lte = function(a, b) {
@@ -29727,6 +29753,12 @@ function objectToString(o) {
29727
29753
  collapsedIntervals = [];
29728
29754
  a = intervals.shift();
29729
29755
  b = intervals.shift();
29756
+ if (typeof a.copy === 'function') {
29757
+ a = a.copy();
29758
+ }
29759
+ if (typeof b.copy === 'function') {
29760
+ b = b.copy();
29761
+ }
29730
29762
  while (b) {
29731
29763
  if (typeof b.low.sameOrBefore === 'function') {
29732
29764
  if (b.low.sameOrBefore(a.high)) {
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cqm-models",
3
- "version": "0.8.2",
3
+ "version": "0.8.3",
4
4
  "description": "This library contains auto generated Mongo (Mongoose.js) models that correspond to the QDM (Quality Data Model) specification.",
5
5
  "main": "app/assets/javascripts/index.js",
6
6
  "browser": {
@@ -15,7 +15,7 @@
15
15
  ],
16
16
  "license": "Apache-2.0",
17
17
  "dependencies": {
18
- "cql-execution": "1.2.2",
18
+ "cql-execution": "1.2.3",
19
19
  "mongoose": "^5.0.7"
20
20
  },
21
21
  "devDependencies": {
data/yarn.lock CHANGED
@@ -442,9 +442,9 @@ core-util-is@~1.0.0:
442
442
  version "1.0.2"
443
443
  resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
444
444
 
445
- cql-execution@1.2.2:
446
- version "1.2.2"
447
- resolved "https://registry.yarnpkg.com/cql-execution/-/cql-execution-1.2.2.tgz#2d8933e96edc2c0ff04992444fc8d79e3cb556bb"
445
+ cql-execution@1.2.3:
446
+ version "1.2.3"
447
+ resolved "https://registry.yarnpkg.com/cql-execution/-/cql-execution-1.2.3.tgz#2c51825da605148f4433f665b3cb6d9fcc9293ee"
448
448
  dependencies:
449
449
  moment "^2.20.1"
450
450
  ucum "0.0.7"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cqm-models
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - aholmes@mitre.org
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2018-07-25 00:00:00.000000000 Z
13
+ date: 2018-08-03 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -316,7 +316,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
316
316
  version: '0'
317
317
  requirements: []
318
318
  rubyforge_project:
319
- rubygems_version: 2.6.14
319
+ rubygems_version: 2.6.12
320
320
  signing_key:
321
321
  specification_version: 4
322
322
  summary: Mongo models that correspond to the QDM specification.