cul_scv_hydra 0.21.3 → 0.21.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ad095caf54c49f4c05cbaa53f31eabfcb8692c3
|
4
|
+
data.tar.gz: 327a4a621b4586171689a38d6fe576fac71be044
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c9206184950bb1686428ba0548ce0062a6592f5244ab030c8ba46a24d51bffb067304ed39388c598621cfafdd0ba8b38f6d96b014834ceac636770c2d38d8f3
|
7
|
+
data.tar.gz: 51a621fe64557fb3263a580fdb91df7b64f09afbe8888d2f0bb55f8a832e05712ed8d0d3aad0f24df6b9b38a1c24312580f3afaaa1b44a54229a5b1b9eb98447
|
@@ -20,9 +20,12 @@ module Cul::Scv::Hydra::Models::Common
|
|
20
20
|
end
|
21
21
|
|
22
22
|
# A Fedora object label can only contain a string value of up to 255 characters. If we try to
|
23
|
-
# set a longer value, it causes object save
|
23
|
+
# set a longer value, it causes errors upon object save. Truncate labels to 255 characters.
|
24
|
+
# Note: this method maps to a method_missing hanlder that converts input into a String, so
|
25
|
+
# we use the super method first, and then post-process the output of that super method call.
|
24
26
|
def label=(new_label)
|
25
|
-
super(new_label
|
27
|
+
super(new_label)
|
28
|
+
super(self.label[0,255])
|
26
29
|
end
|
27
30
|
|
28
31
|
def rdf_type
|
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.21.
|
4
|
+
version: 0.21.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benjamin Armintor
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-01-
|
12
|
+
date: 2015-01-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: blacklight
|
@@ -475,9 +475,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
475
475
|
version: '0'
|
476
476
|
requirements: []
|
477
477
|
rubyforge_project:
|
478
|
-
rubygems_version: 2.
|
478
|
+
rubygems_version: 2.4.1
|
479
479
|
signing_key:
|
480
480
|
specification_version: 4
|
481
481
|
summary: ActiveFedora, OM, and Solrizer implementations for CUL Staff Collection Viewer
|
482
482
|
test_files: []
|
483
|
-
has_rdoc:
|