Skip to content

Commit

Permalink
Readme Updates + gemspec file
Browse files Browse the repository at this point in the history
  • Loading branch information
butteff committed Dec 30, 2024
1 parent 0916813 commit 287941e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -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)
2 changes: 1 addition & 1 deletion is_dark.gemspec
Original file line number Diff line number Diff line change
@@ -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"]
Expand Down

0 comments on commit 287941e

Please sign in to comment.