kamifusen 0.9.7 → 1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/app/views/kamifusen/_view.html.erb +3 -9
- data/lib/kamifusen/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f238efa9930dad4bbd2b9986e601120870e7a0f96e2628c2a8d7b217c284e87
|
4
|
+
data.tar.gz: 3bc265f3e7deee21f942bb8391c77426bcc335fff4bd7d4bb05adc7f178febe5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f35d8b955ca59cf265cbae61e229f68a0663d8e091a8216e8fbcacc785d3a6b0e4344cfc9a12f6c5f89ede49cab4835deded944f50764370909b74f773971033
|
7
|
+
data.tar.gz: 8ef30b63560714cc9b3f35cf1367554aec03f11ce4da37eac904346860d380b2367494e1dd1b79ccf1730c33f334473e3fa8ab5d326bc66ce06975f407517772
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
kamifusen (0
|
4
|
+
kamifusen (1.0)
|
5
5
|
image_processing
|
6
6
|
rails
|
7
7
|
|
@@ -94,7 +94,7 @@ GEM
|
|
94
94
|
mini_mime (1.0.3)
|
95
95
|
minitest (5.14.4)
|
96
96
|
nio4r (2.5.7)
|
97
|
-
nokogiri (1.11.
|
97
|
+
nokogiri (1.11.7-x86_64-darwin)
|
98
98
|
racc (~> 1.4)
|
99
99
|
parallel (1.20.1)
|
100
100
|
parser (3.0.1.1)
|
@@ -19,15 +19,9 @@ parameters += " class=\"#{ options[:class] }\"" if klass
|
|
19
19
|
# Computing
|
20
20
|
if width
|
21
21
|
width_retina = width * 2
|
22
|
-
|
23
|
-
|
24
|
-
sizes.
|
25
|
-
# If the previous size was too big, we should reject this one
|
26
|
-
should_reject_this_size = size_is_too_big
|
27
|
-
# If this size is the first "too big" size, we should take it
|
28
|
-
size_is_too_big = size > width_retina
|
29
|
-
should_reject_this_size
|
30
|
-
end
|
22
|
+
sizes.reject! { |size| size > width_retina }
|
23
|
+
sizes << width_retina
|
24
|
+
sizes.uniq!
|
31
25
|
end
|
32
26
|
default_width = sizes.max
|
33
27
|
default_width = width_retina if width_retina && width_retina > default_width
|
data/lib/kamifusen/version.rb
CHANGED
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
|
4
|
+
version: '1.0'
|
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-
|
12
|
+
date: 2021-06-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|