avo 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of avo might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/app/assets/stylesheets/avo.css +1 -1
- data/app/controllers/avo/search_controller.rb +1 -1
- data/lib/avo/base_resource.rb +1 -1
- data/lib/avo/version.rb +1 -1
- data/public/avo-assets/avo.css +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95b2b7317d4ac820cecd0d369ce5f0bd2ca49d6bf4f94eb795ac2dd152ac61bd
|
4
|
+
data.tar.gz: 1803985fe1cd3a3cef566b7fd5d272246dc5813113b31c8ada694862fa7114dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9c2be9a07bb66ade8e65f424bd5e617cf024d0ea64eeb067cacddefb6841df4d51d39073087205b5f6c0121e0d37047d1541aae91d11ba1e873536364e6840a
|
7
|
+
data.tar.gz: 9297826153de541a3bc660d336f0f5a22d3105821c19e1492bc0ea9591b4f02acf3b70371679533cedb9287c1319d5824c9d70585ccb11564fd3efca5875c689
|
data/Gemfile.lock
CHANGED
@@ -11,7 +11,7 @@ module Avo
|
|
11
11
|
raise ActionController::BadRequest.new("This feature requires the pro license https://avohq.io/purchase/pro") if App.license.lacks_with_trial(:global_search)
|
12
12
|
|
13
13
|
resources = Avo::App.resources.reject do |resource|
|
14
|
-
resource.class.
|
14
|
+
resource.class.hide_from_global_search
|
15
15
|
end
|
16
16
|
|
17
17
|
render json: search_resources(resources)
|
data/lib/avo/base_resource.rb
CHANGED
@@ -39,7 +39,7 @@ module Avo
|
|
39
39
|
class_attribute :resolve_query_scope
|
40
40
|
class_attribute :resolve_find_scope
|
41
41
|
class_attribute :ordering
|
42
|
-
class_attribute :
|
42
|
+
class_attribute :hide_from_global_search, default: false
|
43
43
|
|
44
44
|
class << self
|
45
45
|
delegate :t, to: ::I18n
|
data/lib/avo/version.rb
CHANGED
data/public/avo-assets/avo.css
CHANGED
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: 2.1.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adrian Marin
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-
|
12
|
+
date: 2022-04-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|