Skip to content

Commit c4765ee

Browse files
committed
Fmt, bump version and add changelog entry
1 parent fd8baf1 commit c4765ee

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 6.3.2
2+
3+
* Make sure `rollback!` correctly works with `write_file` and the original exception gets re-raised from `write_file` if
4+
closing the current entry happens in `Writable#close`
5+
16
## 6.3.1
27

38
* Include `RailsStreaming` in a Rails loader callback, so that ActionController does not need to be in the namespace.

lib/zip_kit/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module ZipKit
4-
VERSION = "6.3.1"
4+
VERSION = "6.3.2"
55
end

spec/zip_kit/file_reader_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class EvilWriter < ZipKit::ZipWriter
9393
def write_end_of_central_directory(**kwargs)
9494
# Pretend there has to be more data
9595
kwargs[:central_directory_size] = kwargs[:central_directory_size] + 64
96-
super(**kwargs)
96+
super
9797
end
9898
end
9999

spec/zip_kit/zip_writer_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
describe ZipKit::ZipWriter do
44
class ByteReader < Struct.new(:io)
55
def initialize(io)
6-
super(io).tap { io.rewind }
6+
super.tap { io.rewind }
77
end
88

99
def read_1b

0 commit comments

Comments
 (0)