apphealth 1.0 → 1.0.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
  SHA1:
3
- metadata.gz: 1ede9f98e59fc2fcf11d237918eaa8c178d5f97b
4
- data.tar.gz: 05687ba3321f9e02459fdfee9c25ec08af260b25
3
+ metadata.gz: 231e09dedfc010fca476f9409cde94d9b475b9e2
4
+ data.tar.gz: 446e80e63b56fdaedf4c16474d89dd1c5693ef49
5
5
  SHA512:
6
- metadata.gz: a0f1ef3581e81f6eb4e5ac2b51f50f5753846f9b360a2aa89c36c219e52eb8de397427dbf4f877d54b70d41a47d79373e054a9654b606f5b1fe8edc2fc1e4714
7
- data.tar.gz: 33e1b7aed7180f05c53cec98640d99d8d59b0d8ecd17606397145830a27e5f08329a369e36013f0d594b5bd005d3c5ccb8ff89d3a8ce07661150c93926bbc414
6
+ metadata.gz: 1fbadc1f57adcd433dcba8720d6d023e947d18b9d9daf30b4c89d950b7378bf144037ab462077e07f8f9824708b879986acbc3797d89aab196b48e7275b26975
7
+ data.tar.gz: 5cfce56b3a1a0a758790d83ebe99645735e67091bbaf604e0660a4c3ac09817ca2194e91657c2e9101cd97529ff9dab82926e05fd414f1861236c6c4795f6e5c
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- apphealth (0.1)
4
+ apphealth (1.0.1)
5
5
  colored
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -2,12 +2,17 @@
2
2
  [![Build Status](https://travis-ci.org/djfpaagman/apphealth.png?branch=master)](https://travis-ci.org/djfpaagman/apphealth)
3
3
 
4
4
  AppHealth checks the response for a specific URL on each app server. It does so by overwriting the Host header to the original hostname to trick
5
- the app server in serving the correct content. It also speeds up the check by creating a seperate thread for each request and outputs to stdout.
5
+ the app server in serving the correct content.
6
6
 
7
7
  ![Example](http://springest-monosnap.s3-website-eu-west-1.amazonaws.com/tn2rlqi0ibwfqgr00ahg.png)
8
8
 
9
+ ## Installation
10
+ > gem install apphealth
11
+
12
+ Tested on Ruby 2.0. Compatibility with other rubies not confirmed.
13
+
9
14
  ## Usage
10
- AppHealth checks for a `.apphealth.yml` in either the directory your in or in your home directory. Create this file on a per project basis or just put it in your home dir as a default.
15
+ AppHealth checks for a `.apphealth.yml` config file in either the current directory or your home directory. Create this file on a per project basis or just put it in your home dir as a default.
11
16
 
12
17
  The structure of the confg file needs to be as followed:
13
18
 
@@ -23,7 +28,7 @@ servers:
23
28
 
24
29
  After creating your config file you can check the app server by running the following command:
25
30
 
26
- ``apphealth [url]`
31
+ > apphealth [url]
27
32
 
28
33
  * `url` is an optional url to check, if none is given it will check the `default_url` from the config.
29
34
 
@@ -8,7 +8,7 @@ check = AppHealth::Checker.new(ARGV[0])
8
8
  # each number maps to a class of http responses. For example 2 for 2xx responses.
9
9
  color_map = {
10
10
  '2' => 'green',
11
- '3' => 'orange',
11
+ '3' => 'yellow',
12
12
  '4' => 'red',
13
13
  '5' => 'red',
14
14
  }
@@ -1,3 +1,3 @@
1
1
  module AppHealth
2
- VERSION = "1.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apphealth
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.0'
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dennis Paagman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-13 00:00:00.000000000 Z
11
+ date: 2013-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler