diff --git a/README.md b/README.md index 8b62b1d..7ec1a8a 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ An example practical aspect: it can be useful to understand will a black colored #### How to Install: Gemfile: -`gem 'is_dark', '~> 0.0.3'` +`gem 'is_dark', '~> 0.1.7'` Install: `gem install is_dark` @@ -51,6 +51,6 @@ Sometimes Imagick can't detect a pixel or it has no color, so it detects it as ( #### Unit Tests: -- `cd spec && rspec test_is_dark.rb` #rspec tests with a generated debug file +- `rspec` #rspec tests with a generated debug file - `rake test` #minitest based unit tests (low amount of tests) diff --git a/is_dark.gemspec b/is_dark.gemspec index 2016483..4f6f0c8 100644 --- a/is_dark.gemspec +++ b/is_dark.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |s| s.name = "is_dark" - s.version = "0.1.5" + s.version = "0.1.7" 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"]