hydra-head 5.0.0.pre4 → 5.0.0.pre6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/hydra-head.rb +1 -17
  2. metadata +8 -8
@@ -1,10 +1,7 @@
1
1
  module HydraHead
2
- #require 'hydra-access-controls'
3
2
  require 'hydra-core'
4
3
  require 'hydra-file-access'
5
- require 'hydra-head/engine' if defined?(Rails) && Rails::VERSION::MAJOR == 3
6
- require 'hydra-head/routes'
7
-
4
+
8
5
  def self.version
9
6
  HydraHead::VERSION
10
7
  end
@@ -13,17 +10,4 @@ module HydraHead
13
10
  @root ||= File.expand_path(File.dirname(File.dirname(__FILE__)))
14
11
  end
15
12
 
16
- # If you put this in your application's routes.rb, it will add the Hydra Head routes to the app.
17
- # The hydra:head generator puts this in routes.rb for you by default.
18
- # See {HydraHead::Routes} for information about how to modify which routes are generated.
19
- # @example
20
- # # in config/routes.rb
21
- # MyAppName::Application.routes.draw do
22
- # Blacklight.add_routes(self)
23
- # HydraHead.add_routes(self)
24
- # end
25
- def self.add_routes(router, options = {})
26
- HydraHead::Routes.new(router, options).draw
27
- end
28
-
29
13
  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: 5.0.0.pre4
4
+ version: 5.0.0.pre6
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: 2012-10-06 00:00:00.000000000 Z
13
+ date: 2012-10-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -35,7 +35,7 @@ dependencies:
35
35
  requirements:
36
36
  - - '='
37
37
  - !ruby/object:Gem::Version
38
- version: 5.0.0.pre4
38
+ version: 5.0.0.pre6
39
39
  type: :runtime
40
40
  prerelease: false
41
41
  version_requirements: !ruby/object:Gem::Requirement
@@ -43,7 +43,7 @@ dependencies:
43
43
  requirements:
44
44
  - - '='
45
45
  - !ruby/object:Gem::Version
46
- version: 5.0.0.pre4
46
+ version: 5.0.0.pre6
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: hydra-core
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -51,7 +51,7 @@ dependencies:
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 5.0.0.pre4
54
+ version: 5.0.0.pre6
55
55
  type: :runtime
56
56
  prerelease: false
57
57
  version_requirements: !ruby/object:Gem::Requirement
@@ -59,7 +59,7 @@ dependencies:
59
59
  requirements:
60
60
  - - '='
61
61
  - !ruby/object:Gem::Version
62
- version: 5.0.0.pre4
62
+ version: 5.0.0.pre6
63
63
  - !ruby/object:Gem::Dependency
64
64
  name: hydra-file-access
65
65
  requirement: !ruby/object:Gem::Requirement
@@ -67,7 +67,7 @@ dependencies:
67
67
  requirements:
68
68
  - - '='
69
69
  - !ruby/object:Gem::Version
70
- version: 5.0.0.pre4
70
+ version: 5.0.0.pre6
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: 5.0.0.pre4
78
+ version: 5.0.0.pre6
79
79
  - !ruby/object:Gem::Dependency
80
80
  name: rspec-rails
81
81
  requirement: !ruby/object:Gem::Requirement