cpalette 0.0.2 → 0.0.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 +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +6 -1
- data/lib/cpalette/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0d40bfe9d0b38763d6b7dfe7d2c1b82b41a34294
|
|
4
|
+
data.tar.gz: 2a36e40db525cb1705c69622e69a8f29a50f9be9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 27629063c4f455d27213f7cb30ad32de5419c8c634cc831a80d73fc96007cc2783635dafa92507b6ddad958a3548011a1b8de2b29c63d1e6f2376b98e3f9e638
|
|
7
|
+
data.tar.gz: 58751f8806dbe9dc89f679debd3ce079d48d200a6e0558bcc4525e754a5b500a4f26be55f2c34c0f06030789c05c05a171a804f432323d10428cf3cab7f56025
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -21,7 +21,12 @@ Or install it yourself as:
|
|
|
21
21
|
|
|
22
22
|
## Usage
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
colors_array = Cpalette.palette(4)
|
|
25
|
+
|
|
26
|
+
=> [{"hsl"=>"359,62%,46%", "rgb"=>"190,45,47", "hex"=>"#be2d2f"}, {"hsl"=>"89,62%,80%", "rgb"=>"205,236,172", "hex"=>"#cdecac"}, {"hsl"=>"269,80%,71%", "rgb"=>"179,122,240", "hex"=>"#b37af0"}, {"hsl"=>"179,69%,79%", "rgb"=>"165,238,237", "hex"=>"#a5eeed"}]
|
|
27
|
+
|
|
28
|
+
colors_array returns you with an array of 4 hashes with hsl, rgb and hex values for each color.
|
|
29
|
+
|
|
25
30
|
|
|
26
31
|
## Contributing
|
|
27
32
|
|
data/lib/cpalette/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cpalette
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- avinash-vllbh
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-07-
|
|
11
|
+
date: 2014-07-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|