hydra-access-controls 9.8.0 → 9.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hydra/config.rb +1 -1
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 61ead19317e8425d11f2f12753d456635384348b
4
- data.tar.gz: 7d6c039fdb4761b0a76fa5e79d6344817cd0d55c
3
+ metadata.gz: fb2357b9d0d422f31c1c09e7247127f03080e702
4
+ data.tar.gz: 7bacf573b9e18f4cc6fe41a6bea2a49283f9923f
5
5
  SHA512:
6
- metadata.gz: f813121ea959b6b4198e88e12f72faa938f4632214f6d0974f28a713f261a346c234bcc5a6c378baf30676695820306a4b940eb7536e76c2dc535df30d3528bb
7
- data.tar.gz: 1979d813a5d46d5a9522287e8e788db3978db2070bc9a81cb6d0f472353ea87e563599853898bc724590f868278a12b1e935bdf0b41bfd2ede3de2ef6e4fcfa5
6
+ metadata.gz: b748fea012a141c3ed98e22cf4eae3708f353039dbabb21a824bd1067d6ad10c20aeb75d43dd934c5a049015f8ecb7887eb76e29ca34f509eb37db0653b120d1
7
+ data.tar.gz: 5cacc432d1d6f690a8654029b330cba866e57449f538eee9e5954b2c4b79d57bbcf9c36c790aec6a056a487969b18a0d89d90755e1cab01df7fb679eca050923
data/lib/hydra/config.rb CHANGED
@@ -41,7 +41,7 @@ module Hydra
41
41
  #
42
42
  # @return [Lambda] a method to convert ID to a URI
43
43
  def id_to_resource_uri
44
- @id_to_resource_uri ||= ActiveFedora::Base.translate_id_to_uri
44
+ @id_to_resource_uri ||= lambda { |id, _graph| ActiveFedora::Base.translate_id_to_uri.call(id) }
45
45
  end
46
46
 
47
47
  def permissions= values
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.8.0
4
+ version: 9.8.1
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-02-15 00:00:00.000000000 Z
13
+ date: 2016-02-25 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport
@@ -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.4.5.1
229
+ rubygems_version: 2.5.1
230
230
  signing_key:
231
231
  specification_version: 4
232
232
  summary: Access controls for project hydra