epub_validator 1.0.2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/epub_validator.gemspec +3 -3
- data/lib/epub_validator/process_epub.rb +1 -1
- data/lib/epub_validator/version.rb +1 -1
- data/lib/{epubcheck-3-0 → epubcheck-3.0.1}/COPYING.txt +0 -0
- data/lib/{epubcheck-3-0 → epubcheck-3.0.1}/README.txt +0 -0
- data/lib/{epubcheck-3-0 → epubcheck-3.0.1}/THIRD-PARTY.txt +1 -1
- data/lib/{epubcheck-3-0/epubcheck-3.0.jar → epubcheck-3.0.1/epubcheck-3.0.1.jar} +0 -0
- data/lib/epubcheck-3.0.1/lib/Saxon-HE-9.4.0.6.jar +0 -0
- data/lib/{epubcheck-3-0 → epubcheck-3.0.1}/lib/commons-compress-1.4.1.jar +0 -0
- data/lib/{epubcheck-3-0 → epubcheck-3.0.1}/lib/guava-13.0.1.jar +0 -0
- data/lib/{epubcheck-3-0 → epubcheck-3.0.1}/lib/jing-20120724.0.0.jar +0 -0
- data/lib/{epubcheck-3-0 → epubcheck-3.0.1}/lib/sac-1.3.jar +0 -0
- data/lib/{epubcheck-3-0 → epubcheck-3.0.1}/licenses/Apache-2.0.txt +0 -0
- data/lib/{epubcheck-3-0 → epubcheck-3.0.1}/licenses/BSD-3-Clause.txt +0 -0
- data/lib/{epubcheck-3-0 → epubcheck-3.0.1}/licenses/MPL-1.0.txt +0 -0
- data/lib/{epubcheck-3-0 → epubcheck-3.0.1}/licenses/W3C.txt +0 -0
- metadata +25 -29
- data/lib/epubcheck-3-0/lib/saxon-9.1.0.8.jar +0 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: ad0ef99601b3a8aa0dbeb1fd8553f6444a2bd5f6
|
4
|
+
data.tar.gz: d4f5b483f866d654d7a9c069c0a261b7310e04d8
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 55b63af9f35cf7622951acabaecc6c8af4a7c85675995868dce2294635cf8d20f7d7fb721f2ac311a415585b7e598461e56853dd10862b5645bd96a5cbab1ca5
|
7
|
+
data.tar.gz: b8ec463c84536a18e9f2225e7261c9524c55c81dd6fe5e56361311b7c4999697d84eaa4040af4293b593b038047c65d24a0161a686548162a5b3b17839fbcb12
|
data/epub_validator.gemspec
CHANGED
@@ -6,8 +6,8 @@ Gem::Specification.new do |gem|
|
|
6
6
|
gem.version = EpubValidator::VERSION
|
7
7
|
gem.authors = ["Mike Cook"]
|
8
8
|
gem.email = ["m@mikecook.co.uk"]
|
9
|
-
gem.summary = %q{
|
10
|
-
gem.description = %q{EPUB Validator
|
9
|
+
gem.summary = %q{Ruby wrapper for epubcheck; a Java EPUB validation tool.}
|
10
|
+
gem.description = %q{EPUB Validator is a Ruby wrapper for the Java epubcheck tool; validating EPUB files against the IDPF standard.}
|
11
11
|
|
12
12
|
gem.platform = Gem::Platform::RUBY
|
13
13
|
gem.files = `git ls-files`.split($\)
|
@@ -17,5 +17,5 @@ Gem::Specification.new do |gem|
|
|
17
17
|
|
18
18
|
gem.required_ruby_version = '>= 1.9.3'
|
19
19
|
|
20
|
-
gem.add_development_dependency('rspec', '~> 2.
|
20
|
+
gem.add_development_dependency('rspec', '~> 2.14.1')
|
21
21
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module EpubValidator
|
2
2
|
class ProcessEpub
|
3
3
|
def epubcheck(filename)
|
4
|
-
epubcheck_jar = File.expand_path(File.dirname(__FILE__) + '/../epubcheck-3
|
4
|
+
epubcheck_jar = File.expand_path(File.dirname(__FILE__) + '/../epubcheck-3.0.1/epubcheck-3.0.1.jar')
|
5
5
|
format_epubcheck_output(`java -jar #{epubcheck_jar} "#{filename}" 2>&1`)
|
6
6
|
end
|
7
7
|
|
File without changes
|
File without changes
|
Binary file
|
Binary file
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,34 +1,31 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: epub_validator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
5
|
-
prerelease:
|
4
|
+
version: 1.1.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Mike Cook
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-12-07 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rspec
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version: 2.
|
19
|
+
version: 2.14.1
|
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
|
-
version: 2.
|
30
|
-
description: EPUB Validator
|
31
|
-
|
26
|
+
version: 2.14.1
|
27
|
+
description: EPUB Validator is a Ruby wrapper for the Java epubcheck tool; validating
|
28
|
+
EPUB files against the IDPF standard.
|
32
29
|
email:
|
33
30
|
- m@mikecook.co.uk
|
34
31
|
executables:
|
@@ -47,46 +44,45 @@ files:
|
|
47
44
|
- lib/epub_validator/format_message.rb
|
48
45
|
- lib/epub_validator/process_epub.rb
|
49
46
|
- lib/epub_validator/version.rb
|
50
|
-
- lib/epubcheck-3
|
51
|
-
- lib/epubcheck-3
|
52
|
-
- lib/epubcheck-3
|
53
|
-
- lib/epubcheck-3
|
54
|
-
- lib/epubcheck-3
|
55
|
-
- lib/epubcheck-3
|
56
|
-
- lib/epubcheck-3
|
57
|
-
- lib/epubcheck-3
|
58
|
-
- lib/epubcheck-3
|
59
|
-
- lib/epubcheck-3
|
60
|
-
- lib/epubcheck-3
|
61
|
-
- lib/epubcheck-3
|
62
|
-
- lib/epubcheck-3
|
47
|
+
- lib/epubcheck-3.0.1/COPYING.txt
|
48
|
+
- lib/epubcheck-3.0.1/README.txt
|
49
|
+
- lib/epubcheck-3.0.1/THIRD-PARTY.txt
|
50
|
+
- lib/epubcheck-3.0.1/epubcheck-3.0.1.jar
|
51
|
+
- lib/epubcheck-3.0.1/lib/Saxon-HE-9.4.0.6.jar
|
52
|
+
- lib/epubcheck-3.0.1/lib/commons-compress-1.4.1.jar
|
53
|
+
- lib/epubcheck-3.0.1/lib/guava-13.0.1.jar
|
54
|
+
- lib/epubcheck-3.0.1/lib/jing-20120724.0.0.jar
|
55
|
+
- lib/epubcheck-3.0.1/lib/sac-1.3.jar
|
56
|
+
- lib/epubcheck-3.0.1/licenses/Apache-2.0.txt
|
57
|
+
- lib/epubcheck-3.0.1/licenses/BSD-3-Clause.txt
|
58
|
+
- lib/epubcheck-3.0.1/licenses/MPL-1.0.txt
|
59
|
+
- lib/epubcheck-3.0.1/licenses/W3C.txt
|
63
60
|
- spec/epub_validator/format_message_spec.rb
|
64
61
|
- spec/epub_validator/process_epub_spec.rb
|
65
62
|
- spec/spec_helper.rb
|
66
63
|
homepage:
|
67
64
|
licenses: []
|
65
|
+
metadata: {}
|
68
66
|
post_install_message:
|
69
67
|
rdoc_options: []
|
70
68
|
require_paths:
|
71
69
|
- lib
|
72
70
|
required_ruby_version: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
71
|
requirements:
|
75
|
-
- -
|
72
|
+
- - '>='
|
76
73
|
- !ruby/object:Gem::Version
|
77
74
|
version: 1.9.3
|
78
75
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
79
|
-
none: false
|
80
76
|
requirements:
|
81
|
-
- -
|
77
|
+
- - '>='
|
82
78
|
- !ruby/object:Gem::Version
|
83
79
|
version: '0'
|
84
80
|
requirements: []
|
85
81
|
rubyforge_project:
|
86
|
-
rubygems_version: 1.
|
82
|
+
rubygems_version: 2.1.10
|
87
83
|
signing_key:
|
88
|
-
specification_version:
|
89
|
-
summary:
|
84
|
+
specification_version: 4
|
85
|
+
summary: Ruby wrapper for epubcheck; a Java EPUB validation tool.
|
90
86
|
test_files:
|
91
87
|
- spec/epub_validator/format_message_spec.rb
|
92
88
|
- spec/epub_validator/process_epub_spec.rb
|
Binary file
|