rainbow_colors 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f7d0e327e09c87a2b3b1c8395b11520d07e01142
4
- data.tar.gz: aac4ec4a7b55a748931748d7b1eb2cc8acd6054e
3
+ metadata.gz: f646582baea8bf537b22ed05a1ecacef0e806425
4
+ data.tar.gz: 22809e913415b688af6d1d58f4be0a689b88ee8d
5
5
  SHA512:
6
- metadata.gz: 4387e08c872c592a4baa70b186269db36fc2455192008cd1c60fc9c45b8e4aafe0a560aa153a42f606c1378dcfaf884f911a18a61bb8bf72658c7904d4497d17
7
- data.tar.gz: 3c8f0849183b27e1b0d0057109b9c18a9255599930c65beb53df1bb39ab7961aabcdba09b2d731dece147f5398b6b852a62f03e80336c16057ad3bf232462003
6
+ metadata.gz: 407109b55eb000facdf7a3768297390ab785899ed5b685401d5c31718058148ae858947070d857a129d01aa0a20cf1a25be8492c696f2179214dfcc0a8fc1a5b
7
+ data.tar.gz: c681e9cc1515cf9a34c0dc37403ddc84a3566ccf0c6b42209c335de54c0a2ff884545a9f219166f66e1cf0d1b9fc12a5cbd1a5ae40258891ffa10cc8e4ae52af
@@ -19,7 +19,12 @@ module RainbowColors
19
19
  end
20
20
  palette.shift # Remove base color
21
21
 
22
- [base_color, grays.first, grays.last, palette.sample]
22
+ {
23
+ color_base: base_color,
24
+ color_shade: grays.first,
25
+ color_tint: grays.last,
26
+ color_accent: palette.sample
27
+ }
23
28
  end
24
29
 
25
30
  def self.color_text(color_background)
@@ -1,3 +1,3 @@
1
1
  module RainbowColors
2
- VERSION = "0.4.0".freeze
2
+ VERSION = "0.4.1".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.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ashish Kumar