soar_authorization 0.1.5 → 0.1.6

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: 578262a1f651f6cfc53469acb8f91537b04a6ae6
4
- data.tar.gz: a3794c305cf9c771a7dcdaf2480bbbe652003118
3
+ metadata.gz: 80b5cddf7c40bebccda1d1c0934617202b99925d
4
+ data.tar.gz: 4dc75cdf93fc4e8ebee339369ce1c614971f5baa
5
5
  SHA512:
6
- metadata.gz: ee1c2c8b9e70585d816970d10553b0b4073b2c59cfe2342cd56f8cbe12aae9b3a512e9bb90147413b512aff01a386e77871c8c00ac41f4ec997d0ba3ba426162
7
- data.tar.gz: a886173cd79cedacf7dcf23b729b9be264f33f6ab0c58928bc38d4e1ca3d8fe51597c306898959e3a3431e1d784e15278be7abeaa2e7db47ae4b2e5bc61c90df
6
+ metadata.gz: a0e75992629833aaa82cf0fe2e33b5a40d47b7da1b3948ecc2441f9bcdbb5bbe738d141c2b94ef41a00c8d4fa53c2e2ead9828c9cd231571b2485f78d086a85a
7
+ data.tar.gz: 507ce05f7b0bb45c77f831ff6f4f0c96e0524bd626bfe917099ba36a89b648ab7a6fa29529db14f7a8964f248fe71720d5e9170116ad79c0d21944ee3db2a10e
@@ -1,3 +1,3 @@
1
1
  module SoarAuthorization
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
@@ -41,11 +41,11 @@ module SoarAuthorization
41
41
  }
42
42
  })
43
43
  result['data']['notifications'].each do |notification|
44
- env['auditing'].info(notification, request['flow_identifier']) if env['auditing']
44
+ env['auditing'].info(notification, request.params['flow_identifier']) if env['auditing']
45
45
  end
46
46
  result['data']['approved']
47
47
  rescue Exception => ex
48
- env['auditing'].error("Exception: #{ex.class}: #{ex.message}:\n\t#{ex.backtrace.join("\n\t")}", request['flow_identifier']) if env['auditing']
48
+ env['auditing'].error("Exception: #{ex.class}: #{ex.message}:\n\t#{ex.backtrace.join("\n\t")}", request.params['flow_identifier']) if env['auditing']
49
49
  false
50
50
  end
51
51
  end
@@ -28,6 +28,6 @@ Gem::Specification.new do |spec|
28
28
  spec.require_paths = ["lib"]
29
29
 
30
30
  spec.add_dependency 'soar_authentication', '~> 0.1.3'
31
- spec.add_dependency 'soar-policy-access_manager', '~> 1.0.0'
31
+ spec.add_dependency 'soar-policy-access_manager', '~> 1.0.1'
32
32
 
33
33
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soar_authorization
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ernst Van Graan
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.0.0
33
+ version: 1.0.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 1.0.0
40
+ version: 1.0.1
41
41
  description: Matches resource requests with access managers and asks them to authorize
42
42
  email:
43
43
  - ernst.van.graan@hetzner.co.za