10000 Fix mention of deprecated Gem dependency method · rubocop/ruby-style-guide@ab26a5c · GitHub
[go: up one dir, main page]

Skip to content

Commit ab26a5c

Browse files
jryansbbatsov
authored andcommitted
Fix mention of deprecated Gem dependency method
This fixes the mention of a soft-deprecated Gem dependency method to say `add_runtime_dependency` and not `add_dependency` (that's the one you _should_ use).
1 parent 38a8961 commit ab26a5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5736,7 +5736,7 @@ Fix by either:
57365736

57375737
=== `add_dependency` vs `add_runtime_dependency` [[add_dependency_vs_add_runtime_dependency]]
57385738

5739-
Prefer `add_dependency` over `add_runtime_dependency` because `add_dependency` is considered soft-deprecated
5739+
Prefer `add_dependency` over `add_runtime_dependency` because `add_runtime_dependency` is considered soft-deprecated
57405740
and the Bundler team recommends `add_dependency`.
57415741

57425742
[source,ruby]

0 commit comments

Comments
 (0)
0