status_page_vi 0.3.0 → 0.3.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/README.md +20 -24
- data/lib/status_page_vi/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: 2d396a81a5ba663aae28e872b36fc8d60015be3d883a0ebfee31267ea0ec8711
|
4
|
+
data.tar.gz: 3a2bd5ecc4054104237d44a6359a470fb47768c946d1900fc4040e7cc83a35ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa9a5c42895ac4f749fb0485a0f6093171a57dd4ba46fb8a103122ac1b0d8037952064e00a4f0f96c7df6785febb42e795233276304d8a0e280439aa95d821ec
|
7
|
+
data.tar.gz: 806e4c92e2e14a3a85ed0edfc005dcc8a1df2592a150d8b3c289940aa3ab63ecafcf50aa6e8b9b1b2158aa6cd3980daaacd2e8fd18e50646fa4816322cbad4ee
|
data/README.md
CHANGED
@@ -1,35 +1,31 @@
|
|
1
1
|
# StatusPageVi
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
Nice command-line tool named ‘status_page_vi’ that pulls status information from different services, displays the results and saves it into a data store.
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
9
|
-
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
gem 'status_page_vi'
|
13
|
-
```
|
14
|
-
|
15
|
-
And then execute:
|
7
|
+
- Install Nokogiri dependencies, [instructions](http://www.nokogiri.org/tutorials/installing_nokogiri.html)
|
16
8
|
|
17
|
-
|
9
|
+
- Install it from your terminal:
|
18
10
|
|
19
|
-
|
20
|
-
|
21
|
-
|
11
|
+
```
|
12
|
+
$ gem install 'status_page_vi'
|
13
|
+
```
|
22
14
|
|
23
15
|
## Usage
|
24
16
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
17
|
+
```
|
18
|
+
Commands:
|
19
|
+
status_page_vi backup PATH RESOURCE_NAME # takes a path variable, and creates a backup of historic and currently saved data, ALL resources by default
|
20
|
+
status_page_vi help [COMMAND] # Describe available commands or one specific command
|
21
|
+
status_page_vi history RESOURCE_NAME # display all the data which was gathered by the tool, ALL resources by default
|
22
|
+
status_page_vi live RESOURCE_NAME # constantly queries URL and outputs the status periodically on the console and save it to the data store, ALL resources by default
|
23
|
+
status_page_vi pull RESOURCE_NAME # make the application pull data from RESOURCE and save into the data store, ALL resources by default
|
24
|
+
status_page_vi resources # outputs avaliable resources with urls
|
25
|
+
status_page_vi restore PATH_TO_BACKUP # takes a path variable which is a backup created by the application and restores that data
|
26
|
+
```
|
34
27
|
|
35
|
-
|
28
|
+
## Testing
|
29
|
+
```
|
30
|
+
$ rspec
|
31
|
+
```
|