hydra-collections 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/app/controllers/collections_controller.rb +0 -15
- data/app/models/concerns/hydra/collection.rb +7 -6
- data/hydra-collections.gemspec +1 -0
- data/lib/hydra/collections/version.rb +1 -1
- metadata +17 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55d7ebe59b86c2f810f06634f7350711e7dcc5ab
|
4
|
+
data.tar.gz: 84e84c78c2d1e42e98fb3ec0d4d00e0390d7fed3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28011db954e329b3846cfdb6ba6ad00f21f1d84d3f92d6305379c310695cf420cebff54c8c62a79b08dc7b8bfbb90da75920fb3ddffe7164a95e8b2c5b0a5366
|
7
|
+
data.tar.gz: 100026fd0761a2aaa084c8ab9d897fce4ca4b1c5894bd686d7043f669accc5a590880a6551ea9a74c93eebf98d988259a796b7ace8f10b5baa198bfc7530ab19
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
2.0.0-p247
|
@@ -1,18 +1,3 @@
|
|
1
|
-
# -*- coding: utf-8 -*-
|
2
|
-
# Copyright © 2012 The Pennsylvania State University
|
3
|
-
#
|
4
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
# you may not use this file except in compliance with the License.
|
6
|
-
# You may obtain a copy of the License at
|
7
|
-
#
|
8
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
#
|
10
|
-
# Unless required by applicable law or agreed to in writing, software
|
11
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
# See the License for the specific language governing permissions and
|
14
|
-
# limitations under the License.
|
15
|
-
|
16
1
|
class CollectionsController < ApplicationController
|
17
2
|
include Hydra::CollectionsControllerBehavior
|
18
3
|
end
|
@@ -14,13 +14,14 @@ module Hydra
|
|
14
14
|
|
15
15
|
has_and_belongs_to_many :members, :property => :has_collection_member, :class_name => "ActiveFedora::Base" , :after_remove => :remove_member
|
16
16
|
|
17
|
-
|
17
|
+
has_attributes :depositor, datastream: :properties, multiple: false
|
18
18
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
19
|
+
has_attributes :title, :date_uploaded, :date_modified, :description,
|
20
|
+
datastream: :descMetadata, multiple: false
|
21
|
+
has_attributes :creator, :contributor, :based_near, :part_of, :publisher,
|
22
|
+
:date_created, :subject,:resource_type, :rights,
|
23
|
+
:identifier, :language, :tag, :related_url,
|
24
|
+
datastream: :descMetadata, multiple: true
|
24
25
|
|
25
26
|
before_create :set_date_uploaded
|
26
27
|
before_save :set_date_modified
|
data/hydra-collections.gemspec
CHANGED
@@ -20,6 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
|
21
21
|
spec.add_dependency "blacklight"
|
22
22
|
spec.add_dependency "hydra-head", "~> 6.4.0"
|
23
|
+
spec.add_dependency "active-fedora", ">= 6.7.0"
|
23
24
|
|
24
25
|
spec.add_development_dependency "bundler", "~> 1.3"
|
25
26
|
spec.add_development_dependency "rake"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hydra-collections
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carolyn Cole
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: blacklight
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 6.4.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: active-fedora
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 6.7.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 6.7.0
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: bundler
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -236,3 +250,4 @@ test_files:
|
|
236
250
|
- spec/support/db/migrate/20111101221803_create_searches.rb
|
237
251
|
- spec/support/lib/generators/test_app_generator.rb
|
238
252
|
- spec/support/lib/tasks/rspec.rake
|
253
|
+
has_rdoc:
|