avo 2.14.3.pre.5.nosprockets → 2.14.3.pre.6.nosprockets

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: b277fe8fdc0cd240ea697b7d68a43af06761d12d5be000c6717da4eda00e5a88
4
- data.tar.gz: 9e9fad003131d2188bec5eee8358571e2ccb841c4fb9fc3f8f03f17688cf177a
3
+ metadata.gz: 565538415a5ed1733da872c8903dc0cddf6a24558cca9e040a6f7b768ad82f7f
4
+ data.tar.gz: 3dfc9368da855f08dda7d1fcb21c2f3c69a733e5897cd171cc1a06907086e1c1
5
5
  SHA512:
6
- metadata.gz: 17f9bfe06002beb679269d7011f94ab229fa27b48edb6a7bec44f5e5e59fa0ec2593c2b94da575bfc419bd814f99f4ca7451cddb1240ce96b56936a43437bd2f
7
- data.tar.gz: 26fd511e67b214f81959f404272cd4878d1f8d6396fd2b3e886a7fd985cf7bc9892ac8abb55ea61d9bee8aef0e8844d56f6bbe4adc0d5b42b0e4b6b978075df1
6
+ metadata.gz: 969484a4ccd27ef10c6d4ca5436ea3fc06cc21d49cc94400d80a6b589e103fe4aa34b64aea03536f0f1a3b120b067fe7f9c8db74606c52e6aa116e938bbd4d39
7
+ data.tar.gz: ceaf6c589699126528d1408f50f3321da8ac33d7a313de9881b797d882a6d01dbf3c77cce57d788102516f5d343f857044d51f9c8846023c944cd27ad3b0a357
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- avo (2.14.3.pre.5.nosprockets)
4
+ avo (2.14.3.pre.6.nosprockets)
5
5
  active_link_to
6
6
  addressable
7
7
  breadcrumbs_on_rails
@@ -70,8 +70,14 @@ module Avo
70
70
 
71
71
  file_name = "#{file_name}.svg" unless file_name.end_with? ".svg"
72
72
 
73
- with_asset_finder(::Avo::SvgFinder) do
74
- inline_svg file_name, **args
73
+ if defined?(Webpacker)
74
+ with_asset_finder(Webpacker::WebpackAssetFinder) do
75
+ inline_svg file_name, **args
76
+ end
77
+ else
78
+ with_asset_finder(::Avo::SvgFinder) do
79
+ inline_svg file_name, **args
80
+ end
75
81
  end
76
82
  end
77
83
 
data/lib/avo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Avo
2
- VERSION = "2.14.3.pre.5.nosprockets" unless const_defined?(:VERSION)
2
+ VERSION = "2.14.3.pre.6.nosprockets" 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.14.3.pre.5.nosprockets
4
+ version: 2.14.3.pre.6.nosprockets
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Marin