pg_rails 7.6.21.pre.5 → 7.6.21.pre.7
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3be77da8013fb08f687799adf0d3981da8718d28e54911fb0d426fee22e58bf
|
4
|
+
data.tar.gz: 5a86a4dc41984fe3a595a4548eead9762ea9fb050a32c782052a62ad089649c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9bd53ff38087b7d766f01f6d5b3886799808d7429865c331465508713f91c1a96218781e9507d4c621fcc41f9fe0c4f8f5d12f2c1935b490d6c816eea36ed69
|
7
|
+
data.tar.gz: 38d66c0c17690c7e08a83e6466c133b510ba4e18e2861b5dae8511d456fb7ab11dae5c63ae6b5df727351e9c257e26dd16d9289e9673efa3fa12d501ec269813
|
@@ -131,7 +131,7 @@ module PgEngine
|
|
131
131
|
|
132
132
|
full_key = "#{profile_prefix}__#{key}"
|
133
133
|
|
134
|
-
scoped_by_tenant = record.class.respond_to?(:scoped_by_tenant) && record.class.scoped_by_tenant?
|
134
|
+
scoped_by_tenant = record.class.respond_to?(:scoped_by_tenant?) && record.class.scoped_by_tenant?
|
135
135
|
(!scoped_by_tenant || Current.account.id == record.account_id) &&
|
136
136
|
(Current.user_account_owner? || Current.active_user_profiles.include?(full_key))
|
137
137
|
end
|
data/pg_rails/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pg_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.6.21.pre.
|
4
|
+
version: 7.6.21.pre.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martín Rosso
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -1036,6 +1036,7 @@ files:
|
|
1036
1036
|
- pg_rails/lib/pg_rails/capybara_support.rb
|
1037
1037
|
- pg_rails/lib/pg_rails/current_attributes_support.rb
|
1038
1038
|
- pg_rails/lib/pg_rails/dotenv_support.rb
|
1039
|
+
- pg_rails/lib/pg_rails/draper_support.rb
|
1039
1040
|
- pg_rails/lib/pg_rails/pundit_matchers.rb
|
1040
1041
|
- pg_rails/lib/pg_rails/redis_support.rb
|
1041
1042
|
- pg_rails/lib/pg_rails/rspec_logger_matchers.rb
|