user_access_manager 0.1.0 → 0.1.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: da0bfe068f33d7ac47665128eb8ba9de9c8b3076
4
- data.tar.gz: 6d72cf6bf45756521a8c4c12bbb160a693ffdd5b
3
+ metadata.gz: 1a67482ef5142e004ad1f8ff9fad096938cd9f27
4
+ data.tar.gz: c32b19b262fd0e9fe027087a1daca7f0846ad2b6
5
5
  SHA512:
6
- metadata.gz: 506a70a2fc35f194eb7f9310655df6b1ef78dd0300067be67474b49bda4dc55294729fff5884f2eab9106c0b5c39a3df334a985868aec4250ca0645c54e17334
7
- data.tar.gz: 412978e8c6612d2319ee92c623464a9789dfac4ea8f786dcf53506388abc84003ec7478b592a2cc4bb22aeab378dae4b46be46f74d158ee6284d3ebb05f5edd9
6
+ metadata.gz: ad26e45c29b5a058d266db6643438ab476c5a779dcd81e09bdd1566b8817461506729f62bfee742e8ca45f8a726014e2a961c0b5f94eb3745224f02aaa3a1d61
7
+ data.tar.gz: c469ec173eba4415dc3ffc67ecb018108c16049334440618aa034feb0fe2609c1d7080df3f37a14526b8728e888bc35bacc98f6c55af9339281c36629e9a8801
@@ -24,6 +24,11 @@ module AccessPolicy
24
24
  render json: res_json, status: 403
25
25
  end
26
26
  end
27
+ def generate_message_response_json(message)
28
+ response_data = {}
29
+ response_data['message'] = message
30
+ response_data
31
+ end
27
32
  def get_rules(parent_key,request_url)
28
33
  policy_master = policy_data()
29
34
  eligible_rules = []
@@ -1,3 +1,3 @@
1
1
  module UserAccessManager
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -21,4 +21,5 @@ Gem::Specification.new do |spec|
21
21
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
22
  spec.require_paths = ["lib"]
23
23
  spec.add_development_dependency 'jsonpath', '~> 1.0', '>= 1.0.6'
24
+ spec.add_dependency 'jsonpath', '~> 1.0', '>= 1.0.6'
24
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: user_access_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - MijanurR
@@ -30,6 +30,26 @@ dependencies:
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
32
  version: 1.0.6
33
+ - !ruby/object:Gem::Dependency
34
+ name: jsonpath
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '1.0'
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 1.0.6
43
+ type: :runtime
44
+ prerelease: false
45
+ version_requirements: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: '1.0'
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 1.0.6
33
53
  description:
34
54
  email:
35
55
  - sk.mijanur.rahaman@mettletech.in