avo 4.0.0.beta.58 → 4.0.0
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 +4 -4
- data/Gemfile.lock +1 -1
- data/app/assets/builds/avo/application.css +0 -3
- data/app/components/avo/fields/common/heading_component.html.erb +5 -5
- data/avo.gemspec +3 -0
- data/lib/avo/version.rb +1 -1
- data/lib/tasks/avo_tasks.rake +6 -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: 5bc625a1c100aa0bc6a96cbc2c6430ddb46f677c4bad2e9b31ee83a9e22b5596
|
|
4
|
+
data.tar.gz: d2777a2f8333ff82a1af66b768fbd708ee239f9673bacdd8cc5c69fa74b02bdf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d86dd18e181026bf8541eb9c9527f23ecb248ef7dcc25ffaa2ee3eb0f29c1b24fe233e2fd5cf7344d618853202b76a1e06e3cc6ff7375c5b986b2d3c9a1f5794
|
|
7
|
+
data.tar.gz: 92e7dade09378fd1b4e3ad9eae5e7964d213d340d7aaa782ece38c35cc272ed7cded102b29f08e53eca98e8d54b35d6c6f4141861178e3febb7edda10661524c
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<%= content_tag :div, class: @classes, data: @data do %>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
<% if @field.as_html %>
|
|
3
|
+
<%= sanitize @field.value %>
|
|
4
|
+
<% else %>
|
|
5
|
+
<div class="uppercase"><%= @field.value %></div>
|
|
6
|
+
<% end %>
|
|
7
7
|
<% end %>
|
data/avo.gemspec
CHANGED
|
@@ -31,7 +31,10 @@ Gem::Specification.new do |spec|
|
|
|
31
31
|
spec.required_ruby_version = ">= 3.0.0"
|
|
32
32
|
spec.post_install_message = "Thank you for using Avo 💪 Docs are available at https://docs.avohq.io"
|
|
33
33
|
|
|
34
|
+
# NOTE: `public/` is rejected below — Avo 4 ships precompiled assets from
|
|
35
|
+
# `app/assets/builds`, and a stale `public/avo-assets` dir was what bloated some builds.
|
|
34
36
|
spec.files = Dir["{bin,app,config,db,lib,public}/**/*", "Rakefile", "README.md", "avo.gemspec", "Gemfile", "Gemfile.lock", "tailwind.preset.js", "tailwind.custom.js"]
|
|
37
|
+
.reject { |f| f.start_with?("public/") }
|
|
35
38
|
|
|
36
39
|
spec.add_dependency "activerecord", ">= 6.1"
|
|
37
40
|
spec.add_dependency "activesupport", ">= 6.1"
|
data/lib/avo/version.rb
CHANGED
data/lib/tasks/avo_tasks.rake
CHANGED
|
@@ -15,7 +15,12 @@ task "avo:update" => :environment do
|
|
|
15
15
|
# Avo gems themselves, so we only update the gems we explicitly list.
|
|
16
16
|
cmd = ["bundle", "update", "--conservative", *gems].join(" ")
|
|
17
17
|
puts "[Avo->] Running `#{cmd}`"
|
|
18
|
-
|
|
18
|
+
# Restore the pre-Bundler env so the nested `bundle update` runs against the
|
|
19
|
+
# app's Gemfile with a clean environment. Without this it inherits the parent
|
|
20
|
+
# `bundle exec` settings (BUNDLE_GEMFILE, BUNDLE_FROZEN/--deployment, RUBYOPT),
|
|
21
|
+
# which can make the update silently refuse. Exported credentials survive
|
|
22
|
+
# because they're part of the original env Bundler snapshotted at boot.
|
|
23
|
+
Bundler.with_original_env { system cmd }
|
|
19
24
|
end
|
|
20
25
|
|
|
21
26
|
desc "Builds Avo (just assets for now)"
|
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
|
|
4
|
+
version: 4.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Adrian Marin
|
|
@@ -1195,7 +1195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
1195
1195
|
- !ruby/object:Gem::Version
|
|
1196
1196
|
version: '0'
|
|
1197
1197
|
requirements: []
|
|
1198
|
-
rubygems_version: 4.0.
|
|
1198
|
+
rubygems_version: 4.0.10
|
|
1199
1199
|
specification_version: 4
|
|
1200
1200
|
summary: Admin panel framework and Content Management System for Ruby on Rails.
|
|
1201
1201
|
test_files: []
|