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 0d53de4 commit 95e4809
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gir_ffi.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ Gem::Specification.new do |spec|
spec.rdoc_options = ["--main", "README.md"]
spec.extra_rdoc_files = ["DESIGN.md", "Changelog.md", "README.md", "TODO.md"]

spec.add_runtime_dependency "ffi", ["~> 1.16", ">= 1.16.3"]
spec.add_runtime_dependency "ffi-bit_masks", "~> 0.1.1"
spec.add_dependency "ffi", ["~> 1.16", ">= 1.16.3"]
spec.add_dependency "ffi-bit_masks", "~> 0.1.1"

spec.add_development_dependency "aruba", "~> 2.0"
spec.add_development_dependency "minitest", "~> 5.12"
Expand Down

0 comments on commit 95e4809

Please sign in to comment.