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: a23c9e212041b2816a048695daa5248aad7430d4
4
- data.tar.gz: 1fe561ef9cdf68b337e1940484c9abfabfeab8ed
3
+ metadata.gz: dfc74ceeb87a7e976490787be510f702cb5f1c6b
4
+ data.tar.gz: 9a05555f089870f45e68642505108003f63d476b
5
5
  SHA512:
6
- metadata.gz: 0281f3b8a8de3e273d261803addccf4a5755f654e5e4b19236030aab299992b491b19abcb7e4fa7de7451220a664db640e80e37b613505ba62d0a886b264b2c5
7
- data.tar.gz: 767db121ed138d32b5c49c5cec0de22f159470ee661f91251cdaf45375f47f446c6851d20bad742d2efad825b6613d0cb09cf916b6e4069dca887fb448eab9f3
6
+ metadata.gz: 9133fe138d20652cc03f90cd4876420e745b682b373e43c080f925c343c6383e804b36b7fa2941444fc895ea490cf6be3471000aaa08969711fdbee5271afbd3
7
+ data.tar.gz: 8f45f09aafabd41dff06921e75630140369a19fcd69909c20210a4a0deec1971b465c91bd565fc6ca8130cff4f6c4ca156c4cd94e02f5de529d1fe21dd33ecec
data/Changelog.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.2.0.rc1
2
+
3
+ * Made compatible with hydra-head 6.4.0
4
+
1
5
  # 1.1.0
2
6
 
3
7
  * 2013-09-30: Refactor to load modules after engine is initialized (concerns)
@@ -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::ModelMixins::RightsMetadata
8
+ include Hydra::AccessControls::Permissions
10
9
  include Hydra::Collections::Collectible
11
10
 
12
11
  included do
13
- has_metadata :name => "descMetadata", :type => CollectionRdfDatastream
14
- has_metadata :name => "properties", :type => Hydra::Datastream::Properties
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], :unique => true
17
+ delegate_to :properties, [:depositor], multiple: false
20
18
 
21
19
  delegate_to :descMetadata, [:title, :date_uploaded, :date_modified,
22
- :description], :unique => true
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
@@ -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"
@@ -1,5 +1,5 @@
1
1
  module Hydra
2
2
  module Collections
3
- VERSION = "1.1.0"
3
+ VERSION = "1.2.0.rc1"
4
4
  end
5
5
  end
@@ -45,7 +45,7 @@ describe SelectsCollectionsController do
45
45
  @collection4.save
46
46
  end
47
47
  after (:all) do
48
- Collection.find(:all).map(&:delete)
48
+ Collection.delete_all
49
49
  end
50
50
  describe "Public Access" do
51
51
  before (:each) do
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.1.0
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-01 00:00:00.000000000 Z
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: '0'
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: '0'
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: '0'
215
+ version: 1.3.1
210
216
  requirements: []
211
217
  rubyforge_project:
212
218
  rubygems_version: 2.0.3