kamifusen 1.10.2 → 1.10.3
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/README.md +1 -1
- data/app/views/kamifusen/_view.html.erb +1 -1
- 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: 56bd55356abc2f8c35701c288a89c82f0bde23ad807987eba2c129e28773e1ae
|
4
|
+
data.tar.gz: 10cc826b4de7b4de04de7ede89d3700c0fc9e9e581366df41f22d556ad56f788
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a59010f32ab196d5228f0065eb7f46bdea8131cb1e861716346e25beb5e9458b574e9979fa63eb2469b8c36e8a69c6bf2f0742d8b365b04215bd9887aeb29be
|
7
|
+
data.tar.gz: 6ab4e8e652dca4ec6c6edd68a0c89c2301b1b9eb0e5396f322bdb26e535a2d358be4633aa29e501fdaabe95e739f9d842498807d2d03e247da801f3ef6c5b05d
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
kamifusen (1.10.
|
4
|
+
kamifusen (1.10.3)
|
5
5
|
image_processing
|
6
6
|
rails
|
7
7
|
|
@@ -158,7 +158,7 @@ GEM
|
|
158
158
|
sprockets (4.0.2)
|
159
159
|
concurrent-ruby (~> 1.0)
|
160
160
|
rack (> 1, < 3)
|
161
|
-
sprockets-rails (3.
|
161
|
+
sprockets-rails (3.4.0)
|
162
162
|
actionpack (>= 5.2)
|
163
163
|
activesupport (>= 5.2)
|
164
164
|
sprockets (>= 3.0.0)
|
data/README.md
CHANGED
@@ -21,7 +21,7 @@ if source&.analyzed? && source.metadata.has_key?('width') && source.metadata.has
|
|
21
21
|
if width.nil? && height.nil?
|
22
22
|
# Image real dimensions
|
23
23
|
width = [image_width, variant_sizes.last].min
|
24
|
-
height = width
|
24
|
+
height = width / image_ratio
|
25
25
|
elsif width.nil?
|
26
26
|
# Calculated width, preserving the aspect ratio
|
27
27
|
width = height * image_ratio
|
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: 1.10.
|
4
|
+
version: 1.10.3
|
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-11-
|
12
|
+
date: 2021-11-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|