rubyzip 0.9.4 → 0.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of rubyzip might be problematic. Click here for more details.

Files changed (45) hide show
  1. data/{README → README.md} +16 -17
  2. data/Rakefile +6 -104
  3. data/lib/zip/compressor.rb +10 -0
  4. data/lib/zip/constants.rb +10 -0
  5. data/lib/zip/decompressor.rb +13 -0
  6. data/lib/zip/deflater.rb +30 -0
  7. data/lib/zip/inflater.rb +65 -0
  8. data/lib/zip/ioextras.rb +35 -36
  9. data/lib/zip/null_compressor.rb +15 -0
  10. data/lib/zip/null_decompressor.rb +25 -0
  11. data/lib/zip/null_input_stream.rb +9 -0
  12. data/lib/zip/pass_thru_compressor.rb +23 -0
  13. data/lib/zip/pass_thru_decompressor.rb +40 -0
  14. data/lib/zip/stdrubyext.rb +10 -44
  15. data/lib/zip/zip.rb +22 -1848
  16. data/lib/zip/zip_central_directory.rb +139 -0
  17. data/lib/zip/zip_entry.rb +639 -0
  18. data/lib/zip/zip_entry_set.rb +66 -0
  19. data/lib/zip/zip_extra_field.rb +213 -0
  20. data/lib/zip/zip_file.rb +318 -0
  21. data/lib/zip/zip_input_stream.rb +134 -0
  22. data/lib/zip/zip_output_stream.rb +172 -0
  23. data/lib/zip/zip_streamable_directory.rb +15 -0
  24. data/lib/zip/zip_streamable_stream.rb +47 -0
  25. data/lib/zip/zipfilesystem.rb +90 -88
  26. data/samples/example_recursive.rb +49 -0
  27. metadata +54 -60
  28. data/ChangeLog +0 -1146
  29. data/install.rb +0 -23
  30. data/lib/zip/ziprequire.rb +0 -90
  31. data/test/alltests.rb +0 -9
  32. data/test/data/file1.txt +0 -46
  33. data/test/data/file1.txt.deflatedData +0 -0
  34. data/test/data/file2.txt +0 -1504
  35. data/test/data/notzippedruby.rb +0 -7
  36. data/test/data/rubycode.zip +0 -0
  37. data/test/data/rubycode2.zip +0 -0
  38. data/test/data/testDirectory.bin +0 -0
  39. data/test/data/zipWithDirs.zip +0 -0
  40. data/test/gentestfiles.rb +0 -157
  41. data/test/ioextrastest.rb +0 -208
  42. data/test/stdrubyexttest.rb +0 -52
  43. data/test/zipfilesystemtest.rb +0 -841
  44. data/test/ziprequiretest.rb +0 -43
  45. data/test/ziptest.rb +0 -1620
@@ -0,0 +1,49 @@
1
+ require 'zip/zip'
2
+
3
+ # This is a simple example which uses rubyzip to
4
+ # recursively generate a zip file from the contents of
5
+ # a specified directory. The directory itself is not
6
+ # included in the archive, rather just its contents.
7
+ #
8
+ # Usage:
9
+ # directoryToZip = "/tmp/input"
10
+ # outputFile = "/tmp/out.zip"
11
+ # zf = ZipFileGenerator(directoryToZip, outputFile)
12
+ # zf.write()
13
+ class ZipFileGenerator
14
+
15
+ # Initialize with the directory to zip and the location of the output archive.
16
+ def initialize(inputDir, outputFile)
17
+ @inputDir = inputDir
18
+ @outputFile = outputFile
19
+ end
20
+
21
+ # Zip the input directory.
22
+ def write()
23
+ entries = Dir.entries(@inputDir); entries.delete("."); entries.delete("..")
24
+ io = Zip::ZipFile.open(@outputFile, Zip::ZipFile::CREATE);
25
+
26
+ writeEntries(entries, "", io)
27
+ io.close();
28
+ end
29
+
30
+ # A helper method to make the recursion work.
31
+ private
32
+ def writeEntries(entries, path, io)
33
+
34
+ entries.each { |e|
35
+ zipFilePath = path == "" ? e : File.join(path, e)
36
+ diskFilePath = File.join(@inputDir, zipFilePath)
37
+ puts "Deflating " + diskFilePath
38
+ if File.directory?(diskFilePath)
39
+ io.mkdir(zipFilePath)
40
+ subdir =Dir.entries(diskFilePath); subdir.delete("."); subdir.delete("..")
41
+ writeEntries(subdir, zipFilePath, io)
42
+ else
43
+ io.get_output_stream(zipFilePath) { |f| f.puts(File.open(diskFilePath, "rb").read())}
44
+ end
45
+ }
46
+ end
47
+
48
+ end
49
+
metadata CHANGED
@@ -1,85 +1,79 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rubyzip
3
- version: !ruby/object:Gem::Version
4
- version: 0.9.4
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.9.5
5
+ prerelease:
5
6
  platform: ruby
6
- authors:
7
- - Thomas Sondergaard
7
+ authors:
8
+ - Alan Harper
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
-
12
- date: 2010-01-01 00:00:00 +01:00
13
- default_executable:
12
+ date: 2011-11-26 00:00:00.000000000 Z
14
13
  dependencies: []
15
-
16
14
  description:
17
- email: thomas(at)sondergaard.cc
15
+ email: alan@aussiegeek.net
18
16
  executables: []
19
-
20
17
  extensions: []
21
-
22
18
  extra_rdoc_files: []
23
-
24
- files:
25
- - README
26
- - NEWS
27
- - TODO
28
- - ChangeLog
29
- - install.rb
30
- - Rakefile
19
+ files:
31
20
  - samples/example.rb
21
+ - samples/example_filesystem.rb
22
+ - samples/example_recursive.rb
32
23
  - samples/gtkRubyzip.rb
24
+ - samples/qtzip.rb
33
25
  - samples/write_simple.rb
34
26
  - samples/zipfind.rb
35
- - samples/example_filesystem.rb
36
- - samples/qtzip.rb
37
- - test/stdrubyexttest.rb
38
- - test/alltests.rb
39
- - test/ziptest.rb
40
- - test/ioextrastest.rb
41
- - test/ziprequiretest.rb
42
- - test/zipfilesystemtest.rb
43
- - test/gentestfiles.rb
44
- - test/data/rubycode2.zip
45
- - test/data/file1.txt
46
- - test/data/testDirectory.bin
47
- - test/data/zipWithDirs.zip
48
- - test/data/file2.txt
49
- - test/data/file1.txt.deflatedData
50
- - test/data/notzippedruby.rb
51
- - test/data/rubycode.zip
52
- - lib/zip/zipfilesystem.rb
27
+ - lib/zip/compressor.rb
28
+ - lib/zip/constants.rb
29
+ - lib/zip/decompressor.rb
30
+ - lib/zip/deflater.rb
31
+ - lib/zip/inflater.rb
32
+ - lib/zip/ioextras.rb
33
+ - lib/zip/null_compressor.rb
34
+ - lib/zip/null_decompressor.rb
35
+ - lib/zip/null_input_stream.rb
36
+ - lib/zip/pass_thru_compressor.rb
37
+ - lib/zip/pass_thru_decompressor.rb
53
38
  - lib/zip/stdrubyext.rb
54
39
  - lib/zip/tempfile_bugfixed.rb
55
- - lib/zip/ioextras.rb
56
40
  - lib/zip/zip.rb
57
- - lib/zip/ziprequire.rb
58
- has_rdoc: false
59
- homepage: http://rubyzip.sourceforge.net/
41
+ - lib/zip/zip_central_directory.rb
42
+ - lib/zip/zip_entry.rb
43
+ - lib/zip/zip_entry_set.rb
44
+ - lib/zip/zip_extra_field.rb
45
+ - lib/zip/zip_file.rb
46
+ - lib/zip/zip_input_stream.rb
47
+ - lib/zip/zip_output_stream.rb
48
+ - lib/zip/zip_streamable_directory.rb
49
+ - lib/zip/zip_streamable_stream.rb
50
+ - lib/zip/zipfilesystem.rb
51
+ - README.md
52
+ - NEWS
53
+ - TODO
54
+ - Rakefile
55
+ homepage: http://github.com/aussiegeek/rubyzip
56
+ licenses: []
60
57
  post_install_message:
61
58
  rdoc_options: []
62
-
63
- require_paths:
59
+ require_paths:
64
60
  - lib
65
- required_ruby_version: !ruby/object:Gem::Requirement
66
- requirements:
67
- - - ">="
68
- - !ruby/object:Gem::Version
69
- version: "0"
70
- version:
71
- required_rubygems_version: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: "0"
76
- version:
61
+ required_ruby_version: !ruby/object:Gem::Requirement
62
+ none: false
63
+ requirements:
64
+ - - ! '>='
65
+ - !ruby/object:Gem::Version
66
+ version: 1.8.7
67
+ required_rubygems_version: !ruby/object:Gem::Requirement
68
+ none: false
69
+ requirements:
70
+ - - ! '>='
71
+ - !ruby/object:Gem::Version
72
+ version: '0'
77
73
  requirements: []
78
-
79
74
  rubyforge_project:
80
- rubygems_version: 1.3.1
75
+ rubygems_version: 1.8.10
81
76
  signing_key:
82
- specification_version: 2
77
+ specification_version: 3
83
78
  summary: rubyzip is a ruby module for reading and writing zip files
84
79
  test_files: []
85
-
data/ChangeLog DELETED
@@ -1,1146 +0,0 @@
1
- 2010-01-01 13:43 thomas
2
-
3
- * NEWS, lib/zip/zip.rb, test/ziptest.rb: Changed
4
- ZipOutputStream.put_next_entry to make it possible to specifiy
5
- comments, extra field and compression method.
6
-
7
- 2009-12-31 16:25 thomas
8
-
9
- * Rakefile: Updated publish method.
10
-
11
- 2009-11-27 22:59 thomas
12
-
13
- * NEWS, lib/zip/zip.rb: Bumped micro number and updated NEWS file.
14
-
15
- * lib/zip/zip.rb: Provide convenience methods for retrieving name
16
- and comments in character encoding of choice (pending ruby
17
- character String class).
18
-
19
- 2009-04-05 12:28 thomas
20
-
21
- * install.rb, lib/zip/zip.rb, samples/example_filesystem.rb,
22
- test/zipfilesystemtest.rb, test/ziptest.rb: Applied ruby-1.9
23
- compatibility patch from Yuya Nishida.
24
-
25
- 2008-08-26 20:49 thomas
26
-
27
- * lib/zip/zip.rb: Rewrote fix for rename bug.
28
-
29
- 2008-08-24 14:34 thomas
30
-
31
- * lib/zip/zip.rb, test/ziptest.rb: Refixed rename to avoid
32
- decompressing and recompressing entry.
33
-
34
- 2008-08-24 11:43 drylight
35
-
36
- * NEWS, README, Rakefile, lib/zip/zip.rb: Update version number and
37
- minor release note changes.
38
-
39
- * NEWS, README, lib/zip/zip.rb, test/ziptest.rb: Fixed: Renaming an
40
- entry failed if the entry's new name was a different length than
41
- its old name.
42
-
43
- 2006-12-24 11:42 thomas
44
-
45
- * lib/zip/: ioextras.rb, zip.rb: Added IOExtras.copy_stream_n and
46
- used it to avoid loading large entries into memory when copying
47
- from one stream to another.
48
-
49
- 2006-12-17 15:03 thomas
50
-
51
- * lib/zip/zip.rb: Bug 1614537 Version needed to extract set.
52
-
53
- 2006-11-21 09:12 thomas
54
-
55
- * lib/zip/zipfilesystem.rb, test/zipfilesystemtest.rb: Bug 1600222
56
- Fixed it so ZipFsFile#open accepts and ignores b(inary) option.
57
-
58
- 2006-09-05 22:53 thomas
59
-
60
- * test/zipfilesystemtest.rb: Avoid warnings while running tests.
61
-
62
- 2006-08-04 19:56 technorama
63
-
64
- * lib/zip/zip.rb: bugfix: :link -> :symlink
65
-
66
- 2006-07-01 10:04 thomas
67
-
68
- * Rakefile: Don't autorequire zip/zip - autorequire is deprecated.
69
-
70
- 2006-06-30 09:28 thomas
71
-
72
- * Rakefile: [no log message]
73
-
74
- * NEWS, lib/zip/zip.rb: Bumped version number and reformatted NEWS
75
- a bit.
76
-
77
- 2006-06-29 22:49 technorama
78
-
79
- * lib/zip/zip.rb, NEWS: documentation additions
80
-
81
- 2006-04-30 06:25 technorama
82
-
83
- * TODO, lib/zip/zip.rb, test/ziptest.rb: add documentation and test
84
- for new ZipFile::extract
85
-
86
- * lib/zip/zip.rb: add some of the API suggestions from sf.net
87
- #1281314
88
-
89
- * lib/zip/zip.rb: apply patch for bug #1446926
90
-
91
- * lib/zip/zip.rb: apply patch for bug #1459902
92
-
93
- 2006-04-26 17:17 technorama
94
-
95
- * lib/zip/zip.rb: add ZipFile @restore_*, documentation update
96
-
97
- 2006-04-07 21:13 technorama
98
-
99
- * test/: gentestfiles.rb, zipfilesystemtest.rb, ziptest.rb:
100
- additional tests
101
-
102
- 2006-03-28 04:11 technorama
103
-
104
- * lib/zip/zip.rb: start of unix_uid, unix_gid, restore_* support
105
-
106
- * lib/zip/zip.rb: follow_symlinks is now optional
107
-
108
- * lib/zip/zip.rb: add eof? methods
109
-
110
- * test/ziptest.rb: eof? tests
111
-
112
- 2006-02-26 09:57 technorama
113
-
114
- * README: add to authors
115
-
116
- * TODO: [no log message]
117
-
118
- 2006-02-25 12:04 thomas
119
-
120
- * lib/zip/zip.rb, test/ziptest.rb: Did away with ZipStreamableFile.
121
-
122
- 2006-02-23 08:03 technorama
123
-
124
- * lib/zip/zip.rb: unix file permissions. symlink support. rework
125
- ZipEntry and delegate classes. reduce memory usage during
126
- decompression.
127
-
128
- 2006-02-22 23:44 technorama
129
-
130
- * lib/zip/zipfilesystem.rb: update permissionInt for mkdir
131
-
132
- 2006-02-04 10:42 thomas
133
-
134
- * lib/zip/: ioextras.rb, zip.rb: Merged patch from oss-ruby.
135
-
136
- 2005-11-19 16:17 thomas
137
-
138
- * lib/zip/zip.rb: [no log message]
139
-
140
- 2005-11-08 08:23 thomas
141
-
142
- * lib/zip/ioextras.rb: Accepted patch from oss-ruby
143
-
144
- 2005-10-07 09:54 thomas
145
-
146
- * TODO: [no log message]
147
-
148
- 2005-09-06 21:19 thomas
149
-
150
- * lib/zip/zip.rb: [no log message]
151
-
152
- * NEWS: [no log message]
153
-
154
- * lib/zip/zip.rb, test/gentestfiles.rb, test/ziptest.rb: Fixed
155
- problem on windows - tempfile has to be set to binmode again when
156
- it is reopened
157
-
158
- 2005-09-04 16:45 thomas
159
-
160
- * Rakefile: [no log message]
161
-
162
- * TODO: [no log message]
163
-
164
- * test/ziptest.rb: [no log message]
165
-
166
- 2005-09-03 10:27 thomas
167
-
168
- * NEWS: [no log message]
169
-
170
- * TODO, lib/zip/zip.rb: [no log message]
171
-
172
- * lib/zip/ioextras.rb, lib/zip/zip.rb, test/ziptest.rb: Merged
173
- patch from oss-ruby at technorama.net
174
-
175
- * test/ziptest.rb: Added failing test that shows that read and gets
176
- don't mix currently
177
-
178
- 2005-08-29 08:50 thomas
179
-
180
- * lib/zip/: ioextras.rb, zip.rb: [no log message]
181
-
182
- * NEWS, lib/zip/zip.rb: [no log message]
183
-
184
- * lib/zip/zip.rb: [no log message]
185
-
186
- * lib/zip/zip.rb: [no log message]
187
-
188
- 2005-08-07 14:27 thomas
189
-
190
- * lib/zip/zip.rb, NEWS: [no log message]
191
-
192
- 2005-08-06 11:12 thomas
193
-
194
- * lib/zip/: ioextras.rb, zip.rb: [no log message]
195
-
196
- 2005-08-03 18:54 thomas
197
-
198
- * lib/zip/zip.rb: Read/write in chunks to preserve memory
199
-
200
- 2005-07-02 15:08 thomas
201
-
202
- * lib/zip/zip.rb: Applied received patch concerning FreeBSD 4.5
203
- issue
204
-
205
- 2005-04-03 16:52 thomas
206
-
207
- * samples/.cvsignore: [no log message]
208
-
209
- * samples/: qtzip.rb, zipdialogui.ui: Added a qt example
210
-
211
- 2005-03-31 21:58 thomas
212
-
213
- * lib/zip/zip.rb, test/ziptest.rb: [no log message]
214
-
215
- * test/zipfilesystemtest.rb: [no log message]
216
-
217
- 2005-03-17 18:17 thomas
218
-
219
- * Rakefile: [no log message]
220
-
221
- * NEWS, README, lib/zip/zip.rb: [no log message]
222
-
223
- * install.rb: Fixed install.rb
224
-
225
- 2005-03-03 18:38 thomas
226
-
227
- * Rakefile: [no log message]
228
-
229
- 2005-02-27 16:23 thomas
230
-
231
- * lib/zip/ziprequire.rb: Added documentation to ziprequire
232
-
233
- * README, TODO, lib/zip/ziprequire.rb: Added documentation to
234
- ziprequire
235
-
236
- * Rakefile, test/ziptest.rb: [no log message]
237
-
238
- 2005-02-19 21:30 thomas
239
-
240
- * lib/zip/ioextras.rb, lib/zip/stdrubyext.rb,
241
- lib/zip/tempfile_bugfixed.rb, lib/zip/zip.rb,
242
- lib/zip/ziprequire.rb, test/ioextrastest.rb,
243
- test/stdrubyexttest.rb, test/zipfilesystemtest.rb,
244
- test/ziprequiretest.rb, test/ziptest.rb: Added more rdoc and
245
- changed the remaining tests to Test::Unit
246
-
247
- * lib/zip/: ioextras.rb, zip.rb: Added documentation to
248
- ZipInputStream and ZipOutputStream
249
-
250
- 2005-02-18 10:27 thomas
251
-
252
- * README: [no log message]
253
-
254
- 2005-02-17 23:21 thomas
255
-
256
- * README, Rakefile: Added ppackage (publish package) task to
257
- Rakefile
258
-
259
- * README, Rakefile, TODO: Added pdoc (publish doc) task to Rakefile
260
-
261
- * README, Rakefile, TODO, lib/zip/stdrubyext.rb, lib/zip/zip.rb,
262
- lib/zip/zipfilesystem.rb: Added a bunch of documentation
263
-
264
- * test/ziptest.rb: [no log message]
265
-
266
- 2005-02-16 20:04 thomas
267
-
268
- * NEWS, README, Rakefile: Improved documentation and added rdoc
269
- task to Rakefile
270
-
271
- * NEWS, Rakefile, lib/zip/zip.rb: [no log message]
272
-
273
- * Rakefile, samples/example.rb, samples/example_filesystem.rb,
274
- samples/gtkRubyzip.rb, samples/write_simple.rb,
275
- samples/zipfind.rb, test/.cvsignore, test/gentestfiles.rb:
276
- Improvements to Rakefile
277
-
278
- 2005-02-15 23:35 thomas
279
-
280
- * NEWS, TODO: [no log message]
281
-
282
- * Rakefile, rubyzip.gemspec: Now uses Rake to build gem
283
-
284
- * Rakefile: [no log message]
285
-
286
- * lib/zip/zip.rb, test/.cvsignore, test/ziptest.rb, NEWS: Fixed
287
- compatibility issue with ruby 1.8.2. Migrated test suite to
288
- Test::Unit
289
-
290
- * NEWS, lib/zip/ioextras.rb, lib/zip/stdrubyext.rb,
291
- lib/zip/tempfile_bugfixed.rb, lib/zip/zip.rb,
292
- lib/zip/zipfilesystem.rb, lib/zip/ziprequire.rb, test/.cvsignore,
293
- test/file1.txt, test/file1.txt.deflatedData, test/file2.txt,
294
- test/gentestfiles.rb, test/ioextrastest.rb,
295
- test/notzippedruby.rb, test/rubycode.zip, test/rubycode2.zip,
296
- test/stdrubyexttest.rb, test/testDirectory.bin,
297
- test/zipWithDirs.zip, test/zipfilesystemtest.rb,
298
- test/ziprequiretest.rb, test/ziptest.rb, test/data/.cvsignore,
299
- test/data/file1.txt, test/data/file1.txt.deflatedData,
300
- test/data/file2.txt, test/data/notzippedruby.rb,
301
- test/data/rubycode.zip, test/data/rubycode2.zip,
302
- test/data/testDirectory.bin, test/data/zipWithDirs.zip: Changed
303
- directory structure
304
-
305
- 2005-02-13 22:44 thomas
306
-
307
- * Rakefile, TODO: [no log message]
308
-
309
- * rubyzip.gemspec: [no log message]
310
-
311
- * install.rb: Made install.rb independent of the current path
312
- (fixes bug reported by Drew Robinson)
313
-
314
- 2004-12-12 11:22 thomas
315
-
316
- * NEWS, TODO, samples/write_simple.rb: Fixed 'version needed to
317
- extract'-field wrong in local headers
318
-
319
- 2004-05-02 15:17 thomas
320
-
321
- * rubyzip.gemspec: Added gemspec contributed by Chad Fowler
322
-
323
- 2004-04-02 07:25 thomas
324
-
325
- * NEWS: Fix for FreeBSD 4.9
326
-
327
- 2004-03-29 00:28 thomas
328
-
329
- * NEWS: [no log message]
330
-
331
- 2004-03-28 17:59 thomas
332
-
333
- * NEWS: [no log message]
334
-
335
- 2004-03-27 16:09 thomas
336
-
337
- * test/stdrubyexttest.rb: Patch for stdrubyext.rb from Nobu Nakada
338
-
339
- * test/: ioextrastest.rb, stdrubyexttest.rb: converted some files
340
- to unix line-endings
341
-
342
- 2004-03-25 16:34 thomas
343
-
344
- * NEWS, install.rb: Significantly reduced memory footprint when
345
- modifying zip files
346
-
347
- 2004-03-16 18:20 thomas
348
-
349
- * install.rb, test/alltests.rb, test/ioextrastest.rb,
350
- test/stdrubyexttest.rb, test/ziptest.rb: IO utility classes moved
351
- to new file ioextras.rb. Tests moved to new file ioextrastest.rb
352
-
353
- 2004-02-27 13:21 thomas
354
-
355
- * NEWS: Optimization to avoid decompression and recompression
356
-
357
- 2004-01-30 16:17 thomas
358
-
359
- * NEWS: [no log message]
360
-
361
- * README, test/zipfilesystemtest.rb, test/ziptest.rb: Applied
362
- extra-field patch
363
-
364
- 2003-12-13 16:57 thomas
365
-
366
- * TODO: [no log message]
367
-
368
- 2003-12-10 00:25 thomas
369
-
370
- * test/ziptest.rb: (Temporary) fix to bug reported by Takashi Sano
371
-
372
- 2003-08-23 09:42 thomas
373
-
374
- * test/ziptest.rb, NEWS: Fixed ZipFile.get_ouput_stream bug - data
375
- was never written to zip
376
-
377
- 2003-08-21 16:05 thomas
378
-
379
- * install.rb: [no log message]
380
-
381
- * alltests.rb, stdrubyexttest.rb, zipfilesystemtest.rb,
382
- ziprequiretest.rb, ziptest.rb, test/alltests.rb,
383
- test/stdrubyexttest.rb, test/zipfilesystemtest.rb,
384
- test/ziprequiretest.rb, test/ziptest.rb: Moved all test ruby
385
- files to test/
386
-
387
- * NEWS, install.rb, stdrubyext.rb, stdrubyexttest.rb, zip.rb,
388
- zipfilesystem.rb, zipfilesystemtest.rb, ziprequire.rb,
389
- ziprequiretest.rb, ziptest.rb, samples/example.rb,
390
- samples/example_filesystem.rb, samples/gtkRubyzip.rb,
391
- samples/zipfind.rb: Moved all production source files to zip/ so
392
- they are in the same dir as when they are installed
393
-
394
- * NEWS, TODO, alltests.rb: [no log message]
395
-
396
- * filearchive.rb, filearchivetest.rb, fileutils.rb: Removed
397
- filearchive.rb, filearchivetest.rb and fileutils.rb
398
-
399
- * samples/.cvsignore, samples/example_filesystem.rb, zip.rb,
400
- samples/example_filesystem.rb: Added
401
- samples/example_filesystem.rb. Fixed Tempfile creation for
402
- entries created with get_output_stream where entries were in a
403
- subdirectory
404
-
405
- * zip.rb, ziptest.rb: Fixed mkdir bug. ZipFile.mkdir didn't work if
406
- the zipfile doesn't exist already
407
-
408
- * ziptest.rb: [no log message]
409
-
410
- * TODO, zipfilesystemtest.rb: Globbing test placeholder commented
411
- out
412
-
413
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented ZipFsDir.new
414
- and open
415
-
416
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented DirFsIterator
417
- and tests
418
-
419
- 2003-08-20 22:50 thomas
420
-
421
- * NEWS, TODO: [no log message]
422
-
423
- * zipfilesystemtest.rb: [no log message]
424
-
425
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented
426
- ZipFsDir.foreach, ZipFsDir.entries now reimplemented in terms of
427
- it
428
-
429
- * README: [no log message]
430
-
431
- * zipfilesystem.rb, zipfilesystemtest.rb: [no log message]
432
-
433
- * zipfilesystem.rb: All access from ZipFsFile and ZipFsDir to
434
- ZipFile is now routed through ZipFileNameMapper which has the
435
- single responsibility of mapping entry/filenames
436
-
437
- * alltests.rb, stdrubyext.rb, stdrubyexttest.rb: Added
438
- stdrubyexttest.rb and added test test_select_map
439
-
440
- * zipfilesystem.rb: ZipFsDir was in the wrong module. ZipFileSystem
441
- now has a ctor that creates ZipFsDir and ZipFsFile instances,
442
- instead of creating them lazily. It then passes the dir instance
443
- to the file instance and vice versa
444
-
445
- * zip.rb, zipfilesystem.rb, zipfilesystemtest.rb: ZipFsFile.open
446
- honours chdir
447
-
448
- * stdrubyext.rb, zip.rb, zipfilesystem.rb, zipfilesystemtest.rb,
449
- ziptest.rb: Fixed ZipEntry::parent_as_string. Implemented
450
- ZipFsDir.chdir, pwd and entries including test
451
-
452
- 2003-08-19 15:44 thomas
453
-
454
- * zip.rb, zipfilesystem.rb, zipfilesystemtest.rb: Implemented
455
- ZipFsDir.mkdir
456
-
457
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented
458
- ZipFsDir.delete (and aliases rmdir and unlink)
459
-
460
- * zipfilesystem.rb, zipfilesystemtest.rb: Another dummy
461
- implementation and commented out a test for select() which can be
462
- added later
463
-
464
- 2003-08-18 20:40 thomas
465
-
466
- * ziptest.rb: Honoured 1.8.0 Object.to_a deprecation warning
467
-
468
- * zip.rb, ziptest.rb, samples/example.rb, samples/zipfind.rb:
469
- Converted a few more names to ruby underscore style that I missed
470
- with the automated processing the first time around
471
-
472
- * zip.rb, zipfilesystem.rb, zipfilesystemtest.rb, ziptest.rb:
473
- Implemented Zip::ZipFile.get_output_stream
474
-
475
- 2003-08-17 18:28 thomas
476
-
477
- * README, install.rb, stdrubyext.rb, zipfilesystem.rb,
478
- zipfilesystemtest.rb: Updated README with Documentation section.
479
- Updated install.rb. Fixed three tests that failed on 1.8.0.
480
-
481
- 2003-08-14 05:40 thomas
482
-
483
- * zipfilesystem.rb, zipfilesystemtest.rb: Added empty
484
- implementations of atime and ctime
485
-
486
- 2003-08-13 17:08 thomas
487
-
488
- * simpledist.rb: Moved simpledist to a separate repository called
489
- 'misc'
490
-
491
- * NEWS: [no log message]
492
-
493
- * stdrubyext.rb, zip.rb, zipfilesystem.rb, zipfilesystemtest.rb,
494
- ziprequire.rb, ziprequiretest.rb, ziptest.rb, samples/example.rb,
495
- samples/gtkRubyzip.rb, samples/zipfind.rb: Changed all method
496
- names to the ruby convention underscore style
497
-
498
- * alltests.rb, zipfilesystem.rb, zipfilesystemtest.rb: Implemented
499
- a lot more of the stat methods. Mostly with dummy implementations
500
- that return values that indicate that these features aren't
501
- supported
502
-
503
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented more methods
504
- and tests in zipfilesystem. Mostly empty methods as permissions
505
- and file types other than files and directories are not supported
506
-
507
- * install.rb, stdrubyext.rb, zip.rb, zipfilesystem.rb,
508
- zipfilesystemtest.rb: Addd file stdrubyext.rb and moved the
509
- modifications to std ruby classes to it. Refactored the ZipFsStat
510
- tests and ZipFsStat. Added Module.forwardMessages and used it to
511
- implement the forwarding of calls in ZipFsStat
512
-
513
- * zipfilesystem.rb, zipfilesystemtest.rb: Added
514
- Zip::ZipFsFile::ZipFsStat and started implementing it and its
515
- methods
516
-
517
- * zipfilesystem.rb, zipfilesystemtest.rb, ziptest.rb: Updated and
518
- added missing copyright notices
519
-
520
- * zip.rb, zipfilesystem.rb, zipfilesystemtest.rb: zipfilesystem.rb
521
- is becoming big and not everyone will want to use that code.
522
- Therefore zip.rb no longer requires it. Instead you must require
523
- zipfilesystem.rb itself if you want to use it
524
-
525
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented dummy
526
- permission test methods
527
-
528
- * TODO, zip.rb, ziptest.rb: Merged from patch from Kristoffer
529
- Lunden. Fixed more 1.8.0 incompatibilites - tests run on 1.8.0
530
- now
531
-
532
- 2003-08-12 19:18 thomas
533
-
534
- * zip.rb: Get rid of 1.8.0 warning
535
-
536
- * ziptest.rb: ruby 1.8.0 compatibility fix
537
-
538
- * NEWS, zip.rb: ruby-zlib 0.6.0 compatibility fix
539
-
540
- 2002-12-22 20:12 thomas
541
-
542
- * zip.rb: [no log message]
543
-
544
- 2002-09-16 22:11 thomas
545
-
546
- * NEWS: [no log message]
547
-
548
- 2002-09-15 17:16 thomas
549
-
550
- * samples/zipfind.rb: [no log message]
551
-
552
- * samples/zipfind.rb: [no log message]
553
-
554
- 2002-09-14 22:59 thomas
555
-
556
- * samples/zipfind.rb: Added simple zipfind script
557
-
558
- 2002-09-13 23:53 thomas
559
-
560
- * TODO: Added TODO about openmode for zip entries binary/ascii
561
-
562
- * NEWS: ziptest now runs without errors with ruby-1.7.2-4 (Andy's
563
- latest build)
564
-
565
- * zip.rb, ziprequiretest.rb, ziptest.rb: ziptest now runs without
566
- errors with ruby-1.7.2-4 (Andy's latest build)
567
-
568
- 2002-09-12 00:20 thomas
569
-
570
- * zipfilesystemtest.rb: Improved ZipFsFile.delete/unlink test
571
-
572
- * test/.cvsignore: [no log message]
573
-
574
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented
575
- ZipFsFile.delete/unlink
576
-
577
- 2002-09-11 22:22 thomas
578
-
579
- * alltests.rb: [no log message]
580
-
581
- * NEWS, zip.rb, zipfilesystem.rb, zipfilesystemtest.rb: Fixed
582
- AbstractInputStream.each_line ignored its aSeparator argument.
583
- Implemented more ZipFsFile methods
584
-
585
- * zip.rb, zipfilesystem.rb, zipfilesystemtest.rb: ZipFileSystem is
586
- now a module instead of a class, and is mixed into ZipFile,
587
- instead of being made available as a property fileSystem
588
-
589
- 2002-09-10 23:45 thomas
590
-
591
- * NEWS: Updated NEWS file
592
-
593
- * zip.rb: [no log message]
594
-
595
- * NEWS, zip.rb, ziptest.rb: Fix bug: rewind should reset lineno.
596
- Fix bug: Deflater.read uses separate buffer from produceInput
597
- (feeding gets/readline etc)
598
-
599
- 2002-09-09 23:48 thomas
600
-
601
- * .cvsignore: [no log message]
602
-
603
- 2002-09-09 22:55 uid26649
604
-
605
- * zip.rb, ziptest.rb: Implemented ZipInputStream.rewind and
606
- AbstractInputStream.lineno. Tests for both
607
-
608
- 2002-09-09 20:31 thomas
609
-
610
- * zip.rb, ziptest.rb: ZipInputStream and ZipOutstream (thru their
611
- AbstractInputStream and AbstractOutputStream now lie about being
612
- kind_of?(IO)
613
-
614
- 2002-09-08 16:38 thomas
615
-
616
- * zipfilesystemtest.rb: [no log message]
617
-
618
- * filearchive.rb, filearchivetest.rb, zip.rb, ziptest.rb: Moved
619
- String additions from filearchive.rb to zip.rb (and moved tests
620
- along too to ziptest.rb). Added ZipEntry.parentAsString and
621
- ZipEntrySet.parent
622
-
623
- * ziptest.rb: Implemented ZipEntrySetTest.testDup and testCompound
624
-
625
- * TODO, zip.rb, ziptest.rb: Replaced Array with EntrySet for
626
- keeping entries in a zip file. Tagged repository before this
627
- commit, so this change can be rolled back, if it stinks
628
-
629
- 2002-09-07 20:21 thomas
630
-
631
- * zip.rb, ziptest.rb: Implemented ZipEntry.<=>
632
-
633
- * ziptest.rb: Removed unused code
634
-
635
- 2002-08-11 15:14 thomas
636
-
637
- * zip.rb, ziptest.rb: Made some changes to accomodate ruby 1.7.2
638
-
639
- 2002-07-27 15:25 thomas
640
-
641
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented ZipFsFile.new
642
-
643
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented
644
- ZipFsFile.pipe
645
-
646
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented
647
- ZipFsFile.link
648
-
649
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented
650
- ZipFsFile.symlink
651
-
652
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented
653
- ZipFsFile.readlink, wrapped ZipFileSystem class in Zip module
654
-
655
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented
656
- ZipFsFile.zero?
657
-
658
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented test for
659
- ZipFsFile.directory?
660
-
661
- 2002-07-26 23:56 thomas
662
-
663
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented
664
- ZipFsFile.socket?
665
-
666
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented
667
- ZipFsFile.join
668
-
669
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented
670
- ZipFsFile.ftype
671
-
672
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented
673
- ZipFsFile.blockdev?
674
-
675
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented
676
- ZipFsFile.size? (slightly different from size)
677
-
678
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented
679
- ZipFsFile.split
680
-
681
- * zipfilesystem.rb, zipfilesystemtest.rb: Implemented
682
- ZipFsFile.symlink?
683
-
684
- * alltests.rb, zip.rb, zipfilesystem.rb, zipfilesystemtest.rb:
685
- Implemented ZipFsFile.mtime
686
-
687
- * zipfilesystem.rb, zipfilesystemtest.rb: Implement ZipFsFile.file?
688
-
689
- * zip.rb, ziptest.rb: Implemented ZipEntry.file?
690
-
691
- * alltests.rb, filearchive.rb, filearchivetest.rb, zip.rb,
692
- zipfilesystem.rb, zipfilesystemtest.rb, ziprequire.rb,
693
- ziptest.rb: Implemented ZipFileSystem::ZipFsFile.size
694
-
695
- * zipfilesystem.rb, zipfilesystemtest.rb: [no log message]
696
-
697
- * test/zipWithDirs.zip: Changed zipWithDirs.zip so all the entries
698
- in it have unix file endings
699
-
700
- * alltests.rb, zip.rb, zipfilesystem.rb, zipfilesystemtest.rb:
701
- Started implementing ZipFileSystem
702
-
703
- * test/zipWithDirs.zip: Added a zip file for testing with a
704
- directory structure
705
-
706
- 2002-07-22 21:40 thomas
707
-
708
- * TODO: [no log message]
709
-
710
- * TODO: [no log message]
711
-
712
- 2002-07-21 18:20 thomas
713
-
714
- * NEWS: [no log message]
715
-
716
- * TODO: Updated TODO with a refactoring idea for FileArchive
717
-
718
- * filearchive.rb, filearchivetest.rb: Added some FileArchiveAdd
719
- tests and cleaned up some of the FileArchive tests. extract and
720
- add now have individual test fixtures.
721
-
722
- * filearchive.rb, filearchivetest.rb: Added tests for extract
723
- called with regex src arg and Enumerable src arg
724
-
725
- * filearchivetest.rb: Added test for continueOnExistsProc when
726
- extracting from a file archive
727
-
728
- 2002-07-20 17:13 thomas
729
-
730
- * TODO, filearchivetest.rb, fileutils.rb, ziptest.rb,
731
- test/.cvsignore: Added (failing) tests for FileArchive.add, added
732
- code for creating test files for FileArchive.add tests. Added
733
- fileutils.rb, which is borrowed from ruby 1.7.2
734
-
735
- * filearchive.rb, filearchivetest.rb: [no log message]
736
-
737
- * filearchivetest.rb: Added tests for String extensions
738
-
739
- * alltests.rb, ziprequiretest.rb, ziptest.rb: [no log message]
740
-
741
- * install.rb: [no log message]
742
-
743
- * TODO: Updated TODO
744
-
745
- * filearchive.rb, filearchivetest.rb: All FileArchive.extract tests
746
- run
747
-
748
- 2002-07-19 23:11 thomas
749
-
750
- * filearchive.rb, filearchivetest.rb: [no log message]
751
-
752
- * filearchivetest.rb: [no log message]
753
-
754
- * filearchive.rb, filearchivetest.rb: [no log message]
755
-
756
- * filearchive.rb, filearchivetest.rb, zip.rb: [no log message]
757
-
758
- 2002-07-08 13:41 thomas
759
-
760
- * TODO: [no log message]
761
-
762
- 2002-06-11 19:47 thomas
763
-
764
- * filearchive.rb, filearchivetest.rb, zip.rb, ziptest.rb: [no log
765
- message]
766
-
767
- 2002-05-25 00:41 thomas
768
-
769
- * simpledist.rb: Added hackish script for creating dist files
770
-
771
- 2002-04-30 21:22 thomas
772
-
773
- * TODO: [no log message]
774
-
775
- * filearchive.rb, filearchivetest.rb: [no log message]
776
-
777
- * filearchive.rb, filearchivetest.rb: Improved testing and wrote
778
- some of the skeleton of extract. Still to do: Fix glob, so it
779
- returns a hashmap instead of a list. The map will need to map the
780
- full entry name to the last part of the name (which is only
781
- really interesting for recursively extracted entries, otherwise
782
- it is just the name). Glob.expandPathList should also output
783
- directories with a trailing slash, which is doesn't right now.
784
-
785
- * filearchive.rb, filearchivetest.rb: Implemented the first few
786
- tests for FileArchive
787
-
788
- 2002-04-24 22:06 thomas
789
-
790
- * ziprequire.rb, ziprequiretest.rb: Appended copyright message to
791
- ziprequire.rb and ziprequiretest.rb
792
-
793
- * zip.rb: Made ZipEntry tolerate invalid dates
794
-
795
- 2002-04-21 00:57 thomas
796
-
797
- * NEWS, TODO, zip.rb, ziptest.rb: Read and write entry modification
798
- date/time correctly
799
-
800
- 2002-04-20 02:44 thomas
801
-
802
- * ziprequiretest.rb, test/rubycode2.zip: improved ZipRequireTest
803
-
804
- * ziprequire.rb: Made a warning go away
805
-
806
- * ziprequire.rb, ziprequiretest.rb, test/notzippedruby.rb,
807
- test/rubycode.zip: Fixed a bug in ziprequire. Added
808
- ziprequiretest.rb and test data files
809
-
810
- 2002-04-19 22:43 thomas
811
-
812
- * zip.rb, ziptest.rb: Added recursion support to Glob module
813
-
814
- 2002-04-18 21:37 thomas
815
-
816
- * NEWS, TODO, zip.rb, ziptest.rb: Added Glob module and GlobTest
817
- unit test suite. This module provides the functionality to expand
818
- a 'glob pattern' given a list of files - Next step is to use this
819
- module in ZipFile
820
-
821
- 2002-04-01 22:55 thomas
822
-
823
- * NEWS: [no log message]
824
-
825
- * TODO, zip.rb, ziprequire.rb: Added ziprequire.rb which contains a
826
- proof-of-concept implementation of a require implementation that
827
- can load ruby modules from a zip file. Needs unit tests and
828
- polish.
829
-
830
- 2002-03-31 01:13 thomas
831
-
832
- * README: [no log message]
833
-
834
- 2002-03-30 16:14 thomas
835
-
836
- * TODO: [no log message]
837
-
838
- * .cvsignore, README, zip.rb: Added rdoc markup (only #:nodoc:all
839
- modifiers) to zip.rb. Made README 'RDoc compliant'
840
-
841
- 2002-03-29 23:29 thomas
842
-
843
- * TODO: [no log message]
844
-
845
- * example.rb, samples/.cvsignore, samples/example.rb,
846
- samples/gtkRubyzip.rb: Moved example.rb to samples/. Added
847
- another sample gtkRubyzip.rb
848
-
849
- * NEWS, TODO, TODO: [no log message]
850
-
851
- * .cvsignore, file1.txt, file1.txt.deflatedData, testDirectory.bin,
852
- ziptest.rb, test/.cvsignore, test/file1.txt,
853
- test/file1.txt.deflatedData, test/file2.txt,
854
- test/testDirectory.bin: Added test/ directory and moved the
855
- manually created test data files into it. Changed ziptest.rb so
856
- it runs in test/ directory
857
-
858
- * TODO: [no log message]
859
-
860
- * NEWS, zip.rb, ziptest.rb: Don't decompress and recompress zip
861
- entries when changing zip file
862
-
863
- * zip.rb: Performance optimization: Only write new ZipFile, if it
864
- has been changed. The test suite runs in half the time now.
865
-
866
- 2002-03-28 22:12 thomas
867
-
868
- * TODO: [no log message]
869
-
870
- 2002-03-23 17:31 thomas
871
-
872
- * TODO: [no log message]
873
-
874
- 2002-03-22 22:47 thomas
875
-
876
- * NEWS: [no log message]
877
-
878
- * NEWS, TODO: [no log message]
879
-
880
- * ziptest.rb: Found the tests that didn't use blocks to make sure
881
- input streams are closed as soon as they arent used anymore and
882
- got rid of the GC.start
883
-
884
- * ziptest.rb: All tests run on windows ruby 1.6.6
885
-
886
- * zip.rb, ziptest.rb: Windows fixes: Fixed ZipFile.initialize which
887
- needed to open zipfile file in binary mode. Added another
888
- workaround for the return value from File.open(name) where name
889
- is the name of a directory - ruby returns different exceptions in
890
- linux, win/cygwin and windows. A number of tests failed because
891
- in windows you cant delete a file that is open. Fixed by changing
892
- ziptest.rb to use ZipInputStream.getInputStream with blocks a few
893
- places. There is a hack in CommanZipFileFixture.setup where the
894
- GC is explicitly invoked. Should be fixed with blocks instead.
895
- The only currently failing test fails because the test data
896
- creation fails to add a comment to 4entry.zip, because echo eats
897
- the remainder of the line including the pipe character and the
898
- following zip -z 4 entry.zip command
899
-
900
- 2002-03-21 22:18 thomas
901
-
902
- * NEWS: [no log message]
903
-
904
- * NEWS, README, TODO, install.rb: Added install.rb
905
-
906
- * ziptest.rb: [no log message]
907
-
908
- * NEWS, TODO: [no log message]
909
-
910
- * .cvsignore, TODO, zip.rb, ziptest.rb: Added
911
- test_extractDirectoryExistsAsFileOverwrite and fixed to pass
912
-
913
- * zip.rb, ziptest.rb: Extraction of directory entries is now
914
- supported
915
-
916
- 2002-03-20 21:59 thomas
917
-
918
- * NEWS: [no log message]
919
-
920
- * COPYING, README, README.txt: Removed COPYING, renamed README.txt
921
- to README. Updated README
922
-
923
- * example.rb: Fixed example.rb added example that shows zip file
924
- manipulation with Zip::ZipFile
925
-
926
- * .cvsignore: [no log message]
927
-
928
- * TODO, zip.rb, ziptest.rb: Directories can now be added (not
929
- recursively, the directory entry itself. Directories are
930
- recognized by a empty entries with a trailing /. The purpose of
931
- storing them explicitly in the zip file is to be able to store
932
- permission and ownership information
933
-
934
- * TODO, zip.rb, ziptest.rb: zip.rb depended on ftools but it was
935
- only included in ziptest.rb
936
-
937
- * zip.rb, ziptest.rb: ZipError is now a subclass of StandardError
938
- instead of RuntimeError. ZipError now has several subclasses.
939
-
940
- 2002-03-19 22:26 thomas
941
-
942
- * TODO: [no log message]
943
-
944
- * TODO, ziptest.rb: Unit test ZipFile.getInputStream with block
945
-
946
- * TODO, zip.rb, ziptest.rb: Unit test for adding new entry with
947
- name that already exists in archive, and fixed to pass test
948
-
949
- * TODO, zip.rb, ziptest.rb: Added unit tests for rename to existing
950
- entry
951
-
952
- * TODO: [no log message]
953
-
954
- * TODO, zip.rb, ziptest.rb: Unit test calling ZipFile.extract with
955
- block
956
-
957
- 2002-03-18 21:06 thomas
958
-
959
- * TODO: [no log message]
960
-
961
- * zip.rb, ziptest.rb: ZipFile#commit now reinitializes ZipFile.
962
-
963
- * TODO, zip.rb, ziptest.rb: Refactoring:
964
-
965
- Collapsed ZipEntry and ZipStreamableZipEntry into ZipEntry.
966
-
967
- Collapsed BasicZipFile and ZipFile into ZipFile.
968
-
969
- * zip.rb: Removed method that was never called
970
-
971
- 2002-03-17 22:33 thomas
972
-
973
- * TODO: [no log message]
974
-
975
- * ziptest.rb: Run tests with =true as default
976
-
977
- * NEWS, TODO, zip.rb, ziptest.rb: Now runs with -w switch without
978
- warnings
979
-
980
- * .cvsignore: [no log message]
981
-
982
- * zip.rb, ziptest.rb: Down to one failing test
983
-
984
- * zip.rb, ziptest.rb: [no log message]
985
-
986
- * TODO, zip.rb, ziptest.rb: [no log message]
987
-
988
- 2002-02-25 19:42 thomas
989
-
990
- * TODO: Added more todos
991
-
992
- 2002-02-23 15:51 thomas
993
-
994
- * zip.rb: [no log message]
995
-
996
- * zip.rb, ziptest.rb: [no log message]
997
-
998
- * zip.rb, ziptest.rb: [no log message]
999
-
1000
- 2002-02-03 18:47 thomas
1001
-
1002
- * ziptest.rb: [no log message]
1003
-
1004
- 2002-02-02 15:58 thomas
1005
-
1006
- * example.rb, zip.rb, ziptest.rb: [no log message]
1007
-
1008
- * .cvsignore: [no log message]
1009
-
1010
- * example.rb, zip.rb, ziptest.rb: Renamed SimpleZipFile to
1011
- BasicZipFile
1012
-
1013
- * TODO: [no log message]
1014
-
1015
- * ziptest.rb: More test cases - all of them failing, so now there
1016
- are 18 failing test cases. Three more test cases to implement,
1017
- then it is time for the production code
1018
-
1019
- 2002-02-01 21:49 thomas
1020
-
1021
- * ziptest.rb: [no log message]
1022
-
1023
- * ziptest.rb: Also run SimpleZipFile tests for ZipFile.
1024
-
1025
- * example.rb, zip.rb, ziptest.rb: ZipFile renamed to SimpleZipFile.
1026
- The new ZipFile will have many more methods that are useful for
1027
- managing archives.
1028
-
1029
- 2002-01-29 20:30 thomas
1030
-
1031
- * TODO: [no log message]
1032
-
1033
- 2002-01-26 00:18 thomas
1034
-
1035
- * NEWS: [no log message]
1036
-
1037
- * ziptest.rb: In unit test: work around ruby/cygwin weirdness. You
1038
- get an Errno::EEXISTS instead of an Errno::EISDIR if you try to
1039
- open a file for writing that is a directory.
1040
-
1041
- * ziptest.rb: Fixed test that failed on windows because of CRLF
1042
- line ending
1043
-
1044
- 2002-01-25 23:58 thomas
1045
-
1046
- * ziptest.rb: [no log message]
1047
-
1048
- * .cvsignore, example.rb, zip.rb: Fixed bug reading from empty
1049
- deflated entry in zip file
1050
-
1051
- * .cvsignore: [no log message]
1052
-
1053
- * ziptest.rb: [no log message]
1054
-
1055
- * NEWS, README.txt, zip.rb, ziptest.rb: Zip write support is now
1056
- fully functional in the form of ZipOutputStream.
1057
-
1058
- * zip.rb, ziptest.rb: [no log message]
1059
-
1060
- * zip.rb, ziptest.rb: [no log message]
1061
-
1062
- 2002-01-20 16:00 thomas
1063
-
1064
- * zip.rb, ziptest.rb: Added Deflater and DeflaterTest.
1065
-
1066
- * .cvsignore: [no log message]
1067
-
1068
- * .cvsignore: Added .cvsignore file
1069
-
1070
- * zip.rb, ziptest.rb: Added ZipEntry.writeCDirEntry and misc minor
1071
- fixes
1072
-
1073
- 2002-01-19 23:28 thomas
1074
-
1075
- * example.rb, zip.rb, ziptest.rb: NOTICE: Not all tests run!!
1076
-
1077
- ZipOutputStream in progress
1078
-
1079
- Wrapped rubyzip in namespace module Zip.
1080
-
1081
- 2002-01-17 18:52 thomas
1082
-
1083
- * ziptest.rb: Fail nicely if the user doesn't have info-zip
1084
- compatible zip in the path
1085
-
1086
- 2002-01-10 18:02 thomas
1087
-
1088
- * zip.rb: Adjusted chunk size to 32k after a few perf measurements
1089
-
1090
- 2002-01-09 22:10 thomas
1091
-
1092
- * README.txt: License now same as rubys, not just GPL
1093
-
1094
- 2002-01-06 00:19 thomas
1095
-
1096
- * README.txt: [no log message]
1097
-
1098
- 2002-01-05 23:09 thomas
1099
-
1100
- * NEWS, README.txt, NEWS: Updated NEWS file
1101
-
1102
- * README.txt, zip.rb, ziptest.rb, zlib.c.diff: Added tests for
1103
- decompressors and a tests for ZipLocalEntry,
1104
- ZipCentralDirectoryEntry and ZipCentralDirectory for handling of
1105
- corrupt data
1106
-
1107
- * file1.txt.deflatedData: deflated data extracted from a zip file.
1108
- contains file1.txt
1109
-
1110
- * zip.rb: Changed references to Inflate to Zlib::inflate for
1111
- compatibility with ruby-zlib-0.5
1112
-
1113
- * README.txt, zip.rb, ziptest.rb: [no log message]
1114
-
1115
- * example.rb, NEWS: [no log message]
1116
-
1117
- * COPYING, README.txt: [no log message]
1118
-
1119
- * ziptest.rb: Fixed problem with test file creation
1120
-
1121
- * README.txt: Updated README.txt
1122
-
1123
- * zip.rb, ziptest.rb: ZipFile now works
1124
-
1125
- 2002-01-04 21:51 thomas
1126
-
1127
- * testDirectory.bin, zip.rb, ziptest.rb:
1128
- ZipCentralDirectoryEntryTest now runs
1129
-
1130
- * ziptest.rb: Changed
1131
- ZIpLocalNEtryTest::test_ReadLocalEntryHeaderOfFirstTestZipEntry
1132
- so it works on both unix too. It only worked on windows because
1133
- the test made assumptions about the compressed size and crc of an
1134
- entry, but that differs depending on the OS because of the CRLF
1135
- thing.
1136
-
1137
- * README.txt: Added note about zlib.c patch
1138
-
1139
- 2002-01-02 18:48 thomas
1140
-
1141
- * README.txt, example.rb, file1.txt, zip.rb, ziptest.rb,
1142
- zlib.c.diff: initial
1143
-
1144
- * README.txt, example.rb, file1.txt, zip.rb, ziptest.rb,
1145
- zlib.c.diff: Initial revision
1146
-