ocean_kit 0.1.4 ā 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/ocean_kit/helpers/client.rb +0 -2
- data/lib/ocean_kit/resources/config.rb +1 -0
- data/lib/ocean_kit/resources/droplets.rb +4 -3
- data/lib/ocean_kit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84dcf8fe7afd5f888192ce09e6ec3c7153052a812142ae4726d7cbf15b7a43dd
|
4
|
+
data.tar.gz: 930fa733a585ea61efe68c924b66596bf05b80f63282e535f4435f5e1e8adb2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1189f7a21bd24d3bddbf4d0b2144a3b67e1f16df14c02b6b38189cbf921ef2c4bbf5bec976640860ce3a4a7dd9acbefbb23a94ed6f9b52fd38d3db48cff844f1
|
7
|
+
data.tar.gz: 073dc845350bea427160ec66556ffcb06bde23b95cacac2b28b0065f5f58e2cb9543edf372cdfe640bbef32661c49095e3544644bfab1d2f78f8493b8348c9f6
|
data/Gemfile.lock
CHANGED
@@ -4,16 +4,17 @@ module OceanKit
|
|
4
4
|
class Droplets < Thor
|
5
5
|
desc "list", "Lists all droplers."
|
6
6
|
def list
|
7
|
-
puts underline_text("Droplets
|
8
|
-
puts pastel.blue.bold "š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³\n"
|
7
|
+
puts underline_text("Droplets:\n")
|
9
8
|
do_client.droplets.all.each_with_index do |droplet, index|
|
9
|
+
puts "------------------------------\n"
|
10
|
+
|
11
|
+
puts pastel.white.bold "#: ", pastel.clear.white(index + 1)
|
10
12
|
puts pastel.white.bold "Name: ", pastel.clear.white(droplet.name)
|
11
13
|
puts pastel.white.bold "ID: ", pastel.clear.white(droplet.id)
|
12
14
|
puts pastel.white.bold "Public IP: ", pastel.clear.white(droplet.networks.v4.first.ip_address)
|
13
15
|
puts pastel.white.bold "Region: ", pastel.clear.white(droplet.region.slug)
|
14
16
|
puts pastel.white.bold "Status: ", pastel.clear.white(droplet.status)
|
15
17
|
puts pastel.white.bold "Created: ", pastel.clear.white(droplet.created_at)
|
16
|
-
puts pastel.blue.bold "\nš³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³š³\n"
|
17
18
|
end
|
18
19
|
end
|
19
20
|
end
|
data/lib/ocean_kit/version.rb
CHANGED