Skip to content

Commit

Permalink
Require rubyzip (#4141)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhymes authored and maestromac committed Sep 30, 2019
1 parent 280f314 commit 178e752
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/initializers/rubyzip.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
# NOTE: this initializer can be removed when upgrading to rubyzip >= 2.0
# see https://github.com/rubyzip/rubyzip/pull/403
# see https://github.com/rubyzip/rubyzip#size-validation
require "zip"

Zip.validate_entry_sizes = true

0 comments on commit 178e752

Please sign in to comment.