hydra-head 4.1.1 → 4.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/hydra-head/version.rb +1 -1
- data/lib/hydra.rb +7 -3
- metadata +2 -2
data/lib/hydra-head/version.rb
CHANGED
data/lib/hydra.rb
CHANGED
@@ -43,6 +43,10 @@ require 'hydra/model_methods'
|
|
43
43
|
require 'hydra/models/file_asset'
|
44
44
|
require 'mediashelf/active_fedora_helper' #deprecated
|
45
45
|
|
46
|
-
|
47
|
-
|
48
|
-
|
46
|
+
ActiveSupport.on_load(:after_initialize) do
|
47
|
+
begin
|
48
|
+
SolrDocument.use_extension Hydra::ModelMixins::SolrDocumentExtension
|
49
|
+
rescue NameError
|
50
|
+
puts "Couldn't find SolrDocument"
|
51
|
+
end
|
52
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hydra-head
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.
|
4
|
+
version: 4.1.2
|
5
5
|
prerelease:
|
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: 2012-
|
13
|
+
date: 2012-10-23 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|