gepub 0.7.0beta2 → 0.7.0beta3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +1 -2
  3. data/lib/gepub/book.rb +5 -3
  4. data/lib/gepub/item.rb +6 -4
  5. data/lib/gepub/version.rb +1 -1
  6. data/spec/book_spec.rb +9 -0
  7. data/spec/example_spec.rb +2 -2
  8. data/spec/fixtures/{epubcheck-3.0.1 → epubcheck-4.0.0}/COPYING.txt +0 -0
  9. data/spec/fixtures/{epubcheck-3.0.1 → epubcheck-4.0.0}/README.txt +15 -5
  10. data/spec/fixtures/epubcheck-4.0.0/THIRD-PARTY.txt +44 -0
  11. data/spec/fixtures/epubcheck-4.0.0/epubcheck.jar +0 -0
  12. data/spec/fixtures/{epubcheck-3.0.1/lib/Saxon-HE-9.4.0.6.jar → epubcheck-4.0.0/lib/Saxon-HE-9.5.1-5.jar} +0 -0
  13. data/spec/fixtures/epubcheck-4.0.0/lib/common-image-3.1.2.jar +0 -0
  14. data/spec/fixtures/epubcheck-4.0.0/lib/common-io-3.1.2.jar +0 -0
  15. data/spec/fixtures/epubcheck-4.0.0/lib/common-lang-3.1.2.jar +0 -0
  16. data/spec/fixtures/epubcheck-4.0.0/lib/commons-compress-1.5.jar +0 -0
  17. data/spec/fixtures/epubcheck-4.0.0/lib/guava-14.0.1.jar +0 -0
  18. data/spec/fixtures/epubcheck-4.0.0/lib/imageio-core-3.1.2.jar +0 -0
  19. data/spec/fixtures/epubcheck-4.0.0/lib/imageio-jpeg-3.1.2.jar +0 -0
  20. data/spec/fixtures/epubcheck-4.0.0/lib/imageio-metadata-3.1.2.jar +0 -0
  21. data/spec/fixtures/epubcheck-4.0.0/lib/jackson-core-asl-1.9.12.jar +0 -0
  22. data/spec/fixtures/epubcheck-4.0.0/lib/jackson-mapper-asl-1.9.12.jar +0 -0
  23. data/spec/fixtures/{epubcheck-3.0.1 → epubcheck-4.0.0}/lib/jing-20120724.0.0.jar +0 -0
  24. data/spec/fixtures/{epubcheck-3.0.1 → epubcheck-4.0.0}/lib/sac-1.3.jar +0 -0
  25. data/spec/fixtures/{epubcheck-3.0.1 → epubcheck-4.0.0}/licenses/Apache-2.0.txt +0 -0
  26. data/spec/fixtures/{epubcheck-3.0.1 → epubcheck-4.0.0}/licenses/BSD-3-Clause.txt +0 -0
  27. data/spec/fixtures/{epubcheck-3.0.1 → epubcheck-4.0.0}/licenses/MPL-1.0.txt +0 -0
  28. data/spec/fixtures/{epubcheck-3.0.1 → epubcheck-4.0.0}/licenses/W3C.txt +0 -0
  29. data/spec/gepub_spec.rb +23 -2
  30. data/spec/spec_helper.rb +2 -2
  31. metadata +44 -28
  32. data/spec/fixtures/epubcheck-3.0.1/THIRD-PARTY.txt +0 -20
  33. data/spec/fixtures/epubcheck-3.0.1/epubcheck-3.0.1.jar +0 -0
  34. data/spec/fixtures/epubcheck-3.0.1/lib/commons-compress-1.4.1.jar +0 -0
  35. data/spec/fixtures/epubcheck-3.0.1/lib/guava-13.0.1.jar +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b2afcf92b07b1b44821ac597b73dcc8294fb185c
4
- data.tar.gz: f6019eace6b777af7b2339df1921aaaa3b29cdde
3
+ metadata.gz: 833f05ede33a71bba649b8ccde78e0a8caf475c3
4
+ data.tar.gz: 26d1584dcdf16d87c42090f1803993802739cb23
5
5
  SHA512:
6
- metadata.gz: b0737564831bfb33d14959ead4304e2c1b43bbe5aabca34700da7d47357c1c0f606d81fc6added90846c16b203833570e7de00f791f92e6fde0b00017fbdedcf
7
- data.tar.gz: f213252ad81213d2680d653a4254951a979ea91893e1bfc625490398525401a3bf9d6240e7fa25ccaa11a8f90e88ebcec33f62d92641cf11c655b7abcf8b29d1
6
+ metadata.gz: df4d06a93c4caf45e41ac8929b45b68649afd49bf20d70dd93b264d42526f35f54e4d8f856fa43b247f5fd721fbc2177355c6f170d94ef892c5b07e8b707db64
7
+ data.tar.gz: 943567fcabc8ef69866f39219fd1149eb4c790aaa00bd3313762bf76f01431dc8382caaa2c483d46b18cfa17ea94c59aab8dbc513e464dfc69f2b3f097aa96c8
data/.travis.yml CHANGED
@@ -1,6 +1,5 @@
1
1
  language: ruby
2
2
  rvm:
3
3
  - 1.9.3
4
- - 2.0.0
5
- - 2.1.0
4
+ - 2.2.2
6
5
  script: bundle exec rake spec
data/lib/gepub/book.rb CHANGED
@@ -279,7 +279,7 @@ EOF
279
279
  end
280
280
 
281
281
  def generate_nav_doc(title = 'Table of Contents')
282
- add_item('nav.html', StringIO.new(nav_doc(title)), 'nav').add_property('nav')
282
+ add_item('nav.xhtml', StringIO.new(nav_doc(title)), 'nav').add_property('nav')
283
283
  end
284
284
 
285
285
  def nav_doc(title = 'Table of Contents')
@@ -307,8 +307,10 @@ EOF
307
307
  tocs.each {
308
308
  |x|
309
309
  id = x[:id].nil? ? "" : "##{x[:id]}"
310
+ toc_text = x[:text]
311
+ toc_text = x[:item].href if toc_text.nil? or toc_text == ''
310
312
  xml_doc.li {
311
- xml_doc.a({'href' => x[:item].href + id} ,x[:text])
313
+ xml_doc.a({'href' => x[:item].href + id} ,toc_text)
312
314
  if x[:child_stack] && x[:child_stack][:tocs].size > 0
313
315
  write_toc(xml_doc, x[:child_stack][:tocs])
314
316
  end
@@ -349,7 +351,7 @@ EOF
349
351
  xml.navMap {
350
352
  @toc.each {
351
353
  |x|
352
- xml.navPoint('id' => "#{x[:item].itemid}##{x[:id]}", 'playOrder' => "#{count}") {
354
+ xml.navPoint('id' => "#{x[:item].itemid}_#{x[:id]}", 'playOrder' => "#{count}") {
353
355
  xml.navLabel {
354
356
  xml.text_ "#{x[:text]}"
355
357
  }
data/lib/gepub/item.rb CHANGED
@@ -73,19 +73,20 @@ module GEPUB
73
73
 
74
74
  # guess and set content property from contents.
75
75
  def guess_content_property
76
- if File.extname(self.href) =~ /.x?html/
76
+ if File.extname(self.href) =~ /.x?html/ && @attributes['media-type'] === 'application/xhtml+xml'
77
77
  @attributes['properties'] = (@attributes['properties'] || []).reject {
78
78
  |x| x == 'svg' || x == 'mathml' || x == 'switch' || x == 'remote-resources'
79
79
  }
80
80
  parsed = Nokogiri::XML::Document.parse(@content)
81
+ return unless parsed.root.node_name === "html"
81
82
  ns_prefix = parsed.namespaces.invert['http://www.w3.org/1999/xhtml']
82
83
  if ns_prefix.nil?
83
84
  prefix = ''
84
85
  else
85
86
  prefix = "#{ns_prefix}:"
86
87
  end
87
- videos = parsed.xpath("//#{prefix}video[starts-with(@src,'http')]")
88
- audios = parsed.xpath("//#{prefix}audio[starts-with(@src,'http')]")
88
+ videos = parsed.xpath("//#{prefix}video[starts-with(@src,'http')]") + parsed.xpath("//#{prefix}video/#{prefix}source[starts-with(@src,'http')]")
89
+ audios = parsed.xpath("//#{prefix}audio[starts-with(@src,'http')]") + parsed.xpath("//#{prefix}audio/#{prefix}source[starts-with(@src,'http')]")
89
90
  if videos.size > 0 || audios.size > 0
90
91
  self.add_property('remote-resources')
91
92
  end
@@ -98,7 +99,8 @@ module GEPUB
98
99
  if parsed.xpath("//epub:switch", { 'epub' => 'http://www.idpf.org/2007/ops' }).size > 0
99
100
  self.add_property('switch')
100
101
  end
101
- if parsed.xpath("//#{prefix}script").size > 0
102
+ scripts = parsed.xpath("//#{prefix}script") + parsed.xpath("//#{prefix}form")
103
+ if scripts.size > 0
102
104
  self.add_property('scripted')
103
105
  end
104
106
  end
data/lib/gepub/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module GEPUB
2
2
  # GEPUB gem version
3
- VERSION = "0.7.0beta2"
3
+ VERSION = "0.7.0beta3"
4
4
  end
data/spec/book_spec.rb CHANGED
@@ -291,6 +291,15 @@ describe GEPUB::Book do
291
291
  filehandle = File.new(File.dirname(__FILE__) + '/fixtures/testdata/wasteland-20120118.epub')
292
292
  book = GEPUB::Book.parse(filehandle)
293
293
  expect(book).to be_instance_of GEPUB::Book
294
+ expect(book.items.size).to eq 6
295
+ expect(book.items['t1'].href).to eq 'wasteland-content.xhtml'
296
+ expect(book.items['nav'].href).to eq 'wasteland-nav.xhtml'
297
+ expect(book.items['cover'].href).to eq 'wasteland-cover.jpg'
298
+ expect(book.items['css'].href).to eq 'wasteland.css'
299
+ expect(book.items['css-night'].href).to eq 'wasteland-night.css'
300
+ expect(book.items['ncx'].href).to eq 'wasteland.ncx'
301
+ expect(book.spine_items.size).to eq 1
302
+ expect(book.spine_items[0].href).to eq 'wasteland-content.xhtml'
294
303
  end
295
304
  end
296
305
  end
data/spec/example_spec.rb CHANGED
@@ -28,7 +28,7 @@ describe 'GEPUB usage' do
28
28
  file 'text/chap1.xhtml' => StringIO.new('<html xmlns="http://www.w3.org/1999/xhtml"><head><title>c1</title></head><body><p>the first page</p></body></html>')
29
29
  heading 'Chapter 1'
30
30
  file 'text/chap1-1.xhtml' => StringIO.new('<html xmlns="http://www.w3.org/1999/xhtml"><head><title>c2</title></head><body><p>the second page</p></body></html>')
31
- file 'text/chap2.html' => StringIO.new('<html xmlns="http://www.w3.org/1999/xhtml"><head><title>c3</title></head><body><p>the third page</p></body></html>')
31
+ file 'text/chap2.xhtml' => StringIO.new('<html xmlns="http://www.w3.org/1999/xhtml"><head><title>c3</title></head><body><p>the third page</p></body></html>')
32
32
  heading 'Chapter 2'
33
33
  }
34
34
  }
@@ -59,7 +59,7 @@ describe 'GEPUB usage' do
59
59
  file 'text/chap1.xhtml' => StringIO.new('<html xmlns="http://www.w3.org/1999/xhtml"><head><title>c1</title></head><body><p>the first page</p></body></html>')
60
60
  heading 'Chapter 1'
61
61
  file 'text/chap1-1.xhtml' => StringIO.new('<html xmlns="http://www.w3.org/1999/xhtml"><head><title>c2</title></head><body><p>the second page</p></body></html>')
62
- file 'text/chap2.html' => StringIO.new('<html xmlns="http://www.w3.org/1999/xhtml"><head><title>c3</title></head><body><p>the third page</p></body></html>')
62
+ file 'text/chap2.xhtml' => StringIO.new('<html xmlns="http://www.w3.org/1999/xhtml"><head><title>c3</title></head><body><p>the third page</p></body></html>')
63
63
  heading 'Chapter 2'
64
64
  }
65
65
  }
@@ -6,17 +6,19 @@ and internal reference consistency are checked. EpubCheck can be run
6
6
  as a standalone command-line tool, installed as a web application or
7
7
  used as a library.
8
8
 
9
- Epubcheck project home: http://code.google.com/p/epubcheck/
9
+ EpubCheck project home: https://github.com/idpf/epubcheck
10
+
10
11
 
11
12
  RUNNING
12
13
 
13
- To run the tool you need Java Runtime (1.5 or above). Any OS should do. Run
14
+ To run the tool you need Java Runtime (1.6 or above). Any OS should do. Run
14
15
  it from the command line:
15
16
 
16
- java -jar epubcheck-x.x.x.jar file.epub
17
+ java -jar epubcheck.jar file.epub
17
18
 
18
19
  All detected errors are simply printed to stderr.
19
20
 
21
+
20
22
  USING AS A LIBRARY
21
23
 
22
24
  You can also use EpubCheck as a library in your Java application. EpubCheck
@@ -26,10 +28,12 @@ constructors and then call validate() method. Report is an interface that
26
28
  you can implement to get a list of the errors and warnings reported by the
27
29
  validation engine (instead of the error list being printed out).
28
30
 
31
+
29
32
  LICENSING
30
33
 
31
34
  See COPYING.txt and THIRD-PARTY.txt
32
35
 
36
+
33
37
  AUTHORS / CONTRIBUTORS
34
38
 
35
39
  Peter Sorotokin
@@ -37,13 +41,19 @@ Garth Conboy
37
41
  Markus Gylling
38
42
  Piotr Kula
39
43
  Paul Norton
40
- Liza Daly
41
44
  Jessica Hekman
45
+ Liza Daly
42
46
  George Bina
43
47
  Bogdan Iordache
44
48
  Ionut-Maxim Margelatu
45
- Thomas Ledoux
46
49
  Romain Deltour
50
+ Thomas Ledoux
51
+ Tobias Fischer
52
+ Steve Antoch
53
+ Arwen Pond
54
+ Masayoshi Takahashi
55
+ Satoshi KOJIMA
56
+
47
57
 
48
58
  Most of the EpubCheck functionality comes from the schema validation tool Jing
49
59
  and schemas that were developed by IDPF and DAISY. EpubCheck development was
@@ -0,0 +1,44 @@
1
+ Licenses of third-party dependencies
2
+ ------------------------------------
3
+
4
+ Guava: Google Core Libraries for Java, 14.0.1
5
+ The Apache Software License, Version 2.0
6
+
7
+ TwelveMonkeys :: Common :: Image, 3.1.2
8
+ New BSD License
9
+
10
+ TwelveMonkeys :: Common :: IO, 3.1.2
11
+ New BSD License
12
+
13
+ TwelveMonkeys :: Common :: Language support, 3.1.2
14
+ New BSD License
15
+
16
+ TwelveMonkeys :: ImageIO :: Core, 3.1.2
17
+ New BSD License
18
+
19
+ TwelveMonkeys :: ImageIO :: JPEG plugin, 3.1.2
20
+ New BSD License
21
+
22
+ TwelveMonkeys :: ImageIO :: Metadata, 3.1.2
23
+ New BSD License
24
+
25
+ Saxon-HE, 9.5.1-5
26
+ Mozilla Public License Version 2.0
27
+
28
+ Commons Compress, 1.5
29
+ The Apache Software License, Version 2.0
30
+
31
+ Jackson, 1.9.12
32
+ The Apache Software License, Version 2.0
33
+
34
+ Data Mapper for Jackson, 1.9.12
35
+ The Apache Software License, Version 2.0
36
+
37
+ Jing, 20120724.0.0
38
+ New BSD License
39
+
40
+ Simple API for CSS, 1.3
41
+ The W3C Software License
42
+
43
+
44
+ Copies of the licenses are provided in the 'licenses' directory.
data/spec/gepub_spec.rb CHANGED
@@ -78,7 +78,7 @@ describe GEPUB::Book do
78
78
  </body>
79
79
  </html>
80
80
  EOF
81
- item3 = @book.add_ordered_item('text/nav.html', StringIO.new(nav_string), 'nav').add_property('nav')
81
+ item3 = @book.add_ordered_item('text/nav.xhtml', StringIO.new(nav_string), 'nav').add_property('nav')
82
82
  end
83
83
 
84
84
  it "should have titile" do
@@ -113,7 +113,7 @@ EOF
113
113
 
114
114
  expect(ncx.xpath('xmlns:navMap').size).to be > 0
115
115
  nav_point = ncx.at_xpath('xmlns:navMap/xmlns:navPoint')
116
- expect(nav_point['id']).to eq('c2#')
116
+ expect(nav_point['id']).to eq('c2_')
117
117
  expect(nav_point['playOrder']).to eq('1')
118
118
 
119
119
  expect(nav_point.at_xpath('xmlns:navLabel/xmlns:text').content).to eq('test chapter')
@@ -205,4 +205,25 @@ EOF
205
205
  @book.generate_epub(epubname)
206
206
  epubcheck(epubname)
207
207
  end
208
+
209
+ it 'should generate valid EPUB when @toc is empty' do
210
+ epubname = File.join(File.dirname(__FILE__), 'testepub4.epub')
211
+ @book = GEPUB::Book.new('OEPBS/package.opf', { 'version' => '3.0'} )
212
+ @book.title = 'thetitle'
213
+ @book.creator = "theauthor"
214
+ @book.contributor = "contributors contributors!"
215
+ @book.publisher = "thepublisher"
216
+ @book.date = "2015-05-05"
217
+ @book.identifier = "http://example.jp/foobar/"
218
+ @book.language = 'ja'
219
+ item1 = @book.add_item('text/foobar.xhtml',nil, 'c1')
220
+ item1.add_content(StringIO.new('<html xmlns="http://www.w3.org/1999/xhtml"><head><title>c1</title></head><body><p>the first page</p></body></html>'))
221
+ @book.spine.push(item1)
222
+ item2 = @book.add_ordered_item('text/barbar.xhtml',
223
+ StringIO.new('<html xmlns="http://www.w3.org/1999/xhtml"><head><title>c2</title></head><body><p>second page, whith is test chapter.</p></body></html>'),
224
+ 'c2')
225
+ @book.generate_epub(epubname)
226
+ epubcheck(epubname)
227
+
228
+ end
208
229
  end
data/spec/spec_helper.rb CHANGED
@@ -32,9 +32,9 @@ RSpec.configure do |config|
32
32
  end
33
33
 
34
34
  def epubcheck(epubname)
35
- jar = File.join(File.dirname(__FILE__), 'fixtures/epubcheck-3.0.1/epubcheck-3.0.1.jar')
35
+ jar = File.join(File.dirname(__FILE__), 'fixtures/epubcheck-4.0.0/epubcheck.jar')
36
36
  stdout = capture(:stdout) do
37
- puts %x(java -jar #{jar} #{epubname})
37
+ puts %x(java -Duser.language=en -jar #{jar} #{epubname})
38
38
  end
39
39
  expect(stdout).to include("No errors or warnings detected.")
40
40
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gepub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0beta2
4
+ version: 0.7.0beta3
5
5
  platform: ruby
6
6
  authors:
7
7
  - KOJIMA Satoshi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-07 00:00:00.000000000 Z
11
+ date: 2015-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -121,19 +121,27 @@ files:
121
121
  - spec/fixtures/builder/text/localresource.conf
122
122
  - spec/fixtures/builder/text/memo.txt
123
123
  - spec/fixtures/builder/text/nav.xhtml
124
- - spec/fixtures/epubcheck-3.0.1/COPYING.txt
125
- - spec/fixtures/epubcheck-3.0.1/README.txt
126
- - spec/fixtures/epubcheck-3.0.1/THIRD-PARTY.txt
127
- - spec/fixtures/epubcheck-3.0.1/epubcheck-3.0.1.jar
128
- - spec/fixtures/epubcheck-3.0.1/lib/Saxon-HE-9.4.0.6.jar
129
- - spec/fixtures/epubcheck-3.0.1/lib/commons-compress-1.4.1.jar
130
- - spec/fixtures/epubcheck-3.0.1/lib/guava-13.0.1.jar
131
- - spec/fixtures/epubcheck-3.0.1/lib/jing-20120724.0.0.jar
132
- - spec/fixtures/epubcheck-3.0.1/lib/sac-1.3.jar
133
- - spec/fixtures/epubcheck-3.0.1/licenses/Apache-2.0.txt
134
- - spec/fixtures/epubcheck-3.0.1/licenses/BSD-3-Clause.txt
135
- - spec/fixtures/epubcheck-3.0.1/licenses/MPL-1.0.txt
136
- - spec/fixtures/epubcheck-3.0.1/licenses/W3C.txt
124
+ - spec/fixtures/epubcheck-4.0.0/COPYING.txt
125
+ - spec/fixtures/epubcheck-4.0.0/README.txt
126
+ - spec/fixtures/epubcheck-4.0.0/THIRD-PARTY.txt
127
+ - spec/fixtures/epubcheck-4.0.0/epubcheck.jar
128
+ - spec/fixtures/epubcheck-4.0.0/lib/Saxon-HE-9.5.1-5.jar
129
+ - spec/fixtures/epubcheck-4.0.0/lib/common-image-3.1.2.jar
130
+ - spec/fixtures/epubcheck-4.0.0/lib/common-io-3.1.2.jar
131
+ - spec/fixtures/epubcheck-4.0.0/lib/common-lang-3.1.2.jar
132
+ - spec/fixtures/epubcheck-4.0.0/lib/commons-compress-1.5.jar
133
+ - spec/fixtures/epubcheck-4.0.0/lib/guava-14.0.1.jar
134
+ - spec/fixtures/epubcheck-4.0.0/lib/imageio-core-3.1.2.jar
135
+ - spec/fixtures/epubcheck-4.0.0/lib/imageio-jpeg-3.1.2.jar
136
+ - spec/fixtures/epubcheck-4.0.0/lib/imageio-metadata-3.1.2.jar
137
+ - spec/fixtures/epubcheck-4.0.0/lib/jackson-core-asl-1.9.12.jar
138
+ - spec/fixtures/epubcheck-4.0.0/lib/jackson-mapper-asl-1.9.12.jar
139
+ - spec/fixtures/epubcheck-4.0.0/lib/jing-20120724.0.0.jar
140
+ - spec/fixtures/epubcheck-4.0.0/lib/sac-1.3.jar
141
+ - spec/fixtures/epubcheck-4.0.0/licenses/Apache-2.0.txt
142
+ - spec/fixtures/epubcheck-4.0.0/licenses/BSD-3-Clause.txt
143
+ - spec/fixtures/epubcheck-4.0.0/licenses/MPL-1.0.txt
144
+ - spec/fixtures/epubcheck-4.0.0/licenses/W3C.txt
137
145
  - spec/fixtures/testdata/0.html
138
146
  - spec/fixtures/testdata/1.html
139
147
  - spec/fixtures/testdata/image1.jpg
@@ -183,19 +191,27 @@ test_files:
183
191
  - spec/fixtures/builder/text/localresource.conf
184
192
  - spec/fixtures/builder/text/memo.txt
185
193
  - spec/fixtures/builder/text/nav.xhtml
186
- - spec/fixtures/epubcheck-3.0.1/COPYING.txt
187
- - spec/fixtures/epubcheck-3.0.1/README.txt
188
- - spec/fixtures/epubcheck-3.0.1/THIRD-PARTY.txt
189
- - spec/fixtures/epubcheck-3.0.1/epubcheck-3.0.1.jar
190
- - spec/fixtures/epubcheck-3.0.1/lib/Saxon-HE-9.4.0.6.jar
191
- - spec/fixtures/epubcheck-3.0.1/lib/commons-compress-1.4.1.jar
192
- - spec/fixtures/epubcheck-3.0.1/lib/guava-13.0.1.jar
193
- - spec/fixtures/epubcheck-3.0.1/lib/jing-20120724.0.0.jar
194
- - spec/fixtures/epubcheck-3.0.1/lib/sac-1.3.jar
195
- - spec/fixtures/epubcheck-3.0.1/licenses/Apache-2.0.txt
196
- - spec/fixtures/epubcheck-3.0.1/licenses/BSD-3-Clause.txt
197
- - spec/fixtures/epubcheck-3.0.1/licenses/MPL-1.0.txt
198
- - spec/fixtures/epubcheck-3.0.1/licenses/W3C.txt
194
+ - spec/fixtures/epubcheck-4.0.0/COPYING.txt
195
+ - spec/fixtures/epubcheck-4.0.0/README.txt
196
+ - spec/fixtures/epubcheck-4.0.0/THIRD-PARTY.txt
197
+ - spec/fixtures/epubcheck-4.0.0/epubcheck.jar
198
+ - spec/fixtures/epubcheck-4.0.0/lib/Saxon-HE-9.5.1-5.jar
199
+ - spec/fixtures/epubcheck-4.0.0/lib/common-image-3.1.2.jar
200
+ - spec/fixtures/epubcheck-4.0.0/lib/common-io-3.1.2.jar
201
+ - spec/fixtures/epubcheck-4.0.0/lib/common-lang-3.1.2.jar
202
+ - spec/fixtures/epubcheck-4.0.0/lib/commons-compress-1.5.jar
203
+ - spec/fixtures/epubcheck-4.0.0/lib/guava-14.0.1.jar
204
+ - spec/fixtures/epubcheck-4.0.0/lib/imageio-core-3.1.2.jar
205
+ - spec/fixtures/epubcheck-4.0.0/lib/imageio-jpeg-3.1.2.jar
206
+ - spec/fixtures/epubcheck-4.0.0/lib/imageio-metadata-3.1.2.jar
207
+ - spec/fixtures/epubcheck-4.0.0/lib/jackson-core-asl-1.9.12.jar
208
+ - spec/fixtures/epubcheck-4.0.0/lib/jackson-mapper-asl-1.9.12.jar
209
+ - spec/fixtures/epubcheck-4.0.0/lib/jing-20120724.0.0.jar
210
+ - spec/fixtures/epubcheck-4.0.0/lib/sac-1.3.jar
211
+ - spec/fixtures/epubcheck-4.0.0/licenses/Apache-2.0.txt
212
+ - spec/fixtures/epubcheck-4.0.0/licenses/BSD-3-Clause.txt
213
+ - spec/fixtures/epubcheck-4.0.0/licenses/MPL-1.0.txt
214
+ - spec/fixtures/epubcheck-4.0.0/licenses/W3C.txt
199
215
  - spec/fixtures/testdata/0.html
200
216
  - spec/fixtures/testdata/1.html
201
217
  - spec/fixtures/testdata/image1.jpg
@@ -1,20 +0,0 @@
1
- Licenses of third-party dependencies
2
- ------------------------------------
3
-
4
- Guava: Google Core Libraries for Java, 13.0.1
5
- The Apache Software License, Version 2.0
6
-
7
- Saxon-HE, 9.4.0.6
8
- Mozilla Public License Version 1.0
9
-
10
- Commons Compress, 1.4.1
11
- The Apache Software License, Version 2.0
12
-
13
- Jing, 20120724.0.0
14
- New BSD License
15
-
16
- Simple API for CSS, 1.3
17
- The W3C Software License
18
-
19
-
20
- Copies of the licenses are provided in the 'licenses' directory.