avo 4.0.0.beta.48 → 4.0.0.beta.49

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: e6a1cad34545b8a56a953bbd1b01c8dc7ebbe93c6c5b9060219a8694188059f0
4
- data.tar.gz: 7afe5561111b169e1398ed8f4c3c36bcf0f4aad7ca7fcecb7096b2a4ff656f03
3
+ metadata.gz: a5b9ae412cb3a8de8621928a0421b60524a4cd358c1c844a8faadf7f0979c8d1
4
+ data.tar.gz: ee732c70181f05cba2d02817a3654b0b31fb3dcfaf6f4d02c7630730f2daeac1
5
5
  SHA512:
6
- metadata.gz: cf19d2b64536b96b623afbb3a2b4718c21b7cc5d0a53116732e15c344093be36e9a6898899d244c5e83186691a36559f49f3cb4a19731908508e224f771bc27f
7
- data.tar.gz: 83358c02156416914aba2afad7e255aafc0155570b597e0e303e9c88310661c93e2a35cf07470c04188b0e219cc8f1cb9803a6a884c6061dd1bb51c6a3f56896
6
+ metadata.gz: eb2b14cfd290025965d3eababad0f37df57ffeeccb668e8f9cab85e17cb27da12c409e39c7ceda15e04316360918cd2b4ed590f69423785ce94aec1ad1f2328c
7
+ data.tar.gz: 9c0ee62ecd8ec5039b42a2f61cd5102d2fe719eb515c85a979c7f3b1562f22c3ec7f95ed32e549adbe6a18acc8cd176fb6b9b2ca68a3e602b1eca38edac2295d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- avo (4.0.0.beta.48)
4
+ avo (4.0.0.beta.49)
5
5
  actionview (>= 6.1)
6
6
  active_link_to
7
7
  activerecord (>= 6.1)
@@ -143,7 +143,7 @@ class Avo::Views::ResourceIndexComponent < Avo::ResourceComponent
143
143
  end
144
144
 
145
145
  def scopes_list
146
- Avo::ResourceScopes::Scopes::ListComponent.new(
146
+ Avo::Scopes::ListComponent.new(
147
147
  scopes: @scopes,
148
148
  resource: @resource,
149
149
  turbo_frame: @turbo_frame,
@@ -155,7 +155,7 @@ class Avo::Views::ResourceIndexComponent < Avo::ResourceComponent
155
155
  end
156
156
 
157
157
  def can_render_scopes?
158
- Avo.plugin_manager.installed?("avo-resource_scopes") && @scopes.present?
158
+ Avo.plugin_manager.installed?("avo-scopes") && @scopes.present?
159
159
  end
160
160
 
161
161
  def back_path
data/lib/avo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Avo
2
- VERSION = "4.0.0.beta.48" unless const_defined?(:VERSION)
2
+ VERSION = "4.0.0.beta.49" unless const_defined?(:VERSION)
3
3
  end
@@ -1,4 +1,4 @@
1
- class Avo::Scopes::<%= class_name.camelize %> < Avo::ResourceScopes::Scopes::BaseScope
1
+ class Avo::Scopes::<%= class_name.camelize %> < Avo::Scopes::BaseScope
2
2
  self.name = "<%= name.underscore.humanize %>"
3
3
  # self.description = "<%= name.underscore.humanize %> description."
4
4
  self.scope = -> { query.all }
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: 4.0.0.beta.48
4
+ version: 4.0.0.beta.49
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Marin