From 7769c97580e7d02bd551a3c386941542e1b9444a Mon Sep 17 00:00:00 2001 From: Ashwin Maroli Date: Wed, 16 Oct 2024 20:53:55 +0530 Subject: [PATCH] Prefer `spec.add_dependency` `spec.add_dependency` is preferable since `spec.add_runtime_dependency` is deprecated (silently) since a long time now. --- jekyll-admin.gemspec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jekyll-admin.gemspec b/jekyll-admin.gemspec index d5be10dc..6ca4a59d 100644 --- a/jekyll-admin.gemspec +++ b/jekyll-admin.gemspec @@ -23,8 +23,8 @@ Gem::Specification.new do |spec| spec.required_ruby_version = ">= 2.3.0" spec.required_rubygems_version = ">= 2.7.0" - spec.add_runtime_dependency "jekyll", ">= 3.7", "< 5.0" - spec.add_runtime_dependency "rackup", "~> 2.0" - spec.add_runtime_dependency "sinatra", "~> 4.0" - spec.add_runtime_dependency "sinatra-contrib", "~> 4.0" + spec.add_dependency "jekyll", ">= 3.7", "< 5.0" + spec.add_dependency "rackup", "~> 2.0" + spec.add_dependency "sinatra", "~> 4.0" + spec.add_dependency "sinatra-contrib", "~> 4.0" end