commander-rb / commander

The complete solution for Ruby command-line executables
MIT License
822 stars 74 forks source link

Deprecation warning when used together with pg #57

Closed skyfmmf closed 4 years ago

skyfmmf commented 6 years ago

When using both, your gem and the pg gem (for PostgreSQL) in a project, I get a deprecation warning from pg as they have deprecated some of their constants. To get the deprecation warning when using the old constants, pg moved them in a special file ( https://bitbucket.org/ged/ruby-pg/src/master/lib/pg/deprecated_constants.rb) that is not needed normaly. But as you are walking through all constants (https://github.com/commander-rb/commander/blob/master/lib/commander/user_interaction.rb#L334), also the deprecated constants are accessed.

Maybe you could add them to your deprecation list.

ggilder commented 4 years ago

Hi, it seems that the original repository for the gem you mentioned has been deleted. If this is still an issue, please reopen and identify the deprecated constants that should be ignored. Thanks!