epub_validator 1.1.0 → 1.1.1
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 +5 -5
- data/LICENSE.txt +22 -0
- data/README.md +7 -1
- data/epub_validator.gemspec +5 -3
- data/lib/epub_validator/version.rb +1 -1
- metadata +21 -13
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: ba2eb80aa934fb920931c132ce37117389ac35bb846b0f8c891b9e0c7a580a8b
|
|
4
|
+
data.tar.gz: 5b379f19b2ecd0be6984913900b11cc9ba5bd2155bf73b8da6f345952030ab9b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: baae89614e719cec9d70679e8674674e5a956a29e48aac1601611d141610e58851a0a78aacfefaea9c7e83f950c131ac1e1ecc84a94e29b5208b13eeb089a7bb
|
|
7
|
+
data.tar.gz: 4ee3be561a770d6e2e20e2c86be1b60b36c410057fe32ce8116d668209294f0e6a43d6dfb8631756c27b12782c12e42aca57131da204e82931b091fdcea92335
|
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
Copyright (c) 2013 Michael R. Cook
|
|
2
|
+
|
|
3
|
+
MIT License
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
6
|
+
a copy of this software and associated documentation files (the
|
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
11
|
+
the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be
|
|
14
|
+
included in all copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
# epubValidator
|
|
1
|
+
# [INACTIVE] epubValidator
|
|
2
|
+
|
|
3
|
+
Check if your EPUB eBooks are valid
|
|
4
|
+
|
|
5
|
+
Later releases of epubCheck are much more friendly to use, which means the usefulness of this GEM has diminished and so is no longer maintained. I recommend you now use the official [epubCheck](https://github.com/idpf/epubcheck) tool.
|
|
6
|
+
|
|
7
|
+
====
|
|
2
8
|
|
|
3
9
|
This library will check that your .epub files are valid IDPF EPUB documents (version 2.x and 3.0) and return a successful or error message. It can be called as a Ruby library, or invoked from the command line.
|
|
4
10
|
|
data/epub_validator.gemspec
CHANGED
|
@@ -4,10 +4,12 @@ require File.expand_path('../lib/epub_validator/version', __FILE__)
|
|
|
4
4
|
Gem::Specification.new do |gem|
|
|
5
5
|
gem.name = "epub_validator"
|
|
6
6
|
gem.version = EpubValidator::VERSION
|
|
7
|
-
gem.authors = ["
|
|
8
|
-
gem.email = ["
|
|
7
|
+
gem.authors = ["Michael R. Cook"]
|
|
8
|
+
gem.email = ["work@mrcook.uk"]
|
|
9
|
+
gem.licenses = ['MIT']
|
|
9
10
|
gem.summary = %q{Ruby wrapper for epubcheck; a Java EPUB validation tool.}
|
|
10
11
|
gem.description = %q{EPUB Validator is a Ruby wrapper for the Java epubcheck tool; validating EPUB files against the IDPF standard.}
|
|
12
|
+
gem.homepage = 'https://mrcook.uk'
|
|
11
13
|
|
|
12
14
|
gem.platform = Gem::Platform::RUBY
|
|
13
15
|
gem.files = `git ls-files`.split($\)
|
|
@@ -17,5 +19,5 @@ Gem::Specification.new do |gem|
|
|
|
17
19
|
|
|
18
20
|
gem.required_ruby_version = '>= 1.9.3'
|
|
19
21
|
|
|
20
|
-
gem.add_development_dependency
|
|
22
|
+
gem.add_development_dependency 'rspec', '~> 2.14', '>= 2.14.1'
|
|
21
23
|
end
|
metadata
CHANGED
|
@@ -1,41 +1,48 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: epub_validator
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
7
|
+
- Michael R. Cook
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-10-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - ~>
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '2.14'
|
|
20
|
+
- - ">="
|
|
18
21
|
- !ruby/object:Gem::Version
|
|
19
22
|
version: 2.14.1
|
|
20
23
|
type: :development
|
|
21
24
|
prerelease: false
|
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
26
|
requirements:
|
|
24
|
-
- - ~>
|
|
27
|
+
- - "~>"
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
version: '2.14'
|
|
30
|
+
- - ">="
|
|
25
31
|
- !ruby/object:Gem::Version
|
|
26
32
|
version: 2.14.1
|
|
27
33
|
description: EPUB Validator is a Ruby wrapper for the Java epubcheck tool; validating
|
|
28
34
|
EPUB files against the IDPF standard.
|
|
29
35
|
email:
|
|
30
|
-
-
|
|
36
|
+
- work@mrcook.uk
|
|
31
37
|
executables:
|
|
32
38
|
- epub_validator
|
|
33
39
|
extensions: []
|
|
34
40
|
extra_rdoc_files: []
|
|
35
41
|
files:
|
|
36
|
-
- .gitignore
|
|
37
|
-
- .rspec
|
|
42
|
+
- ".gitignore"
|
|
43
|
+
- ".rspec"
|
|
38
44
|
- Gemfile
|
|
45
|
+
- LICENSE.txt
|
|
39
46
|
- README.md
|
|
40
47
|
- Rakefile
|
|
41
48
|
- bin/epub_validator
|
|
@@ -60,8 +67,9 @@ files:
|
|
|
60
67
|
- spec/epub_validator/format_message_spec.rb
|
|
61
68
|
- spec/epub_validator/process_epub_spec.rb
|
|
62
69
|
- spec/spec_helper.rb
|
|
63
|
-
homepage:
|
|
64
|
-
licenses:
|
|
70
|
+
homepage: https://mrcook.uk
|
|
71
|
+
licenses:
|
|
72
|
+
- MIT
|
|
65
73
|
metadata: {}
|
|
66
74
|
post_install_message:
|
|
67
75
|
rdoc_options: []
|
|
@@ -69,17 +77,17 @@ require_paths:
|
|
|
69
77
|
- lib
|
|
70
78
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
71
79
|
requirements:
|
|
72
|
-
- -
|
|
80
|
+
- - ">="
|
|
73
81
|
- !ruby/object:Gem::Version
|
|
74
82
|
version: 1.9.3
|
|
75
83
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
84
|
requirements:
|
|
77
|
-
- -
|
|
85
|
+
- - ">="
|
|
78
86
|
- !ruby/object:Gem::Version
|
|
79
87
|
version: '0'
|
|
80
88
|
requirements: []
|
|
81
89
|
rubyforge_project:
|
|
82
|
-
rubygems_version: 2.
|
|
90
|
+
rubygems_version: 2.7.6
|
|
83
91
|
signing_key:
|
|
84
92
|
specification_version: 4
|
|
85
93
|
summary: Ruby wrapper for epubcheck; a Java EPUB validation tool.
|