newspaper_works_fixtures 0.3.0 → 0.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f9ba6498fb2a01749ad7c3d151d21ea1104840cdde8fb9027379f278522665e3
4
- data.tar.gz: 6f223cf8bd3610ed00deb861989db8349b46c5e35736c4dfbdac0a1055e3ef8d
3
+ metadata.gz: b6de3c765c402d488acdb4ec483738e35b90bb5c478459846c09ea11791f70f2
4
+ data.tar.gz: 311a89807224fb3b539829cdd9ec66207659a48fe8ecafc9bc9571c9cedce7c3
5
5
  SHA512:
6
- metadata.gz: 51366b43d15d130e5cd02107964412f6d71319413014229619f666764ff5031d6df4b4a348963bd3c7d443310509e6c6b13cd7c1d6af8c3789ac0bded632a89f
7
- data.tar.gz: 395e113f45e7d914197d6958f17e2e088efc93099a85b148adae6e3e6ae04b152d80a8183044bd4d447586d759ac2388c3023a58f29e5747e1cc5cb8de93f66e
6
+ metadata.gz: 005d390d3cdea24f73b63a5e312c05a6bce97a36440e8d90408f8f43e223bb328fc846edc6f14750596d80ebd91fd67d42bc332fca3279158213c8f5c8fd486d
7
+ data.tar.gz: a6121e400580e87927c6053fae3a0dde07e619b5a31cd32f097d49d0654e176bd27a049a43fce7ac1cf247a6fa0410378e5f4d1b332cc4c0e48b18b2843b1cd0
data/README.md CHANGED
@@ -94,6 +94,12 @@ and use a similar `YYYMMDDEE` naming convention:
94
94
  - Inside issue directories are TIFF files with lexically ordered filenames,
95
95
  corresponding to page sequence order of that issue.
96
96
 
97
+ #### JP2 Batch
98
+
99
+ - The JP2 batch is a copy of a two-page issue also included in NDNP source
100
+ materials in this gem.
101
+
102
+
97
103
  #### Deseret News article segmented batch
98
104
  ```ruby
99
105
  # /path/to/gem/spec/fixtures/files/article_segmented/batch_deseret_news
@@ -41,4 +41,9 @@ module NewspaperWorksFixtures
41
41
  def self.tiff_batch
42
42
  File.join(file_fixtures, 'tiff_batch', 'sn93059126')
43
43
  end
44
+
45
+ # returns the JP2 batch (extracted from materials in PDF batch)
46
+ def self.jp2_batch
47
+ File.join(file_fixtures, 'jp2_batch', 'sn85058233')
48
+ end
44
49
  end
@@ -1,3 +1,3 @@
1
1
  module NewspaperWorksFixtures
2
- VERSION = '0.3.0'.freeze
2
+ VERSION = '0.3.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: newspaper_works_fixtures
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Upton
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2019-09-10 00:00:00.000000000 Z
14
+ date: 2019-09-23 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rails
@@ -210,6 +210,8 @@ files:
210
210
  - spec/fixtures/files/article_segmented/batch_topaz_times/pages/ttt_19441101-19450131_0062.xml
211
211
  - spec/fixtures/files/article_segmented/batch_topaz_times/unit.dtd
212
212
  - spec/fixtures/files/article_segmented/batch_topaz_times/unit.xml
213
+ - spec/fixtures/files/jp2_batch/sn85058233/1935080201/Page1.jp2
214
+ - spec/fixtures/files/jp2_batch/sn85058233/1935080201/Page2.jp2
213
215
  - spec/fixtures/files/ndnp/batch_local/17082901001_batch.xml
214
216
  - spec/fixtures/files/ndnp/batch_local/sn85058233/17082901001/1935080201/1289.jp2
215
217
  - spec/fixtures/files/ndnp/batch_local/sn85058233/17082901001/1935080201/1289.pdf
@@ -477,6 +479,8 @@ test_files:
477
479
  - spec/fixtures/files/article_segmented/batch_topaz_times/pages/ttt_19441101-19450131_0062.xml
478
480
  - spec/fixtures/files/article_segmented/batch_topaz_times/unit.dtd
479
481
  - spec/fixtures/files/article_segmented/batch_topaz_times/unit.xml
482
+ - spec/fixtures/files/jp2_batch/sn85058233/1935080201/Page1.jp2
483
+ - spec/fixtures/files/jp2_batch/sn85058233/1935080201/Page2.jp2
480
484
  - spec/fixtures/files/ndnp/batch_local/17082901001_batch.xml
481
485
  - spec/fixtures/files/ndnp/batch_local/sn85058233/17082901001/1935080201/1289.jp2
482
486
  - spec/fixtures/files/ndnp/batch_local/sn85058233/17082901001/1935080201/1289.pdf