cqm-models 4.0.2 → 4.1.0

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: 17e1255fcbd30f8ef581c003e524cc21e2d7a230c76d7e7eeb17d01a7a7c04c3
4
- data.tar.gz: 38652d324dfef1740b4fd489530bf69a59082f49156971773c36dcdbad8ce884
3
+ metadata.gz: 824c04168aff91f769c20c2ebdb0eebc5b5b63f457ca424002e71c833260b6fc
4
+ data.tar.gz: ec4fad1105bef87c9e4acde4ec0639db03b6b96d77146ebb62a7e1a64068d2df
5
5
  SHA512:
6
- metadata.gz: d6b87885f1b551f5db1be0dd98fc5a8518a35efb3e8bc03d86f9c336fb17b0c23135088c69ecd56df2e04389da5ee5facda6c7d5d0f91cc0c7b0f0c85929d8f1
7
- data.tar.gz: 4abcf634592f856e4d8b182fee815828da430d49a7e9f556b1daf4170d07b5f557d3b4253b55473f51d4fcde66875c9d17b522b9506102ee6a7a93c469c2861c
6
+ metadata.gz: d4c6e1020981220cb7227caef2dc7423d3bc3374e1b9ff5b1a85ffabe226e2fb8428fbe63abce00cbfda68f21ede488fc9d6122d5fd8ccf8a641cd7903d0baa4
7
+ data.tar.gz: b8cf4f3ede2e516a194f3879ce5a96980782b9227bffdc6d3a3c1a2779945b9d0d7455a9b33c84b59ed3ac89c4756eedfda6a8cb230285e8c620396fd8a0b723
@@ -12,7 +12,7 @@ jobs:
12
12
 
13
13
  strategy:
14
14
  matrix:
15
- ruby-version: [2.5]
15
+ ruby-version: [2.6, 2.7]
16
16
  mongodb-version: [4.0.18, 4.4]
17
17
  node-version: [12.x, 14.x]
18
18
 
data/.gitignore CHANGED
@@ -1,5 +1,6 @@
1
1
  /.bundle/
2
2
  /.yardoc
3
+ /.nyc_output
3
4
  /Gemfile.lock
4
5
  /_yardoc/
5
6
  /coverage/
@@ -65,6 +65,7 @@ module QDM
65
65
  def shift_dates(seconds)
66
66
  fields.keys.each do |field|
67
67
  send(field + '=', (send(field).to_time + seconds.seconds).to_datetime) if send(field).is_a? DateTime
68
+ send(field + '=', (send(field).to_time + seconds.seconds).to_datetime) if send(field).is_a? Time
68
69
  send(field + '=', send(field).shift_dates(seconds)) if (send(field).is_a? Interval) || (send(field).is_a? DataElement)
69
70
 
70
71
  # Special case for facility locations
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 = '4.0.2'
7
+ spec.version = '4.1.0'
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.'