zip_tricks 4.2.3 → 4.2.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,156 @@
1
+
2
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
3
+ | OSX 10.11 - Archive Utility (builtin) |
4
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
5
+ | Test | Outcome |
6
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
7
+ | 01-two_small_stored_files.zip | Works |
8
+ | Two small stored files | |
9
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
10
+ | 02-filename_with_diacritics.zip | Works |
11
+ | Filename with diacritics | |
12
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
13
+ | 03-purely_utf8_filename.zip | Works |
14
+ | Purely UTF-8 filename | |
15
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
16
+ | 04-two_entries_larger_than_the_overall_zip64_offset.zip | Works |
17
+ | Two entries larger than the overall Zip64 offset | |
18
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
19
+ | 05-one_entry_that_requires_zip64_and_a_tiny_entry_following_it.zip | No |
20
+ | One entry that requires Zip64 and a tiny entry following it | |
21
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
22
+ | 06-one_tiny_entry_followed_by_second_that_requires_zip64.zip | No |
23
+ | One tiny entry followed by second that requires Zip64 | |
24
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
25
+ | 07-two_entries_both_requiring_zip64.zip | No |
26
+ | Two entries both requiring Zip64 | |
27
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
28
+ | 08-two_stored_entries_using_data_descriptors.zip | Works |
29
+ | Two stored entries using data descriptors | |
30
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
31
+ | 09-one_entry_deflated_using_data_descriptors.zip | Works |
32
+ | One entry deflated using data descriptors | |
33
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
34
+ | 10-two_entries_larger_than_the_overall_zip64_offset_using_data_descriptors.zip | No |
35
+ | Two entries larger than the overall Zip64 offset using data descriptors | |
36
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
37
+ | 11-one_stored_entry_larger_than_zip64_threshold_using_data_descriptors.zip | No |
38
+ | One stored entry larger than Zip64 threshold using data descriptors | |
39
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
40
+
41
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
42
+ | OSX - The Unarchiver 3.10 |
43
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
44
+ | Test | Outcome |
45
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
46
+ | 01-two_small_stored_files.zip | Works |
47
+ | Two small stored files | |
48
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
49
+ | 02-filename_with_diacritics.zip | Works |
50
+ | Filename with diacritics | |
51
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
52
+ | 03-purely_utf8_filename.zip | Works |
53
+ | Purely UTF-8 filename | |
54
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
55
+ | 04-two_entries_larger_than_the_overall_zip64_offset.zip | Works |
56
+ | Two entries larger than the overall Zip64 offset | |
57
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
58
+ | 05-one_entry_that_requires_zip64_and_a_tiny_entry_following_it.zip | Works |
59
+ | One entry that requires Zip64 and a tiny entry following it | |
60
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
61
+ | 06-one_tiny_entry_followed_by_second_that_requires_zip64.zip | Works |
62
+ | One tiny entry followed by second that requires Zip64 | |
63
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
64
+ | 07-two_entries_both_requiring_zip64.zip | Works |
65
+ | Two entries both requiring Zip64 | |
66
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
67
+ | 08-two_stored_entries_using_data_descriptors.zip | Works |
68
+ | Two stored entries using data descriptors | |
69
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
70
+ | 09-one_entry_deflated_using_data_descriptors.zip | Works |
71
+ | One entry deflated using data descriptors | |
72
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
73
+ | 10-two_entries_larger_than_the_overall_zip64_offset_using_data_descriptors.zip | Works |
74
+ | Two entries larger than the overall Zip64 offset using data descriptors | |
75
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
76
+ | 11-one_stored_entry_larger_than_zip64_threshold_using_data_descriptors.zip | Works |
77
+ | One stored entry larger than Zip64 threshold using data descriptors | |
78
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
79
+
80
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
81
+ | Windows7 x64 - Builtin Explorer ZIP opener |
82
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
83
+ | Test | Outcome |
84
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
85
+ | 01-two_small_stored_files.zip | Opens and extracts correctly |
86
+ | Two small stored files | |
87
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
88
+ | 02-filename_with_diacritics.zip | Extracts, but filename is partially garbled |
89
+ | Filename with diacritics | |
90
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
91
+ | 03-purely_utf8_filename.zip | Extracts, but filename is completely garbled |
92
+ | Purely UTF-8 filename | |
93
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
94
+ | 04-two_entries_larger_than_the_overall_zip64_offset.zip | Works |
95
+ | Two entries larger than the overall Zip64 offset | |
96
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
97
+ | 05-one_entry_that_requires_zip64_and_a_tiny_entry_following_it.zip | Works |
98
+ | One entry that requires Zip64 and a tiny entry following it | |
99
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
100
+ | 06-one_tiny_entry_followed_by_second_that_requires_zip64.zip | Works |
101
+ | One tiny entry followed by second that requires Zip64 | |
102
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
103
+ | 07-two_entries_both_requiring_zip64.zip | Works |
104
+ | Two entries both requiring Zip64 | |
105
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
106
+ | 08-two_stored_entries_using_data_descriptors.zip | Works |
107
+ | Two stored entries using data descriptors | |
108
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
109
+ | 09-one_entry_deflated_using_data_descriptors.zip | Works |
110
+ | One entry deflated using data descriptors | |
111
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
112
+ | 10-two_entries_larger_than_the_overall_zip64_offset_using_data_descriptors.zip | Works |
113
+ | Two entries larger than the overall Zip64 offset using data descriptors | |
114
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
115
+ | 11-one_stored_entry_larger_than_zip64_threshold_using_data_descriptors.zip | Works |
116
+ | One stored entry larger than Zip64 threshold using data descriptors | |
117
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
118
+
119
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
120
+ | Windows7 x64 - 7Zip 9.20 |
121
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
122
+ | Test | Outcome |
123
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
124
+ | 01-two_small_stored_files.zip | Works |
125
+ | Two small stored files | |
126
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
127
+ | 02-filename_with_diacritics.zip | Works, filename correct |
128
+ | Filename with diacritics | |
129
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
130
+ | 03-purely_utf8_filename.zip | Works, filename correct |
131
+ | Purely UTF-8 filename | |
132
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
133
+ | 04-two_entries_larger_than_the_overall_zip64_offset.zip | Works |
134
+ | Two entries larger than the overall Zip64 offset | |
135
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
136
+ | 05-one_entry_that_requires_zip64_and_a_tiny_entry_following_it.zip | Works |
137
+ | One entry that requires Zip64 and a tiny entry following it | |
138
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
139
+ | 06-one_tiny_entry_followed_by_second_that_requires_zip64.zip | Works |
140
+ | One tiny entry followed by second that requires Zip64 | |
141
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
142
+ | 07-two_entries_both_requiring_zip64.zip | Works |
143
+ | Two entries both requiring Zip64 | |
144
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
145
+ | 08-two_stored_entries_using_data_descriptors.zip | Works |
146
+ | Two stored entries using data descriptors | |
147
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
148
+ | 09-one_entry_deflated_using_data_descriptors.zip | Works |
149
+ | One entry deflated using data descriptors | |
150
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
151
+ | 10-two_entries_larger_than_the_overall_zip64_offset_using_data_descriptors.zip | Works |
152
+ | Two entries larger than the overall Zip64 offset using data descriptors | |
153
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
154
+ | 11-one_stored_entry_larger_than_zip64_threshold_using_data_descriptors.zip | Works |
155
+ | One stored entry larger than Zip64 threshold using data descriptors | |
156
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
@@ -0,0 +1,156 @@
1
+
2
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
3
+ | OSX 10.11 - Archive Utility (builtin) |
4
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
5
+ | Test | Outcome |
6
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
7
+ | 01-two_small_stored_files.zip | Works |
8
+ | Two small stored files | |
9
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
10
+ | 02-filename_with_diacritics.zip | Works |
11
+ | Filename with diacritics | |
12
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
13
+ | 03-purely_utf8_filename.zip | Works |
14
+ | Purely UTF-8 filename | |
15
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
16
+ | 04-two_entries_larger_than_the_overall_zip64_offset.zip | Works |
17
+ | Two entries larger than the overall Zip64 offset | |
18
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
19
+ | 05-one_entry_that_requires_zip64_and_a_tiny_entry_following_it.zip | No |
20
+ | One entry that requires Zip64 and a tiny entry following it | |
21
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
22
+ | 06-one_tiny_entry_followed_by_second_that_requires_zip64.zip | No |
23
+ | One tiny entry followed by second that requires Zip64 | |
24
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
25
+ | 07-two_entries_both_requiring_zip64.zip | No |
26
+ | Two entries both requiring Zip64 | |
27
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
28
+ | 08-two_stored_entries_using_data_descriptors.zip | Works |
29
+ | Two stored entries using data descriptors | |
30
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
31
+ | 09-one_entry_deflated_using_data_descriptors.zip | Works |
32
+ | One entry deflated using data descriptors | |
33
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
34
+ | 10-two_entries_larger_than_the_overall_zip64_offset_using_data_descriptors.zip | No |
35
+ | Two entries larger than the overall Zip64 offset using data descriptors | |
36
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
37
+ | 11-one_stored_entry_larger_than_zip64_threshold_using_data_descriptors.zip | No |
38
+ | One stored entry larger than Zip64 threshold using data descriptors | |
39
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
40
+
41
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
42
+ | OSX - The Unarchiver 3.10 |
43
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
44
+ | Test | Outcome |
45
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
46
+ | 01-two_small_stored_files.zip | Works |
47
+ | Two small stored files | |
48
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
49
+ | 02-filename_with_diacritics.zip | Works |
50
+ | Filename with diacritics | |
51
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
52
+ | 03-purely_utf8_filename.zip | Works |
53
+ | Purely UTF-8 filename | |
54
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
55
+ | 04-two_entries_larger_than_the_overall_zip64_offset.zip | Works |
56
+ | Two entries larger than the overall Zip64 offset | |
57
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
58
+ | 05-one_entry_that_requires_zip64_and_a_tiny_entry_following_it.zip | Works |
59
+ | One entry that requires Zip64 and a tiny entry following it | |
60
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
61
+ | 06-one_tiny_entry_followed_by_second_that_requires_zip64.zip | Works |
62
+ | One tiny entry followed by second that requires Zip64 | |
63
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
64
+ | 07-two_entries_both_requiring_zip64.zip | Works |
65
+ | Two entries both requiring Zip64 | |
66
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
67
+ | 08-two_stored_entries_using_data_descriptors.zip | Works |
68
+ | Two stored entries using data descriptors | |
69
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
70
+ | 09-one_entry_deflated_using_data_descriptors.zip | Works |
71
+ | One entry deflated using data descriptors | |
72
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
73
+ | 10-two_entries_larger_than_the_overall_zip64_offset_using_data_descriptors.zip | Works |
74
+ | Two entries larger than the overall Zip64 offset using data descriptors | |
75
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
76
+ | 11-one_stored_entry_larger_than_zip64_threshold_using_data_descriptors.zip | Works |
77
+ | One stored entry larger than Zip64 threshold using data descriptors | |
78
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
79
+
80
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
81
+ | Windows7 x64 - Builtin Explorer ZIP opener |
82
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
83
+ | Test | Outcome |
84
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
85
+ | 01-two_small_stored_files.zip | Opens and extracts correctly |
86
+ | Two small stored files | |
87
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
88
+ | 02-filename_with_diacritics.zip | Extracts, but filename is partially garbled |
89
+ | Filename with diacritics | |
90
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
91
+ | 03-purely_utf8_filename.zip | Extracts, but filename is completely garbled |
92
+ | Purely UTF-8 filename | |
93
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
94
+ | 04-two_entries_larger_than_the_overall_zip64_offset.zip | Works |
95
+ | Two entries larger than the overall Zip64 offset | |
96
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
97
+ | 05-one_entry_that_requires_zip64_and_a_tiny_entry_following_it.zip | Works |
98
+ | One entry that requires Zip64 and a tiny entry following it | |
99
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
100
+ | 06-one_tiny_entry_followed_by_second_that_requires_zip64.zip | Works |
101
+ | One tiny entry followed by second that requires Zip64 | |
102
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
103
+ | 07-two_entries_both_requiring_zip64.zip | Works |
104
+ | Two entries both requiring Zip64 | |
105
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
106
+ | 08-two_stored_entries_using_data_descriptors.zip | Works |
107
+ | Two stored entries using data descriptors | |
108
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
109
+ | 09-one_entry_deflated_using_data_descriptors.zip | Works |
110
+ | One entry deflated using data descriptors | |
111
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
112
+ | 10-two_entries_larger_than_the_overall_zip64_offset_using_data_descriptors.zip | Works |
113
+ | Two entries larger than the overall Zip64 offset using data descriptors | |
114
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
115
+ | 11-one_stored_entry_larger_than_zip64_threshold_using_data_descriptors.zip | Works |
116
+ | One stored entry larger than Zip64 threshold using data descriptors | |
117
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
118
+
119
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
120
+ | Windows7 x64 - 7Zip 9.20 |
121
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
122
+ | Test | Outcome |
123
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
124
+ | 01-two_small_stored_files.zip | Works |
125
+ | Two small stored files | |
126
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
127
+ | 02-filename_with_diacritics.zip | Works, filename correct |
128
+ | Filename with diacritics | |
129
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
130
+ | 03-purely_utf8_filename.zip | Works, filename correct |
131
+ | Purely UTF-8 filename | |
132
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
133
+ | 04-two_entries_larger_than_the_overall_zip64_offset.zip | Works |
134
+ | Two entries larger than the overall Zip64 offset | |
135
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
136
+ | 05-one_entry_that_requires_zip64_and_a_tiny_entry_following_it.zip | Works |
137
+ | One entry that requires Zip64 and a tiny entry following it | |
138
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
139
+ | 06-one_tiny_entry_followed_by_second_that_requires_zip64.zip | Works |
140
+ | One tiny entry followed by second that requires Zip64 | |
141
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
142
+ | 07-two_entries_both_requiring_zip64.zip | Works |
143
+ | Two entries both requiring Zip64 | |
144
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
145
+ | 08-two_stored_entries_using_data_descriptors.zip | Works |
146
+ | Two stored entries using data descriptors | |
147
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
148
+ | 09-one_entry_deflated_using_data_descriptors.zip | Works |
149
+ | One entry deflated using data descriptors | |
150
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
151
+ | 10-two_entries_larger_than_the_overall_zip64_offset_using_data_descriptors.zip | Works |
152
+ | Two entries larger than the overall Zip64 offset using data descriptors | |
153
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
154
+ | 11-one_stored_entry_larger_than_zip64_threshold_using_data_descriptors.zip | Works |
155
+ | One stored entry larger than Zip64 threshold using data descriptors | |
156
+ +--------------------------------------------------------------------------------+------------------------------------------------------------------+
@@ -0,0 +1,28 @@
1
+
2
+ +-------------------+-------------------+
3
+ | OSX 10.11 - Archive Utility (builtin) |
4
+ +-------------------+-------------------+
5
+ | Test | Outcome |
6
+ +-------------------+-------------------+
7
+ +-------------------+-------------------+
8
+
9
+ +-------------+-------------+
10
+ | OSX - The Unarchiver 3.10 |
11
+ +-------------+-------------+
12
+ | Test | Outcome |
13
+ +-------------+-------------+
14
+ +-------------+-------------+
15
+
16
+ +----------------------+----------------------+
17
+ | Windows7 x64 - Builtin Explorer ZIP opener |
18
+ +----------------------+----------------------+
19
+ | Test | Outcome |
20
+ +----------------------+----------------------+
21
+ +----------------------+----------------------+
22
+
23
+ +-------------+-------------+
24
+ | Windows7 x64 - 7Zip 9.20 |
25
+ +-------------+-------------+
26
+ | Test | Outcome |
27
+ +-------------+-------------+
28
+ +-------------+-------------+
data/zip_tricks.gemspec CHANGED
@@ -1,115 +1,42 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
- # -*- encoding: utf-8 -*-
5
- # stub: zip_tricks 4.2.3 ruby lib
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'zip_tricks/version'
6
5
 
7
- Gem::Specification.new do |s|
8
- s.name = "zip_tricks"
9
- s.version = "4.2.3"
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "zip_tricks"
8
+ spec.version = ZipTricks::VERSION
9
+ spec.authors = ["Julik Tarkhanov"]
10
+ spec.email = ["me@julik.nl"]
10
11
 
11
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
- s.require_paths = ["lib"]
13
- s.authors = ["Julik Tarkhanov"]
14
- s.date = "2016-11-18"
15
- s.description = "Stream out ZIP files from Ruby"
16
- s.email = "me@julik.nl"
17
- s.extra_rdoc_files = [
18
- "LICENSE.txt",
19
- "README.md"
20
- ]
21
- s.files = [
22
- ".document",
23
- ".rspec",
24
- ".travis.yml",
25
- ".yardopts",
26
- "Gemfile",
27
- "IMPLEMENTATION_DETAILS.md",
28
- "LICENSE.txt",
29
- "README.md",
30
- "Rakefile",
31
- "examples/archive_size_estimate.rb",
32
- "examples/config.ru",
33
- "examples/parallel_compression_with_block_deflate.rb",
34
- "examples/rack_application.rb",
35
- "lib/zip_tricks.rb",
36
- "lib/zip_tricks/block_deflate.rb",
37
- "lib/zip_tricks/block_write.rb",
38
- "lib/zip_tricks/file_reader.rb",
39
- "lib/zip_tricks/file_reader/inflating_reader.rb",
40
- "lib/zip_tricks/file_reader/stored_reader.rb",
41
- "lib/zip_tricks/null_writer.rb",
42
- "lib/zip_tricks/rack_body.rb",
43
- "lib/zip_tricks/remote_io.rb",
44
- "lib/zip_tricks/remote_uncap.rb",
45
- "lib/zip_tricks/size_estimator.rb",
46
- "lib/zip_tricks/stream_crc32.rb",
47
- "lib/zip_tricks/streamer.rb",
48
- "lib/zip_tricks/streamer/deflated_writer.rb",
49
- "lib/zip_tricks/streamer/entry.rb",
50
- "lib/zip_tricks/streamer/stored_writer.rb",
51
- "lib/zip_tricks/streamer/writable.rb",
52
- "lib/zip_tricks/write_and_tell.rb",
53
- "lib/zip_tricks/zip_writer.rb",
54
- "spec/spec_helper.rb",
55
- "spec/zip_tricks/block_deflate_spec.rb",
56
- "spec/zip_tricks/block_write_spec.rb",
57
- "spec/zip_tricks/cdir_entry_with_partial_use_of_zip64_extra_fields.bin",
58
- "spec/zip_tricks/file_reader_spec.rb",
59
- "spec/zip_tricks/rack_body_spec.rb",
60
- "spec/zip_tricks/remote_io_spec.rb",
61
- "spec/zip_tricks/remote_uncap_spec.rb",
62
- "spec/zip_tricks/size_estimator_spec.rb",
63
- "spec/zip_tricks/stream_crc32_spec.rb",
64
- "spec/zip_tricks/streamer/writable_spec.rb",
65
- "spec/zip_tricks/streamer_spec.rb",
66
- "spec/zip_tricks/war-and-peace.txt",
67
- "spec/zip_tricks/write_and_tell_spec.rb",
68
- "spec/zip_tricks/zip_writer_spec.rb",
69
- "zip_tricks.gemspec"
70
- ]
71
- s.homepage = "http://github.com/wetransfer/zip_tricks"
72
- s.licenses = ["MIT"]
73
- s.rubygems_version = "2.4.5.1"
74
- s.summary = "Stream out ZIP files from Ruby"
12
+ spec.summary = 'Stream out ZIP files from Ruby'
13
+ spec.description = 'Stream out ZIP files from Ruby'
14
+ spec.homepage = "http://github.com/wetransfer/zip_tricks"
75
15
 
76
- if s.respond_to? :specification_version then
77
- s.specification_version = 4
78
-
79
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
80
- s.add_development_dependency(%q<rubyzip>, ["~> 1.1"])
81
- s.add_development_dependency(%q<terminal-table>, [">= 0"])
82
- s.add_development_dependency(%q<range_utils>, [">= 0"])
83
- s.add_development_dependency(%q<rack>, ["~> 1.6"])
84
- s.add_development_dependency(%q<rake>, ["~> 10.4"])
85
- s.add_development_dependency(%q<rspec>, ["< 3.3", "~> 3.2.0"])
86
- s.add_development_dependency(%q<coderay>, [">= 0"])
87
- s.add_development_dependency(%q<yard>, ["~> 0.8"])
88
- s.add_development_dependency(%q<bundler>, ["~> 1.0"])
89
- s.add_development_dependency(%q<jeweler>, [">= 2.1.2", "~> 2"])
90
- else
91
- s.add_dependency(%q<rubyzip>, ["~> 1.1"])
92
- s.add_dependency(%q<terminal-table>, [">= 0"])
93
- s.add_dependency(%q<range_utils>, [">= 0"])
94
- s.add_dependency(%q<rack>, ["~> 1.6"])
95
- s.add_dependency(%q<rake>, ["~> 10.4"])
96
- s.add_dependency(%q<rspec>, ["< 3.3", "~> 3.2.0"])
97
- s.add_dependency(%q<coderay>, [">= 0"])
98
- s.add_dependency(%q<yard>, ["~> 0.8"])
99
- s.add_dependency(%q<bundler>, ["~> 1.0"])
100
- s.add_dependency(%q<jeweler>, [">= 2.1.2", "~> 2"])
101
- end
16
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
17
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
18
+ if spec.respond_to?(:metadata)
19
+ spec.metadata['allowed_push_host'] = "https://rubygems.org"
102
20
  else
103
- s.add_dependency(%q<rubyzip>, ["~> 1.1"])
104
- s.add_dependency(%q<terminal-table>, [">= 0"])
105
- s.add_dependency(%q<range_utils>, [">= 0"])
106
- s.add_dependency(%q<rack>, ["~> 1.6"])
107
- s.add_dependency(%q<rake>, ["~> 10.4"])
108
- s.add_dependency(%q<rspec>, ["< 3.3", "~> 3.2.0"])
109
- s.add_dependency(%q<coderay>, [">= 0"])
110
- s.add_dependency(%q<yard>, ["~> 0.8"])
111
- s.add_dependency(%q<bundler>, ["~> 1.0"])
112
- s.add_dependency(%q<jeweler>, [">= 2.1.2", "~> 2"])
21
+ raise "RubyGems 2.0 or newer is required to protect against " \
22
+ "public gem pushes."
113
23
  end
114
- end
115
24
 
25
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
26
+ f.match(%r{^(test|spec|features)/})
27
+ end
28
+ spec.bindir = "exe"
29
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
30
+ spec.require_paths = ["lib"]
31
+
32
+ spec.add_development_dependency "bundler", "~> 1"
33
+ spec.add_development_dependency 'rubyzip', '~> 1.1'
34
+ spec.add_development_dependency 'terminal-table'
35
+ spec.add_development_dependency 'range_utils'
36
+ spec.add_development_dependency 'rack', '~> 1.6' # For Jeweler
37
+ spec.add_development_dependency 'rake', '~> 10.4'
38
+ spec.add_development_dependency "rspec", "~> 3.2.0", '< 3.3'
39
+ spec.add_development_dependency 'coderay'
40
+ spec.add_development_dependency "yard", "~> 0.8"
41
+
42
+ end