kamifusen 1.1 → 1.2

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: 87b7ea289164bd1a3be5022b75ac1f9c9b8a0151b08219579d44a83403ad03cf
4
- data.tar.gz: ed491636014069469b311b19c7d80175ed2cd6d757b87ce938a1170129ea9f88
3
+ metadata.gz: 851589d8842495c0ec86ca05f50f1d31dc8b2bfd1529f5489ace33d2389c7685
4
+ data.tar.gz: bdacde7a5ece34a1e28bf81afe73e2819c810b2cef85644ab8f86ffd1537a030
5
5
  SHA512:
6
- metadata.gz: 418792aa2edb5b1534a5450a893fa74338a43bd92d773715b303eb8e675bfc0359abb3925aec6cb70cc7e2e0bf1286f16e1d2bb0d3aea6e62cc16e402dffbee4
7
- data.tar.gz: d00ba390039160dee9ae0e4f5c7354f2f0300becf19c794aa10665688403361ea0625673a3253eb66b9c8ca3cb26ad7512f688f5587daca93bdb9ae990b63036
6
+ metadata.gz: 48ee33fa22558e94422fa8238689a3264e5e2f3fbe97b955b0d06b9b0b5bf84c0afa9cf2703b853181fce9c4e7bba63a618def3f7d83bc3422c2f847e3e55a0a
7
+ data.tar.gz: ce384764e41270902b94a25bc7de4b0a961fb198b99b099e76b3c148fad146043d82903b08620aa360cc5224cc68a6f3b20bb58aee4257be07e5b41a366e1671
data/Gemfile.lock CHANGED
@@ -1,67 +1,67 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kamifusen (1.1)
4
+ kamifusen (1.2)
5
5
  image_processing
6
6
  rails
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actioncable (6.1.3.2)
12
- actionpack (= 6.1.3.2)
13
- activesupport (= 6.1.3.2)
11
+ actioncable (6.1.4)
12
+ actionpack (= 6.1.4)
13
+ activesupport (= 6.1.4)
14
14
  nio4r (~> 2.0)
15
15
  websocket-driver (>= 0.6.1)
16
- actionmailbox (6.1.3.2)
17
- actionpack (= 6.1.3.2)
18
- activejob (= 6.1.3.2)
19
- activerecord (= 6.1.3.2)
20
- activestorage (= 6.1.3.2)
21
- activesupport (= 6.1.3.2)
16
+ actionmailbox (6.1.4)
17
+ actionpack (= 6.1.4)
18
+ activejob (= 6.1.4)
19
+ activerecord (= 6.1.4)
20
+ activestorage (= 6.1.4)
21
+ activesupport (= 6.1.4)
22
22
  mail (>= 2.7.1)
23
- actionmailer (6.1.3.2)
24
- actionpack (= 6.1.3.2)
25
- actionview (= 6.1.3.2)
26
- activejob (= 6.1.3.2)
27
- activesupport (= 6.1.3.2)
23
+ actionmailer (6.1.4)
24
+ actionpack (= 6.1.4)
25
+ actionview (= 6.1.4)
26
+ activejob (= 6.1.4)
27
+ activesupport (= 6.1.4)
28
28
  mail (~> 2.5, >= 2.5.4)
29
29
  rails-dom-testing (~> 2.0)
30
- actionpack (6.1.3.2)
31
- actionview (= 6.1.3.2)
32
- activesupport (= 6.1.3.2)
30
+ actionpack (6.1.4)
31
+ actionview (= 6.1.4)
32
+ activesupport (= 6.1.4)
33
33
  rack (~> 2.0, >= 2.0.9)
34
34
  rack-test (>= 0.6.3)
35
35
  rails-dom-testing (~> 2.0)
36
36
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
37
- actiontext (6.1.3.2)
38
- actionpack (= 6.1.3.2)
39
- activerecord (= 6.1.3.2)
40
- activestorage (= 6.1.3.2)
41
- activesupport (= 6.1.3.2)
37
+ actiontext (6.1.4)
38
+ actionpack (= 6.1.4)
39
+ activerecord (= 6.1.4)
40
+ activestorage (= 6.1.4)
41
+ activesupport (= 6.1.4)
42
42
  nokogiri (>= 1.8.5)
43
- actionview (6.1.3.2)
44
- activesupport (= 6.1.3.2)
43
+ actionview (6.1.4)
44
+ activesupport (= 6.1.4)
45
45
  builder (~> 3.1)
46
46
  erubi (~> 1.4)
47
47
  rails-dom-testing (~> 2.0)
48
48
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
49
- activejob (6.1.3.2)
50
- activesupport (= 6.1.3.2)
49
+ activejob (6.1.4)
50
+ activesupport (= 6.1.4)
51
51
  globalid (>= 0.3.6)
52
- activemodel (6.1.3.2)
53
- activesupport (= 6.1.3.2)
54
- activerecord (6.1.3.2)
55
- activemodel (= 6.1.3.2)
56
- activesupport (= 6.1.3.2)
57
- activestorage (6.1.3.2)
58
- actionpack (= 6.1.3.2)
59
- activejob (= 6.1.3.2)
60
- activerecord (= 6.1.3.2)
61
- activesupport (= 6.1.3.2)
52
+ activemodel (6.1.4)
53
+ activesupport (= 6.1.4)
54
+ activerecord (6.1.4)
55
+ activemodel (= 6.1.4)
56
+ activesupport (= 6.1.4)
57
+ activestorage (6.1.4)
58
+ actionpack (= 6.1.4)
59
+ activejob (= 6.1.4)
60
+ activerecord (= 6.1.4)
61
+ activesupport (= 6.1.4)
62
62
  marcel (~> 1.0.0)
63
- mini_mime (~> 1.0.2)
64
- activesupport (6.1.3.2)
63
+ mini_mime (>= 1.1.0)
64
+ activesupport (6.1.4)
65
65
  concurrent-ruby (~> 1.0, >= 1.0.2)
66
66
  i18n (>= 1.6, < 2)
67
67
  minitest (>= 5.1)
@@ -73,7 +73,7 @@ GEM
73
73
  concurrent-ruby (1.1.9)
74
74
  crass (1.0.6)
75
75
  erubi (1.10.0)
76
- ffi (1.15.1)
76
+ ffi (1.15.3)
77
77
  globalid (0.4.2)
78
78
  activesupport (>= 4.2.0)
79
79
  i18n (1.8.10)
@@ -92,10 +92,12 @@ GEM
92
92
  marcel (1.0.1)
93
93
  method_source (1.0.0)
94
94
  mini_magick (4.11.0)
95
- mini_mime (1.0.3)
95
+ mini_mime (1.1.0)
96
+ mini_portile2 (2.5.3)
96
97
  minitest (5.14.4)
97
98
  nio4r (2.5.7)
98
- nokogiri (1.11.7-x86_64-darwin)
99
+ nokogiri (1.11.7)
100
+ mini_portile2 (~> 2.5.0)
99
101
  racc (~> 1.4)
100
102
  parallel (1.20.1)
101
103
  parser (3.0.1.1)
@@ -104,31 +106,31 @@ GEM
104
106
  rack (2.2.3)
105
107
  rack-test (1.1.0)
106
108
  rack (>= 1.0, < 3)
107
- rails (6.1.3.2)
108
- actioncable (= 6.1.3.2)
109
- actionmailbox (= 6.1.3.2)
110
- actionmailer (= 6.1.3.2)
111
- actionpack (= 6.1.3.2)
112
- actiontext (= 6.1.3.2)
113
- actionview (= 6.1.3.2)
114
- activejob (= 6.1.3.2)
115
- activemodel (= 6.1.3.2)
116
- activerecord (= 6.1.3.2)
117
- activestorage (= 6.1.3.2)
118
- activesupport (= 6.1.3.2)
109
+ rails (6.1.4)
110
+ actioncable (= 6.1.4)
111
+ actionmailbox (= 6.1.4)
112
+ actionmailer (= 6.1.4)
113
+ actionpack (= 6.1.4)
114
+ actiontext (= 6.1.4)
115
+ actionview (= 6.1.4)
116
+ activejob (= 6.1.4)
117
+ activemodel (= 6.1.4)
118
+ activerecord (= 6.1.4)
119
+ activestorage (= 6.1.4)
120
+ activesupport (= 6.1.4)
119
121
  bundler (>= 1.15.0)
120
- railties (= 6.1.3.2)
122
+ railties (= 6.1.4)
121
123
  sprockets-rails (>= 2.0.0)
122
124
  rails-dom-testing (2.0.3)
123
125
  activesupport (>= 4.2.0)
124
126
  nokogiri (>= 1.6)
125
127
  rails-html-sanitizer (1.3.0)
126
128
  loofah (~> 2.3)
127
- railties (6.1.3.2)
128
- actionpack (= 6.1.3.2)
129
- activesupport (= 6.1.3.2)
129
+ railties (6.1.4)
130
+ actionpack (= 6.1.4)
131
+ activesupport (= 6.1.4)
130
132
  method_source
131
- rake (>= 0.8.7)
133
+ rake (>= 0.13)
132
134
  thor (~> 1.0)
133
135
  rainbow (3.0.0)
134
136
  rake (13.0.3)
@@ -137,7 +139,7 @@ GEM
137
139
  ffi (~> 1.0)
138
140
  regexp_parser (2.1.1)
139
141
  rexml (3.2.5)
140
- rubocop (1.16.1)
142
+ rubocop (1.18.2)
141
143
  parallel (~> 1.10)
142
144
  parser (>= 3.0.0.0)
143
145
  rainbow (>= 2.2.2, < 4.0)
@@ -163,12 +165,13 @@ GEM
163
165
  tzinfo (2.0.4)
164
166
  concurrent-ruby (~> 1.0)
165
167
  unicode-display_width (2.0.0)
166
- websocket-driver (0.7.4)
168
+ websocket-driver (0.7.5)
167
169
  websocket-extensions (>= 0.1.0)
168
170
  websocket-extensions (0.1.5)
169
171
  zeitwerk (2.4.2)
170
172
 
171
173
  PLATFORMS
174
+ ruby
172
175
  x86_64-darwin-20
173
176
 
174
177
  DEPENDENCIES
@@ -5,6 +5,7 @@ alt = options[:alt]
5
5
  width = options[:width]
6
6
  height = options[:height]
7
7
  klass = options[:class]
8
+ picture_class = options[:picture_class]
8
9
  parameters = " loading=\"lazy\" decoding=\"async\""
9
10
  parameters += " alt=\"#{ options[:alt] }\"" if alt
10
11
  parameters += " width=\"#{ options[:width] }\"" if width
@@ -35,7 +36,7 @@ parameters += " class=\"#{ options[:class] }\"" if klass
35
36
  }.join(', ')
36
37
  default = url_for source.variant(resize: "#{default_width}>", quality: quality)
37
38
  %>
38
- <picture>
39
+ <picture<%= " class=\"#{picture_class}\"" unless picture_class.blank? %>>
39
40
  <% if Kamifusen.with_webp %>
40
41
  <source srcset="<%= srcset_webp %>" type="image/webp">
41
42
  <% end %>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Kamifusen
4
- VERSION = "1.1"
4
+ VERSION = "1.2"
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.1'
4
+ version: '1.2'
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-09 00:00:00.000000000 Z
12
+ date: 2021-07-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -116,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  requirements: []
119
- rubygems_version: 3.1.4
119
+ rubygems_version: 3.1.6
120
120
  signing_key:
121
121
  specification_version: 4
122
122
  summary: Images, light as balloons