From 37b0eef7bfcc8ea2479d2d0569cf246a01d3ef29 Mon Sep 17 00:00:00 2001 From: Matijs van Zuijlen Date: Sun, 14 Jul 2024 09:45:17 +0200 Subject: [PATCH] Replace soft-deprecated runtime dependency specification Using add_runtime_dependency is soft-deprecated and now flagged by RuboCop. --- aruba.gemspec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/aruba.gemspec b/aruba.gemspec index 2c69da53..d7347621 100644 --- a/aruba.gemspec +++ b/aruba.gemspec @@ -23,11 +23,11 @@ Gem::Specification.new do |spec| "source_code_uri" => "https://github.com/cucumber/aruba" } - spec.add_runtime_dependency "bundler", [">= 1.17", "< 3.0"] - spec.add_runtime_dependency "contracts", [">= 0.16.0", "< 0.18.0"] - spec.add_runtime_dependency "cucumber", ">= 8.0", "< 10.0" - spec.add_runtime_dependency "rspec-expectations", "~> 3.4" - spec.add_runtime_dependency "thor", "~> 1.0" + spec.add_dependency "bundler", [">= 1.17", "< 3.0"] + spec.add_dependency "contracts", [">= 0.16.0", "< 0.18.0"] + spec.add_dependency "cucumber", ">= 8.0", "< 10.0" + spec.add_dependency "rspec-expectations", "~> 3.4" + spec.add_dependency "thor", "~> 1.0" spec.add_development_dependency "appraisal", "~> 2.4" spec.add_development_dependency "json", "~> 2.1"