File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77### Added
88- Add ` smart_subsample ` argument to the ` webp_options ` processing option.
99
10+ ### Fixed
11+
12+ - Fix ` calc_hashsums ` info option name.
13+
1014## [ 3.0.0] - 2023-12-28
1115
1216⚠️ This is a major release. See [ the migration guide] ( https://github.com/imgproxy/imgproxy.rb/blob/master/UPGRADE.md ) . ⚠️
Original file line number Diff line number Diff line change 139139}
140140```
141141
142- ### [ calc_hashsum ] ( https://docs.imgproxy.net/usage/getting_info#calc_hashsum )
142+ ### [ calc_hashsums ] ( https://docs.imgproxy.net/usage/getting_info#calc_hashsums )
143143
144144``` ruby
145145{
146- calc_hashsum : Array [String || Symbol ]
146+ calc_hashsums : Array [String || Symbol ]
147147}
148148```
149149
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ module OptionAliases
1818 average : :avg ,
1919 dominant_colors : :dc ,
2020 blurhash : :bh ,
21- calc_hashsum : :chs ,
21+ calc_hashsums : :chs ,
2222 page : :pg ,
2323 video_thumbnail_second : :vts ,
2424 video_thumbnail_keyframes : :vtk ,
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ class Info < Base
3636 average : Imgproxy ::OptionsCasters ::Average ,
3737 dominant_colors : Imgproxy ::OptionsCasters ::DominantColors ,
3838 blurhash : Imgproxy ::OptionsCasters ::Blurhash ,
39- calc_hashsum : Imgproxy ::OptionsCasters ::Array ,
39+ calc_hashsums : Imgproxy ::OptionsCasters ::Array ,
4040 page : Imgproxy ::OptionsCasters ::Integer ,
4141 video_thumbnail_second : Imgproxy ::OptionsCasters ::Integer ,
4242 video_thumbnail_keyframes : Imgproxy ::OptionsCasters ::Bool ,
Original file line number Diff line number Diff line change 4646 x_components : 4 ,
4747 y_components : 3 ,
4848 } ,
49- calc_hashsum : %w[ md5 sha1 ] ,
49+ calc_hashsums : %w[ md5 sha1 ] ,
5050 page : 42 ,
5151 video_thumbnail_second : 15 ,
5252 video_thumbnail_keyframes : true ,
114114 "average:1:1" ,
115115 "dominant_colors:1:1" ,
116116 "blurhash:4:3" ,
117- "calc_hashsum :md5:sha1" ,
117+ "calc_hashsums :md5:sha1" ,
118118 "page:42" ,
119119 "video_thumbnail_second:15" ,
120120 "video_thumbnail_keyframes:1" ,
You can’t perform that action at this time.
0 commit comments