kamifusen 0.9.4 → 0.9.5
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: d8dbbcc4c66d0ec53374d889f4ef4a52179bbaf62e1ea7403b565e4069dbaa37
|
4
|
+
data.tar.gz: 1c2686b087fa169f0683589f5af410376dc56795f73d42c18fca08e701c09d0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19c174b39b9a4a03dac5991ee6f75c0db7c3935ee945551a4804d3e66348017f44685177caf8af7e06a2794b5f8654b6c2c5d8f7a50089d732b368904849ddc6
|
7
|
+
data.tar.gz: 5fdba79b302e2f80c4f04f12ba49d610deef2ab4526128109b516f01730fed226369e51543d94ca24c6bd31404ec2e70246da22c37c8c35fdb03fb5ee44cfe2e
|
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 }w" }.join(', ')
|
22
|
+
srcset_default = sizes.map { |size| "#{ url_for source.variant(resize: "#{size}>", quality: quality) } #{ size }w" }.join(', ')
|
23
23
|
default = url_for source.variant(resize: "#{sizes.max}>", quality: quality)
|
24
24
|
%>
|
25
25
|
<picture>
|
data/lib/kamifusen/version.rb
CHANGED