kamifusen 1.0 → 1.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3f238efa9930dad4bbd2b9986e601120870e7a0f96e2628c2a8d7b217c284e87
4
- data.tar.gz: 3bc265f3e7deee21f942bb8391c77426bcc335fff4bd7d4bb05adc7f178febe5
3
+ metadata.gz: 87b7ea289164bd1a3be5022b75ac1f9c9b8a0151b08219579d44a83403ad03cf
4
+ data.tar.gz: ed491636014069469b311b19c7d80175ed2cd6d757b87ce938a1170129ea9f88
5
5
  SHA512:
6
- metadata.gz: f35d8b955ca59cf265cbae61e229f68a0663d8e091a8216e8fbcacc785d3a6b0e4344cfc9a12f6c5f89ede49cab4835deded944f50764370909b74f773971033
7
- data.tar.gz: 8ef30b63560714cc9b3f35cf1367554aec03f11ce4da37eac904346860d380b2367494e1dd1b79ccf1730c33f334473e3fa8ab5d326bc66ce06975f407517772
6
+ metadata.gz: 418792aa2edb5b1534a5450a893fa74338a43bd92d773715b303eb8e675bfc0359abb3925aec6cb70cc7e2e0bf1286f16e1d2bb0d3aea6e62cc16e402dffbee4
7
+ data.tar.gz: d00ba390039160dee9ae0e4f5c7354f2f0300becf19c794aa10665688403361ea0625673a3253eb66b9c8ca3cb26ad7512f688f5587daca93bdb9ae990b63036
data/Gemfile CHANGED
@@ -8,3 +8,5 @@ gemspec
8
8
  gem "rake", "~> 13.0"
9
9
 
10
10
  gem "rubocop", "~> 1.7"
11
+
12
+ gem "byebug"
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kamifusen (1.0)
4
+ kamifusen (1.1)
5
5
  image_processing
6
6
  rails
7
7
 
@@ -69,10 +69,11 @@ GEM
69
69
  zeitwerk (~> 2.3)
70
70
  ast (2.4.2)
71
71
  builder (3.2.4)
72
- concurrent-ruby (1.1.8)
72
+ byebug (11.1.3)
73
+ concurrent-ruby (1.1.9)
73
74
  crass (1.0.6)
74
75
  erubi (1.10.0)
75
- ffi (1.15.0)
76
+ ffi (1.15.1)
76
77
  globalid (0.4.2)
77
78
  activesupport (>= 4.2.0)
78
79
  i18n (1.8.10)
@@ -83,7 +84,7 @@ GEM
83
84
  listen (3.5.1)
84
85
  rb-fsevent (~> 0.10, >= 0.10.3)
85
86
  rb-inotify (~> 0.9, >= 0.9.10)
86
- loofah (2.9.1)
87
+ loofah (2.10.0)
87
88
  crass (~> 1.0.2)
88
89
  nokogiri (>= 1.5.9)
89
90
  mail (2.7.1)
@@ -136,16 +137,16 @@ GEM
136
137
  ffi (~> 1.0)
137
138
  regexp_parser (2.1.1)
138
139
  rexml (3.2.5)
139
- rubocop (1.15.0)
140
+ rubocop (1.16.1)
140
141
  parallel (~> 1.10)
141
142
  parser (>= 3.0.0.0)
142
143
  rainbow (>= 2.2.2, < 4.0)
143
144
  regexp_parser (>= 1.8, < 3.0)
144
145
  rexml
145
- rubocop-ast (>= 1.5.0, < 2.0)
146
+ rubocop-ast (>= 1.7.0, < 2.0)
146
147
  ruby-progressbar (~> 1.7)
147
148
  unicode-display_width (>= 1.4.0, < 3.0)
148
- rubocop-ast (1.5.0)
149
+ rubocop-ast (1.7.0)
149
150
  parser (>= 3.0.1.1)
150
151
  ruby-progressbar (1.11.0)
151
152
  ruby-vips (2.1.2)
@@ -171,6 +172,7 @@ PLATFORMS
171
172
  x86_64-darwin-20
172
173
 
173
174
  DEPENDENCIES
175
+ byebug
174
176
  kamifusen!
175
177
  listen
176
178
  rake (~> 13.0)
@@ -37,12 +37,12 @@ parameters += " class=\"#{ options[:class] }\"" if klass
37
37
  %>
38
38
  <picture>
39
39
  <% if Kamifusen.with_webp %>
40
- <source srcset="<%= srcset_webp %>">
40
+ <source srcset="<%= srcset_webp %>" type="image/webp">
41
41
  <% end %>
42
- <img src="<%= default %>" srcset="<%= srcset_default %>"<%= raw parameters %>>
42
+ <img src="<%= default %>" srcset="<%= srcset_default %>" type="<%= source.content_type %>"<%= raw parameters %>>
43
43
  </picture>
44
44
  <% else %>
45
45
  <picture>
46
- <img src="<%= url_for source %>"<%= raw parameters %>>
46
+ <img src="<%= url_for source %>" type="<%= source.content_type %>"<%= raw parameters %>>
47
47
  </picture>
48
48
  <% end %>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Kamifusen
4
- VERSION = "1.0"
4
+ VERSION = "1.1"
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: '1.0'
4
+ version: '1.1'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sébastien Moulène
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2021-06-03 00:00:00.000000000 Z
12
+ date: 2021-06-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails