-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathis_dark.gemspec
26 lines (25 loc) · 1.43 KB
/
is_dark.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
# frozen_string_literal: true
Gem::Specification.new do |s|
s.name = 'is_dark'
s.version = '0.2.0'
s.summary = 'Detects a dark background under an area or by a color code'
s.description = 'Detects a dark color based on luminance W3 standarts ' \
"( https://www.w3.org/TR/WCAG20/#relativeluminancedef ). \n\n " \
"It has these options: \n * is a hex color dark \n * is an Imagick " \
"pixel dark \n * is an Imagick pixel from a blob dark \n * is an area " \
"in a blob over a dark background (uses Imagick for it too). \n\n " \
'An example practical aspect: it can be useful to understand will ' \
'a black colored text be visible or not over an area.'
s.authors = ['Sergei Illarionov', 'Liamshin Ilia']
s.email = 'butteff.ru@gmail.com'
s.files = ['lib/is_dark.rb']
s.homepage = 'https://butteff.ru/en/'
s.post_install_message = 'You can find docs about is_dark gem on https://butteff.ru/en/extensions or on https://github.com/butteff/is_dark_ruby_gem'
s.license = 'MIT'
s.metadata = { 'source_code_uri' => 'https://github.com/butteff/is_dark_ruby_gem',
'rubygems_mfa_required' => 'true' }
s.required_ruby_version = '>= 2.7.0'
s.add_dependency 'rmagick', '~> 5.2'
s.add_development_dependency 'rspec', '~> 3.13'
s.add_development_dependency 'rubocop', '~> 1.69'
end