epubcheck-ruby 4.2.2.0 → 4.2.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby.yml +13 -8
  3. data/README.md +12 -1
  4. data/jar/{epubcheck-4.2.2 → epubcheck-4.2.4}/CHANGELOG.txt +40 -6
  5. data/jar/{epubcheck-4.2.2 → epubcheck-4.2.4}/LICENSE.txt +0 -0
  6. data/jar/{epubcheck-4.2.2 → epubcheck-4.2.4}/README.txt +0 -0
  7. data/jar/{epubcheck-4.2.2 → epubcheck-4.2.4}/THIRD-PARTY.txt +2 -2
  8. data/jar/epubcheck-4.2.4/epubcheck.jar +0 -0
  9. data/jar/{epubcheck-4.2.2 → epubcheck-4.2.4}/lib/Saxon-HE-9.8.0-8.jar +0 -0
  10. data/jar/{epubcheck-4.2.2 → epubcheck-4.2.4}/lib/animal-sniffer-annotations-1.14.jar +0 -0
  11. data/jar/{epubcheck-4.2.2 → epubcheck-4.2.4}/lib/checker-compat-qual-2.0.0.jar +0 -0
  12. data/jar/{epubcheck-4.2.2 → epubcheck-4.2.4}/lib/common-image-3.4.1.jar +0 -0
  13. data/jar/{epubcheck-4.2.2 → epubcheck-4.2.4}/lib/common-io-3.4.1.jar +0 -0
  14. data/jar/{epubcheck-4.2.2 → epubcheck-4.2.4}/lib/common-lang-3.4.1.jar +0 -0
  15. data/jar/epubcheck-4.2.4/lib/commons-compress-1.20.jar +0 -0
  16. data/jar/{epubcheck-4.2.2 → epubcheck-4.2.4}/lib/error_prone_annotations-2.1.3.jar +0 -0
  17. data/jar/{epubcheck-4.2.2/lib/guava-24.0-android.jar → epubcheck-4.2.4/lib/guava-24.1.1-android.jar} +0 -0
  18. data/jar/{epubcheck-4.2.2 → epubcheck-4.2.4}/lib/imageio-core-3.4.1.jar +0 -0
  19. data/jar/{epubcheck-4.2.2 → epubcheck-4.2.4}/lib/imageio-jpeg-3.4.1.jar +0 -0
  20. data/jar/{epubcheck-4.2.2 → epubcheck-4.2.4}/lib/imageio-metadata-3.4.1.jar +0 -0
  21. data/jar/{epubcheck-4.2.2 → epubcheck-4.2.4}/lib/isorelax-20030108.jar +0 -0
  22. data/jar/{epubcheck-4.2.2 → epubcheck-4.2.4}/lib/j2objc-annotations-1.1.jar +0 -0
  23. data/jar/{epubcheck-4.2.2 → epubcheck-4.2.4}/lib/jackson-core-asl-1.9.12.jar +0 -0
  24. data/jar/{epubcheck-4.2.2 → epubcheck-4.2.4}/lib/jackson-mapper-asl-1.9.12.jar +0 -0
  25. data/jar/{epubcheck-4.2.2 → epubcheck-4.2.4}/lib/jing-20181222.jar +0 -0
  26. data/jar/{epubcheck-4.2.2 → epubcheck-4.2.4}/lib/jsr305-1.3.9.jar +0 -0
  27. data/jar/{epubcheck-4.2.2 → epubcheck-4.2.4}/lib/sac-1.3.jar +0 -0
  28. data/jar/{epubcheck-4.2.2 → epubcheck-4.2.4}/lib/xercesImpl-2.9.1.jar +0 -0
  29. data/jar/{epubcheck-4.2.2 → epubcheck-4.2.4}/licenses/Apache-2.0.txt +0 -0
  30. data/jar/{epubcheck-4.2.2 → epubcheck-4.2.4}/licenses/BSD-3-Clause.txt +0 -0
  31. data/jar/{epubcheck-4.2.2 → epubcheck-4.2.4}/licenses/MPL-1.0.txt +0 -0
  32. data/jar/{epubcheck-4.2.2 → epubcheck-4.2.4}/licenses/W3C.txt +0 -0
  33. data/lib/epubcheck/ruby/cli.rb +1 -1
  34. data/lib/epubcheck/ruby/version.rb +1 -1
  35. metadata +32 -32
  36. data/jar/epubcheck-4.2.2/epubcheck.jar +0 -0
  37. data/jar/epubcheck-4.2.2/lib/commons-compress-1.18.jar +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 33ec5afce005165f1be684ce86602bde00f6563ec31a0defb4c3edca1acc5bef
4
- data.tar.gz: e08cae6d6e99eee4c7c3a2ac0d01fc33934f9e88d57efdd7166b391ec2e35c3c
3
+ metadata.gz: 483d121145c42b6b0cb2c06eaefe4666529713a6dc986c8c602c740886ec3b35
4
+ data.tar.gz: 2267a2f28dcba53d6f10bfa006c227472d68e6a8e57aa42deab7996628579489
5
5
  SHA512:
6
- metadata.gz: b3182e817ee1e403e600e3ccc4c15275c16813c316720090d4c2c78061512dd2096f617815a04c678561350fdcad7878cbcc2b0d47671b23844fca6893d19ccf
7
- data.tar.gz: fc0c36e000ebfc0cb80e97b917f147b28355793d7edf06f13aa1026c04a7489e43050f9a941855bf50247eadc257640cbb71088b9149b670ad2e35e2b30c119e
6
+ metadata.gz: d2be7080359d55742b16c81ef79d5621a68abef111df3084edd8c55c76e8acb7ec6e1f0e4363daee211868fc1cc6b59bffa3c0201733af39adb045f40d955020
7
+ data.tar.gz: 04754eb1294789d50463230b6b34bb0c09b57ceb47b7d86843fd02c213723e3786c5e17ef0084509069707594f0d01ac2b9de6909f261192045aee205a0d8572
@@ -1,20 +1,25 @@
1
1
  name: Ruby
2
2
 
3
- on: [push]
3
+ on: [push, pull_request]
4
4
 
5
5
  jobs:
6
6
  build:
7
+ strategy:
8
+ matrix:
9
+ ruby: [2.4, 2.5, 2.6, 2.7, jruby]
10
+ platform: [ubuntu-latest, macos-latest, windows-latest]
7
11
 
8
- runs-on: ubuntu-latest
12
+ runs-on: ${{ matrix.platform }}
9
13
 
10
14
  steps:
11
- - uses: actions/checkout@v1
12
- - name: Set up Ruby 2.6
13
- uses: actions/setup-ruby@v1
15
+ - uses: actions/checkout@v2
16
+ - name: Set up Ruby
17
+ uses: eregon/use-ruby-action@master
14
18
  with:
15
- ruby-version: 2.6.x
16
- - name: Build and test with Rake
19
+ ruby-version: ${{ matrix.ruby }}
20
+ - name: Build
17
21
  run: |
18
22
  gem install bundler
19
23
  bundle install --jobs 4 --retry 3
20
- bundle exec rake
24
+ - name: Test
25
+ run: bundle exec rake test
data/README.md CHANGED
@@ -1,6 +1,9 @@
1
1
  # Epubcheck::Ruby
2
2
 
3
- This rubygem provide simple wrapper command of EPUBCheck, epub cheker library in Java by IDPF (https://github.com/IDPF/epubcheck)
3
+ [![Gem Version](https://badge.fury.io/rb/epubcheck-ruby.svg)](https://badge.fury.io/rb/epubcheck-ruby)
4
+ [![GitHub Actions Status](https://github.com/takahashim/epubcheck-ruby/workflows/Ruby/badge.svg)](https://github.com/takahashim/epubcheck-ruby/actions?query=workflow%3ARuby)
5
+
6
+ This rubygem provide simple wrapper command of EPUBCheck, epub cheker library in Java by IDPF (https://github.com/w3c/epubcheck)
4
7
 
5
8
  ## Usage
6
9
 
@@ -33,6 +36,14 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
33
36
 
34
37
  ## History
35
38
 
39
+ ### v4.2.4.0
40
+
41
+ * support EPUBCheck 4.2.4
42
+
43
+ ### v4.2.2.0
44
+
45
+ * support EPUBCheck 4.2.2
46
+
36
47
  ### v4.1.1.0
37
48
 
38
49
  * support EPUBCheck 4.1.1
@@ -1,16 +1,50 @@
1
1
  # EPUBCheck change log
2
2
 
3
- <a name="4.2.2"></a>
4
- # [4.2.2](https://github.com/w3c/epubcheck/compare/v4.2.1...v4.2.2) (2019-07-18)
3
+ <a name="4.2.4"></a>
4
+ ## [4.2.4](https://github.com/w3c/epubcheck/compare/v4.2.3...v4.2.4) (2020-06-23)
5
+
6
+ This is the **latest production-ready** release of EPUBCheck, which provides complete support for checking conformance to the [EPUB 3.2](https://w3c.github.io/publ-epub-revision/epub32/spec/epub-spec.html) family of specifications.
7
+
8
+ Version 4.2.4 is a maintenance release, made by the DAISY Consortium for the W3C. Many thanks to everyone who contributed!
9
+
10
+ This EPUBCheck version is also available in the Maven Central Repository as [`org.w3c:epubcheck:4.2.4`](https://search.maven.org/artifact/org.w3c/epubcheck/4.2.4/jar).
5
11
 
6
- This is the latest **production-ready** release of EPUBCheck, which provides complete support for checking conformance to the [EPUB 3.2](https://w3c.github.io/publ-epub-revision/epub32/spec/epub-spec.html) family of specifications.
12
+ ### Bug Fixes
13
+
14
+ * allow 'doc-dedication' role on 'aside' elements ([023b783](https://github.com/w3c/epubcheck/commit/023b783))
15
+ * allow 'doc-glossary' role on 'section' elements ([12cda43](https://github.com/w3c/epubcheck/commit/12cda43))
7
16
 
8
- Version 4.2.2 is a maintenance release which reverts the `toc` navigation order check to a mere `WARNING` (it was previously an `ERROR`), following the [recent EPUB CG discussion](https://www.w3.org/2019/07/11-epub3cg-minutes.html). It also includes new translations, notably for Traditional Chinese (thank you @davidmaxlee!).
17
+ <a name="4.2.3"></a>
18
+ ## [4.2.3](https://github.com/w3c/epubcheck/compare/v4.2.2...v4.2.3) (2020-06-22)
9
19
 
10
- This release was made by the DAISY Consortium, for the W3C. Many thanks to everyone who contributed!
20
+ ### Features
11
21
 
12
- This EPUBCheck version is also available in the Maven Central Repository as [`org.w3c:epubcheck:4.2.2`](https://search.maven.org/artifact/org.w3c/epubcheck/4.2.2/jar).
22
+ * update HTML schemas from the HTML Checker ([22fa3b1](https://github.com/w3c/epubcheck/commit/22fa3b1)), closes [#1111](https://github.com/w3c/epubcheck/issues/1111)
23
+ * downgrade PKG-012 (non-ASCII filenames) to USAGE ([f368ee5](https://github.com/w3c/epubcheck/commit/f368ee5)), closes [#1097](https://github.com/w3c/epubcheck/issues/1097) (thanks @slonopotamus!)
24
+ * downgrade RSC-004 (cannot decrypt resource) to INFO ([#1136](https://github.com/w3c/epubcheck/issues/1136)) ([e732068](https://github.com/w3c/epubcheck/commit/e732068))
25
+ * report empty `title` elements in XHTML Content Documents ([#1135](https://github.com/w3c/epubcheck/issues/1135)) ([f115730](https://github.com/w3c/epubcheck/commit/f115730)), closes [#1093](https://github.com/w3c/epubcheck/issues/1093)
26
+ * **ARIA:** allow doc-epigraph on 'section' and doc-cover on 'img' ([84a0979](https://github.com/w3c/epubcheck/commit/84a0979))
27
+ * update the XML ouput to the new JHOVE schema ([0b346fd](https://github.com/w3c/epubcheck/commit/0b346fd)) (thanks @tledoux!)
13
28
 
29
+ ### Bug Fixes
30
+
31
+ * avoid `OutOfMemoryError` when computing image size ([929806b](https://github.com/w3c/epubcheck/commit/929806b)) (thanks @DocJM!)
32
+ * fail gracefully when running on a non-EPUB file ([#1134](https://github.com/w3c/epubcheck/issues/1134)) ([2083f05](https://github.com/w3c/epubcheck/commit/2083f05)), closes [#1050](https://github.com/w3c/epubcheck/issues/1050)
33
+ * allow 'a11y:certifierCredential' as a link ([484786f](https://github.com/w3c/epubcheck/commit/484786f)), closes [#1140](https://github.com/w3c/epubcheck/issues/1140)
34
+ * allow foreign namespaces in EPUB 2 SVGs ([e3ffc37](https://github.com/w3c/epubcheck/commit/e3ffc37))
35
+
36
+
37
+ ### Other Improvements
38
+
39
+ * improve reporting of invalid URL host parts ([d2728ee](https://github.com/w3c/epubcheck/commit/d2728ee)), closes [#1034](https://github.com/w3c/epubcheck/issues/1034) [#1079](https://github.com/w3c/epubcheck/issues/1079)
40
+ * harmonize quotes usage in messages ([#1132](https://github.com/w3c/epubcheck/issues/1132)) ([659ab76](https://github.com/w3c/epubcheck/commit/659ab76)), closes [#1071](https://github.com/w3c/epubcheck/issues/1071)
41
+ * add an Automatic-Module-Name entry to the jar manifest ([ee06724](https://github.com/w3c/epubcheck/commit/ee06724)), closes [#1128](https://github.com/w3c/epubcheck/issues/1128) (thanks @io7m!)
42
+ * **deps** upgrade commons-compress to v1.20 to remediate CVE-2019-12402 ([928c26a](https://github.com/w3c/epubcheck/commit/928c26a)), closes [#1078](https://github.com/w3c/epubcheck/issues/1078)
43
+ * **deps** upgrade guava to v24.1.1 to remediate CVE-2018-10237 ([cec01fe](https://github.com/w3c/epubcheck/commit/cec01fe))
44
+
45
+
46
+ <a name="4.2.2"></a>
47
+ ## [4.2.2](https://github.com/w3c/epubcheck/compare/v4.2.1...v4.2.2) (2019-07-18)
14
48
 
15
49
  ### Localization
16
50
 
@@ -7,7 +7,7 @@ Licenses of third-party dependencies
7
7
  error-prone annotations, 2.1.3
8
8
  Apache 2.0
9
9
 
10
- Guava: Google Core Libraries for Java, 24.0-android
10
+ Guava: Google Core Libraries for Java, 24.1.1-android
11
11
  The Apache Software License, Version 2.0
12
12
 
13
13
  J2ObjC Annotations, 1.1
@@ -37,7 +37,7 @@ Licenses of third-party dependencies
37
37
  Saxon-HE, 9.8.0-8
38
38
  Mozilla Public License Version 2.0
39
39
 
40
- Apache Commons Compress, 1.18
40
+ Apache Commons Compress, 1.20
41
41
  Apache License, Version 2.0
42
42
 
43
43
  Checker Qual, 2.0.0
@@ -3,7 +3,7 @@ require 'epubcheck/ruby'
3
3
  module Epubcheck
4
4
  module Ruby
5
5
  class CLI
6
- JAR_FILE = File.join(Epubcheck::Ruby::JAR_DIR, 'epubcheck-4.2.2/epubcheck.jar')
6
+ JAR_FILE = File.join(Epubcheck::Ruby::JAR_DIR, 'epubcheck-4.2.4/epubcheck.jar')
7
7
 
8
8
  def initialize
9
9
  end
@@ -1,5 +1,5 @@
1
1
  module Epubcheck
2
2
  module Ruby
3
- VERSION = "4.2.2.0"
3
+ VERSION = "4.2.4.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epubcheck-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.2.0
4
+ version: 4.2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - takahashim
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-12-26 00:00:00.000000000 Z
11
+ date: 2020-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -70,35 +70,35 @@ files:
70
70
  - bin/setup
71
71
  - epubcheck-ruby.gemspec
72
72
  - exe/epubcheck
73
- - jar/epubcheck-4.2.2/CHANGELOG.txt
74
- - jar/epubcheck-4.2.2/LICENSE.txt
75
- - jar/epubcheck-4.2.2/README.txt
76
- - jar/epubcheck-4.2.2/THIRD-PARTY.txt
77
- - jar/epubcheck-4.2.2/epubcheck.jar
78
- - jar/epubcheck-4.2.2/lib/Saxon-HE-9.8.0-8.jar
79
- - jar/epubcheck-4.2.2/lib/animal-sniffer-annotations-1.14.jar
80
- - jar/epubcheck-4.2.2/lib/checker-compat-qual-2.0.0.jar
81
- - jar/epubcheck-4.2.2/lib/common-image-3.4.1.jar
82
- - jar/epubcheck-4.2.2/lib/common-io-3.4.1.jar
83
- - jar/epubcheck-4.2.2/lib/common-lang-3.4.1.jar
84
- - jar/epubcheck-4.2.2/lib/commons-compress-1.18.jar
85
- - jar/epubcheck-4.2.2/lib/error_prone_annotations-2.1.3.jar
86
- - jar/epubcheck-4.2.2/lib/guava-24.0-android.jar
87
- - jar/epubcheck-4.2.2/lib/imageio-core-3.4.1.jar
88
- - jar/epubcheck-4.2.2/lib/imageio-jpeg-3.4.1.jar
89
- - jar/epubcheck-4.2.2/lib/imageio-metadata-3.4.1.jar
90
- - jar/epubcheck-4.2.2/lib/isorelax-20030108.jar
91
- - jar/epubcheck-4.2.2/lib/j2objc-annotations-1.1.jar
92
- - jar/epubcheck-4.2.2/lib/jackson-core-asl-1.9.12.jar
93
- - jar/epubcheck-4.2.2/lib/jackson-mapper-asl-1.9.12.jar
94
- - jar/epubcheck-4.2.2/lib/jing-20181222.jar
95
- - jar/epubcheck-4.2.2/lib/jsr305-1.3.9.jar
96
- - jar/epubcheck-4.2.2/lib/sac-1.3.jar
97
- - jar/epubcheck-4.2.2/lib/xercesImpl-2.9.1.jar
98
- - jar/epubcheck-4.2.2/licenses/Apache-2.0.txt
99
- - jar/epubcheck-4.2.2/licenses/BSD-3-Clause.txt
100
- - jar/epubcheck-4.2.2/licenses/MPL-1.0.txt
101
- - jar/epubcheck-4.2.2/licenses/W3C.txt
73
+ - jar/epubcheck-4.2.4/CHANGELOG.txt
74
+ - jar/epubcheck-4.2.4/LICENSE.txt
75
+ - jar/epubcheck-4.2.4/README.txt
76
+ - jar/epubcheck-4.2.4/THIRD-PARTY.txt
77
+ - jar/epubcheck-4.2.4/epubcheck.jar
78
+ - jar/epubcheck-4.2.4/lib/Saxon-HE-9.8.0-8.jar
79
+ - jar/epubcheck-4.2.4/lib/animal-sniffer-annotations-1.14.jar
80
+ - jar/epubcheck-4.2.4/lib/checker-compat-qual-2.0.0.jar
81
+ - jar/epubcheck-4.2.4/lib/common-image-3.4.1.jar
82
+ - jar/epubcheck-4.2.4/lib/common-io-3.4.1.jar
83
+ - jar/epubcheck-4.2.4/lib/common-lang-3.4.1.jar
84
+ - jar/epubcheck-4.2.4/lib/commons-compress-1.20.jar
85
+ - jar/epubcheck-4.2.4/lib/error_prone_annotations-2.1.3.jar
86
+ - jar/epubcheck-4.2.4/lib/guava-24.1.1-android.jar
87
+ - jar/epubcheck-4.2.4/lib/imageio-core-3.4.1.jar
88
+ - jar/epubcheck-4.2.4/lib/imageio-jpeg-3.4.1.jar
89
+ - jar/epubcheck-4.2.4/lib/imageio-metadata-3.4.1.jar
90
+ - jar/epubcheck-4.2.4/lib/isorelax-20030108.jar
91
+ - jar/epubcheck-4.2.4/lib/j2objc-annotations-1.1.jar
92
+ - jar/epubcheck-4.2.4/lib/jackson-core-asl-1.9.12.jar
93
+ - jar/epubcheck-4.2.4/lib/jackson-mapper-asl-1.9.12.jar
94
+ - jar/epubcheck-4.2.4/lib/jing-20181222.jar
95
+ - jar/epubcheck-4.2.4/lib/jsr305-1.3.9.jar
96
+ - jar/epubcheck-4.2.4/lib/sac-1.3.jar
97
+ - jar/epubcheck-4.2.4/lib/xercesImpl-2.9.1.jar
98
+ - jar/epubcheck-4.2.4/licenses/Apache-2.0.txt
99
+ - jar/epubcheck-4.2.4/licenses/BSD-3-Clause.txt
100
+ - jar/epubcheck-4.2.4/licenses/MPL-1.0.txt
101
+ - jar/epubcheck-4.2.4/licenses/W3C.txt
102
102
  - lib/epubcheck/ruby.rb
103
103
  - lib/epubcheck/ruby/cli.rb
104
104
  - lib/epubcheck/ruby/version.rb
@@ -121,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
121
121
  - !ruby/object:Gem::Version
122
122
  version: '0'
123
123
  requirements: []
124
- rubygems_version: 3.1.0.pre3
124
+ rubygems_version: 3.1.2
125
125
  signing_key:
126
126
  specification_version: 4
127
127
  summary: wrapper command of epubcheck (W3C)