hydra-collections 1.1.0 → 1.2.0.rc1
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: dfc74ceeb87a7e976490787be510f702cb5f1c6b
|
4
|
+
data.tar.gz: 9a05555f089870f45e68642505108003f63d476b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9133fe138d20652cc03f90cd4876420e745b682b373e43c080f925c343c6383e804b36b7fa2941444fc895ea490cf6be3471000aaa08969711fdbee5271afbd3
|
7
|
+
data.tar.gz: 8f45f09aafabd41dff06921e75630140369a19fcd69909c20210a4a0deec1971b465c91bd565fc6ca8130cff4f6c4ca156c4cd94e02f5de529d1fe21dd33ecec
|
data/Changelog.md
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
require 'hydra/head'
|
2
1
|
require 'hydra/datastreams/collection_rdf_datastream'
|
3
2
|
|
4
3
|
module Hydra
|
@@ -6,23 +5,22 @@ module Hydra
|
|
6
5
|
extend ActiveSupport::Concern
|
7
6
|
extend ActiveSupport::Autoload
|
8
7
|
include Hydra::ModelMethods # for access to apply_depositor_metadata
|
9
|
-
include Hydra::
|
8
|
+
include Hydra::AccessControls::Permissions
|
10
9
|
include Hydra::Collections::Collectible
|
11
10
|
|
12
11
|
included do
|
13
|
-
has_metadata
|
14
|
-
has_metadata
|
15
|
-
has_metadata :name => "rightsMetadata", :type => Hydra::Datastream::RightsMetadata
|
12
|
+
has_metadata "descMetadata", type: CollectionRdfDatastream
|
13
|
+
has_metadata "properties", type: Hydra::Datastream::Properties
|
16
14
|
|
17
15
|
has_and_belongs_to_many :members, :property => :has_collection_member, :class_name => "ActiveFedora::Base" , :after_remove => :remove_member
|
18
16
|
|
19
|
-
delegate_to :properties, [:depositor], :
|
17
|
+
delegate_to :properties, [:depositor], multiple: false
|
20
18
|
|
21
19
|
delegate_to :descMetadata, [:title, :date_uploaded, :date_modified,
|
22
|
-
:description], :
|
20
|
+
:description], multiple: false
|
23
21
|
delegate_to :descMetadata, [:creator, :contributor, :based_near, :part_of,
|
24
22
|
:publisher, :date_created, :subject,:resource_type, :rights, :identifier,
|
25
|
-
:language, :tag, :related_url]
|
23
|
+
:language, :tag, :related_url], multiple: true
|
26
24
|
|
27
25
|
before_create :set_date_uploaded
|
28
26
|
before_save :set_date_modified
|
data/hydra-collections.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
21
|
spec.add_dependency "blacklight"
|
22
|
-
spec.add_dependency "hydra-head"
|
22
|
+
spec.add_dependency "hydra-head", ">= 6.4.0.rc2", "< 6.5"
|
23
23
|
|
24
24
|
spec.add_development_dependency "bundler", "~> 1.3"
|
25
25
|
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.2.0.rc1
|
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-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: blacklight
|
@@ -30,14 +30,20 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 6.4.0.rc2
|
34
|
+
- - <
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '6.5'
|
34
37
|
type: :runtime
|
35
38
|
prerelease: false
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
37
40
|
requirements:
|
38
41
|
- - '>='
|
39
42
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
43
|
+
version: 6.4.0.rc2
|
44
|
+
- - <
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '6.5'
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: bundler
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -204,9 +210,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
204
210
|
version: '0'
|
205
211
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
206
212
|
requirements:
|
207
|
-
- - '
|
213
|
+
- - '>'
|
208
214
|
- !ruby/object:Gem::Version
|
209
|
-
version:
|
215
|
+
version: 1.3.1
|
210
216
|
requirements: []
|
211
217
|
rubyforge_project:
|
212
218
|
rubygems_version: 2.0.3
|