diff --git a/CHANGELOG.md b/CHANGELOG.md index ec3a9c888..1d85e7df5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,10 @@ Changelog * Add support for runtime versions to Delayed Job, Mailman and Shoryuken integrations | [#620](https://github.com/bugsnag/bugsnag-ruby/pull/620) +* Reduce the size of the bundled gem + | [#571](https://github.com/bugsnag/bugsnag-ruby/pull/571) + | [t-richards](https://github.com/t-richards) + ## Fixes * The `app_type` configuration option should no longer be overwritten by Bugsnag and integrations should set this more consistently diff --git a/bugsnag.gemspec b/bugsnag.gemspec index b5274eff3..a66724405 100644 --- a/bugsnag.gemspec +++ b/bugsnag.gemspec @@ -10,7 +10,7 @@ Gem::Specification.new do |s| s.homepage = "https://github.com/bugsnag/bugsnag-ruby" s.licenses = ["MIT"] - s.files = `git ls-files`.split("\n").reject {|file| file.start_with? "example/"} + s.files = `git ls-files -z lib bugsnag.gemspec VERSION`.split("\x0") s.extra_rdoc_files = [ "LICENSE.txt", "README.md",