hydra-head 4.0.2 → 4.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
1
  module HydraHead
2
- VERSION = "4.0.2"
2
+ VERSION = "4.0.3"
3
3
  end
4
4
 
@@ -10,7 +10,7 @@ module Hydra
10
10
  include Hydra::CommonModsIndexMethods
11
11
 
12
12
  def initialize(digital_object, dsid, options={})
13
- Deprecation.warn("Hydra::ModsDataset has been deprecated. Use Hydra::Datastream::ModsDataset instead")
13
+ Deprecation.warn(Hydra::ModsDataset, "ModsDataset is deprecated and will be removed in release 5 or 6. It has been moved into wiki documentation here: https://github.com/projecthydra/hydra-head/wiki/Models---Some-Examples")
14
14
  super
15
15
  end
16
16
 
@@ -8,7 +8,7 @@ class PrevNextLinks < WillPaginate::LinkRenderer
8
8
  self.deprecation_horizon = 'hydra-head 5.x'
9
9
 
10
10
  def initialize(app)
11
- Deprecation.warn("PrevNextLinks has been deprecated; it will be removed from HydraHead no later than release 6.")
11
+ Deprecation.warn(PrevNextLinks, "PrevNextLinks has been deprecated; it will be removed from HydraHead no later than release 6.")
12
12
  @app = app
13
13
  end
14
14
 
@@ -9,7 +9,7 @@ class UserAttributesLoader
9
9
  self.deprecation_horizon = 'hydra-head 5.x'
10
10
 
11
11
  def initialize(app)
12
- Deprecation.warn("UserAttributesLoader has been deprecated; it will be removed from HydraHead no later than release 6.")
12
+ Deprecation.warn(UserAttributesLoader, "UserAttributesLoader has been deprecated; it will be removed from HydraHead no later than release 6.")
13
13
  @app = app
14
14
  end
15
15
 
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.0.2
4
+ version: 4.0.3
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-06-04 00:00:00.000000000 Z
13
+ date: 2012-06-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails