swagger-api / swagger-codegen

swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.
http://swagger.io
Apache License 2.0
16.72k stars 6.02k forks source link

Synchronize generated gemspec with current bundler template #12414

Open segiddins opened 5 days ago

segiddins commented 5 days ago

See template at https://github.com/rubygems/rubygems/blob/d786a1ccca3922d21572f77b021c51bfaf005819/bundler/lib/bundler/templates/newgem/newgem.gemspec.tt#L34

Additionally, exclude .gem files, since there seem to be several gems built from swagger-codegen that are recursively including older .gem versions, and thus growing in size exponentially

PR checklist

Description of the PR

(details of the change, additional tests that have been done, reference to the issue for tracking, etc)

segiddins commented 5 days ago

cc @zlx