ocean_kit 0.1.5 → 0.1.6
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 +11 -5
- data/lib/ocean_kit/helpers/client.rb +1 -1
- data/lib/ocean_kit/resources/config.rb +1 -1
- data/lib/ocean_kit/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 42ede6cb8e3013e2811666c8be0eb81e1519ec1a613364a511839f25b6789ab9
|
|
4
|
+
data.tar.gz: 203f1b609829a882768a36f79a7efffb9b25707c71bbba0cefb86681d0498184
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 78e8239b700e48e14480fb69430e156a2baf10893858130d7fe67a6e8e65b215de951308f1d73713cd3284742caaf9edf156d1e75c5eb5978a27a57b9c9c94bb
|
|
7
|
+
data.tar.gz: 3c5344925df8decdc54dfa18f0f781d5e964d42af0d2f33776ad80c33b7b4448d05e2e1f2540600509dc347ec3032d5435068c953b357e13b5afab4a568c8bec
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -24,11 +24,17 @@ Or install it yourself as:
|
|
|
24
24
|
|
|
25
25
|
- The file should have the following format:
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
```yml
|
|
28
|
+
digital_ocean_token: your_digital_ocean_personal_access_token
|
|
29
|
+
```
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
- You can also generate the file and folder by running:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
$ ocean_kit config setup
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
For a full list of available commands run
|
|
32
38
|
|
|
33
39
|
```
|
|
34
40
|
$ ocean_kit
|
|
@@ -66,7 +72,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
|
66
72
|
|
|
67
73
|
## Contributing
|
|
68
74
|
|
|
69
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
|
75
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/leopolicastro/ocean_kit. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/leopolicastro/ocean_kit/blob/main/CODE_OF_CONDUCT.md).
|
|
70
76
|
|
|
71
77
|
- Currently only has very basic functionality to list firewalls, and enable or disable ssh on them.
|
|
72
78
|
|
|
@@ -14,7 +14,7 @@ end
|
|
|
14
14
|
|
|
15
15
|
def check_credentials_file
|
|
16
16
|
if credentials_file.nil?
|
|
17
|
-
puts pastel.red.bold("Error: credentials file not found. Please run `ocean_kit setup` first.")
|
|
17
|
+
puts pastel.red.bold("Error: credentials file not found. Please run `ocean_kit config setup` first.")
|
|
18
18
|
exit 1
|
|
19
19
|
end
|
|
20
20
|
end
|
|
@@ -15,7 +15,7 @@ module OceanKit
|
|
|
15
15
|
YAML
|
|
16
16
|
end
|
|
17
17
|
puts pastel.green.bold("Successfully setup OceanKit environment.")
|
|
18
|
-
puts pastel.white.bold("Please add your Digital Ocean personal access token your credentials in ~/.ocean_kit/credentials.yml")
|
|
18
|
+
puts pastel.white.bold("Please add your Digital Ocean personal access token your credentials in ~/.ocean_kit/credentials.yml") if access_token.nil?
|
|
19
19
|
end
|
|
20
20
|
end
|
|
21
21
|
end
|
data/lib/ocean_kit/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ocean_kit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Leo Policastro
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-03-
|
|
11
|
+
date: 2022-03-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|