blacklight-access_controls 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/blacklight/access_controls/catalog.rb +0 -6
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ffbb2c368a44b27a8f4f2f2d8a1dcaf9e852d1d2
|
|
4
|
+
data.tar.gz: 8bbce1c96b6dc86e87bdc34e0ee0fb38d3fd1a29
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 609ee8e41330854b9e56b63739244696f50d2caf110117cf6581b974ad25a4e5526e9aebece6d51774f81c816cda17fbaa6ef5d9b1eb6db375eacf817125b751
|
|
7
|
+
data.tar.gz: dab7487a3bb03d5bd9133f91e9a4cb1650e43a371adf08fdd22d8ff961619c8629aeb1f7174f2f11cdf1455649d275bf669c981b12cfe224de25283bb163f4a7
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.4.
|
|
1
|
+
0.4.1
|
|
@@ -6,12 +6,6 @@ module Blacklight
|
|
|
6
6
|
module Catalog
|
|
7
7
|
extend ActiveSupport::Concern
|
|
8
8
|
|
|
9
|
-
# Override blacklight to produce a search_builder that has
|
|
10
|
-
# the current ability in context
|
|
11
|
-
def search_builder
|
|
12
|
-
super.tap { |builder| builder.current_ability = current_ability }
|
|
13
|
-
end
|
|
14
|
-
|
|
15
9
|
# Controller "before" filter for enforcing access controls
|
|
16
10
|
# on show actions.
|
|
17
11
|
# @param [Hash] opts (optional, not currently used)
|