hydra-file-access 5.0.0.pre9 → 5.0.0.pre10

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,6 +19,4 @@
19
19
  <% end %>
20
20
 
21
21
  |
22
- <%= link_to "Selected Items", folder_index_path %> (<span id="folder_number"><%= "#{session[:folder_document_ids] ? session[:folder_document_ids].length : 0}" %></span>)
23
- |
24
22
  <%= link_to "Search History", search_history_path %>
@@ -8,8 +8,6 @@ module Hydra::Controller::FileAssetsBehavior
8
8
  extend Deprecation
9
9
 
10
10
  included do
11
- Deprecation.warn Hydra::Controller::FileAssetsBehavior, "Hydra::Controller::FileAssetsBehavior will be removed in hydra-head 6.0"
12
-
13
11
  include Hydra::AccessControlsEnforcement
14
12
  include Hydra::AssetsControllerHelper
15
13
  include Hydra::Controller::UploadBehavior
@@ -19,6 +17,11 @@ module Hydra::Controller::FileAssetsBehavior
19
17
  include Blacklight::Configurable
20
18
  copy_blacklight_config_from(CatalogController)
21
19
  prepend_before_filter :sanitize_update_params
20
+ before_filter :show_deprecation_message
21
+ end
22
+
23
+ def show_deprecation_message
24
+ Deprecation.warn Hydra::Controller::FileAssetsBehavior, "Hydra::Controller::FileAssetsBehavior will be removed in hydra-head 6.0"
22
25
  end
23
26
 
24
27
  def index
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hydra-file-access
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0.pre9
4
+ version: 5.0.0.pre10
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-13 00:00:00.000000000 Z
13
+ date: 2012-10-31 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -163,7 +163,7 @@ dependencies:
163
163
  requirements:
164
164
  - - '='
165
165
  - !ruby/object:Gem::Version
166
- version: 5.0.0.pre9
166
+ version: 5.0.0.pre10
167
167
  type: :runtime
168
168
  prerelease: false
169
169
  version_requirements: !ruby/object:Gem::Requirement
@@ -171,7 +171,7 @@ dependencies:
171
171
  requirements:
172
172
  - - '='
173
173
  - !ruby/object:Gem::Version
174
- version: 5.0.0.pre9
174
+ version: 5.0.0.pre10
175
175
  - !ruby/object:Gem::Dependency
176
176
  name: sqlite3
177
177
  requirement: !ruby/object:Gem::Requirement