colordom 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/ext/colordom/Cargo.lock +1036 -0
- data/{Cargo.toml → ext/colordom/Cargo.toml} +1 -0
- data/ext/colordom/extconf.rb +6 -0
- data/ext/colordom/src/lib.rs +156 -0
- data/lib/colordom/color.rb +40 -16
- data/lib/colordom/error.rb +2 -0
- data/lib/colordom/image.rb +27 -0
- data/lib/colordom/version.rb +3 -1
- data/lib/colordom.rb +35 -39
- metadata +14 -37
- data/.gitignore +0 -17
- data/.travis.yml +0 -13
- data/Gemfile +0 -11
- data/Rakefile +0 -13
- data/bin/benchmark +0 -80
- data/bin/compare +0 -68
- data/bin/console +0 -14
- data/bin/setup +0 -8
- data/colordom.gemspec +0 -29
- data/ext/Rakefile +0 -10
- data/lib/colordom/native.rb +0 -16
- data/lib/colordom/result.rb +0 -9
- data/src/lib.rs +0 -99
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53547806327419993f2fea02b80d37f764b336359d9119d7e312d8476f00a147
|
4
|
+
data.tar.gz: 66ca4e05839356cf2a2a23215cba0501f6b2b55149f5c019cf3dad031e86f6dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0aff7d1346a983df3db96a839080b4389ef0b4e15ffc24bc66430cc15a76a53b3a339545bb71c69d115446b82c0b8683d027d52ab2f63d76a04d0a57fb860db2
|
7
|
+
data.tar.gz: 8d11973afc632e3374367d7a9d74ada5c6eacaf6cbf503a8a25d82892b85d558823ad2b26ad9f0960f3aa35d279fd9de2e8b8aa708c7e9b8d53e43322a999d36
|
data/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
Ruby gem to extract dominant colors from images using native extension implemented in Rust. Rust must be available on your system to install this gem.
|
4
4
|
|
5
5
|
[](https://badge.fury.io/rb/colordom)
|
6
|
-
[](https://github.com/hardpixel/colordom/actions/workflows/build.yml)
|
7
7
|
[](https://codeclimate.com/github/hardpixel/colordom/maintainability)
|
8
8
|
|
9
9
|
## Installation
|