immosquare-constants 0.1.1 → 0.1.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: f06a4ca615be6710154596652efd1e66b21e64474b0ddea9d65fcfe72a617061
4
- data.tar.gz: c689c33a45b210b17b2db7b72a71cd530b8b5488ec351ee6e1a24ff33f1e1d10
3
+ metadata.gz: 2c1d32b001fdccc8140c36c0e4691951071d4ec150cdf0de27b5e8dd4cafc581
4
+ data.tar.gz: 411dc174017837158cd599ba20bf879dc2b8b5442e95088abe9f4698ceed8d51
5
5
  SHA512:
6
- metadata.gz: d1a108cf5128ea6b47fa7a964bd608ee9e3cfa7b6d7a1fa31e419da3039233a991202dc0e1ad4730844c3a9876dc75e25ee7f5645e35b5ddcab9f0ba6f0ec710
7
- data.tar.gz: 38b186533113306dfe1174a8d51f881cdb2706753cbdcb45a5a95aca724fede9eae358517d297e4fd00db0d38118b49609768ae47525be4961c64bf682885a1e
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.1".freeze
2
+ VERSION = "0.1.3".freeze
3
3
  end
@@ -1,4 +1,5 @@
1
1
  require "immosquare-constants/locale"
2
+ require "immosquare-constants/color"
2
3
 
3
4
  module ImmosquareConstants
4
5
  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.1
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - IMMO SQUARE