Skip to content

Commit

Permalink
Prefer spec.add_dependency
Browse files Browse the repository at this point in the history
`spec.add_dependency` is preferable since `spec.add_runtime_dependency` is deprecated (silently) since a long time now.
  • Loading branch information
ashmaroli authored Oct 16, 2024
1 parent 26b4fb1 commit 7769c97
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions jekyll-admin.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7769c97

Please sign in to comment.