health_check_cli 0.1.1 → 0.1.2
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/README.md +9 -9
- data/lib/health_check_cli/commands/help.rb +4 -4
- data/lib/health_check_cli/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: c43f176c6507324bfa3b60c74d6ba1a2b3596ab5
|
|
4
|
+
data.tar.gz: 160d8ee4b8f364f4092268ad8f3d0138a65e2bf6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 419d3457abb6a832e1cd3781f8ed224c72e436828b5bfafcdfe028b97da85d6e6fc1e9f7b64e34338d97ae0b1d68c0f1cdd969c244437b54f3852168c9bdaafe
|
|
7
|
+
data.tar.gz: 539adf028b9f5f2b77173e70582b136c6a898b7f384b0091d80d0cf3aec3f30189de0aedcff7eee47ebfc2481bd20d57d14111bb73ac02215b88a9a39bde361a
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# HealthCheckCli
|
|
2
2
|
|
|
3
|
-
This is a simple CLI tool that
|
|
3
|
+
This is a simple CLI tool that displays the status of a given application.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -20,21 +20,21 @@ Or install it yourself as:
|
|
|
20
20
|
|
|
21
21
|
## Usage
|
|
22
22
|
|
|
23
|
-
To start using the health check CLI gem, in you terminal
|
|
23
|
+
To start using the health check CLI gem, type in you terminal:
|
|
24
24
|
```
|
|
25
25
|
health_check_cli
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
-
The default application
|
|
28
|
+
The default application to be checked is 'https://gitlab.com'
|
|
29
29
|
|
|
30
|
-
Currently in the prompt you can give the following commands:
|
|
31
|
-
* help
|
|
32
|
-
* init
|
|
33
|
-
* show
|
|
30
|
+
Currently, in the prompt you can give the following commands:
|
|
31
|
+
* help: This command prints the application's manual.
|
|
32
|
+
* init: Reinitializes the application with a new endpoint.
|
|
33
|
+
* show: Displays the application that is under health check.
|
|
34
34
|
* status: Displays the status of the given application and prints the response time.
|
|
35
|
-
* exit
|
|
35
|
+
* exit: Exits the application
|
|
36
36
|
|
|
37
|
-
I
|
|
37
|
+
I would like some time in the future to extend the gem's functionality. :)
|
|
38
38
|
|
|
39
39
|
## Development
|
|
40
40
|
|
|
@@ -2,10 +2,10 @@ module HealthCheckCli
|
|
|
2
2
|
module Commands
|
|
3
3
|
class Help < Command
|
|
4
4
|
def execute(opts = {})
|
|
5
|
-
puts 'help
|
|
6
|
-
init
|
|
7
|
-
show
|
|
8
|
-
status
|
|
5
|
+
puts 'help Displays this help message.
|
|
6
|
+
init Reinitialises the health_check_cli application with a new endpoint. Example: init http://www.drakontis.com
|
|
7
|
+
show Displays the current application that is under health check.
|
|
8
|
+
status Displays the status of the current application that is under health check and prints its response time.
|
|
9
9
|
exit Exits the application.'
|
|
10
10
|
end
|
|
11
11
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: health_check_cli
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Panagiotis Drakontis
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-10-
|
|
11
|
+
date: 2017-10-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|