I want to avoid installing actioncable gem in my Rails application. When swagger-docs specifies rails gem as a dependency then actioncable becomes my transitive dependency automatically and there is no way to avoid installing it.
Proposal
Depend only on these parts of Rails that swagger-docs actually uses, for example:
Description
swagger-docs specifies a dependency on
rails
gem - https://github.com/richhollis/swagger-docs/blob/372e05ce944860ea35ca3496564492ae1e502100/swagger-docs.gemspec#L29rails
is just an "umbrella gem" that depends on all the components of Ruby on Rails framework - https://github.com/rails/rails/blob/86ca5b254109e64edeb6e142e656b8a8c247cac8/rails.gemspec - ActiveSupport, ActionPack, ActiveRecord, ...I want to avoid installing
actioncable
gem in my Rails application. When swagger-docs specifiesrails
gem as a dependency thenactioncable
becomes my transitive dependency automatically and there is no way to avoid installing it.Proposal
Depend only on these parts of Rails that swagger-docs actually uses, for example:
I'm happy to make a PR if you accept the change.