immosquare-constants 0.1.2 → 0.1.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b66dc71166a72385fc57f8ca295de970863a611525758a2915f7af8d125134ba
|
4
|
+
data.tar.gz: 9eaccf234fbedb822ca65444a3ca8adb8baa7fc50bfa9be3e32ff38bf11860cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08e16b7c3551beaa21fb9a9072489916092c28c61c8499d389f92ce06ccc699f68ca1ed9e52db153f359cb881b7e33d57f8d0f173e1c992fbdf7be755bfdbe3a'
|
7
|
+
data.tar.gz: 2bcaf01f1c7b13f7aa154fbea68c5b559902441d68308721049176402bea7e6fd208eb83ae2134aa0c34ac762160f7a3fd1529e4aadf8b324e97481f9a861494
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module ImmosquareConstants
|
2
|
-
module
|
2
|
+
module Color
|
3
3
|
COLORS = {
|
4
4
|
:aliceblue => "#f0f8ff",
|
5
5
|
:antiquewhite => "#faebd7",
|
@@ -151,9 +151,12 @@ module ImmosquareConstants
|
|
151
151
|
:yellowgreen => "#9acd32"
|
152
152
|
}.freeze
|
153
153
|
|
154
|
+
class << self
|
155
|
+
|
156
|
+
def color_name_to_hex(color_name)
|
157
|
+
COLORS[color_name.to_sym] || nil
|
158
|
+
end
|
154
159
|
|
155
|
-
def color_name_to_hex(color_name)
|
156
|
-
COLORS[color_name.to_sym] || nil
|
157
160
|
end
|
158
161
|
end
|
159
162
|
end
|
data/lib/immosquare-constants.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: immosquare-constants
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- IMMO SQUARE
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: ImmosquareConstants gem provides a robust set of constants to facilitate
|
14
14
|
application development across various domains
|
@@ -21,6 +21,7 @@ files:
|
|
21
21
|
- lib/immosquare-constants.rb
|
22
22
|
- lib/immosquare-constants/color.rb
|
23
23
|
- lib/immosquare-constants/locale.rb
|
24
|
+
- lib/immosquare-constants/regex.rb
|
24
25
|
- lib/immosquare-constants/version.rb
|
25
26
|
homepage: https://github.com/IMMOSQUARE/immosquare-constants
|
26
27
|
licenses:
|