tiny_color 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tiny_color.rb +5 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ab6f7f97772572db9f9150f29e255d3115b8c63f07235779950d608981978065
4
- data.tar.gz: 0bc3fa123e8062f1a08561ec028fb3372c82794a22171b1d1a2bbbc3b81d6250
3
+ metadata.gz: eb12cdf3f1fdc23d1f211194977b8743f38bb4acda953e5f86509d9dc67c4914
4
+ data.tar.gz: da092dc5141b66e86ca38cac7ac41b18788e54346a97b92ba591d7aefe76b92c
5
5
  SHA512:
6
- metadata.gz: e41b28487f9a48a768375d16200e8d5a8ed65f5565b9073ff526cf2e3ca9338969b2b9cc6043a386f77ca58239432e4f5f4efdeb78089a1c8f22e7aa562347e5
7
- data.tar.gz: a28dfad2340703e9eda86b7639a8e77f05ec819b8ae3776f03acef20042cbd18d3bd3132bdb3510748b994ba18ddbcd49c2b488c7e3545a096fadec0705ba412
6
+ metadata.gz: 82b177683f33c5292d420d1342a3351186679cecdcc5723cd2d194d545876e45ba2992daffa17f3e27b8ff47c150f920957fc1158fdd1e404ae517549f5a61d7
7
+ data.tar.gz: 5235f5ab444d167bb2fccfaa44187278a33ac05da835dfae7a0c2544413e45994bd57c4f5c8763c2cd8ab22b10475cf4228de7ed84f50235475a58351c4f681b
data/lib/tiny_color.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # usage:
5
5
  # puts 'Hi'.green + ' there!'
6
- #
6
+ #
7
7
  # "Hi there!" # where 'Hi' will appear in green,
8
8
  # # and the rest in your # default
9
9
  # # terminal color
@@ -16,10 +16,13 @@
16
16
  # # rest in your default terminal
17
17
  # # color
18
18
  class String
19
- COLORS = {
19
+ COLORS = {
20
20
  black: 30,
21
21
  light_black: 90,
22
22
 
23
+ grey: 90,
24
+ gray: 90,
25
+
23
26
  red: 31,
24
27
  light_red: 91,
25
28
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tiny_color
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Lunt