discovery-indexer 0.5 → 0.6
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 +8 -8
- data/lib/reader/purlxml_parser_strict.rb +2 -2
- data/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
M2FhNzdjZDM4NDlhNjUzYzc3YTMyODRjNjQyMDBlYmU0NThmZmMwZg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
NjBhYzU1N2VkNjMzMWM0YjA1NGI2MzQ5YWFjY2FkOThjYjVjMTZlMQ==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
MjRiNWUzYzBmNDAyNGY3YzJmNmU0MzIzYjgzYzEzMWYzMzZjYWI3ZTQ4MWIz
|
|
10
|
+
Y2Q5MzAxMGFmMDFhZjQ4YzI5ZTkwMTM3NjEyMGJhMGNjMGE2NmRlN2VhYzM5
|
|
11
|
+
ZjQ1ZTFkMjg3MWZiNzdkYjczNDU4OTczY2RkODRkNmI0YWE5YTg=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ZDA5NGIxYzUyOGVkNzU2NmQ1ZDQ3NWUwN2NhZWFkOGRiYzk4NzhjOTE0M2Mz
|
|
14
|
+
NTM1NjMyYjhmMDg1OTdkZTA2NzY4NWM2Njg3Y2JiMjZhODM2Mzg1MWYyYWEx
|
|
15
|
+
ZjQzODgxYzEwOGY3ZWQzNTRiZThkZGJhN2ZiMTdiYjczZTIwMGQ=
|
|
@@ -125,8 +125,8 @@ module DiscoveryIndexer
|
|
|
125
125
|
def parse_is_collection
|
|
126
126
|
identity_metadata = parse_identity_metadata
|
|
127
127
|
unless identity_metadata.nil?
|
|
128
|
-
object_type_nodes = identity_metadata.xpath('
|
|
129
|
-
return true if object_type_nodes.find_index { |n| n.text
|
|
128
|
+
object_type_nodes = identity_metadata.xpath('//objectType')
|
|
129
|
+
return true if object_type_nodes.find_index { |n| ['collection','set'].include? n.text.downcase}
|
|
130
130
|
end
|
|
131
131
|
false
|
|
132
132
|
end
|
data/lib/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: discovery-indexer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: '0.
|
|
4
|
+
version: '0.6'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ahmed AlSum
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-03-
|
|
11
|
+
date: 2015-03-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: nokogiri
|