rbac_rls 0.1.5.3 → 0.1.5.4

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
  SHA256:
3
- metadata.gz: a6d31a71882540d8d7a092a73b157c21b89117521153d112af6b4a0143828110
4
- data.tar.gz: 0b684972b568f2d7a6271fdb4f4a040a1312981aeba0aeded0397b852a3316ff
3
+ metadata.gz: 67d54a4cb56723fe2c9d8b6c643f96f1e97a3fb5369a53f14bf7bff1d8fc99d0
4
+ data.tar.gz: 1b57b01764013069df567eadd0d0202bbe77d564d0a144d11bb37f58f55325da
5
5
  SHA512:
6
- metadata.gz: 408bed0cd679f200e8580b86bfba52b4f746cdde3044caa6a2791b12f8c165bdd9174c86b772a800b09d28313cb23982cd51a01450619177c8eb99bca1b85831
7
- data.tar.gz: e0713df900f6fd41d37d640d659de68ecf9791bdb2782dff5fa80829b2905db9bb633a267955ee228281bae65842dde7a0fdd376463759a849eaa80c6050b28b
6
+ metadata.gz: b9b2ba201c92ff66b14c781eb8e773836e952dff4892325da7d44c088b770e80de044b2ced46590bd094380cffcf9756a2f82eb9933d8d4822b699476b77ef62
7
+ data.tar.gz: fdcb67e10b08fae1ebd49d5b1fa65f4191ecaa015c229c4571e50288769509ca4daa81756e9710978de8c5610f687b0cd60bed88c894b0b0f688b7031ef1dc56
@@ -2,7 +2,7 @@ module ConnectionRlsUserConcern
2
2
  extend ActiveSupport::Concern
3
3
 
4
4
  included do
5
- before_action :with_user_id
5
+ around_action :with_user_id
6
6
  rescue_from ::PG::InsufficientPrivilege, with: :rls_error
7
7
 
8
8
  def with_user_id
@@ -28,4 +28,4 @@ module ConnectionRlsUserConcern
28
28
 
29
29
  class_methods do
30
30
  end
31
- end
31
+ end
@@ -1,3 +1,3 @@
1
1
  module RbacRls
2
- VERSION = "0.1.5.3"
2
+ VERSION = "0.1.5.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbac_rls
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5.3
4
+ version: 0.1.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - FilipeBeserraMaia