avo 2.23.3.pre.1.pr1529 → 2.24.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: de77547d8082b94984a6b224a19834113f65d52f9c0afd1d169d83026ecbc3fe
4
- data.tar.gz: a0eed9b9260291aea7951067164d2dafc0d36dead3b57d189e0263434c5eb831
3
+ metadata.gz: fd9af86b6e3a217455a722a02f0e63ac1730f3d38bc8cf437c2e7acf51e42393
4
+ data.tar.gz: 3ec156f8d9aa616fe254d91f676d365ce949407c7496b9deac4147213ac25868
5
5
  SHA512:
6
- metadata.gz: d478cf9410b3437f0ef998857b5f71e27c43b245030dbe5f21acc81ae9d751123bd5c3a6131dd7618fdeb9c12de23c0c6fca7bf36e2d285dd7793144946e40f9
7
- data.tar.gz: e9426307d3d13a23aea64ca185c211821f29460cd85ee2b74d876eb538d91d41ee8802d5a2961ede266d0bbe2922d9b8206ac68fc8982002b57cc311df15cbb8
6
+ metadata.gz: 6b36e26266d5f1db62580fcc1504e413bb037d5da0a6381bb7cb4785d9db64486f2c2d57d75ebb17ed1b8f21252bbda1c4ef2140ed659bfe62c2117a5c331955
7
+ data.tar.gz: 365bb62634783fb83f3a0a3e88fa48f0f35ab64eae9ddeca321ed91f8c1fdaf5468f99e851beb602c2688b2a20db0b956143850e3e09006c07807f6384178837
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- avo (2.23.3.pre.1.pr1529)
4
+ avo (2.24.1)
5
5
  actionview (>= 6.0)
6
6
  active_link_to
7
7
  activerecord (>= 6.0)
@@ -264,7 +264,7 @@ GEM
264
264
  nokogiri (1.13.10-x86_64-linux)
265
265
  racc (~> 1.4)
266
266
  orm_adapter (0.5.0)
267
- pagy (6.0.0)
267
+ pagy (6.0.1)
268
268
  parallel (1.22.1)
269
269
  parser (3.2.0.0)
270
270
  ast (~> 2.4.1)
@@ -407,7 +407,7 @@ GEM
407
407
  tzinfo (2.0.5)
408
408
  concurrent-ruby (~> 1.0)
409
409
  unicode-display_width (2.4.0)
410
- view_component (2.81.0)
410
+ view_component (2.82.0)
411
411
  activesupport (>= 5.2.0, < 8.0)
412
412
  concurrent-ruby (~> 1.0)
413
413
  method_source (~> 1.0)
@@ -44,7 +44,13 @@
44
44
  ""
45
45
  end
46
46
  %>
47
- <th class="text-left uppercase px-3 py-3 whitespace-nowrap rounded-l" data-control="resource-field-th">
47
+ <%= content_tag :th,
48
+ class: "text-left uppercase px-3 py-3 whitespace-nowrap rounded-l",
49
+ data: {
50
+ control: "resource-field-th",
51
+ table_header_field_id: field.id,
52
+ table_header_field_type: field.type,
53
+ } do %>
48
54
  <% if field.sortable %>
49
55
  <%= link_to params.permit!.merge(sort_by: sort_by, sort_direction: sort_direction), class: "flex items-center #{classes} #{'cursor-pointer' if field.sortable}", 'data-turbo-frame': params[:turbo_frame] do %>
50
56
  <%= field.name %>
@@ -55,7 +61,7 @@
55
61
  <%= field.name %>
56
62
  </div>
57
63
  <% end %>
58
- </th>
64
+ <% end %>
59
65
  <% end %>
60
66
  <% if Avo.configuration.resource_controls_on_the_right? %>
61
67
  <th class="w-24" data-control="resource-controls-th">
data/lib/avo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Avo
2
- VERSION = "2.23.3.pre.1.pr1529" unless const_defined?(:VERSION)
2
+ VERSION = "2.24.1" 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: 2.23.3.pre.1.pr1529
4
+ version: 2.24.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: 2023-01-13 00:00:00.000000000 Z
12
+ date: 2023-01-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord
@@ -1695,7 +1695,6 @@ files:
1695
1695
  - config/credentials.yml.enc
1696
1696
  - config/i18n-tasks.yml
1697
1697
  - config/initializers/pagy.rb
1698
- - config/master.key
1699
1698
  - config/routes.rb
1700
1699
  - config/spring.rb
1701
1700
  - db/factories.rb
@@ -1951,9 +1950,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
1951
1950
  version: 2.6.0
1952
1951
  required_rubygems_version: !ruby/object:Gem::Requirement
1953
1952
  requirements:
1954
- - - ">"
1953
+ - - ">="
1955
1954
  - !ruby/object:Gem::Version
1956
- version: 1.3.1
1955
+ version: '0'
1957
1956
  requirements: []
1958
1957
  rubygems_version: 3.3.3
1959
1958
  signing_key:
data/config/master.key DELETED
@@ -1 +0,0 @@
1
- 2aeb23d82b909d9c6b5abb62f7058c2a