avo 2.15.0 → 2.15.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/views/layouts/avo/application.html.erb +0 -1
- data/lib/avo/configuration/branding.rb +1 -1
- data/lib/avo/version.rb +1 -1
- data/lib/generators/avo/tailwindcss/install_generator.rb +1 -3
- data/lib/generators/avo/templates/initializer/avo.tt +1 -1
- data/lib/generators/avo/templates/tailwindcss/Procfile.dev +1 -1
- data/lib/tasks/tailwindcss_rails.rake +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7b63867fca5d2dc4791630386b28bd0ee3639e42f7c78cbaad121a7426adfde
|
4
|
+
data.tar.gz: 200949e561a9db7b6ecb94cddf380d3b4535eca34791309c57a15c5a69af62da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35b9ea6f6b6a5ef17f2d7499e1c699c89b12fc51c916be38042a8baff0f47445eb13e9b8a805f96233e9c8c8a8f36629d86a04aec65de994582e5ed2319cb068
|
7
|
+
data.tar.gz: d0a9aa4e603acfd3c81f552a7e3ea306b3f68806cb0005596654c8c875d948e10c760a3127f0980faabb03882285f6a49fbab07e7bc97e4db61bc5b07477b7c2
|
data/Gemfile.lock
CHANGED
@@ -6,7 +6,6 @@
|
|
6
6
|
<%= csrf_meta_tags %>
|
7
7
|
<%= csp_meta_tag %>
|
8
8
|
<%= render partial: 'avo/partials/javascript' %>
|
9
|
-
<%= render partial: 'avo/partials/head' %>
|
10
9
|
<%= render partial: 'avo/partials/branding' %>
|
11
10
|
<% if Avo::PACKED %>
|
12
11
|
<%= javascript_include_tag "/avo-assets/avo.base", "data-turbo-track": "reload", defer: true %>
|
data/lib/avo/version.rb
CHANGED
@@ -21,7 +21,7 @@ module Generators
|
|
21
21
|
end
|
22
22
|
|
23
23
|
if Rails.root.join("Procfile.dev").exist?
|
24
|
-
append_to_file "Procfile.dev", "
|
24
|
+
append_to_file "Procfile.dev", "avo_css: bin/rails avo:tailwindcss:watch\n"
|
25
25
|
else
|
26
26
|
say "Add default Procfile.dev"
|
27
27
|
copy_file template_path("Procfile.dev"), "Procfile.dev"
|
@@ -30,8 +30,6 @@ module Generators
|
|
30
30
|
run "gem install foreman"
|
31
31
|
end
|
32
32
|
|
33
|
-
append_to_file "Procfile.dev", "avo_css: bin/rails tailwindcss:watch\n"
|
34
|
-
|
35
33
|
say "Ejecting the _head.html.erb partial"
|
36
34
|
Rails::Generators.invoke("avo:eject", [":head", "--no-avo-version"], {destination_root: Rails.root})
|
37
35
|
|
@@ -1,2 +1,2 @@
|
|
1
1
|
web: bin/rails server -p 3000
|
2
|
-
|
2
|
+
avo_css: bin/rails avo:tailwindcss:watch
|
@@ -8,7 +8,7 @@ if Gem.loaded_specs.key? TAILWINDCSS_RAILS
|
|
8
8
|
# Get the path
|
9
9
|
GEM_PATH = Gem.loaded_specs[TAILWINDCSS_RAILS].full_gem_path
|
10
10
|
# Compose the compile command
|
11
|
-
AVO_TAILWIND_COMPILE_COMMAND = "#{RbConfig.ruby} #{Pathname.new(GEM_PATH)}/exe/tailwindcss -i '#{Rails.root.join("app/assets/stylesheets/avo.css")}' -o '#{Rails.root.join(ASSET_FILE)}' -c '#{Rails.root.join("config/tailwind.config.js")}' --minify"
|
11
|
+
AVO_TAILWIND_COMPILE_COMMAND = "#{RbConfig.ruby} #{Pathname.new(GEM_PATH)}/exe/tailwindcss -i '#{Rails.root.join("app/assets/stylesheets/avo.tailwind.css")}' -o '#{Rails.root.join(ASSET_FILE)}' -c '#{Rails.root.join("config/tailwind.config.js")}' --minify"
|
12
12
|
|
13
13
|
namespace "avo:tailwindcss" do
|
14
14
|
desc "Build your Tailwind CSS"
|