cul_hydra 1.4.2 → 1.4.3

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: 61ab8fdc755c92a6b4a386d425e5233a659b878f
4
- data.tar.gz: 36b7db51288c26079a1af5eee98bad4698937226
3
+ metadata.gz: b765af14fc80de0413ccc45b11adfd2daf8da348
4
+ data.tar.gz: 85737f1a45d1f97b9cef56df77d970ea6df36343
5
5
  SHA512:
6
- metadata.gz: fbd07f75a7b674baf04c7dc125c91b8f782e446eb48e5029f0f3dcbaca5405e5d6a8a954775849f718a555bb434649adaf49f65b9cd12e54ecdb4003e1721a25
7
- data.tar.gz: 27549d471899da6268518324892f3d40b20186fbab45ca75f8ad2abc0ad1dabd644840ba6e07e218f7f5574f7fbb48c125c6d62696f22e555153265f8e0c860b
6
+ metadata.gz: 610f16ebc0824af59c6e61218befdc0a342cb0a69b83c16e7a5cf11992cb12bbd70696cbf43bc733316bb38567d8fb9c7a23d63c5437deac1f30c495f650a125
7
+ data.tar.gz: 075e59c183469c3abc955c04ccc301613516d568dff1b724f4ed174a735e124cdbf927d23fe3f5c4c03e20cce745b0aae3cb7cfb77ecf47676b1330cbd651348
@@ -114,16 +114,6 @@ class Concept < GenericAggregator
114
114
  set_singular_rel(:short_title, val, true)
115
115
  end
116
116
 
117
- # the full title
118
- # http://purl.org/dc/terms/title
119
- def title
120
- get_singular_rel(:title)
121
- end
122
-
123
- def title=(val)
124
- set_singular_rel(:title, val, true)
125
- end
126
-
127
117
  def get_singular_rel(predicate)
128
118
  property = relationships(predicate).first
129
119
  return nil unless property
@@ -143,7 +133,7 @@ class Concept < GenericAggregator
143
133
  end
144
134
  class SingularRelValidator < ActiveModel::Validator
145
135
  def validate(record)
146
- [:abstract, :alternative, :restriction, :slug, :source, :title, :schema_image].each do |rel|
136
+ [:abstract, :alternative, :restriction, :slug, :source, :schema_image].each do |rel|
147
137
  record.errors[rel] << "#{rel} must have 0 or 1 values" unless record.relationships(rel).length < 2
148
138
  end
149
139
  end
data/config/fedora.yml CHANGED
@@ -1,13 +1,13 @@
1
1
  development:
2
2
  :user: fedoraAdmin
3
3
  :password: fedoraAdmin
4
- :url: http://localhost:9983/fedora-test
4
+ :url: http://localhost:8983/fedora-test
5
5
  :time_zone: "America/New_York"
6
6
 
7
7
  test:
8
8
  :user: fedoraAdmin
9
9
  :password: fedoraAdmin
10
- :url: http://localhost:9983/fedora-test
10
+ :url: http://localhost:8983/fedora-test
11
11
  :time_zone: "America/New_York"
12
12
 
13
13
  production:
data/config/solr.yml CHANGED
@@ -1,8 +1,8 @@
1
1
  development:
2
- url: http://localhost:9983/solr/test
2
+ url: http://localhost:8983/solr/test
3
3
 
4
4
  test:
5
- url: http://localhost:9983/solr/test
5
+ url: http://localhost:8983/solr/test
6
6
 
7
7
  production:
8
8
  url: http://katana.cul.columbia.edu:8080/solr-4.7/dcv_private_dev
@@ -36,7 +36,6 @@ xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/
36
36
  <rdf:Description rdf:about="info:fedora/cul:vmcvdnck2d">
37
37
  <rdf:type rdf:resource="http://purl.oclc.org/NET/CUL/Aggregator"></rdf:type>
38
38
  <ns0:hasModel rdf:resource="info:fedora/ldpd:Concept"></ns0:hasModel>
39
- <ns2:title>Digital Library Collections</ns2:title>
40
39
  <ns5:shortTitle>Digital Collections</ns5:shortTitle>
41
40
  <ns2:source rdf:resource="https://dlc.library.columbia.edu/catalog"></ns2:source>
42
41
  <ns2:abstract>The Digital Library Collections (DLC) website is a gateway to digital reproductions and descriptions of photographs, posters, drawings, objects, ephemera, and manuscripts as well as other archival material from Columbia's rare and special collections. As of January 2016 the DLC repository includes ca. 190,000 digital objects.</ns2:abstract>
@@ -1,6 +1,6 @@
1
1
  module Cul
2
2
  module Hydra
3
- VERSION = '1.4.2'
3
+ VERSION = '1.4.3'
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 = '1.4.1'
3
+ VERSION = '1.4.2'
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_hydra
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.2
4
+ version: 1.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Armintor