Skip to content

Commit

Permalink
Replace soft-deprecated runtime dependency specification
Browse files Browse the repository at this point in the history
Using add_runtime_dependency is soft-deprecated and now flagged by RuboCop.
  • Loading branch information
mvz committed Jul 14, 2024
1 parent b68c183 commit 8d97a38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nokogiri-happymapper.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Gem::Specification.new do |spec|

spec.extra_rdoc_files = ["README.md", "CHANGELOG.md", "License"]

spec.add_runtime_dependency "nokogiri", "~> 1.5"
spec.add_dependency "nokogiri", "~> 1.5"

spec.add_development_dependency "pry", "~> 0.14.0"
spec.add_development_dependency "rake", "~> 13.0"
Expand Down

0 comments on commit 8d97a38

Please sign in to comment.