fast_thumbhash 0.5.0 → 0.6.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: 21eff3888305eaf74f56d0783b6220b4a0b6b4013f883da263a3dffda5342efc
4
- data.tar.gz: e2db56daf85355dffcf3b2284b516c2660ed1286872f45566934e6eb4373db83
3
+ metadata.gz: 3dd0e9e710dfa53775b6c718fd674fdc26fb0a17932058ca18e495b229d43e30
4
+ data.tar.gz: dc6e6c4203596d64bb3fb7e84fa63b72dda92cd5b7612a97371cb4ae418ae2af
5
5
  SHA512:
6
- metadata.gz: 1ea352fdb2e92b7b7197247e34d8f953b4687f1cf726c9c2ce148e9743063c64abc7186fdf012843153cc85f4a38886859b9068fabb0ad2c41561adda1b45951
7
- data.tar.gz: adbcd1313de981039219408ae16ff90a5e207a262f817b8618f20c752631f2f85cb6d69f08fd8f0e3248923d0d3b6d0ff122ada90fc6b4d56ed265c96c4c857e
6
+ metadata.gz: 29c037a813de79ec9a791484823fc42291e2bbc6dd5c8c6a8ecc4d5e17b9de52dfcc64cd554372604bd8068cc5239e898b982f875e0f1efd62cac53967dabf05
7
+ data.tar.gz: 2d0f21baac23f3c28e024d6755a45cdae2c9f4b1dd78243ccd98e6fa6e9b01520f1ff28f9c113d4ab0a9c2ecc0988a0fa801c141310d760337c8f1ec37cc002b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fast_thumbhash (0.5.0)
4
+ fast_thumbhash (0.6.0)
5
5
  ffi
6
6
 
7
7
  GEM
@@ -3,6 +3,7 @@
3
3
  #include <math.h>
4
4
  #include <assert.h>
5
5
  #include <stdbool.h>
6
+ #include <stdio.h>
6
7
 
7
8
  typedef struct encoded_channel
8
9
  {
@@ -4,9 +4,9 @@
4
4
  #include <stdint.h>
5
5
 
6
6
  enum FillMode {
7
- SOLID = 1,
8
- BLUR = 2,
9
- CLAMP = 3,
7
+ SOLID = 0,
8
+ BLUR = 1,
9
+ CLAMP = 2,
10
10
  };
11
11
 
12
12
  void rgba_to_thumbhash(
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FastThumbhash
4
- VERSION = "0.5.0"
4
+ VERSION = "0.6.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.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefano Verna