You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix setup command --regenerate-binstubs option flag
`--[no-]regenerate-binstubs' option flag was added in 909b5fb but is
not used yet. This change tests if the option was set before calling
Gem::Commands::SetupCommand#regenerate_binstubs.
We also simplify how the option is set, since it's more similar to
`format_executable' for example (simple option flag), rather than
`document' where we use the same hash key for multiple options. This way
we can just test the value being either true or false, instead of
testing key presence (`Hash#key?') or relying on `nil' being returned
for nonexistent hash keys with `Hash#[]'.
0 commit comments