From 3dde15664c7117ceabe0e901361d47a409dbad72 Mon Sep 17 00:00:00 2001 From: Kamil Szubrycht Date: Wed, 5 Apr 2023 14:13:08 +0200 Subject: [PATCH] Clean up dependencies (#102) * Clean up dependencies * pin versions of gems * get rid of Zeitwerk --------- Co-authored-by: Wieberneit, Daniel --- .github/workflows/ci.yml | 2 +- foreman_netbox.gemspec | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5a2a68f..5f2841f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - foreman-core-branch: [3.1-stable, 3.2-stable, 3.3-stable, 3.4-stable, develop] + foreman-core-branch: [3.1-stable, 3.2-stable, 3.3-stable, 3.4-stable, 3.5-stable, 3.6-stable, develop] ruby-version: [2.7] node-version: [14] steps: diff --git a/foreman_netbox.gemspec b/foreman_netbox.gemspec index cb04ce6..6c411b8 100644 --- a/foreman_netbox.gemspec +++ b/foreman_netbox.gemspec @@ -14,14 +14,14 @@ Gem::Specification.new do |s| s.files = Dir['{app,config,db,lib,locale}/**/*'] + ['LICENSE', 'Rakefile', 'README.md'] s.test_files = Dir['test/**/*'] - s.add_dependency 'dry-configurable', '>= 0.13', '< 0.17' - s.add_dependency 'dry-container', '>= 0.7', '< 0.12' - s.add_dependency 'dry-core', '>= 0.6', '< 0.9' - s.add_dependency 'dry-inflector', '0.3.0' - s.add_dependency 'dry-schema', '>= 1.6', '< 1.12' - s.add_dependency 'dry-validation', '>= 1.5.2', '< 1.9.0' + s.add_dependency 'dry-validation', '~> 1.8.1' s.add_dependency 'interactor', '~> 3.1.1' - s.add_dependency 'netbox-client-ruby', '>= 0.5.5', '< 0.8.0' + s.add_dependency 'netbox-client-ruby', '~> 0.6.0' + + # pin versions + s.add_dependency 'dry-container', '0.9.0' + s.add_dependency 'dry-core', '0.8.1' + s.add_dependency 'dry-schema', '1.10.6' s.add_development_dependency 'rdoc' s.add_development_dependency 'theforeman-rubocop', '~> 0.1.2'