Skip to content

Commit 0d98b02

Browse files
committed
Alias classes to their pre v1.0.0 names
1 parent 737534f commit 0d98b02

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

lib/zip/zip.rb

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# encoding: utf-8
22
require 'zip'
33

4-
Zip::ZipFile = Zip::File
5-
Zip::ZipEntry = Zip::Entry
4+
Zip::ZipCentralDirectory = Zip::CentralDirectory
5+
Zip::ZipEntry = Zip::Entry
6+
Zip::ZipEntrySet = Zip::EntrySet
7+
Zip::ZipExtraField = Zip::ExtraField
8+
Zip::ZipFile = Zip::File
9+
Zip::ZipFileSystem = Zip::FileSystem
10+
Zip::ZipInputStream = Zip::InputStream
11+
Zip::ZipOutputStream = Zip::OutputStream
12+
Zip::ZipStreamableDirectory = Zip::StreamableDirectory
13+
Zip::ZipStreamableStream = Zip::StreamableStream

0 commit comments

Comments
 (0)