docker-rainbow 0.1.0 → 0.1.1
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/lib/docker/rainbow.rb +5 -0
- data/lib/docker/rainbow/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: 86c46c8ff7a06784ebb66a196af4dc2101c2d9b4
|
4
|
+
data.tar.gz: c17db142339433a16c4298b667bad4ee2b1a8535
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9cd4680c8112a62e634cd8baeb9d5a6a141365cb1e2466b8d7f0309886254258205681b4c022ccdc6ad66be9441173c7758d5f5b91d905c99d0d5d737493ec0b
|
7
|
+
data.tar.gz: 82f0bee9800870536d83ea2c8eb941048f5879a317e3ede5a7e91a16a9891ce445c360e093b418088dacbe602629fa4cac0929f793fc0c9901839744a735267b
|
data/lib/docker/rainbow.rb
CHANGED
@@ -38,6 +38,11 @@ module Docker
|
|
38
38
|
output.split("\n")
|
39
39
|
end
|
40
40
|
|
41
|
+
# The color of all the containers that this rainbow will name. Chosen
|
42
|
+
# from the palette during #initialize and does not change thereafter.
|
43
|
+
# @return [String]
|
44
|
+
attr_reader :color
|
45
|
+
|
41
46
|
# @param [String] project a prefix that comes before the colors, default
|
42
47
|
# is none
|
43
48
|
# @param [Array] colors a list of colors to choose from, default is the
|