fast_thumbhash 0.4.0 → 0.5.0

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: 60904812112ec4cbab475e36e04f7634c96cb36946d5c3e178ccbfe1ca985727
4
- data.tar.gz: d195d956dcbc219971be4d25fbb486fb5d61515a1a9ea33c03ec184bb97c4a5a
3
+ metadata.gz: 21eff3888305eaf74f56d0783b6220b4a0b6b4013f883da263a3dffda5342efc
4
+ data.tar.gz: e2db56daf85355dffcf3b2284b516c2660ed1286872f45566934e6eb4373db83
5
5
  SHA512:
6
- metadata.gz: ae83b2dd113977b72d4b89207c41119038b062b73d4d07e67864391764f6a6d3ef2791ac323c8ef2851a83c57c3cf9cefaca1c8feca6f717bcfe30ce177dcdb3
7
- data.tar.gz: 3ffb0c9274880eb74092c866b1a618ca315a94348c4725f1e64ebba474982708e9d99f6d30e88d76352a8d6f3cad45ccabc92747e2e3d743c94baa6eeee83b14
6
+ metadata.gz: 1ea352fdb2e92b7b7197247e34d8f953b4687f1cf726c9c2ce148e9743063c64abc7186fdf012843153cc85f4a38886859b9068fabb0ad2c41561adda1b45951
7
+ data.tar.gz: adbcd1313de981039219408ae16ff90a5e207a262f817b8618f20c752631f2f85cb6d69f08fd8f0e3248923d0d3b6d0ff122ada90fc6b4d56ed265c96c4c857e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fast_thumbhash (0.4.0)
4
+ fast_thumbhash (0.5.0)
5
5
  ffi
6
6
 
7
7
  GEM
@@ -379,7 +379,7 @@ void thumbhash_to_rgba(
379
379
 
380
380
  double r, g, b, a;
381
381
 
382
- if (fill_mode == CLAMP) {
382
+ if (fill_mode == CLAMP || fill_mode == BLUR) {
383
383
  if (x < 0)
384
384
  {
385
385
  x = 0;
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FastThumbhash
4
- VERSION = "0.4.0"
4
+ VERSION = "0.5.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fast_thumbhash
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefano Verna