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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 28077d1bee6c3fbd827dda92a04cc8355cfad4911c676672e7bdc1b815c16d78
4
- data.tar.gz: 78a39f2bbbed254b543a683b7406424ae7abff30396c42491236b4474c0a4d53
3
+ metadata.gz: e7b63867fca5d2dc4791630386b28bd0ee3639e42f7c78cbaad121a7426adfde
4
+ data.tar.gz: 200949e561a9db7b6ecb94cddf380d3b4535eca34791309c57a15c5a69af62da
5
5
  SHA512:
6
- metadata.gz: 4eb4cd41172fc2cd8e046bb614c4561c687663be76c36d8ac8960e3902f9d7750747ccadf159a7a9f928805c6253df9ee07f2ed9654ff419cac795fdf64ecf61
7
- data.tar.gz: 9a19ac21d995411cdf147d0659c6fe5c886333188f1e7c4374a7b0e14d9155186e91ecb833a594ab3c1c46ff1d5ec410f2bb128a38f5bb06022153b38e097c65
6
+ metadata.gz: 35b9ea6f6b6a5ef17f2d7499e1c699c89b12fc51c916be38042a8baff0f47445eb13e9b8a805f96233e9c8c8a8f36629d86a04aec65de994582e5ed2319cb068
7
+ data.tar.gz: d0a9aa4e603acfd3c81f552a7e3ea306b3f68806cb0005596654c8c875d948e10c760a3127f0980faabb03882285f6a49fbab07e7bc97e4db61bc5b07477b7c2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- avo (2.15.0)
4
+ avo (2.15.1)
5
5
  active_link_to
6
6
  addressable
7
7
  breadcrumbs_on_rails
@@ -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 %>
@@ -1,6 +1,6 @@
1
1
  class Avo::Configuration::Branding
2
2
  def initialize(colors: nil, chart_colors: nil, logo: nil, logomark: nil)
3
- @colors = colors
3
+ @colors = colors || {}
4
4
  @chart_colors = chart_colors
5
5
  @logo = logo
6
6
  @logomark = logomark
data/lib/avo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Avo
2
- VERSION = "2.15.0" unless const_defined?(:VERSION)
2
+ VERSION = "2.15.1" unless const_defined?(:VERSION)
3
3
  end
@@ -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", "css: bin/rails avo:tailwindcss:watch\n"
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
 
@@ -62,7 +62,7 @@ Avo.configure do |config|
62
62
  ## == Branding ==
63
63
  # config.branding = {
64
64
  # colors: {
65
- # background => "248 246 242",
65
+ # background: "248 246 242",
66
66
  # 100 => "#CEE7F8",
67
67
  # 400 => "#399EE5",
68
68
  # 500 => "#0886DE",
@@ -1,2 +1,2 @@
1
1
  web: bin/rails server -p 3000
2
- css: bin/rails avo:tailwindcss:watch
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"
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.15.0
4
+ version: 2.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Marin