-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcolordom.gemspec
27 lines (20 loc) · 971 Bytes
/
colordom.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# frozen_string_literal: true
require_relative 'lib/colordom/version'
Gem::Specification.new do |spec|
spec.name = 'colordom'
spec.version = Colordom::VERSION
spec.authors = ['Jonian Guveli']
spec.email = ['jonian@hardpixel.eu']
spec.summary = 'Extract dominant colors from images'
spec.description = 'Extract dominant colors from images using native extension implemented in Rust.'
spec.homepage = 'https://github.com/hardpixel/colordom'
spec.license = 'MIT'
spec.files = Dir['ext/**/src/*.rs', 'ext/**/Cargo.{lock,toml}', '{ext,lib}/**/*.rb', '*.{md,txt}']
spec.extensions = Dir['ext/**/extconf.rb']
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.7'
spec.add_runtime_dependency 'rb_sys'
spec.add_development_dependency 'bundler', '~> 2.0'
spec.add_development_dependency 'minitest', '~> 5.0'
spec.add_development_dependency 'rake-compiler', '~> 1.2'
end