hydra-access-controls 6.2.2 → 6.3.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/hydra-access-controls.gemspec +1 -1
- data/lib/hydra/datastream/rights_metadata.rb +2 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a98f75ea6ac177df7ee8357e6abb65e815510ae
|
4
|
+
data.tar.gz: ae6fa061a924866ad1e64fdea5735aee3d11f003
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69cb4ed2d30fbe897f9a58726f44c164f50d99ad64379a73f88fc50c537c3abbb08b6788678762ced021db33b76084b661b76964aba3d33d54073373f2f0da9e
|
7
|
+
data.tar.gz: 77819f2c0ba60dca1c9e2e6ddd8c1983c2b23d4118409640c80a3152fb0711048f874ebb3443e04848577c1fe316ae03ca921b8c55fdfd048290289d374ca7ae
|
@@ -21,7 +21,7 @@ Gem::Specification.new do |gem|
|
|
21
21
|
gem.add_dependency "active-fedora", '~> 6.1'
|
22
22
|
gem.add_dependency 'cancan'
|
23
23
|
gem.add_dependency 'deprecation'
|
24
|
-
gem.add_dependency 'blacklight'
|
24
|
+
gem.add_dependency 'blacklight', '~> 4.0'
|
25
25
|
|
26
26
|
gem.add_development_dependency("rake")
|
27
27
|
gem.add_development_dependency 'rspec'
|
@@ -109,7 +109,8 @@ module Hydra
|
|
109
109
|
remove_all_permissions(selector)
|
110
110
|
unless new_access_level == "none"
|
111
111
|
access_type_symbol = "#{new_access_level}_access".to_sym
|
112
|
-
|
112
|
+
current_values = term_values(access_type_symbol, type)
|
113
|
+
self.update_values([access_type_symbol, type] => current_values + [actor] )
|
113
114
|
end
|
114
115
|
return new_access_level
|
115
116
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hydra-access-controls
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.
|
4
|
+
version: 6.3.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Beer
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-06-
|
13
|
+
date: 2013-06-26 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
@@ -72,16 +72,16 @@ dependencies:
|
|
72
72
|
name: blacklight
|
73
73
|
requirement: !ruby/object:Gem::Requirement
|
74
74
|
requirements:
|
75
|
-
- -
|
75
|
+
- - ~>
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version: '0'
|
77
|
+
version: '4.0'
|
78
78
|
type: :runtime
|
79
79
|
prerelease: false
|
80
80
|
version_requirements: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
|
-
- -
|
82
|
+
- - ~>
|
83
83
|
- !ruby/object:Gem::Version
|
84
|
-
version: '0'
|
84
|
+
version: '4.0'
|
85
85
|
- !ruby/object:Gem::Dependency
|
86
86
|
name: rake
|
87
87
|
requirement: !ruby/object:Gem::Requirement
|
@@ -173,9 +173,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
173
173
|
version: 1.9.3
|
174
174
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
175
175
|
requirements:
|
176
|
-
- - '
|
176
|
+
- - '>'
|
177
177
|
- !ruby/object:Gem::Version
|
178
|
-
version:
|
178
|
+
version: 1.3.1
|
179
179
|
requirements: []
|
180
180
|
rubyforge_project:
|
181
181
|
rubygems_version: 2.0.3
|