rails_admin_next 3.0.0 → 3.0.1

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: 9a6356cd776f2c431504a310cd6145ec6ff8901fabf444e0b22d1cc0f4416ccb
4
- data.tar.gz: c298fb755e576263287c83ef6fe4bd9ef6b16164e2385a3a2a8329d2e1f367e4
3
+ metadata.gz: ab5a6bc8f57c396848dea3a851d668da3604777f07674304de1b2eaab84074df
4
+ data.tar.gz: 4b695b8d7a86cebf28db86e4f2730bfc081bfccb480c2279fb9fd8329407643f
5
5
  SHA512:
6
- metadata.gz: 0b1a4f9f80fed1121f4ac166796ddcba14660d5256194cff41cd90f255ee954778b9671c705d74de5d0a0cd56a6a8fcf2ed9558235d8d84956a775119334098f
7
- data.tar.gz: 5495ae9282d32fdf410939ee20f0517361e8e1dbf2b0267d69389b1e8a7be74817a1e9f5d9b6749af8687a1057fa149919ca5bc0b0f126b62a47dab6e5b0bcdb
6
+ metadata.gz: 4b665f2830ea9086fcae2e1ba66c83b5dcd2000f4ebf1652fb161dccdfcf04d6353d17453ba26f3590a2e73d4cca54106fbb2fbe86a80c2e1d4da9fa0a4386fd
7
+ data.tar.gz: bf1a98c7a6f8e14106f9460c1467099ef8c4a99755ffcc847b9d3f60364a9a9f03ad4f3e89781b60e5718df41654a7b7bb6c772b5b5350a9d29b0e1e2a0a7771
data/docs/UPGRADING.md CHANGED
@@ -910,4 +910,6 @@ Restrict versions to items inside those relations. An adapter that does not acce
910
910
 
911
911
  A `last_created_at` override in model config is not scoped for you. It runs with
912
912
  `bindings[:controller]`, so it can read
913
- `bindings[:controller].authorization_adapter&.query(:index, abstract_model)`.
913
+ `bindings[:controller].authorization_scope(:index, abstract_model)`: the authorized relation, an
914
+ empty one when the policy scope is broken, or `nil` without an authorization adapter. Calling the
915
+ adapter's `query` directly skips that check.
@@ -7,7 +7,7 @@ module RailsAdminNext
7
7
  # the floor a local `gem build` produces.
8
8
  MAJOR = 3
9
9
  MINOR = 0
10
- PATCH = 0
10
+ PATCH = 1
11
11
  PRE = nil
12
12
 
13
13
  class << self
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_admin_next
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel López Prat