rubygems / bundler

Manage your Ruby application's gem dependencies
https://bundler.io
MIT License
4.88k stars 1.99k forks source link

Warn on similar to known rubygem sources #7647

Closed kddnewton closed 4 years ago

kddnewton commented 4 years ago

This article got me thinking: http://gavinmiller.io/2020/how-i-mitmd-rubygems-org-kinda/. It's very easy to accidentally make a spelling mistake in the source of a Gemfile. This commit adds a warning if you do to verify that you absolutely do want that behavior.

I thought about throwing an error but I suppose it's possible someone could want that, so we can just let it go through but warn every time.