howzit 2.1.7 → 2.1.8

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: 4b0f59c8e5d03f4b8b3fab87cddfe014db34369fc74063e59de098f8abcc38b0
4
- data.tar.gz: 0c8806ab4ef01df61c6559ca40d07c810637cdaa9712f0c4c44f11629fb609a9
3
+ metadata.gz: 8a339dc102a78623a6b3ef96602e081bf4a6d408d1f35d35d4f98dbc8135c154
4
+ data.tar.gz: 420d78ffa41450f2546d22402d0ffaace9f4fedc450bf955de58038bee1fd657
5
5
  SHA512:
6
- metadata.gz: 655eab2823e223e939d43c25191890a1297a63b37f7132dd869ff819e53e763c14915df8bc670af5066dee2ea88cd1da99a6350830a563058092b058777a8285
7
- data.tar.gz: 69775ac58ea7d2c387fd3316c0c31b5d368de6a783ccad65d5124eee2c704fd85c4532c7e5a7046c2ce188c4d3df9b59cb7e4aedb27d98f92768a35ecf81e51c
6
+ metadata.gz: 2ea2707c779434c870a0d98d084f47dbe47b795f1c15282541866ba1c7cc74527f49f155d279d872fd2f7be57e1c8c6590d21dc31d29259c7b5358aef3ce589f
7
+ data.tar.gz: e4c7250b27f0d89521bfdfc5aaade5e5f5d9ecda605ecca64c07402b2e3d0e97791768872e7a73ad1f5c27fb53f39507f98a7a6a3c41a56fefc5b01e45ee1f5a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ### 2.1.8
2
+
3
+ 2023-05-31 11:58
4
+
5
+ #### FIXED
6
+
7
+ - Colors.rb error when code is integer
8
+
1
9
  ### 2.1.7
2
10
 
3
11
  2023-05-29 12:59
data/lib/howzit/colors.rb CHANGED
@@ -206,7 +206,7 @@ module Howzit
206
206
  end
207
207
 
208
208
  def translate_rgb(code)
209
- return code if code !~ /#[A-Z0-9]{3,6}/i
209
+ return code if code.to_s !~ /#[A-Z0-9]{3,6}/i
210
210
 
211
211
  rgb(code)
212
212
  end
@@ -3,5 +3,5 @@
3
3
  # Primary module for this gem.
4
4
  module Howzit
5
5
  # Current Howzit version.
6
- VERSION = '2.1.7'
6
+ VERSION = '2.1.8'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: howzit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.7
4
+ version: 2.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Terpstra
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-29 00:00:00.000000000 Z
11
+ date: 2023-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler