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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d41dd3944d46e1a212cf3a6e14da73f4bd8dfb056f3fccf0f8026d21b0eca0fd
4
- data.tar.gz: 3876941a440dd4008facad81570cd36099f9d71b2ec26b306cf790086e8fede8
3
+ metadata.gz: d8dbbcc4c66d0ec53374d889f4ef4a52179bbaf62e1ea7403b565e4069dbaa37
4
+ data.tar.gz: 1c2686b087fa169f0683589f5af410376dc56795f73d42c18fca08e701c09d0d
5
5
  SHA512:
6
- metadata.gz: 383d1ce548824cb02a1131e307457fe06a33bca1a0b661d39f79aca8e7de92eba8258bd7a13a3aaea17ca6bd54448a3f175e274b4feec9de38515dd1e2a70a13
7
- data.tar.gz: 0d610001c0da70a6433722f2bbc38e27fdd505d17e60b37d9d485f36994b9052a52a8c60bc336e2ef69fcfaf8bbd632e744abf719fca2165cdd2453cbebb861a
6
+ metadata.gz: 19c174b39b9a4a03dac5991ee6f75c0db7c3935ee945551a4804d3e66348017f44685177caf8af7e06a2794b5f8654b6c2c5d8f7a50089d732b368904849ddc6
7
+ data.tar.gz: 5fdba79b302e2f80c4f04f12ba49d610deef2ab4526128109b516f01730fed226369e51543d94ca24c6bd31404ec2e70246da22c37c8c35fdb03fb5ee44cfe2e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kamifusen (0.9.4)
4
+ kamifusen (0.9.5)
5
5
  image_processing
6
6
  rails
7
7
 
@@ -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 }vw" }.join(', ')
22
- srcset_default = sizes.map { |size| "#{ url_for source.variant(resize: "#{size}>", quality: quality) } #{ size }vw" }.join(', ')
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>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Kamifusen
4
- VERSION = "0.9.4"
4
+ VERSION = "0.9.5"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kamifusen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.4
4
+ version: 0.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sébastien Moulène