github / secure_headers

Manages application of security headers with many safe defaults
MIT License
3.17k stars 252 forks source link

Remove non necessary files from bundled Ruby Gem #531

Open rzhade3 opened 1 month ago

rzhade3 commented 1 month ago

The current bundled Rubygem contains all the files in this directory, bloating the size of the gem and causing unnecessary changes when the only update to this repo was a Actions configuration update.

We should instead update the .gemspec to only bundle necessary files into the gem. This should be done by updating this line: https://github.com/github/secure_headers/blob/b134eef07d3741b4bd0769b863961b41af5df57d/secure_headers.gemspec#L18