discovery-indexer 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0da2f698e5d93f7b4c2e2413ec16cf6a96bf0a89
4
- data.tar.gz: 874859db3a705393f1b801583c58800ee5dc8004
3
+ metadata.gz: 8e437973bb7eef26cf7064d979158f73eaf966ff
4
+ data.tar.gz: e3ae3969e054bc29968c7b3eae6a6265408fdf07
5
5
  SHA512:
6
- metadata.gz: 7d56ddc0030ff54c25ad343fbaeef50111cbc874fae5234c7a39680acb0f4f9168b36adb0e7dd6c0e1f79a94ac8c75a3b310d598a98f44879ab987965a60f555
7
- data.tar.gz: 3f2dc26535ff9cffbf0936d877ec8d0244742b4273b9a615d31e5acc257c1f1f97931481e627522ee4e9da823fdff41521a49f55b804b1d9fb1c426e5dbb78e1
6
+ metadata.gz: 67ff874812cd6d183f98de76fb2e39eff6089bf58f9fb8ba9a45c06274f97d994adb05002fc1638049a1fb5419a87ee5f2e1d5eaca60d87e75a142054c20d779
7
+ data.tar.gz: c2002f4a1d5609c76b3b1d2ff0b6082efe61e8a170d9658d8e715d210de6deeaa46f7755b62bb5ad07b6b4eb39549da132a48f0c3ff84ce2d110ade84db08db3
@@ -147,7 +147,7 @@ module DiscoveryIndexer
147
147
  def parse_image_ids
148
148
  content_md = parse_content_metadata
149
149
  return nil if content_md.nil?
150
- content_md.xpath('//resource[@type="page" or @type="image"]/file[@mimetype="image/jp2"]/@id').map(&:to_s)
150
+ content_md.xpath('//resource[@type="page" or @type="image" or @type="thumb"]/file[@mimetype="image/jp2"]/@id').map(&:to_s)
151
151
  end
152
152
 
153
153
  def parse_sourceid
@@ -1,3 +1,3 @@
1
1
  module DiscoveryIndexer
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: discovery-indexer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ahmed AlSum
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-02-18 00:00:00.000000000 Z
12
+ date: 2016-02-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
@@ -29,16 +29,16 @@ dependencies:
29
29
  name: stanford-mods
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ">="
32
+ - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: '0'
34
+ version: '2.1'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ">="
39
+ - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '0'
41
+ version: '2.1'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: retries
44
44
  requirement: !ruby/object:Gem::Requirement