From 4be2510fcf608018f8255602bbc41c33d97e3b35 Mon Sep 17 00:00:00 2001 From: Rob Scanlon Date: Tue, 30 Mar 2021 16:34:50 -0400 Subject: [PATCH 1/4] Update version. --- lib/fhir_models/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fhir_models/version.rb b/lib/fhir_models/version.rb index 2bbe1feee..c05d7ee39 100644 --- a/lib/fhir_models/version.rb +++ b/lib/fhir_models/version.rb @@ -1,5 +1,5 @@ module FHIR module Models - VERSION = '4.1.1'.freeze + VERSION = '4.1.2'.freeze end end From 8c3709e2b66c5a6678ca8b8ffa44d2bc6af7880a Mon Sep 17 00:00:00 2001 From: Rob Scanlon Date: Tue, 30 Mar 2021 17:17:53 -0400 Subject: [PATCH 2/4] Update gemfile to point to new version of this gem. --- .codeclimate.yml | 2 +- Gemfile.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.codeclimate.yml b/.codeclimate.yml index 73318ebab..795c50cde 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -9,7 +9,7 @@ engines: enabled: true rubocop: enabled: true - channel: rubocop-0-67 + channel: rubocop-0-80 ratings: paths: - "**.inc" diff --git a/Gemfile.lock b/Gemfile.lock index 120fe8daf..12279d68e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - fhir_models (4.1.1) + fhir_models (4.1.2) bcp47 (>= 0.3) date_time_precision (>= 0.8) mime-types (>= 3.0) @@ -14,7 +14,7 @@ GEM bcp47 (0.3.3) i18n coderay (1.1.3) - concurrent-ruby (1.1.7) + concurrent-ruby (1.1.8) coolline (0.5.0) unicode_utils (~> 1.4) date_time_precision (0.8.1) @@ -39,7 +39,7 @@ GEM guard-test (2.0.8) guard-compat (~> 1.2) test-unit (~> 3.0) - i18n (1.8.5) + i18n (1.8.9) concurrent-ruby (~> 1.0) jaro_winkler (1.5.4) json (2.3.1) @@ -50,7 +50,7 @@ GEM method_source (1.0.0) mime-types (3.3.1) mime-types-data (~> 3.2015) - mime-types-data (3.2020.1104) + mime-types-data (3.2021.0225) mini_portile2 (2.5.0) nenv (0.3.0) nokogiri (1.11.2) @@ -131,7 +131,7 @@ DEPENDENCIES test-unit RUBY VERSION - ruby 2.5.8p224 + ruby 2.7.2p137 BUNDLED WITH 2.1.4 From 4b0beb6dedc9c7587c6a3c48393ac7c12dc808e1 Mon Sep 17 00:00:00 2001 From: Rob Scanlon Date: Tue, 30 Mar 2021 20:00:55 -0400 Subject: [PATCH 3/4] Update copyright years. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3a4a4d2be..51f0de536 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ $ bundle exec rake fhir:console ``` # License -Copyright 2014-2020 The MITRE Corporation +Copyright 2014-2021 The MITRE Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. From 131f6cc954fb540477581a89c4cfede92f9caad7 Mon Sep 17 00:00:00 2001 From: Rob Scanlon Date: Tue, 30 Mar 2021 20:03:42 -0400 Subject: [PATCH 4/4] Remove unused variable. --- lib/fhir_models/fhir_ext/structure_definition.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/fhir_models/fhir_ext/structure_definition.rb b/lib/fhir_models/fhir_ext/structure_definition.rb index 343a704d3..689cddced 100644 --- a/lib/fhir_models/fhir_ext/structure_definition.rb +++ b/lib/fhir_models/fhir_ext/structure_definition.rb @@ -161,7 +161,6 @@ def verify_element(element, json) if !element.type.empty? && element.path != id # element.type not being empty implies data_type_found != nil, for valid profiles codeable_concept_pattern = element.pattern && element.pattern.is_a?(FHIR::CodeableConcept) - codeable_concept_binding = element.binding matching_pattern = false nodes.each do |value| matching_type = 0