From 46019e689de6242fffe1004b1b5ab41ef8c5cd65 Mon Sep 17 00:00:00 2001 From: Rob Scanlon Date: Mon, 9 Dec 2024 09:49:37 -0500 Subject: [PATCH] Add language to help avoid overconstraining gemspecs. --- onc_certification_g10_test_kit.gemspec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/onc_certification_g10_test_kit.gemspec b/onc_certification_g10_test_kit.gemspec index d8983021..8db2bcdd 100644 --- a/onc_certification_g10_test_kit.gemspec +++ b/onc_certification_g10_test_kit.gemspec @@ -16,9 +16,15 @@ Gem::Specification.new do |spec| spec.add_runtime_dependency 'mime-types', '~> 3.4.0' spec.add_runtime_dependency 'ndjson', '~> 1.0.0' spec.add_runtime_dependency 'rubyzip', '~> 2.3.2' + + # **Please note**: Version constraints for dependant test kits should only be + # locked to a single version in certification test kits (such as this one). + # All other test kits should use more flexible version constraints to avoid + # conflicts when integrating into platforms (e.g.; inferno.healthit.gov). spec.add_runtime_dependency 'smart_app_launch_test_kit', '0.4.6' spec.add_runtime_dependency 'tls_test_kit', '0.2.3' spec.add_runtime_dependency 'us_core_test_kit', '0.9.2' + spec.add_development_dependency 'database_cleaner-sequel', '~> 1.8' spec.add_development_dependency 'factory_bot', '~> 6.1' spec.add_development_dependency 'rspec', '~> 3.10'