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 952e062 commit 0063682
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions acts_as_paranoid.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ Gem::Specification.new do |spec|
spec.files = File.read("Manifest.txt").split
spec.require_paths = ["lib"]

spec.add_runtime_dependency "activerecord", ">= 6.1", "< 7.2"
spec.add_runtime_dependency "activesupport", ">= 6.1", "< 7.2"
spec.add_dependency "activerecord", ">= 6.1", "< 7.2"
spec.add_dependency "activesupport", ">= 6.1", "< 7.2"

spec.add_development_dependency "appraisal", "~> 2.3"
spec.add_development_dependency "minitest", "~> 5.14"
Expand Down

0 comments on commit 0063682

Please sign in to comment.