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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fbf1ec4d07bf5abd84b075d045f821bac681c8d78a706a30707b576e6ca41a29
4
- data.tar.gz: 0f2d5634ed5e00aa48dee45c974cb5de34f11edfbb628a7965596c3e3b866481
3
+ metadata.gz: 2d396a81a5ba663aae28e872b36fc8d60015be3d883a0ebfee31267ea0ec8711
4
+ data.tar.gz: 3a2bd5ecc4054104237d44a6359a470fb47768c946d1900fc4040e7cc83a35ff
5
5
  SHA512:
6
- metadata.gz: 9730a25f4d9adf100bfe4dc27f39f80e03db1eb0370d654dc2226167dedefd7dd777272ce60395a472923bc380cecc483d83f4d9c276cabf8fb6e8a79a7e393e
7
- data.tar.gz: f119e266ffeafe27f174851b473cadc1fbf6e19bb20c0d3af1298c8a05a614396e86109e7cd79115360fd3aff4a2efa8075bb12bb58720dad03fcc41c5d2ca74
6
+ metadata.gz: fa9a5c42895ac4f749fb0485a0f6093171a57dd4ba46fb8a103122ac1b0d8037952064e00a4f0f96c7df6785febb42e795233276304d8a0e280439aa95d821ec
7
+ data.tar.gz: 806e4c92e2e14a3a85ed0edfc005dcc8a1df2592a150d8b3c289940aa3ab63ecafcf50aa6e8b9b1b2158aa6cd3980daaacd2e8fd18e50646fa4816322cbad4ee
data/README.md CHANGED
@@ -1,35 +1,31 @@
1
1
  # StatusPageVi
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/status_page_vi`. To experiment with that code, run `bin/console` for an interactive prompt.
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
- Add this line to your application's Gemfile:
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
- $ bundle
9
+ - Install it from your terminal:
18
10
 
19
- Or install it yourself as:
20
-
21
- $ gem install status_page_vi
11
+ ```
12
+ $ gem install 'status_page_vi'
13
+ ```
22
14
 
23
15
  ## Usage
24
16
 
25
- TODO: Write usage instructions here
26
-
27
- ## Development
28
-
29
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
-
31
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
-
33
- ## Contributing
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
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/status_page_vi.
28
+ ## Testing
29
+ ```
30
+ $ rspec
31
+ ```
@@ -1,3 +1,3 @@
1
1
  module StatusPageVi
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: status_page_vi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oleg Cherednichenko