fhir_models 4.1.0 → 4.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 71b25db2dba6739f0186495302fc247b4479675488525afb5b3569408446cdd5
4
- data.tar.gz: 3760305ed63a524fd5d1fa6903904ad4c28cfc12ae90ed15cacc01f16478b4ef
3
+ metadata.gz: db2933023633aa9e43310d61b9d593a1a2c056347feb74922cfaa2dc1934f4ca
4
+ data.tar.gz: '083c6ff6f4d751c35e8b870f2754a504aa98225dfd704c432204eac1317d4280'
5
5
  SHA512:
6
- metadata.gz: 422027ac41a10f913fcae1b772a615ef203ae54f2e2433fe3f7378526630d6a921e708ea87ef37d40c8be9c145b7701a7c4fc3136d65d6189aa519651b4372a4
7
- data.tar.gz: a370fb9b55024b8eda8e48d5414e8fb349ceb5242b893c798d8f5ae05d502d861868940e069ca54980f57c97d73e3d324b03d65de4ec012f1855bf59f3fbcd5f
6
+ metadata.gz: 75a6c986f98952e192d9c11f0f863796248b4ab45809131c3e2b31c2a7718378ea28685acf4fc035d685fced81e681bceada6f0c5e668ec3e5d237e5ec563542
7
+ data.tar.gz: 266c2d2bf9f9c6c92edc5f41a7d3fe1d257502b26b84995a381152c0e1a923b83ecd55769e9bfe888e78a968339bd1f895c60064d642355c88e2a961bf197ef3
@@ -2,9 +2,9 @@ language: ruby
2
2
  env:
3
3
  - TESTMEMORY=0 GCDELAY=2.0
4
4
  rvm:
5
- - 2.4
6
5
  - 2.5
7
6
  - 2.6
7
+ - 2.7
8
8
  before_script:
9
9
  - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
10
10
  - chmod +x ./cc-test-reporter
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fhir_models (4.1.0)
4
+ fhir_models (4.1.1)
5
5
  bcp47 (>= 0.3)
6
6
  date_time_precision (>= 0.8)
7
7
  mime-types (>= 3.0)
@@ -10,19 +10,19 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- ast (2.4.0)
13
+ ast (2.4.1)
14
14
  bcp47 (0.3.3)
15
15
  i18n
16
- coderay (1.1.2)
17
- concurrent-ruby (1.1.6)
16
+ coderay (1.1.3)
17
+ concurrent-ruby (1.1.7)
18
18
  coolline (0.5.0)
19
19
  unicode_utils (~> 1.4)
20
20
  date_time_precision (0.8.1)
21
- diff-lcs (1.3)
21
+ diff-lcs (1.4.4)
22
22
  docile (1.3.2)
23
- ffi (1.11.1)
23
+ ffi (1.13.1)
24
24
  formatador (0.2.5)
25
- guard (2.15.0)
25
+ guard (2.16.2)
26
26
  formatador (>= 0.2.4)
27
27
  listen (>= 2.7, < 4.0)
28
28
  lumberjack (>= 1.0.12, < 2.0)
@@ -39,22 +39,21 @@ GEM
39
39
  guard-test (2.0.8)
40
40
  guard-compat (~> 1.2)
41
41
  test-unit (~> 3.0)
42
- i18n (1.8.2)
42
+ i18n (1.8.5)
43
43
  concurrent-ruby (~> 1.0)
44
- jaro_winkler (1.5.3)
45
- json (2.2.0)
46
- listen (3.1.5)
47
- rb-fsevent (~> 0.9, >= 0.9.4)
48
- rb-inotify (~> 0.9, >= 0.9.7)
49
- ruby_dep (~> 1.2)
50
- lumberjack (1.0.13)
51
- method_source (0.9.2)
44
+ jaro_winkler (1.5.4)
45
+ json (2.3.1)
46
+ listen (3.3.1)
47
+ rb-fsevent (~> 0.10, >= 0.10.3)
48
+ rb-inotify (~> 0.9, >= 0.9.10)
49
+ lumberjack (1.2.8)
50
+ method_source (1.0.0)
52
51
  mime-types (3.3.1)
53
52
  mime-types-data (~> 3.2015)
54
- mime-types-data (3.2019.1009)
53
+ mime-types-data (3.2020.1104)
55
54
  mini_portile2 (2.4.0)
56
55
  nenv (0.3.0)
57
- nokogiri (1.10.8)
56
+ nokogiri (1.10.10)
58
57
  mini_portile2 (~> 2.4.0)
59
58
  nokogiri-diff (0.2.0)
60
59
  nokogiri (~> 1.5)
@@ -62,34 +61,34 @@ GEM
62
61
  notiffany (0.1.3)
63
62
  nenv (~> 0.1)
64
63
  shellany (~> 0.0)
65
- parallel (1.17.0)
66
- parser (2.6.3.0)
67
- ast (~> 2.4.0)
68
- power_assert (1.1.5)
69
- pry (0.12.2)
70
- coderay (~> 1.1.0)
71
- method_source (~> 0.9.0)
64
+ parallel (1.20.0)
65
+ parser (2.7.2.0)
66
+ ast (~> 2.4.1)
67
+ power_assert (1.2.0)
68
+ pry (0.13.1)
69
+ coderay (~> 1.1)
70
+ method_source (~> 1.0)
72
71
  pry-coolline (0.2.5)
73
72
  coolline (~> 0.5)
74
- psych (3.1.0)
73
+ psych (3.2.0)
75
74
  rainbow (3.0.0)
76
- rake (12.3.3)
77
- rb-fsevent (0.10.3)
78
- rb-inotify (0.10.0)
75
+ rake (13.0.1)
76
+ rb-fsevent (0.10.4)
77
+ rb-inotify (0.10.1)
79
78
  ffi (~> 1.0)
80
- rspec (3.8.0)
81
- rspec-core (~> 3.8.0)
82
- rspec-expectations (~> 3.8.0)
83
- rspec-mocks (~> 3.8.0)
84
- rspec-core (3.8.2)
85
- rspec-support (~> 3.8.0)
86
- rspec-expectations (3.8.4)
79
+ rspec (3.10.0)
80
+ rspec-core (~> 3.10.0)
81
+ rspec-expectations (~> 3.10.0)
82
+ rspec-mocks (~> 3.10.0)
83
+ rspec-core (3.10.0)
84
+ rspec-support (~> 3.10.0)
85
+ rspec-expectations (3.10.0)
87
86
  diff-lcs (>= 1.2.0, < 2.0)
88
- rspec-support (~> 3.8.0)
89
- rspec-mocks (3.8.1)
87
+ rspec-support (~> 3.10.0)
88
+ rspec-mocks (3.10.0)
90
89
  diff-lcs (>= 1.2.0, < 2.0)
91
- rspec-support (~> 3.8.0)
92
- rspec-support (3.8.2)
90
+ rspec-support (~> 3.10.0)
91
+ rspec-support (3.10.0)
93
92
  rubocop (0.67.0)
94
93
  jaro_winkler (~> 1.5.1)
95
94
  parallel (~> 1.10)
@@ -99,17 +98,16 @@ GEM
99
98
  ruby-progressbar (~> 1.7)
100
99
  unicode-display_width (>= 1.4.0, < 1.6)
101
100
  ruby-progressbar (1.10.1)
102
- ruby_dep (1.5.0)
103
101
  shellany (0.0.1)
104
- simplecov (0.17.0)
102
+ simplecov (0.17.1)
105
103
  docile (~> 1.1)
106
104
  json (>= 1.8, < 3)
107
105
  simplecov-html (~> 0.10.0)
108
106
  simplecov-html (0.10.2)
109
107
  tdiff (0.3.4)
110
- test-unit (3.3.3)
108
+ test-unit (3.3.6)
111
109
  power_assert
112
- thor (0.20.3)
110
+ thor (1.0.1)
113
111
  unicode-display_width (1.5.0)
114
112
  unicode_utils (1.4.0)
115
113
 
@@ -131,7 +129,7 @@ DEPENDENCIES
131
129
  test-unit
132
130
 
133
131
  RUBY VERSION
134
- ruby 2.5.1p57
132
+ ruby 2.5.8p224
135
133
 
136
134
  BUNDLED WITH
137
- 2.0.1
135
+ 2.1.4
data/README.md CHANGED
@@ -73,7 +73,7 @@ $ bundle exec rake fhir:console
73
73
  ```
74
74
  # License
75
75
 
76
- Copyright 2014-2019 The MITRE Corporation
76
+ Copyright 2014-2020 The MITRE Corporation
77
77
 
78
78
  Licensed under the Apache License, Version 2.0 (the "License");
79
79
  you may not use this file except in compliance with the License.
@@ -287,7 +287,7 @@ module FHIRPath
287
287
  tree[index] = (previous_node == :null || previous_node.empty? rescue previous_node.nil?)
288
288
  clean_index(tree, previous_index)
289
289
  when :exists
290
- tree[index] = !previous_node.nil? && previous_node != :null
290
+ tree[index] = !previous_node.nil? && previous_node != :null && previous_node != []
291
291
  clean_index(tree, previous_index)
292
292
  when :distinct
293
293
  tree[index] = (previous_node.uniq rescue previous_node)
@@ -1,5 +1,5 @@
1
1
  module FHIR
2
2
  module Models
3
- VERSION = '4.1.0'.freeze
3
+ VERSION = '4.1.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fhir_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0
4
+ version: 4.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Walonoski
@@ -9,10 +9,10 @@ authors:
9
9
  - Michael O'Keefe
10
10
  - Robert Scanlon
11
11
  - Reece Adamson
12
- autorequire:
12
+ autorequire:
13
13
  bindir: exe
14
14
  cert_chain: []
15
- date: 2020-04-08 00:00:00.000000000 Z
15
+ date: 2020-11-16 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: nokogiri
@@ -3957,7 +3957,7 @@ files:
3957
3957
  homepage: https://github.com/fhir-crucible/fhir_models
3958
3958
  licenses: []
3959
3959
  metadata: {}
3960
- post_install_message:
3960
+ post_install_message:
3961
3961
  rdoc_options: []
3962
3962
  require_paths:
3963
3963
  - lib
@@ -3972,8 +3972,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
3972
3972
  - !ruby/object:Gem::Version
3973
3973
  version: '0'
3974
3974
  requirements: []
3975
- rubygems_version: 3.0.2
3976
- signing_key:
3975
+ rubyforge_project:
3976
+ rubygems_version: 2.7.6.2
3977
+ signing_key:
3977
3978
  specification_version: 4
3978
3979
  summary: A Gem for handling FHIR models in ruby
3979
3980
  test_files: []