cul_scv_hydra 0.22.9.3 → 0.22.9.4

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: 74eb59743de94c1af1a616faf50cca6ec1db46a3
4
- data.tar.gz: cc5710e6808263fd1b746c38c654a3c9b7d3384e
3
+ metadata.gz: 9532dbde9beb33b48f0e604be85a01034fc27ef9
4
+ data.tar.gz: e16672505b6e54282c41324cbc837103e8bb8e11
5
5
  SHA512:
6
- metadata.gz: db5c72d0990e346aca07e8ac9a01005910b011b8cd381b5b685a6f7a159d6ea34dd3e09c9f41088520cb64e846569289aa7ec9df5436d6aad4a47feac40b0234
7
- data.tar.gz: 5e3e4a18eae4648d84605e8599c10fad3384d66bd98dae27642713ccf4f1befa93752515a6ba33000007fcf52f28e98d15c69066e92beed4eb0f74a6a3a3d8b9
6
+ metadata.gz: d4f5b324d3d06dd75b5b5f86775059a4cbe1f42ec919a139c25a3db12103d1ec84b1ee8b459c93fce60ed61074375cc37bcac0fc0caa36ba1fa10c1b0011d626
7
+ data.tar.gz: a1bda19b6adc2c93fc80b79fa410dee498f6919c7b09e8fc1dcaf4a08add7a42d784df6b83281aca179c13ea3ea644e78a73fce972b170dfed56952df47c9f17
@@ -20,6 +20,11 @@
20
20
  What A Topic
21
21
  </topic>
22
22
  </subject>
23
+ <subject authority="Durst">
24
+ <topic>
25
+ Durst subject that should be ignored
26
+ </topic>
27
+ </subject>
23
28
  <subject>
24
29
  <temporal>
25
30
  So Temporal
@@ -263,7 +263,7 @@ module Cul::Hydra::Solrizer
263
263
  def all_subjects(node=mods)
264
264
  list_of_subjects = []
265
265
 
266
- node.xpath("./mods:subject/mods:topic", MODS_NS).collect do |n|
266
+ node.xpath("./mods:subject[not(@authority) or @authority != 'Durst']/mods:topic", MODS_NS).collect do |n|
267
267
  list_of_subjects << ModsFieldable.normalize(n.text, true)
268
268
  end
269
269
  node.xpath("./mods:subject/mods:geographic", MODS_NS).collect do |n|
@@ -454,4 +454,4 @@ module Cul::Hydra::Solrizer
454
454
  return (is_negative ? '-' : '') + year_without_sign
455
455
  end
456
456
  end
457
- end
457
+ end
@@ -1,6 +1,6 @@
1
1
  module Cul
2
2
  module Hydra
3
- VERSION = '0.22.9.3'
3
+ VERSION = '0.22.9.4'
4
4
  def self.version
5
5
  VERSION
6
6
  end
@@ -1,6 +1,6 @@
1
1
  module Cul
2
2
  module Hydra
3
- VERSION = '0.22.9.2'
3
+ VERSION = '0.22.9.3'
4
4
  def self.version
5
5
  VERSION
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cul_scv_hydra
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.9.3
4
+ version: 0.22.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Armintor
@@ -527,4 +527,3 @@ signing_key:
527
527
  specification_version: 4
528
528
  summary: ActiveFedora, OM, and Solrizer implementations for CUL repository apps
529
529
  test_files: []
530
- has_rdoc: