From e680049a83e63fcf9971d4b735876312fa467f82 Mon Sep 17 00:00:00 2001 From: David Czulada Date: Thu, 29 Feb 2024 16:12:43 -0500 Subject: [PATCH] update gems --- Gemfile.lock | 148 +++++++++++++------------- app/models/c2_task.rb | 2 - app/models/cat3_filter_task.rb | 2 - lib/cypress/api_measure_evaluator.rb | 2 - lib/cypress/patient_zipper.rb | 2 - lib/validators/qrda_cat3_validator.rb | 2 - 6 files changed, 74 insertions(+), 84 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 67bcd2018..8ac99c78e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -55,67 +55,67 @@ GIT GEM remote: https://rubygems.org/ specs: - actioncable (7.0.7.2) - actionpack (= 7.0.7.2) - activesupport (= 7.0.7.2) + actioncable (7.0.8.1) + actionpack (= 7.0.8.1) + activesupport (= 7.0.8.1) nio4r (~> 2.0) websocket-driver (>= 0.6.1) - actionmailbox (7.0.7.2) - actionpack (= 7.0.7.2) - activejob (= 7.0.7.2) - activerecord (= 7.0.7.2) - activestorage (= 7.0.7.2) - activesupport (= 7.0.7.2) + actionmailbox (7.0.8.1) + actionpack (= 7.0.8.1) + activejob (= 7.0.8.1) + activerecord (= 7.0.8.1) + activestorage (= 7.0.8.1) + activesupport (= 7.0.8.1) mail (>= 2.7.1) net-imap net-pop net-smtp - actionmailer (7.0.7.2) - actionpack (= 7.0.7.2) - actionview (= 7.0.7.2) - activejob (= 7.0.7.2) - activesupport (= 7.0.7.2) + actionmailer (7.0.8.1) + actionpack (= 7.0.8.1) + actionview (= 7.0.8.1) + activejob (= 7.0.8.1) + activesupport (= 7.0.8.1) mail (~> 2.5, >= 2.5.4) net-imap net-pop net-smtp rails-dom-testing (~> 2.0) - actionpack (7.0.7.2) - actionview (= 7.0.7.2) - activesupport (= 7.0.7.2) + actionpack (7.0.8.1) + actionview (= 7.0.8.1) + activesupport (= 7.0.8.1) rack (~> 2.0, >= 2.2.4) rack-test (>= 0.6.3) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.2.0) - actiontext (7.0.7.2) - actionpack (= 7.0.7.2) - activerecord (= 7.0.7.2) - activestorage (= 7.0.7.2) - activesupport (= 7.0.7.2) + actiontext (7.0.8.1) + actionpack (= 7.0.8.1) + activerecord (= 7.0.8.1) + activestorage (= 7.0.8.1) + activesupport (= 7.0.8.1) globalid (>= 0.6.0) nokogiri (>= 1.8.5) - actionview (7.0.7.2) - activesupport (= 7.0.7.2) + actionview (7.0.8.1) + activesupport (= 7.0.8.1) builder (~> 3.1) erubi (~> 1.4) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.1, >= 1.2.0) - activejob (7.0.7.2) - activesupport (= 7.0.7.2) + activejob (7.0.8.1) + activesupport (= 7.0.8.1) globalid (>= 0.3.6) - activemodel (7.0.7.2) - activesupport (= 7.0.7.2) - activerecord (7.0.7.2) - activemodel (= 7.0.7.2) - activesupport (= 7.0.7.2) - activestorage (7.0.7.2) - actionpack (= 7.0.7.2) - activejob (= 7.0.7.2) - activerecord (= 7.0.7.2) - activesupport (= 7.0.7.2) + activemodel (7.0.8.1) + activesupport (= 7.0.8.1) + activerecord (7.0.8.1) + activemodel (= 7.0.8.1) + activesupport (= 7.0.8.1) + activestorage (7.0.8.1) + actionpack (= 7.0.8.1) + activejob (= 7.0.8.1) + activerecord (= 7.0.8.1) + activesupport (= 7.0.8.1) marcel (~> 1.0) mini_mime (>= 1.1.0) - activesupport (7.0.7.2) + activesupport (7.0.8.1) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) @@ -140,7 +140,7 @@ GEM descendants_tracker (~> 0.0.4) ice_nine (~> 0.11.0) thread_safe (~> 0.3, >= 0.3.1) - bcrypt (3.1.18) + bcrypt (3.1.20) bindex (0.8.1) bootsnap (1.15.0) msgpack (~> 1.2) @@ -239,7 +239,7 @@ GEM database_cleaner-mongoid (2.0.1) database_cleaner-core (~> 2.0.0) mongoid - date (3.3.3) + date (3.3.4) declarative (0.0.20) declarative-option (0.1.0) delayed_job (4.1.11) @@ -249,13 +249,13 @@ GEM mongoid (>= 5.0) descendants_tracker (0.0.4) thread_safe (~> 0.3, >= 0.3.1) - devise (4.8.1) + devise (4.9.3) bcrypt (~> 3.0) orm_adapter (~> 0.1) railties (>= 4.1.0) responders warden (~> 1.2.3) - devise_invitable (2.0.7) + devise_invitable (2.0.9) actionmailer (>= 5.0) devise (>= 4.6) diff-lcs (1.5.0) @@ -279,8 +279,8 @@ GEM ffi (1.16.3) font-awesome-sass (5.0.13) sassc (>= 1.11) - globalid (1.1.0) - activesupport (>= 5.0) + globalid (1.2.1) + activesupport (>= 6.1) hashdiff (1.0.1) highline (1.7.10) http-cookie (1.0.5) @@ -321,7 +321,7 @@ GEM rb-inotify (~> 0.9, >= 0.9.10) local_time (2.0.1) log4r (1.1.10) - loofah (2.21.3) + loofah (2.22.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) macaddr (1.7.2) @@ -331,7 +331,7 @@ GEM net-imap net-pop net-smtp - marcel (1.0.2) + marcel (1.0.3) matrix (0.4.2) memoist (0.9.3) method_source (1.0.0) @@ -341,7 +341,7 @@ GEM mini_magick (4.12.0) mini_mime (1.1.5) mini_portile2 (2.8.5) - minitest (5.21.2) + minitest (5.22.2) minitest-rails (7.0.0) minitest (~> 5.10) railties (~> 7.0.0) @@ -369,18 +369,18 @@ GEM multi_test (1.1.0) mustache (1.1.1) nested_form (0.3.2) - net-imap (0.3.7) + net-imap (0.4.10) date net-protocol net-pop (0.1.2) net-protocol - net-protocol (0.2.1) + net-protocol (0.2.2) timeout - net-smtp (0.3.3) + net-smtp (0.4.0.1) net-protocol netrc (0.11.0) newrelic_rpm (8.15.0) - nio4r (2.5.9) + nio4r (2.7.0) nokogiri (1.16.2) mini_portile2 (~> 2.8.2) racc (~> 1.4) @@ -404,23 +404,23 @@ GEM pry (>= 0.9.10, < 0.15) public_suffix (5.0.4) racc (1.7.3) - rack (2.2.8) + rack (2.2.8.1) rack-test (2.1.0) rack (>= 1.3) - rails (7.0.7.2) - actioncable (= 7.0.7.2) - actionmailbox (= 7.0.7.2) - actionmailer (= 7.0.7.2) - actionpack (= 7.0.7.2) - actiontext (= 7.0.7.2) - actionview (= 7.0.7.2) - activejob (= 7.0.7.2) - activemodel (= 7.0.7.2) - activerecord (= 7.0.7.2) - activestorage (= 7.0.7.2) - activesupport (= 7.0.7.2) + rails (7.0.8.1) + actioncable (= 7.0.8.1) + actionmailbox (= 7.0.8.1) + actionmailer (= 7.0.8.1) + actionpack (= 7.0.8.1) + actiontext (= 7.0.8.1) + actionview (= 7.0.8.1) + activejob (= 7.0.8.1) + activemodel (= 7.0.8.1) + activerecord (= 7.0.8.1) + activestorage (= 7.0.8.1) + activesupport (= 7.0.8.1) bundler (>= 1.15.0) - railties (= 7.0.7.2) + railties (= 7.0.8.1) rails-controller-testing (1.0.5) actionpack (>= 5.0.1.rc1) actionview (>= 5.0.1.rc1) @@ -441,16 +441,16 @@ GEM json require_all (~> 3.0) ruby-progressbar - railties (7.0.7.2) - actionpack (= 7.0.7.2) - activesupport (= 7.0.7.2) + railties (7.0.8.1) + actionpack (= 7.0.8.1) + activesupport (= 7.0.8.1) method_source rake (>= 12.2) thor (~> 1.0) zeitwerk (~> 2.5) rainbow (3.1.1) raindrops (0.20.0) - rake (13.0.6) + rake (13.1.0) rb-fsevent (0.11.2) rb-inotify (0.10.1) ffi (~> 1.0) @@ -461,9 +461,9 @@ GEM declarative-option (< 0.2.0) uber (< 0.2.0) require_all (3.0.0) - responders (3.0.1) - actionpack (>= 5.0) - railties (>= 5.0) + responders (3.1.1) + actionpack (>= 5.2) + railties (>= 5.2) rest-client (2.0.2) http-cookie (>= 1.0.2, < 2.0) mime-types (>= 1.16, < 4.0) @@ -543,10 +543,10 @@ GEM test_xml (0.1.8) diffy (~> 3.0) nokogiri (>= 1.3.2) - thor (1.2.2) + thor (1.3.1) thread_safe (0.3.6) tilt (2.0.11) - timeout (0.4.0) + timeout (0.4.1) typhoeus (1.4.0) ethon (>= 0.9.0) tzinfo (2.0.6) @@ -593,7 +593,7 @@ GEM websocket-extensions (0.1.5) xpath (3.2.0) nokogiri (~> 1.8) - zeitwerk (2.6.11) + zeitwerk (2.6.13) zip-zip (0.3) rubyzip (>= 1.0.0) diff --git a/app/models/c2_task.rb b/app/models/c2_task.rb index 0f1eb124d..14c7d75dd 100644 --- a/app/models/c2_task.rb +++ b/app/models/c2_task.rb @@ -34,7 +34,6 @@ def execute(file, user) te end - # rubocop:disable Metrics/AbcSize def good_results # Set the Submission Program to MIPS_INDIV if there is a C3 test and the test is for an ep measure. cat3_submission_program = if product_test&.product&.c3_test && product_test&.ep_measures? @@ -46,7 +45,6 @@ def good_results start_time: start_date, end_time: end_date, ry2022_submission: product_test.bundle.major_version == '2021' } Qrda3.new(product_test.expected_results_with_all_supplemental_codes, product_test.measures, options).render end - # rubocop:enable Metrics/AbcSize def last_updated_with_sibling sibling = product_test.tasks.c3_cat3_task diff --git a/app/models/cat3_filter_task.rb b/app/models/cat3_filter_task.rb index 358a70e68..54f4e4267 100644 --- a/app/models/cat3_filter_task.rb +++ b/app/models/cat3_filter_task.rb @@ -18,7 +18,6 @@ def execute(file, user) te end - # rubocop:disable Metrics/AbcSize def good_results # Set the Submission Program to MIPS_INDIV if there is a C3 test and the test is for an ep measure. cat3_submission_program = if product_test&.product&.c3_test @@ -30,5 +29,4 @@ def good_results start_time: start_date, end_time: end_date, ry2022_submission: product_test.bundle.major_version == '2021' } Qrda3.new(product_test.expected_results_with_all_supplemental_codes, product_test.measures, options).render end - # rubocop:enable Metrics/AbcSize end diff --git a/lib/cypress/api_measure_evaluator.rb b/lib/cypress/api_measure_evaluator.rb index 462f57cdd..0ec221fd9 100644 --- a/lib/cypress/api_measure_evaluator.rb +++ b/lib/cypress/api_measure_evaluator.rb @@ -457,7 +457,6 @@ def parsed_api_object(unparsed_string) JSON.parse(unparsed_string) end - # rubocop:disable Metrics/AbcSize def calcuate_cat3(product_test_id, bundle_id) pt = ProductTest.find(product_test_id) patient_ids = [] @@ -485,7 +484,6 @@ def calcuate_cat3(product_test_id, bundle_id) File.write("tmp/#{product_test_id}.xml", xml) end - # rubocop:enable Metrics/AbcSize def do_calculation(product_test, patients, correlation_id) measures = product_test.measures diff --git a/lib/cypress/patient_zipper.rb b/lib/cypress/patient_zipper.rb index a256e8292..39e868533 100644 --- a/lib/cypress/patient_zipper.rb +++ b/lib/cypress/patient_zipper.rb @@ -35,7 +35,6 @@ def initialize(measures, start_time, end_time) @end_time = end_time end - # rubocop:disable Metrics/PerceivedComplexity def export(patient) cat1_program = if (patient.product_test&.product&.c3_test || patient.product_test&.product&.cvuplus) && patient.product_test&.eh_measures? patient.product_test&.submission_program @@ -51,7 +50,6 @@ def export(patient) start_time:, end_time: } Qrda1R5.new(patient, measures, options).render end - # rubocop:enable Metrics/PerceivedComplexity end class PatientZipper diff --git a/lib/validators/qrda_cat3_validator.rb b/lib/validators/qrda_cat3_validator.rb index f9b7cc79d..c56ae6c35 100644 --- a/lib/validators/qrda_cat3_validator.rb +++ b/lib/validators/qrda_cat3_validator.rb @@ -13,7 +13,6 @@ def initialize(expected_results, is_c3_validation_task, test_has_c3, test_has_c2 @expected_results = expected_results end - # rubocop:disable Metrics/MethodLength def validate(file, options = {}) @doc = get_document(file) @options = options @@ -38,6 +37,5 @@ def validate(file, options = {}) 'CqmValidators::CDA', :xml_validation) end - # rubocop:enable Metrics/MethodLength end end