avo 2.33.2 → 2.33.3.pre.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: 3dc07d8896fb957e62c31758d46d9edf1e47ed0a2be4af60f10372747838a386
4
- data.tar.gz: 30f3ba2be719772d61e24d36888683b8e256e18b0f11b52481952b10ab78bbf9
3
+ metadata.gz: 4cbfff8cdd5a6b367626522263ad2c5f2260e5d3f18b4d303136a3bee9661054
4
+ data.tar.gz: 2d98da5cf89746d1d05abb2306b1f9c69ec2025ef9f48c307807e80105371e4f
5
5
  SHA512:
6
- metadata.gz: f5acc02b2faa3ce7fa2cfe05118aee925a4daab284fdb78098c0a7dfb1a1b6cf17896a23453c4ab99b95fa971ecc14e40d39d0129839e839620b833af3004d49
7
- data.tar.gz: 21f533ccfe75cf2d69ed719dee359593020db71831145d6ecbe784c16e63d3be7c9db6df2dfb5ca6d48deb45ad5ecee63dbc9e108002ca370b4b7dee4908cbd6
6
+ metadata.gz: 46a36d35b4316a92c327505769a9e7dcf1275e0af27ef8ce87d418f76b78f0b4d7cad14da0fc6d853aa2c3fd6ded5cdb73cf6b71c5560a1d15e4f4c86fc098a6
7
+ data.tar.gz: fc517cad0575f3dbee145455f2a81bba95febb42c7073d8c41e86807b8aad5d61caf2728b24f02cc4411badd85202b780005920a1630167ab638d5a17034c676
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- avo (2.33.2)
4
+ avo (2.33.3.pre.1)
5
5
  actionview (>= 6.0)
6
6
  active_link_to
7
7
  activerecord (>= 6.0)
@@ -421,7 +421,7 @@ GEM
421
421
  tzinfo (2.0.6)
422
422
  concurrent-ruby (~> 1.0)
423
423
  unicode-display_width (2.4.0)
424
- view_component (3.0.0)
424
+ view_component (3.1.0)
425
425
  activesupport (>= 5.2.0, < 8.0)
426
426
  concurrent-ruby (~> 1.0)
427
427
  method_source (~> 1.0)
@@ -10,7 +10,7 @@
10
10
  </div>
11
11
  <div class="ml-3 w-0 flex-1 pt-0.5">
12
12
  <p class="text-sm leading-5 font-semibold">
13
- <%== message %>
13
+ <%= sanitize message %>
14
14
  </p>
15
15
  </div>
16
16
  <div class="ml-4 flex-shrink-0 flex items-center">
@@ -24,13 +24,13 @@
24
24
  <div class="text-red-600 mt-2 text-sm"><%= record.errors.full_messages_for(field.id).to_sentence %></div>
25
25
  <% end %>
26
26
  <% if help.present? %>
27
- <div class="text-gray-600 mt-2 text-sm"><%== help %></div>
27
+ <div class="text-gray-600 mt-2 text-sm"><%= sanitize help %></div>
28
28
  <% end %>
29
29
  <% end %>
30
30
  </div>
31
31
  </div>
32
32
  <% if params[:avo_debug].present? %>
33
33
  <!-- Raw value: -->
34
- <!-- <%== field.value.inspect %> -->
34
+ <!-- <%= sanitize field.value.inspect %> -->
35
35
  <% end %>
36
36
  <% end %>
@@ -3,7 +3,7 @@
3
3
  <% if empty %>
4
4
  <% elsif value.present? %>
5
5
  <% if as_html %>
6
- <%== value %>
6
+ <%= sanitize value %>
7
7
  <% else %>
8
8
  <div class="font-semibold uppercase"><%= value %></div>
9
9
  <% end %>
@@ -20,7 +20,7 @@
20
20
  },
21
21
  input: trix_id,
22
22
  placeholder: @field.placeholder do %>
23
- <%== @field.value %>
23
+ <%= sanitize @field.value %>
24
24
  <% end %>
25
25
  <%= @form.text_area @field.id,
26
26
  class: classes("w-full hidden"),
@@ -8,7 +8,7 @@
8
8
  <%= link_to t('avo.show_content'), 'javascript:void(0);', class: 'font-bold inline-block', data: { action: 'click->hidden-input#showContent' } %>
9
9
  <% end %>
10
10
  <div class="<%= content_classes %> " data-hidden-input-target="content">
11
- <%== @field.value %>
11
+ <%= sanitize @field.value %>
12
12
  </div>
13
13
  </div>
14
14
  <% end %>
@@ -19,6 +19,6 @@
19
19
  <% end %>
20
20
  <% if params[:avo_debug].present? %>
21
21
  <!-- Raw value: -->
22
- <!-- <%== @field.value.inspect %> -->
22
+ <!-- <%= sanitize @field.value.inspect %> -->
23
23
  <% end %>
24
24
  <% end %>
@@ -25,7 +25,7 @@
25
25
  <% end %>
26
26
  <% if body? %>
27
27
  <div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:gap-4 w-full">
28
- <div class="relative flex-1 <% if sidebar? %> w-2/3 <% else %> w-full <% end %>">
28
+ <div class="relative flex-1 w-full <% if sidebar? %> sm:w-2/3 <% end %>">
29
29
  <% # The body is wrapped inside another div in order to avoid long & tall panels next to sidebars when the sidebar taller. %>
30
30
  <div class="relative <%= white_panel_classes %> <%= @body_classes %>">
31
31
  <%= body %>
data/config/master.key ADDED
@@ -0,0 +1 @@
1
+ 2aeb23d82b909d9c6b5abb62f7058c2a
data/lib/avo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Avo
2
- VERSION = "2.33.2" unless const_defined?(:VERSION)
2
+ VERSION = "2.33.3.pre.1" unless const_defined?(:VERSION)
3
3
  end
@@ -6929,10 +6929,6 @@ trix-toolbar .trix-button-group:not(:first-child){
6929
6929
  width:4rem
6930
6930
  }
6931
6931
 
6932
- .w-2\/3{
6933
- width:66.666667%
6934
- }
6935
-
6936
6932
  .w-64{
6937
6933
  width:16rem
6938
6934
  }
@@ -9632,6 +9628,10 @@ trix-editor {
9632
9628
  width:auto
9633
9629
  }
9634
9630
 
9631
+ .sm\:w-2\/3{
9632
+ width:66.666667%
9633
+ }
9634
+
9635
9635
  .sm\:w-1\/3{
9636
9636
  width:33.333333%
9637
9637
  }
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.33.2
4
+ version: 2.33.3.pre.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-05-31 00:00:00.000000000 Z
12
+ date: 2023-06-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord
@@ -1713,6 +1713,7 @@ files:
1713
1713
  - config/credentials.yml.enc
1714
1714
  - config/i18n-tasks.yml
1715
1715
  - config/initializers/pagy.rb
1716
+ - config/master.key
1716
1717
  - config/routes.rb
1717
1718
  - config/spring.rb
1718
1719
  - db/factories.rb
@@ -1976,9 +1977,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
1976
1977
  version: 2.6.0
1977
1978
  required_rubygems_version: !ruby/object:Gem::Requirement
1978
1979
  requirements:
1979
- - - ">="
1980
+ - - ">"
1980
1981
  - !ruby/object:Gem::Version
1981
- version: '0'
1982
+ version: 1.3.1
1982
1983
  requirements: []
1983
1984
  rubygems_version: 3.3.3
1984
1985
  signing_key: