immosquare-constants 0.1.2 → 0.1.3

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: 8403926356849e266166dfa73088487e5799990725056aa5a548e31d74864e29
4
- data.tar.gz: bc38b84a421748d12f87b1fa4a4a1667162a8785d042ecc2380266aad04bf478
3
+ metadata.gz: 2c1d32b001fdccc8140c36c0e4691951071d4ec150cdf0de27b5e8dd4cafc581
4
+ data.tar.gz: 411dc174017837158cd599ba20bf879dc2b8b5442e95088abe9f4698ceed8d51
5
5
  SHA512:
6
- metadata.gz: 6c7659c4c7421f273c2366e91ad23b6eff32b3a013def8a8dbf3b5933a91e17089caa5546ae52f634783182c57d9d1a145a291d924e86943e52789e83898565c
7
- data.tar.gz: c896808dccc5a50f24c6d84a98e6d752bc69d2c07b0c11ff1f3bcfd15320192590b9a02d1ebba7b54a8ed05d1897ca09717fcc4688c0150f4bf6c6c224de0345
6
+ metadata.gz: a95088bad0aebedbfde0b0745bfc79013732bc82b36be715e7892f44f088742749764267b2a281ffc8dd19a3a9ecfbc447ce138ccca9fac73cafcf0de3665efe
7
+ data.tar.gz: 69d3d3f8515bac2e7d01f823e88c877f52097f810ac6ee050cd4c34a0349be05fb2ddb3843f0a954cabfe194e90250d60964186a8b6e3447c58abd0c4dcff5ae
@@ -1,5 +1,5 @@
1
1
  module ImmosquareConstants
2
- module Locale
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
@@ -1,3 +1,3 @@
1
1
  module ImmosquareConstants
2
- VERSION = "0.1.2".freeze
2
+ VERSION = "0.1.3".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: immosquare-constants
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - IMMO SQUARE