zip-container 1.0.0 → 1.1.0

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.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ Njc2NTMxMjAwYTcyYjA2NzA0YTEzMTI5MjgxODhlNTg5ODJlNjY4Nw==
5
+ data.tar.gz: !binary |-
6
+ MWJkMDk3ZTM2NGYwYzVkY2I5NjljYzIxNzU2MzUyNGIxMjk0MzhmYg==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ MDVmN2MxZjZkYzQzNWQ4OWE1NGM1OGQwMDNhZWQ1ZjkyOTAyOGUyYzBkNTYz
10
+ OGRhYjA4ZTQwNGQzMzYyOGNkYTNkYWZhYWZlM2U1MzZhMDA1ODVlYTc2MTdl
11
+ YmM2MTZiYTNkMjc4NDJmYjM2MTgyMzA5ZDQ3MTQ4ODVjNGIzN2M=
12
+ data.tar.gz: !binary |-
13
+ ODAwMGIxYjBkZTRkY2FmNTUxNWY2MjA0ZTk5YTFkOTA1OGY4MGYwNzIxM2Zm
14
+ OTdmZTI5ZTdhMjE4MDNmZjRmMTQ4NTcxMjBiNWJlMTc3NzIxMmZjZWI4ZTBi
15
+ NzJjYTk2MDBhMDA0NjYzNzQwMTczNjQ4YWU5MWQxN2MxN2QxOTI=
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ pkg/
2
+ html/
3
+ coverage/
4
+ .buildpath
5
+ .project
6
+ .idea
7
+ .rvmrc
8
+ Gemfile.lock
9
+ example.zip
data/.ruby-gemset ADDED
@@ -0,0 +1,2 @@
1
+ zip-container
2
+
data/.ruby-version ADDED
@@ -0,0 +1,2 @@
1
+ ruby-1.9.3
2
+
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
4
+ - 2.0.0
5
+ - 2.1.2
data/Changes.rdoc CHANGED
@@ -1,5 +1,9 @@
1
1
  = Changes log for the ZIP Container Ruby Gem
2
2
 
3
+ == Version 1.1.0
4
+
5
+ * Bump version of rubyzip to 1.1.4.
6
+
3
7
  == Version 1.0.0
4
8
 
5
9
  * Update to use version 1.0.0 of rubyzip.
data/Gemfile ADDED
@@ -0,0 +1,35 @@
1
+ # Copyright (c) 2014 The University of Manchester, UK.
2
+ #
3
+ # All rights reserved.
4
+ #
5
+ # Redistribution and use in source and binary forms, with or without
6
+ # modification, are permitted provided that the following conditions are met:
7
+ #
8
+ # * Redistributions of source code must retain the above copyright notice,
9
+ # this list of conditions and the following disclaimer.
10
+ #
11
+ # * Redistributions in binary form must reproduce the above copyright notice,
12
+ # this list of conditions and the following disclaimer in the documentation
13
+ # and/or other materials provided with the distribution.
14
+ #
15
+ # * Neither the names of The University of Manchester nor the names of its
16
+ # contributors may be used to endorse or promote products derived from this
17
+ # software without specific prior written permission.
18
+ #
19
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20
+ # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21
+ # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22
+ # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
23
+ # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24
+ # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25
+ # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26
+ # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27
+ # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28
+ # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29
+ # POSSIBILITY OF SUCH DAMAGE.
30
+ #
31
+ # Author: Robert Haines
32
+
33
+ source "https://rubygems.org"
34
+
35
+ gemspec
data/Licence.rdoc CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2013 The University of Manchester, UK.
1
+ Copyright (c) 2013, 2014 The University of Manchester, UK.
2
2
 
3
3
  All rights reserved.
4
4
 
data/Rakefile CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2013 The University of Manchester, UK.
1
+ # Copyright (c) 2013, 2014 The University of Manchester, UK.
2
2
  #
3
3
  # All rights reserved.
4
4
  #
@@ -30,44 +30,12 @@
30
30
  #
31
31
  # Author: Robert Haines
32
32
 
33
- require 'rubygems'
34
- require 'rake'
35
- require 'rake/clean'
36
- require 'rake/testtask'
37
- require 'rdoc/task'
38
- require 'jeweler'
39
-
40
- # we need to add lib to the path because we're not installed yet!
41
- $LOAD_PATH.unshift File.join(File.dirname(__FILE__), "lib")
42
- require 'zip-container'
33
+ require "bundler/gem_tasks"
34
+ require "rake/testtask"
35
+ require "rdoc/task"
43
36
 
44
37
  task :default => [:test]
45
38
 
46
- Jeweler::Tasks.new do |s|
47
- s.name = "zip-container"
48
- s.version = ZipContainer::Version::STRING
49
- s.authors = ["Robert Haines"]
50
- s.email = ["support@mygrid.org.uk"]
51
- s.homepage = "http://mygrid.github.io/ruby-zip-container/"
52
- s.platform = Gem::Platform::RUBY
53
- s.summary = "A ZIP Container for use by OCF and UCF implementations"
54
- s.description = "A Ruby library for working with ZIP Container "\
55
- "Format files. See "\
56
- "http://www.idpf.org/epub/30/spec/epub30-ocf.html for the OCF "\
57
- "specification and "\
58
- "https://learn.adobe.com/wiki/display/PDFNAV/Universal+Container+Format "\
59
- "for the UCF specification."
60
- s.require_path = "lib"
61
- s.test_file = "test/ts_container.rb"
62
- s.has_rdoc = true
63
- s.extra_rdoc_files = ["ReadMe.rdoc", "Licence.rdoc", "Changes.rdoc"]
64
- s.rdoc_options = ["-N", "--tab-width=2", "--main=ReadMe.rdoc"]
65
- s.add_development_dependency('rake', '~> 10.0.4')
66
- s.add_development_dependency('rdoc', '~> 4.0.1')
67
- s.add_development_dependency('jeweler', '~> 1.8.4')
68
- s.add_runtime_dependency('rubyzip', '~> 1.0.0')
69
- end
70
-
71
39
  Rake::TestTask.new do |t|
72
40
  t.libs << "test"
73
41
  t.test_files = FileList['test/ts_container.rb']
data/ReadMe.rdoc CHANGED
@@ -5,10 +5,12 @@ Contact:: mailto:support@mygrid.org.uk
5
5
  Homepage:: http://mygrid.github.io/ruby-zip-container
6
6
  Source code:: https://github.com/myGrid/ruby-zip-container
7
7
  Licence:: BSD (See Licence file or http://www.opensource.org/licenses/bsd-license.php)
8
- Copyright:: (c) 2013 The University of Manchester, UK
8
+ Copyright:: (c) 2013, 2014 The University of Manchester, UK
9
9
 
10
10
  {<img src="https://badge.fury.io/rb/zip-container.png" alt="Gem Version" />}[http://badge.fury.io/rb/zip-container]
11
11
  {<img src="https://codeclimate.com/github/myGrid/ruby-zip-container.png" />}[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.png?branch=master" alt="Coverage Status" />}[https://coveralls.io/r/myGrid/ruby-zip-container?branch=master]
12
14
 
13
15
  == Synopsis
14
16
 
data/lib/zip-container.rb CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2013 The University of Manchester, UK.
1
+ # Copyright (c) 2013, 2014 The University of Manchester, UK.
2
2
  #
3
3
  # All rights reserved.
4
4
  #
@@ -30,9 +30,12 @@
30
30
  #
31
31
  # Author: Robert Haines
32
32
 
33
- require 'yaml'
33
+ require 'rubygems'
34
+ require 'bundler/setup'
35
+
34
36
  require 'zip/filesystem'
35
37
 
38
+ require 'zip-container/version'
36
39
  require 'zip-container/exceptions'
37
40
  require 'zip-container/entries/reserved'
38
41
  require 'zip-container/entries/managed'
@@ -48,15 +51,4 @@ require 'zip-container/container'
48
51
  # {UCF}[https://learn.adobe.com/wiki/display/PDFNAV/Universal+Container+Format]
49
52
  # specifications for more details.
50
53
  module ZipContainer
51
-
52
- # Library version information.
53
- module Version
54
- # Version information in a Hash
55
- INFO = YAML.load_file(File.join(File.dirname(__FILE__), "..",
56
- "version.yml"))
57
-
58
- # Version number as a String
59
- STRING = [:major, :minor, :patch].map {|d| INFO[d]}.compact.join('.')
60
- end
61
-
62
54
  end
@@ -73,7 +73,7 @@ module ZipContainer
73
73
  # Reserved entry names. Just the mimetype file by default.
74
74
  register_reserved_name(MIMETYPE_FILE)
75
75
 
76
- # Initialize the managed entries and register the META-INF directory.
76
+ # Initialize the managed entry tables.
77
77
  initialize_managed_entries
78
78
 
79
79
  # Here we fake up the connection to the rubyzip filesystem classes so
@@ -0,0 +1,46 @@
1
+ # Copyright (c) 2014 The University of Manchester, UK.
2
+ #
3
+ # All rights reserved.
4
+ #
5
+ # Redistribution and use in source and binary forms, with or without
6
+ # modification, are permitted provided that the following conditions are met:
7
+ #
8
+ # * Redistributions of source code must retain the above copyright notice,
9
+ # this list of conditions and the following disclaimer.
10
+ #
11
+ # * Redistributions in binary form must reproduce the above copyright notice,
12
+ # this list of conditions and the following disclaimer in the documentation
13
+ # and/or other materials provided with the distribution.
14
+ #
15
+ # * Neither the names of The University of Manchester nor the names of its
16
+ # contributors may be used to endorse or promote products derived from this
17
+ # software without specific prior written permission.
18
+ #
19
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20
+ # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21
+ # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22
+ # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
23
+ # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24
+ # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25
+ # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26
+ # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27
+ # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28
+ # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29
+ # POSSIBILITY OF SUCH DAMAGE.
30
+ #
31
+ # Author: Robert Haines
32
+
33
+ require 'yaml'
34
+
35
+ module ZipContainer
36
+
37
+ # Library version information.
38
+ module Version
39
+ # Version information in a Hash
40
+ INFO = YAML.load_file(File.join(File.dirname(__FILE__), "..", "..",
41
+ "version.yml"))
42
+
43
+ # Version number as a String
44
+ STRING = [:major, :minor, :patch].map {|d| INFO[d]}.compact.join('.')
45
+ end
46
+ end
data/test/ts_container.rb CHANGED
@@ -30,6 +30,9 @@
30
30
  #
31
31
  # Author: Robert Haines
32
32
 
33
+ require 'coveralls'
34
+ Coveralls.wear!
35
+
33
36
  # Example default mimetype
34
37
  $mimetype = "application/epub+zip"
35
38
 
data/version.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 1
3
- :minor: 0
3
+ :minor: 1
4
4
  :patch: 0
@@ -1,77 +1,63 @@
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 -*-
1
+ # Copyright (c) 2013, 2014 The University of Manchester, UK.
2
+ #
3
+ # All rights reserved.
4
+ #
5
+ # Redistribution and use in source and binary forms, with or without
6
+ # modification, are permitted provided that the following conditions are met:
7
+ #
8
+ # * Redistributions of source code must retain the above copyright notice,
9
+ # this list of conditions and the following disclaimer.
10
+ #
11
+ # * Redistributions in binary form must reproduce the above copyright notice,
12
+ # this list of conditions and the following disclaimer in the documentation
13
+ # and/or other materials provided with the distribution.
14
+ #
15
+ # * Neither the names of The University of Manchester nor the names of its
16
+ # contributors may be used to endorse or promote products derived from this
17
+ # software without specific prior written permission.
18
+ #
19
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20
+ # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21
+ # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22
+ # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
23
+ # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24
+ # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25
+ # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26
+ # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27
+ # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28
+ # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29
+ # POSSIBILITY OF SUCH DAMAGE.
30
+ #
31
+ # Author: Robert Haines
5
32
 
6
- Gem::Specification.new do |s|
7
- s.name = "zip-container"
8
- s.version = "1.0.0"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Robert Haines"]
12
- s.date = "2013-12-19"
13
- s.description = "A Ruby library for working with ZIP Container Format files. See http://www.idpf.org/epub/30/spec/epub30-ocf.html for the OCF specification and https://learn.adobe.com/wiki/display/PDFNAV/Universal+Container+Format for the UCF specification."
14
- s.email = ["support@mygrid.org.uk"]
15
- s.extra_rdoc_files = [
16
- "Changes.rdoc",
17
- "Licence.rdoc",
18
- "ReadMe.rdoc"
19
- ]
20
- s.files = [
21
- "Changes.rdoc",
22
- "Licence.rdoc",
23
- "Rakefile",
24
- "ReadMe.rdoc",
25
- "examples/create-zip-container",
26
- "examples/verify-zip-container",
27
- "examples/zip-container-info",
28
- "lib/zip-container.rb",
29
- "lib/zip-container/container.rb",
30
- "lib/zip-container/entries/directory.rb",
31
- "lib/zip-container/entries/entry.rb",
32
- "lib/zip-container/entries/file.rb",
33
- "lib/zip-container/entries/managed.rb",
34
- "lib/zip-container/entries/reserved.rb",
35
- "lib/zip-container/exceptions.rb",
36
- "test/data/compressed_mimetype.container",
37
- "test/data/empty.container",
38
- "test/data/empty.zip",
39
- "test/data/example.container",
40
- "test/data/null.file",
41
- "test/tc_create.rb",
42
- "test/tc_managed_entries.rb",
43
- "test/tc_read.rb",
44
- "test/tc_reserved_names.rb",
45
- "test/ts_container.rb",
46
- "version.yml",
47
- "zip-container.gemspec"
48
- ]
49
- s.homepage = "http://mygrid.github.io/ruby-zip-container/"
50
- s.rdoc_options = ["-N", "--tab-width=2", "--main=ReadMe.rdoc"]
51
- s.require_paths = ["lib"]
52
- s.rubygems_version = "1.8.21"
53
- s.summary = "A ZIP Container for use by OCF and UCF implementations"
54
- s.test_files = ["test/ts_container.rb"]
33
+ lib = File.expand_path('../lib', __FILE__)
34
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
35
+ require "zip-container/version"
55
36
 
56
- if s.respond_to? :specification_version then
57
- s.specification_version = 3
58
-
59
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
60
- s.add_development_dependency(%q<rake>, ["~> 10.0.4"])
61
- s.add_development_dependency(%q<rdoc>, ["~> 4.0.1"])
62
- s.add_development_dependency(%q<jeweler>, ["~> 1.8.4"])
63
- s.add_runtime_dependency(%q<rubyzip>, ["~> 1.0.0"])
64
- else
65
- s.add_dependency(%q<rake>, ["~> 10.0.4"])
66
- s.add_dependency(%q<rdoc>, ["~> 4.0.1"])
67
- s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
68
- s.add_dependency(%q<rubyzip>, ["~> 1.0.0"])
69
- end
70
- else
71
- s.add_dependency(%q<rake>, ["~> 10.0.4"])
72
- s.add_dependency(%q<rdoc>, ["~> 4.0.1"])
73
- s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
74
- s.add_dependency(%q<rubyzip>, ["~> 1.0.0"])
75
- end
37
+ Gem::Specification.new do |s|
38
+ s.name = "zip-container"
39
+ s.version = ZipContainer::Version::STRING
40
+ s.authors = ["Robert Haines"]
41
+ s.email = ["support@mygrid.org.uk"]
42
+ s.homepage = "http://mygrid.github.io/ruby-zip-container/"
43
+ s.platform = Gem::Platform::RUBY
44
+ s.summary = "A ZIP Container for use by OCF and UCF implementations"
45
+ s.description = "A Ruby library for working with ZIP Container "\
46
+ "Format files. See http://www.idpf.org/epub/30/spec/epub30-ocf.html for "\
47
+ "the OCF specification and "\
48
+ "https://learn.adobe.com/wiki/display/PDFNAV/Universal+Container+Format "\
49
+ "for the UCF specification."
50
+ s.license = "BSD"
51
+ s.require_path = "lib"
52
+ s.files = `git ls-files`.split($/)
53
+ s.test_files = `git ls-files -- test/*`.split($/)
54
+ s.has_rdoc = true
55
+ s.extra_rdoc_files = [ "Changes.rdoc", "Licence.rdoc", "ReadMe.rdoc" ]
56
+ s.rdoc_options = [ "-N", "--tab-width=2", "--main=ReadMe.rdoc" ]
57
+ s.add_development_dependency("rake", "~> 10.0.4")
58
+ s.add_development_dependency("bundler", "~> 1.5")
59
+ s.add_development_dependency("rdoc", "~> 4.0.1")
60
+ s.add_development_dependency('coveralls')
61
+ s.add_runtime_dependency("rubyzip", "~> 1.1.4")
76
62
  end
77
63
 
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zip-container
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
5
- prerelease:
4
+ version: 1.1.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Robert Haines
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-12-19 00:00:00.000000000 Z
11
+ date: 2014-06-18 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rake
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,15 +20,27 @@ dependencies:
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
29
26
  version: 10.0.4
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '1.5'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '1.5'
30
41
  - !ruby/object:Gem::Dependency
31
42
  name: rdoc
32
43
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
44
  requirements:
35
45
  - - ~>
36
46
  - !ruby/object:Gem::Version
@@ -38,43 +48,38 @@ dependencies:
38
48
  type: :development
39
49
  prerelease: false
40
50
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
51
  requirements:
43
52
  - - ~>
44
53
  - !ruby/object:Gem::Version
45
54
  version: 4.0.1
46
55
  - !ruby/object:Gem::Dependency
47
- name: jeweler
56
+ name: coveralls
48
57
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
58
  requirements:
51
- - - ~>
59
+ - - ! '>='
52
60
  - !ruby/object:Gem::Version
53
- version: 1.8.4
61
+ version: '0'
54
62
  type: :development
55
63
  prerelease: false
56
64
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
65
  requirements:
59
- - - ~>
66
+ - - ! '>='
60
67
  - !ruby/object:Gem::Version
61
- version: 1.8.4
68
+ version: '0'
62
69
  - !ruby/object:Gem::Dependency
63
70
  name: rubyzip
64
71
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
72
  requirements:
67
73
  - - ~>
68
74
  - !ruby/object:Gem::Version
69
- version: 1.0.0
75
+ version: 1.1.4
70
76
  type: :runtime
71
77
  prerelease: false
72
78
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
79
  requirements:
75
80
  - - ~>
76
81
  - !ruby/object:Gem::Version
77
- version: 1.0.0
82
+ version: 1.1.4
78
83
  description: A Ruby library for working with ZIP Container Format files. See http://www.idpf.org/epub/30/spec/epub30-ocf.html
79
84
  for the OCF specification and https://learn.adobe.com/wiki/display/PDFNAV/Universal+Container+Format
80
85
  for the UCF specification.
@@ -87,7 +92,12 @@ extra_rdoc_files:
87
92
  - Licence.rdoc
88
93
  - ReadMe.rdoc
89
94
  files:
95
+ - .gitignore
96
+ - .ruby-gemset
97
+ - .ruby-version
98
+ - .travis.yml
90
99
  - Changes.rdoc
100
+ - Gemfile
91
101
  - Licence.rdoc
92
102
  - Rakefile
93
103
  - ReadMe.rdoc
@@ -102,6 +112,7 @@ files:
102
112
  - lib/zip-container/entries/managed.rb
103
113
  - lib/zip-container/entries/reserved.rb
104
114
  - lib/zip-container/exceptions.rb
115
+ - lib/zip-container/version.rb
105
116
  - test/data/compressed_mimetype.container
106
117
  - test/data/empty.container
107
118
  - test/data/empty.zip
@@ -115,7 +126,9 @@ files:
115
126
  - version.yml
116
127
  - zip-container.gemspec
117
128
  homepage: http://mygrid.github.io/ruby-zip-container/
118
- licenses: []
129
+ licenses:
130
+ - BSD
131
+ metadata: {}
119
132
  post_install_message:
120
133
  rdoc_options:
121
134
  - -N
@@ -124,22 +137,29 @@ rdoc_options:
124
137
  require_paths:
125
138
  - lib
126
139
  required_ruby_version: !ruby/object:Gem::Requirement
127
- none: false
128
140
  requirements:
129
141
  - - ! '>='
130
142
  - !ruby/object:Gem::Version
131
143
  version: '0'
132
144
  required_rubygems_version: !ruby/object:Gem::Requirement
133
- none: false
134
145
  requirements:
135
146
  - - ! '>='
136
147
  - !ruby/object:Gem::Version
137
148
  version: '0'
138
149
  requirements: []
139
150
  rubyforge_project:
140
- rubygems_version: 1.8.21
151
+ rubygems_version: 2.2.2
141
152
  signing_key:
142
- specification_version: 3
153
+ specification_version: 4
143
154
  summary: A ZIP Container for use by OCF and UCF implementations
144
155
  test_files:
156
+ - test/data/compressed_mimetype.container
157
+ - test/data/empty.container
158
+ - test/data/empty.zip
159
+ - test/data/example.container
160
+ - test/data/null.file
161
+ - test/tc_create.rb
162
+ - test/tc_managed_entries.rb
163
+ - test/tc_read.rb
164
+ - test/tc_reserved_names.rb
145
165
  - test/ts_container.rb