avo 2.14.3.pre.5.nosprockets → 2.14.3.pre.6.nosprockets
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.
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/helpers/avo/application_helper.rb +8 -2
- data/lib/avo/version.rb +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: 565538415a5ed1733da872c8903dc0cddf6a24558cca9e040a6f7b768ad82f7f
|
4
|
+
data.tar.gz: 3dfc9368da855f08dda7d1fcb21c2f3c69a733e5897cd171cc1a06907086e1c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 969484a4ccd27ef10c6d4ca5436ea3fc06cc21d49cc94400d80a6b589e103fe4aa34b64aea03536f0f1a3b120b067fe7f9c8db74606c52e6aa116e938bbd4d39
|
7
|
+
data.tar.gz: ceaf6c589699126528d1408f50f3321da8ac33d7a313de9881b797d882a6d01dbf3c77cce57d788102516f5d343f857044d51f9c8846023c944cd27ad3b0a357
|
data/Gemfile.lock
CHANGED
@@ -70,8 +70,14 @@ module Avo
|
|
70
70
|
|
71
71
|
file_name = "#{file_name}.svg" unless file_name.end_with? ".svg"
|
72
72
|
|
73
|
-
|
74
|
-
|
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