rainbow_colors 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3b61f892b54cd4f7da4dc1c8b0f5e99e28cf902f
4
- data.tar.gz: 61662f851ae5628307f1a380de1d7e754d8bdb77
3
+ metadata.gz: 94115a4aa307ac7cd103db4512ed30003dd9f3fd
4
+ data.tar.gz: 766590964ddec9f86965403966f0189e201f9998
5
5
  SHA512:
6
- metadata.gz: 86540337d8d915bcc07186554fb451f2552912eb571d72b753f3388221acca928ca78a548593ef9426be224bee397a81dabf77fc730fd3f412d027abdbf25b26
7
- data.tar.gz: 36ab250547a4eceef914702d2fe560d4e84d039f5bb65ee504b6cf67ccb0ae12f8a028e7b40a4d99c61e30329ea484de10d39b86aba64e047c538ef602609b92
6
+ metadata.gz: 759787b56e1862275c259bb01106cf1f60dedd649d0fd37730477062dc8228094f4407deb8cea1d639f14c9a0405e3da93ff85e02adc26afd1a17fed5d823cbb
7
+ data.tar.gz: da4a3e2da8bff299724299361d1994d2922fab4b143ea69c4c70f7afabf739d635707f667cc8d5ac0beec3eee44e0b2202a1ee3bf6e5fffe2e5aaa3a68bf26db
@@ -44,7 +44,7 @@ module RainbowColors
44
44
  delta_blue = [bg[:blue], c[:blue]].max - [bg[:blue], c[:blue]].min
45
45
  color_difference = delta_red + delta_green + delta_blue
46
46
 
47
- contrast_colors << RainbowColors::Convertor.hex_from_rgb(c) if color_difference > 225
47
+ contrast_colors << RainbowColors::Convertor.hex_from_rgb(c) if color_difference > 250
48
48
  end
49
49
 
50
50
  # Return random contrasting color color, if available
@@ -1,3 +1,3 @@
1
1
  module RainbowColors
2
- VERSION = "0.3.3".freeze
2
+ VERSION = "0.3.4".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rainbow_colors
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ashish Kumar