colorize 1.0.3 → 1.0.5

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
  SHA256:
3
- metadata.gz: 71f8aba9c90cbf391acaabc470d94e628d66be6df312605d382cb52b09a939af
4
- data.tar.gz: 8efeb99bf7ae768b0d6bc528048238cf0c62f4280e7237ef78163eb1fb026282
3
+ metadata.gz: 96a8cb83d923d510e6c2eb252edf612ccf052e6e4f0a1c3e2a7acfd90323dc40
4
+ data.tar.gz: 9ed2a4cb4e82a83c726cd63173cda755c6dbff39329e28e33c0ffdedc304eaa5
5
5
  SHA512:
6
- metadata.gz: 2543e6215f9a15e7f8507e4c9c061aec22f3a2d3f4b4d84949c4805b912728fb9a018a6b3f65fa2aefbdbb878bc1ddc99c6a5e29f83cd8229a5df31edea68c1e
7
- data.tar.gz: 98c4349e508062160e5a80221eb686dc6fe32ef8f2b90e438cd741c4bd5ddb8dd9c288fb8e0d556aec7a2d25e0ffc47eeee4731439430fc907e0e1d099f40430
6
+ metadata.gz: 61c0f448e3cf1651cc707b5d0691e329743d8c1473458100ce466bc2f98f13c2a1bd511d91836606c7dcc4bd3321b068947fd965a3774c65bb38d1002ceed15e
7
+ data.tar.gz: bbc9cc5151b2b6e21f24300a5a08c45068e6cfa1018b2d6865665b9ce509db25823341b758c61002d2d1e8692fbda3d3fd4365ea1a72326b873a227495ba4741
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.5 / 2023-06-22
4
+ - (backwards compatibility) purple -> magenta
5
+
3
6
  ## 1.0.3 / 2023-06-21
4
7
  - fix ? ommit
5
8
 
@@ -3,23 +3,23 @@
3
3
  module Colorize
4
4
  module ClassMethods
5
5
  @@color_codes ||= {
6
- black: 30,
7
- red: 31,
8
- green: 32,
9
- yellow: 33,
10
- blue: 34,
11
- purple: 35,
12
- cyan: 36,
13
- white: 37,
14
- default: 39,
15
- light_black: 90,
16
- light_red: 91,
17
- light_green: 92,
18
- light_yellow: 93,
19
- light_blue: 94,
20
- light_purple: 95,
21
- light_cyan: 96,
22
- light_white: 97
6
+ black: 30,
7
+ red: 31,
8
+ green: 32,
9
+ yellow: 33,
10
+ blue: 34,
11
+ magenta: 35,
12
+ cyan: 36,
13
+ white: 37,
14
+ default: 39,
15
+ light_black: 90,
16
+ light_red: 91,
17
+ light_green: 92,
18
+ light_yellow: 93,
19
+ light_blue: 94,
20
+ light_magenta: 95,
21
+ light_cyan: 96,
22
+ light_white: 97
23
23
  }
24
24
 
25
25
  @@mode_codes ||= {
@@ -4,5 +4,5 @@
4
4
  # Gem version
5
5
  #
6
6
  module Colorize
7
- VERSION = '1.0.3'
7
+ VERSION = '1.0.5'
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: colorize
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michał Kalbarczyk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-21 00:00:00.000000000 Z
11
+ date: 2023-06-22 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Extends String class or add a ColorizedString with methods to set text
14
14
  color, background color and text effects.