kamifusen 0.9.3 → 0.9.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/app/views/kamifusen/_view.html.erb +2 -2
- data/lib/kamifusen/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: d41dd3944d46e1a212cf3a6e14da73f4bd8dfb056f3fccf0f8026d21b0eca0fd
|
4
|
+
data.tar.gz: 3876941a440dd4008facad81570cd36099f9d71b2ec26b306cf790086e8fede8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 383d1ce548824cb02a1131e307457fe06a33bca1a0b661d39f79aca8e7de92eba8258bd7a13a3aaea17ca6bd54448a3f175e274b4feec9de38515dd1e2a70a13
|
7
|
+
data.tar.gz: 0d610001c0da70a6433722f2bbc38e27fdd505d17e60b37d9d485f36994b9052a52a8c60bc336e2ef69fcfaf8bbd632e744abf719fca2165cdd2453cbebb861a
|
data/Gemfile.lock
CHANGED
@@ -18,8 +18,8 @@ parameters += " class=\"#{ options[:class] }\"" if klass
|
|
18
18
|
quality = 80
|
19
19
|
# Computing
|
20
20
|
sizes.reject! { |size| size > width * 2 } if width
|
21
|
-
srcset_webp = sizes.map { |size| "#{ url_for source.variant(resize: "#{size}>", format: :webp, quality: quality) } #{ size }
|
22
|
-
srcset_default = sizes.map { |size| "#{ url_for source.variant(resize: "#{size}>", quality: quality) } #{ size }
|
21
|
+
srcset_webp = sizes.map { |size| "#{ url_for source.variant(resize: "#{size}>", format: :webp, quality: quality) } #{ size }vw" }.join(', ')
|
22
|
+
srcset_default = sizes.map { |size| "#{ url_for source.variant(resize: "#{size}>", quality: quality) } #{ size }vw" }.join(', ')
|
23
23
|
default = url_for source.variant(resize: "#{sizes.max}>", quality: quality)
|
24
24
|
%>
|
25
25
|
<picture>
|
data/lib/kamifusen/version.rb
CHANGED