credential_authorization 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ed3869fa7e81dde4e217229ae7c47e7faea3132c093eaae300d58a28adf8c656
4
- data.tar.gz: 80f75ccce9922cdd8c07d3cb0cca11b1435d3b69661ee4df5d14cf3b0d07bdd6
3
+ metadata.gz: e611cf138160c85aa3d68f36982817acea227a81b02773043e81c5d8db940283
4
+ data.tar.gz: 386e60fad08733a2350d61a431db40b78dc2bf622ab6a0dcf21799c34301b114
5
5
  SHA512:
6
- metadata.gz: bccf752f971f2b7baa3b7eb4963a7ccac2aea9314a4545806394c72148f13735fe9d93cc21225e0d6391cd60d0a7050a5fc157df1a491679233afe382a7d954b
7
- data.tar.gz: 1db2501a8f9fb350fd10934f01e48c932c8a19b628026cb17abf28e2f8cdd1733932ea6507a9be45c36e1cf0088743b02b42958a7d920d163daf45044b6ae752
6
+ metadata.gz: d4e5ef6a4c7a2d955e675576b2f993b66ce3523987ca8bf10ffd800309812de9cff3b44bfac6cb64bcc3d768d510e1a1452db821bf9820d7b3aa6a1ad6515910
7
+ data.tar.gz: 4aa4cb342c75afb0b1f55aae7e32a42679b93cec653e76d5787d85f480ad0f4ee363badf64078ad86928ef72e31babb57eeeadd563e794f49a19d3f793c6b7aa
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CredentialAuthorization
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
@@ -36,7 +36,7 @@ module CredentialAuthorization
36
36
  true
37
37
  end
38
38
 
39
- def build_permission_key(record:, permission:)
39
+ def self.build_permission_key(record:, permission:)
40
40
  "#{record.class.name.downcase}.#{record.id}.#{permission}"
41
41
  end
42
42
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: credential_authorization
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - JoelGamer