material-color 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 +4 -0
- data/lib/material/color/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d6d3bb41af99f62d770ce18f3161e051a2ccf9c6
|
4
|
+
data.tar.gz: 6c5f850845e6fe9ca2d01de7fc4ca1553038b5dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2597e48eec14f078b2fba84b720abedd614ff11841649a6e37fa8c472a0a7f396a817929ddb7882a353754de24f953c58cf7e943864e21aa7f8c2d68e5c2ffc8
|
7
|
+
data.tar.gz: 834d4681a09d41ca532d4360d0b43dbf2b6ac42e4e3d02b23717c78c436c190dc06c71b1be7716f1d8ba86e07f39c7c1c472a82db2f66a5850d23c18bce8366a
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -22,6 +22,10 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
Install the gem.
|
24
24
|
|
25
|
+
`rails c`.
|
26
|
+
`Material::Color.generate` => random material hex color will be generated.
|
27
|
+
`Material::Color.generate("#123456")` => material hex color near to the specified hex color will be generated.
|
28
|
+
|
25
29
|
## Development
|
26
30
|
|
27
31
|
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|