avo 3.13.1 → 3.13.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
  SHA256:
3
- metadata.gz: 2de600c73d3828e8833970ec256410cd40ef633ffc98bf5186a15673bafa6f2e
4
- data.tar.gz: 283ada9a58056407dd6214c35e98bd41a0c6550c52edc78272d72c8e0b4db9e0
3
+ metadata.gz: 661b7efdb938f2b72205c0fd4d62dcfaaf778af38c3ffe15e7a13b070d11db88
4
+ data.tar.gz: 0ce3b4ff38787188323dcde5a287daa8780637a21c99ab66c9bfe6509258d3d3
5
5
  SHA512:
6
- metadata.gz: 7a848c2f29b325f960189def606f1771aea8eed1743ff99c88af020ed0306cc5377df5093d747f86a9c58de071c531714303a532afff86b19b624782aaa3594b
7
- data.tar.gz: d7a15a33f6258f355b06075fbf657e3abda9f54590093d72a48ae2b3e6bb4f653a2c3c4b090e1e29cf82609a14e2848259939916b9dc85b744c70772be21166c
6
+ metadata.gz: 45fcf56fea15a88f5bf24a7e973ee570c6dd26f43d233467611ae504d6c40f436bfe0e94839e342203942e1e185144cbebe7e7ec45810233b3c2f2b809a3ef7b
7
+ data.tar.gz: 8d16dee5688f0853a3b46f451413ed47ecaded7efb047678393f390177c9989cb3d7ca73b9c01e8bee998b3b44e4eb60c056cea03e8282a36d5b1d5a8182295b
data/Gemfile.lock CHANGED
@@ -107,7 +107,7 @@ GIT
107
107
  PATH
108
108
  remote: .
109
109
  specs:
110
- avo (3.13.1)
110
+ avo (3.13.2)
111
111
  actionview (>= 6.1)
112
112
  active_link_to
113
113
  activerecord (>= 6.1)
@@ -14,7 +14,7 @@ class Avo::Index::ResourceTableComponent < Avo::BaseComponent
14
14
  prop :parent_record, _Nilable(_Any)
15
15
  prop :parent_resource, _Nilable(Avo::BaseResource)
16
16
  prop :pagy, _Nilable(Pagy)
17
- prop :query, _Nilable(ActiveRecord::Relation)
17
+ prop :query, _Nilable(_Any)
18
18
  prop :actions, _Nilable(_Array(Avo::BaseAction))
19
19
 
20
20
  def encrypted_query
@@ -6,7 +6,7 @@ class Avo::ModalComponent < Avo::BaseComponent
6
6
 
7
7
  prop :width, Symbol, default: :md
8
8
  prop :body_class, _Nilable(String)
9
- prop :overflow, Symbol, default: :auto
9
+ prop :overflow, _Nilable(Symbol), default: :auto
10
10
 
11
11
  def width_classes
12
12
  case @width.to_sym
@@ -17,7 +17,7 @@ class Avo::Views::ResourceIndexComponent < Avo::ResourceComponent
17
17
  prop :parent_record, _Nilable(_Any)
18
18
  prop :parent_resource, _Nilable(Avo::BaseResource)
19
19
  prop :applied_filters, Hash, default: {}.freeze
20
- prop :query, _Nilable(ActiveRecord::Relation), reader: :public
20
+ prop :query, _Nilable(_Any), reader: :public
21
21
  # This should be
22
22
  # prop :scopes, _Nilable(_Array(Avo::Advanced::Scopes::BaseScope)), reader: :public
23
23
  # However, Avo::Advanced::Scopes::BaseScope raises an error because
data/lib/avo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Avo
2
- VERSION = "3.13.1" unless const_defined?(:VERSION)
2
+ VERSION = "3.13.2" unless const_defined?(:VERSION)
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avo
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.13.1
4
+ version: 3.13.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Marin
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2024-10-01 00:00:00.000000000 Z
13
+ date: 2024-10-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activerecord