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 d72ddda commit 1e0cd53
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions rubocop-packaging.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ Gem::Specification.new do |spec|

spec.required_ruby_version = Gem::Requirement.new(">= 2.6.0")

spec.add_development_dependency "bump", "~> 0.8"
spec.add_development_dependency "pry", "~> 0.13"
spec.add_development_dependency "rake", "~> 13.0"
spec.add_development_dependency "rspec", "~> 3.0"
spec.add_development_dependency "yard", "~> 0.9"
spec.add_runtime_dependency "rubocop", ">= 1.33", "< 2.0"
spec.add_dependency "rubocop", ">= 1.33", "< 2.0"

spec.add_development_dependency "bump", "~> 0.8"
spec.add_development_dependency "pry", "~> 0.13"
spec.add_development_dependency "rake", "~> 13.0"
spec.add_development_dependency "rspec", "~> 3.0"
spec.add_development_dependency "yard", "~> 0.9"
end

0 comments on commit 1e0cd53

Please sign in to comment.