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
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:
* Switch to vector badges in README
Because raster makes eyes bleed on retina displays 😎
[skip ci]
* Do not depend on "rails" gem
Closesrichhollis#172
* Add Gemfile.lock
Description
swagger-docs specifies a dependency on
rails
gem -swagger-docs/swagger-docs.gemspec
Line 29 in 372e05c
rails
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.
The text was updated successfully, but these errors were encountered: