paint 2.0.2 → 2.0.3

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
  SHA256:
3
- metadata.gz: ec3dd2072102f8ebdfe49f0520b5d6096dc91541301690d04607a0df83586890
4
- data.tar.gz: 17d070ed26e8c27466117331bb6100df05aa3bb010fa0d89ae6cef98c88a8ac3
3
+ metadata.gz: cc0c0a99ec42618baf8e8bad533afc8dab0a1989d6b24e6adbebc3fbaf05a719
4
+ data.tar.gz: 21f050d8e09d07e8724897f20a484ce7d58546e60743eb4289a322d62633c9f1
5
5
  SHA512:
6
- metadata.gz: 79b1b15e9ce5ff5a59f88c878f20c43630e9eb03832e3fb45f2ac3bde16ee4efc36427d39b043adc65d1d7ad97839ed9e16d12fc8e701deb2e5cb721c2f7b7ea
7
- data.tar.gz: b1059a3b96fc5248cfdd23b939c062bbea838ec48f09db7d5c2e3af6578be02060629e862572953d6b951b424bb47e6d8c3c553cd427ce1abf7416eb0f3e9ba5
6
+ metadata.gz: 8890ead156f4680bdd5ed2a4f1d9b85e9d30084065dacc7697be1542cc53e11819927b8a0d67b43dcc558bca97ff93475df87a1e2615a4f4bbf1e494a55d997a
7
+ data.tar.gz: 11e155127fd7b12e7d3d1b1fc6313d5888b1515d2681caec233852fbba305f2c4aeeda42a4e6c093991f66442f17628e6688370ac68c001af7704b7f4e9d5714
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ### 2.0.3
4
+
5
+ * Add `gray` alias for `white` color, patch by @AlexWayfer
6
+
3
7
  ### 2.0.2
4
8
 
5
9
  * Remove `gunzip` deprecation warning
data/README.md CHANGED
@@ -104,7 +104,7 @@ Terminal colors/effects get created by [ANSI escape sequences](http://en.wikiped
104
104
  * `:blue`
105
105
  * `:magenta`
106
106
  * `:cyan`
107
- * `:white`
107
+ * `:white`, `:gray`
108
108
  * (`:default`)
109
109
 
110
110
  When combined with the `:bright` (= `:bold`) effect, the color in the terminal emulator often differs a little bit, thus it is possible to represent 16 colors.
@@ -15,7 +15,7 @@ module Paint
15
15
  :blue => 4,
16
16
  :magenta => 5,
17
17
  :cyan => 6,
18
- :white => 7,
18
+ :white => 7, :gray => 7,
19
19
  :default => 9,
20
20
  }.freeze
21
21
 
@@ -27,7 +27,7 @@ module Paint
27
27
  :blue => 34,
28
28
  :magenta => 35,
29
29
  :cyan => 36,
30
- :white => 37,
30
+ :white => 37, :gray => 37,
31
31
  :default => 39,
32
32
  }.freeze
33
33
 
@@ -39,7 +39,7 @@ module Paint
39
39
  :blue => 44,
40
40
  :magenta => 45,
41
41
  :cyan => 46,
42
- :white => 47,
42
+ :white => 47, :gray => 47,
43
43
  :default => 49,
44
44
  }.freeze
45
45
 
@@ -84,7 +84,7 @@ module Paint
84
84
  :blue => [ 0, 0, 238],
85
85
  :magenta => [205, 0, 205],
86
86
  :cyan => [ 0, 205, 205],
87
- :white => [229, 229, 229],
87
+ :white => [229, 229, 229], :gray => [229, 229, 229],
88
88
  }.each { |k, v| v.freeze }.freeze
89
89
 
90
90
  # A list of color names for standard bright ansi colors, needed for 16 color fallback mode
@@ -97,6 +97,6 @@ module Paint
97
97
  :blue => [ 92, 92, 255],
98
98
  :magenta => [255, 0, 255],
99
99
  :cyan => [ 0, 255, 255],
100
- :white => [255, 255, 255],
100
+ :white => [255, 255, 255], :gray => [255, 255, 255],
101
101
  }.each { |k, v| v.freeze }.freeze
102
102
  end
@@ -1,3 +1,3 @@
1
1
  module Paint
2
- VERSION = "2.0.2".freeze
2
+ VERSION = "2.0.3".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paint
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Lelis