hydra-access-controls 9.6.0 → 9.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +0 -1
- data/{lib → app/models}/hydra/permissions_solr_document.rb +0 -0
- data/config/fedora.yml +2 -2
- data/config/solr.yml +2 -2
- data/hydra-access-controls.gemspec +1 -1
- data/lib/hydra-access-controls.rb +0 -1
- data/spec/support/config/blacklight.yml +1 -1
- data/tasks/hydra-access-controls.rake +11 -13
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c58ea8bad5ed33299fd0f5480b6d86c24632222
|
4
|
+
data.tar.gz: 8ab1983715088d885525195e9b83650820640957
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ed852d469c5f272c5ece361d6cc022b30c9a5eade790210193a5cdbcda488a5f039ad778b9d015547aa6460108700b4fe0b8e574dd554e8806c22d24d4bfaa0
|
7
|
+
data.tar.gz: abb73fcfe4ea54c55a8a7fdb794120cb62484c4a029f9a4930c085a8893fcedd4497735ef2dcf62bd6df9b35c3b53d86943d21325070f8cc56ca0bc5ab0cd4f3
|
data/Rakefile
CHANGED
File without changes
|
data/config/fedora.yml
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
development:
|
2
2
|
user: fedoraAdmin
|
3
3
|
password: fedoraAdmin
|
4
|
-
url: http://localhost:
|
4
|
+
url: http://localhost:8984/rest
|
5
5
|
base_path: /dev
|
6
6
|
test:
|
7
7
|
user: fedoraAdmin
|
8
8
|
password: fedoraAdmin
|
9
|
-
url: http://localhost:
|
9
|
+
url: http://localhost:8986/rest
|
10
10
|
base_path: /test
|
data/config/solr.yml
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |gem|
|
|
19
19
|
gem.required_ruby_version = '>= 1.9.3'
|
20
20
|
|
21
21
|
gem.add_dependency 'activesupport', '~> 4.0'
|
22
|
-
gem.add_dependency "active-fedora", '~> 9.
|
22
|
+
gem.add_dependency "active-fedora", '~> 9.8'
|
23
23
|
gem.add_dependency 'cancancan', '~> 1.8'
|
24
24
|
gem.add_dependency 'deprecation', '~> 0.2'
|
25
25
|
gem.add_dependency "blacklight", '>= 5.16'
|
@@ -1,18 +1,16 @@
|
|
1
1
|
namespace "hydra-access" do
|
2
2
|
desc "Run Continuous Integration"
|
3
|
-
task
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
Rake::Task['spec'].invoke
|
3
|
+
task :ci do
|
4
|
+
ENV['environment'] = "test"
|
5
|
+
solr_params = { port: 8985, verbose: true, managed: true }
|
6
|
+
fcrepo_params = { port: 8986, verbose: true, managed: true,
|
7
|
+
no_jms: true, fcrepo_home_dir: 'fcrepo4-test-data' }
|
8
|
+
SolrWrapper.wrap(solr_params) do |solr|
|
9
|
+
solr.with_collection(name: 'hydra-test', dir: File.join(File.expand_path("../..", File.dirname(__FILE__)), "solr", "config")) do
|
10
|
+
FcrepoWrapper.wrap(fcrepo_params) do
|
11
|
+
Rake::Task['spec'].invoke
|
12
|
+
end
|
13
|
+
end
|
15
14
|
end
|
16
|
-
raise "test failures: #{error}" if error
|
17
15
|
end
|
18
16
|
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: 9.
|
4
|
+
version: 9.7.0
|
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: 2016-
|
13
|
+
date: 2016-02-06 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
@@ -32,14 +32,14 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - "~>"
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: '9.
|
35
|
+
version: '9.8'
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: '9.
|
42
|
+
version: '9.8'
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: cancancan
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -151,6 +151,7 @@ files:
|
|
151
151
|
- app/models/hydra/access_controls/embargo.rb
|
152
152
|
- app/models/hydra/access_controls/lease.rb
|
153
153
|
- app/models/hydra/access_controls/permission.rb
|
154
|
+
- app/models/hydra/permissions_solr_document.rb
|
154
155
|
- app/models/role_mapper.rb
|
155
156
|
- app/services/hydra/embargo_service.rb
|
156
157
|
- app/services/hydra/lease_service.rb
|
@@ -170,7 +171,6 @@ files:
|
|
170
171
|
- lib/hydra/ip_based_groups.rb
|
171
172
|
- lib/hydra/permissions_cache.rb
|
172
173
|
- lib/hydra/permissions_query.rb
|
173
|
-
- lib/hydra/permissions_solr_document.rb
|
174
174
|
- lib/hydra/policy_aware_ability.rb
|
175
175
|
- lib/hydra/policy_aware_access_controls_enforcement.rb
|
176
176
|
- lib/hydra/role_mapper_behavior.rb
|
@@ -226,7 +226,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
226
226
|
version: '0'
|
227
227
|
requirements: []
|
228
228
|
rubyforge_project:
|
229
|
-
rubygems_version: 2.5.1
|
229
|
+
rubygems_version: 2.4.5.1
|
230
230
|
signing_key:
|
231
231
|
specification_version: 4
|
232
232
|
summary: Access controls for project hydra
|