zip-container 4.0.2 → 5.0.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zip-container
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.2
4
+ version: 5.0.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Haines
8
8
  - Finn Bacall
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-02-19 00:00:00.000000000 Z
12
+ date: 2025-02-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rubyzip
@@ -17,134 +17,198 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: 2.0.0
20
+ version: '2.4'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: 2.0.0
27
+ version: '2.4'
28
28
  - !ruby/object:Gem::Dependency
29
- name: bundler
29
+ name: minitest
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ">="
32
+ - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: '0'
34
+ version: '5.25'
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ">="
39
+ - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '0'
41
+ version: '5.25'
42
42
  - !ruby/object:Gem::Dependency
43
- name: coveralls
43
+ name: os
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: '0.8'
48
+ version: 1.1.4
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: '0.8'
55
+ version: 1.1.4
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: rake
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: '10.1'
62
+ version: '13.2'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: '10.1'
69
+ version: '13.2'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: rdoc
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - "~>"
75
75
  - !ruby/object:Gem::Version
76
- version: '4.1'
76
+ version: '6.11'
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - "~>"
82
82
  - !ruby/object:Gem::Version
83
- version: '4.1'
83
+ version: '6.11'
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: rubocop
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
88
  - - "~>"
89
89
  - !ruby/object:Gem::Version
90
- version: '0.59'
90
+ version: 1.50.0
91
91
  type: :development
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
95
  - - "~>"
96
96
  - !ruby/object:Gem::Version
97
- version: '0.59'
97
+ version: 1.50.0
98
98
  - !ruby/object:Gem::Dependency
99
- name: test-unit
99
+ name: rubocop-minitest
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
102
  - - "~>"
103
103
  - !ruby/object:Gem::Version
104
- version: '3.0'
104
+ version: 0.30.0
105
105
  type: :development
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - "~>"
110
110
  - !ruby/object:Gem::Version
111
- version: '3.0'
111
+ version: 0.30.0
112
+ - !ruby/object:Gem::Dependency
113
+ name: rubocop-performance
114
+ requirement: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - "~>"
117
+ - !ruby/object:Gem::Version
118
+ version: 1.17.0
119
+ type: :development
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - "~>"
124
+ - !ruby/object:Gem::Version
125
+ version: 1.17.0
126
+ - !ruby/object:Gem::Dependency
127
+ name: rubocop-rake
128
+ requirement: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - "~>"
131
+ - !ruby/object:Gem::Version
132
+ version: 0.6.0
133
+ type: :development
134
+ prerelease: false
135
+ version_requirements: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - "~>"
138
+ - !ruby/object:Gem::Version
139
+ version: 0.6.0
140
+ - !ruby/object:Gem::Dependency
141
+ name: simplecov
142
+ requirement: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - '='
145
+ - !ruby/object:Gem::Version
146
+ version: 0.22.0
147
+ type: :development
148
+ prerelease: false
149
+ version_requirements: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - '='
152
+ - !ruby/object:Gem::Version
153
+ version: 0.22.0
154
+ - !ruby/object:Gem::Dependency
155
+ name: simplecov-lcov
156
+ requirement: !ruby/object:Gem::Requirement
157
+ requirements:
158
+ - - "~>"
159
+ - !ruby/object:Gem::Version
160
+ version: '0.8'
161
+ type: :development
162
+ prerelease: false
163
+ version_requirements: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - "~>"
166
+ - !ruby/object:Gem::Version
167
+ version: '0.8'
112
168
  description: A Ruby library for working with ZIP Container Format files. See http://www.idpf.org/epub/30/spec/epub30-ocf.html
113
169
  for the OCF specification and https://learn.adobe.com/wiki/display/PDFNAV/Universal+Container+Format
114
170
  for the UCF specification.
115
171
  email:
116
- - support@mygrid.org.uk
172
+ - robert.haines@manchester.ac.uk
117
173
  executables: []
118
174
  extensions: []
119
175
  extra_rdoc_files: []
120
176
  files:
121
- - Changes.rdoc
177
+ - CHANGES.md
178
+ - CODE_OF_CONDUCT.md
179
+ - CONTRIBUTING.md
122
180
  - Gemfile
123
- - Licence.rdoc
181
+ - LICENCE
182
+ - README.md
124
183
  - Rakefile
125
- - ReadMe.rdoc
184
+ - bin/console
185
+ - bin/setup
126
186
  - examples/create-zip-container
127
187
  - examples/verify-zip-container
128
188
  - examples/zip-container-info
129
189
  - lib/zip-container.rb
130
190
  - lib/zip-container/container.rb
131
191
  - lib/zip-container/dir.rb
132
- - lib/zip-container/entries/directory.rb
133
- - lib/zip-container/entries/entry.rb
134
- - lib/zip-container/entries/file.rb
135
- - lib/zip-container/entries/managed.rb
136
- - lib/zip-container/entries/reserved.rb
137
- - lib/zip-container/exceptions.rb
192
+ - lib/zip-container/errors.rb
138
193
  - lib/zip-container/file.rb
194
+ - lib/zip-container/managed_directory.rb
195
+ - lib/zip-container/managed_entries.rb
196
+ - lib/zip-container/managed_entry.rb
197
+ - lib/zip-container/managed_file.rb
198
+ - lib/zip-container/reserved_names.rb
139
199
  - lib/zip-container/util.rb
140
200
  - lib/zip-container/version.rb
141
- - version.yml
142
201
  - zip-container.gemspec
143
- homepage: http://mygrid.github.io/ruby-zip-container/
202
+ homepage: https://github.com/hainesr/ruby-zip-container
144
203
  licenses:
145
204
  - BSD
146
- metadata: {}
147
- post_install_message:
205
+ metadata:
206
+ bug_tracker_uri: https://github.com/hainesr/ruby-zip-container/issues
207
+ changelog_uri: https://github.com/hainesr/ruby-zip-container/blob/v5.0.0.rc2/CHANGES.md
208
+ documentation_uri: https://hainesr.github.io/ruby-zip-container
209
+ source_code_uri: https://github.com/hainesr/ruby-zip-container/tree/v5.0.0.rc2
210
+ rubygems_mfa_required: 'true'
211
+ post_install_message:
148
212
  rdoc_options: []
149
213
  require_paths:
150
214
  - lib
@@ -152,15 +216,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
152
216
  requirements:
153
217
  - - ">="
154
218
  - !ruby/object:Gem::Version
155
- version: 2.2.0
219
+ version: '2.7'
156
220
  required_rubygems_version: !ruby/object:Gem::Requirement
157
221
  requirements:
158
- - - ">="
222
+ - - ">"
159
223
  - !ruby/object:Gem::Version
160
- version: '0'
224
+ version: 1.3.1
161
225
  requirements: []
162
- rubygems_version: 3.0.8
163
- signing_key:
226
+ rubygems_version: 3.4.1
227
+ signing_key:
164
228
  specification_version: 4
165
229
  summary: A ZIP Container for use by OCF and UCF implementations
166
230
  test_files: []
data/ReadMe.rdoc DELETED
@@ -1,73 +0,0 @@
1
- = ZIP Container Format Ruby Library
2
-
3
- Authors:: Robert Haines
4
- Contact:: mailto:support@mygrid.org.uk
5
- Homepage:: http://mygrid.github.io/ruby-zip-container
6
- Source code:: https://github.com/myGrid/ruby-zip-container
7
- Licence:: BSD (See Licence file or http://www.opensource.org/licenses/bsd-license.php)
8
- Copyright:: (c) 2013-2015 The University of Manchester, UK
9
-
10
- {<img src="https://badge.fury.io/rb/zip-container.svg" alt="Gem Version" />}[http://badge.fury.io/rb/zip-container]
11
- {<img src="https://codeclimate.com/github/myGrid/ruby-zip-container.svg" />}[https://codeclimate.com/github/myGrid/ruby-zip-container]
12
- {<img src="https://travis-ci.org/myGrid/ruby-zip-container.svg?branch=master" alt="Build Status" />}[https://travis-ci.org/myGrid/ruby-zip-container]
13
- {<img src="https://coveralls.io/repos/myGrid/ruby-zip-container/badge.svg?branch=master" alt="Coverage Status" />}[https://coveralls.io/r/myGrid/ruby-zip-container?branch=master]
14
-
15
- == Synopsis
16
-
17
- This is a Ruby library for working with ZIP Container files. See the
18
- {ODF}[http://www.idpf.org/epub/30/spec/epub30-ocf.html] and
19
- {UDF}[https://learn.adobe.com/wiki/display/PDFNAV/Universal+Container+Format]
20
- specifications for more details.
21
-
22
- We follow the principles of {Semantic Versioning}[http://semver.org/] for our
23
- releases.
24
-
25
- == Backwards incompatibility warnings!
26
-
27
- === ZipContainer
28
-
29
- The ZipContainer::Container class is now a common superclass of
30
- ZipContainer::Dir and ZipContainer::File. You can use ZipContainer::File as a
31
- direct replacement for ZipContainer::Container as the functionality is
32
- preserved. The new names bring this API into closer alignment with the
33
- underlying rubyzip API (Zip::File) and allows this library to work with
34
- "exploded" or unpacked containers directly.
35
-
36
- ZipContainer::Container should not be used directly from version 2.0.0
37
- onwards.
38
-
39
- === ContainerError
40
-
41
- This class has been renamed in version 3.0.0. It is now simply called Error so
42
- that its fully qualified name is the more sensible ZipContainer::Error.
43
-
44
- === Rubyzip
45
-
46
- Version 1.0.0 and up of this gem uses version 1.0.0 and up of the
47
- {rubyzip}[https://rubygems.org/gems/rubyzip] library. This has a backwards
48
- incompatible API that may clash with other gems that you are using. Please see
49
- the {important note}[https://github.com/rubyzip/rubyzip/blob/master/README.md#important-note]
50
- in the rubyzip readme for a workaround.
51
-
52
- == Usage
53
-
54
- This library has two entry points.
55
-
56
- The main ZipContainer::File class largely mimics the rubyzip
57
- {Zip::File}[http://www.rubydoc.info/gems/rubyzip/1.1.6/Zip/File] and
58
- {Zip::FileSystem}[http://www.rubydoc.info/gems/rubyzip/1.1.6/Zip/FileSystem]
59
- APIs so much of what you can do with them are supported for ZIP Containers.
60
- There is also {API documentation}[http://mygrid.github.io/ruby-zip-container/]
61
- with much more detail and any differences explained.
62
-
63
- The ZipContainer::Dir class mimics, where possible, the core ruby
64
- {Dir API}[http://ruby-doc.org/core-1.9.3/Dir.html].
65
-
66
- There are some examples of how to use the library provided in the examples
67
- directory. See the contents of the tests directory for even more.
68
-
69
- == What this library can not do yet
70
-
71
- The basic requirements of a ZIP Container are all implemented but memory
72
- resident ZIP Container files are not yet supported. Presently all operations
73
- are performed on files that are resident on disk.
data/version.yml DELETED
@@ -1,4 +0,0 @@
1
- ---
2
- :major: 4
3
- :minor: 0
4
- :patch: 2