hydra-core 6.0.0.pre4 → 6.0.0.pre5

Sign up to get free protection for your applications and to get access to all the features.
data/hydra-core.gemspec CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |gem|
22
22
  gem.add_dependency "rails", '~>3.2.3'
23
23
  gem.add_dependency "blacklight", '~> 4.0'
24
24
  gem.add_dependency "devise"
25
- gem.add_dependency "active-fedora", '>= 6.0.0.pre2'
25
+ gem.add_dependency "active-fedora"
26
26
  gem.add_dependency 'RedCloth', '=4.2.9'
27
27
  gem.add_dependency 'block_helpers'
28
28
  gem.add_dependency 'sanitize'
@@ -8,32 +8,9 @@
8
8
  #
9
9
  if Hydra.respond_to?(:configure)
10
10
  Hydra.configure(:shared) do |config|
11
-
12
- config[:submission_workflow] = {
13
- :mods_assets => [{:name => "contributor", :edit_partial => "mods_assets/contributor_form", :show_partial => "mods_assets/show_contributors"},
14
- {:name => "publication", :edit_partial => "mods_assets/publication_form", :show_partial => "mods_assets/show_publication"},
15
- {:name => "additional_info", :edit_partial => "mods_assets/additional_info_form", :show_partial => "mods_assets/show_additional_info"},
16
- {:name => "files", :edit_partial => "hydra/file_assets/file_assets_form", :show_partial => "mods_assets/show_file_assets"},
17
- {:name => "permissions", :edit_partial => "hydra/permissions/permissions_form", :show_partial => "mods_assets/show_permissions"}
18
- ],
19
- # Not being used right now
20
- :generic_contents => [{:name => "description", :edit_partial => "generic_content_objects/description_form", :show_partial => "generic_contents/show_description"},
21
- {:name => "files", :edit_partial => "hydra/file_assets/file_assets_form", :show_partial => "file_assets/index"},
22
- {:name => "permissions", :edit_partial => "hydra/permissions/permissions_form", :show_partial => "generic_contents/show_permissions"},
23
- {:name => "contributor", :edit_partial => "generic_content_objects/contributor_form", :show_partial => "generic_contents/show_contributors"}
24
- ]
25
- }
26
-
27
11
  # This specifies the solr field names of permissions-related fields.
28
12
  # You only need to change these values if you've indexed permissions by some means other than the Hydra's built-in tooling.
29
13
  # If you change these, you must also update the permissions request handler in your solrconfig.xml to return those values
30
- # config[:permissions] = {
31
- # :discover => {:group =>ActiveFedora::SolrService.solr_name("discover_access_group", :symbol), :individual=>ActiveFedora::SolrService.solr_name("discover_access_person", :symbol)},
32
- # :read => {:group =>ActiveFedora::SolrService.solr_name("read_access_group", :symbol), :individual=>ActiveFedora::SolrService.solr_name("read_access_person", :symbol)},
33
- # :edit => {:group =>ActiveFedora::SolrService.solr_name("edit_access_group", :symbol), :individual=>ActiveFedora::SolrService.solr_name("edit_access_person", :symbol)},
34
- # :owner => ActiveFedora::SolrService.solr_name("depositor", :symbol),
35
- # :embargo_release_date => ActiveFedora::SolrService.solr_name("embargo_release_date", :date)
36
- # }
37
14
  indexer = Solrizer::Descriptor.new(:text, :stored, :indexed, :multivalued)
38
15
  config[:permissions] = {
39
16
  :discover => {:group =>ActiveFedora::SolrService.solr_name("discover_access_group", indexer), :individual=>ActiveFedora::SolrService.solr_name("discover_access_person", indexer)},
@@ -42,9 +19,8 @@ if Hydra.respond_to?(:configure)
42
19
  :owner => ActiveFedora::SolrService.solr_name("depositor", indexer),
43
20
  :embargo_release_date => ActiveFedora::SolrService.solr_name("embargo_release_date", Solrizer::Descriptor.new(:date, :stored, :indexed))
44
21
  }
45
-
46
-
47
-
22
+
48
23
  # specify the user model
24
+ config[:user_model] = 'User'
49
25
  end
50
26
  end
@@ -1,4 +1,4 @@
1
1
  module HydraHead
2
- VERSION = "6.0.0.pre4"
2
+ VERSION = "6.0.0.pre5"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hydra-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.0.pre4
4
+ version: 6.0.0.pre5
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-01-30 00:00:00.000000000 Z
13
+ date: 2013-02-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -67,7 +67,7 @@ dependencies:
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
- version: 6.0.0.pre2
70
+ version: '0'
71
71
  type: :runtime
72
72
  prerelease: false
73
73
  version_requirements: !ruby/object:Gem::Requirement
@@ -75,7 +75,7 @@ dependencies:
75
75
  requirements:
76
76
  - - ">="
77
77
  - !ruby/object:Gem::Version
78
- version: 6.0.0.pre2
78
+ version: '0'
79
79
  - !ruby/object:Gem::Dependency
80
80
  name: RedCloth
81
81
  requirement: !ruby/object:Gem::Requirement
@@ -179,7 +179,7 @@ dependencies:
179
179
  requirements:
180
180
  - - '='
181
181
  - !ruby/object:Gem::Version
182
- version: 6.0.0.pre4
182
+ version: 6.0.0.pre5
183
183
  type: :runtime
184
184
  prerelease: false
185
185
  version_requirements: !ruby/object:Gem::Requirement
@@ -187,7 +187,7 @@ dependencies:
187
187
  requirements:
188
188
  - - '='
189
189
  - !ruby/object:Gem::Version
190
- version: 6.0.0.pre4
190
+ version: 6.0.0.pre5
191
191
  - !ruby/object:Gem::Dependency
192
192
  name: sqlite3
193
193
  requirement: !ruby/object:Gem::Requirement