curation_concerns 1.6.1 → 1.6.2
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3d685b547e05f4528d3552546ebd94e21cdd8acf
|
|
4
|
+
data.tar.gz: f1f3cb5d6119e5dbbaeaacfece15d89c0a0b5ac0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 465138d61ec0a5bd8e76da0c8ea9b7bee373593b0a0a399aaa0d132973cb253c5baac4d29fa4b0202ce088918ffbf5be0587bd9d1ce5eb02a01ac83309281ddb
|
|
7
|
+
data.tar.gz: 5264146ae4a0882d934db2a49d6da4002a7f0fc1be83813eec3478e3ea9ebb0aeacfaae109ca2ab1797003ddd02ff085e268889cf37989d4248bda1bd1dee8f3
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
module CurationConcerns::RightsHelper
|
|
2
|
+
extend Deprecation
|
|
3
|
+
self.deprecation_horizon = 'curation_concerns version 2.0.0'
|
|
4
|
+
|
|
5
|
+
def include_current_value(value, _index, render_options, html_options)
|
|
6
|
+
unless value.blank? || RightsService.active?(value)
|
|
7
|
+
html_options[:class] << ' force-select'
|
|
8
|
+
render_options += [[RightsService.label(value), value]]
|
|
9
|
+
end
|
|
10
|
+
[render_options, html_options]
|
|
11
|
+
end
|
|
12
|
+
deprecation_deprecate include_current_value: 'use LicenseService#include_current_value instead'
|
|
13
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: curation_concerns
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.6.
|
|
4
|
+
version: 1.6.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matt Zumwalt
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2016-09-
|
|
13
|
+
date: 2016-09-30 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: hydra-head
|
|
@@ -760,6 +760,7 @@ files:
|
|
|
760
760
|
- app/helpers/curation_concerns/lease_helper.rb
|
|
761
761
|
- app/helpers/curation_concerns/main_app_helpers.rb
|
|
762
762
|
- app/helpers/curation_concerns/render_constraints_helper.rb
|
|
763
|
+
- app/helpers/curation_concerns/rights_helper.rb
|
|
763
764
|
- app/helpers/curation_concerns/search_paths_helper.rb
|
|
764
765
|
- app/helpers/curation_concerns/title_helper.rb
|
|
765
766
|
- app/helpers/curation_concerns/url_helper.rb
|