apphealth 1.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +8 -3
- data/bin/apphealth +1 -1
- data/lib/apphealth/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: 231e09dedfc010fca476f9409cde94d9b475b9e2
|
4
|
+
data.tar.gz: 446e80e63b56fdaedf4c16474d89dd1c5693ef49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fbadc1f57adcd433dcba8720d6d023e947d18b9d9daf30b4c89d950b7378bf144037ab462077e07f8f9824708b879986acbc3797d89aab196b48e7275b26975
|
7
|
+
data.tar.gz: 5cfce56b3a1a0a758790d83ebe99645735e67091bbaf604e0660a4c3ac09817ca2194e91657c2e9101cd97529ff9dab82926e05fd414f1861236c6c4795f6e5c
|
data/Gemfile.lock
CHANGED
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.
|
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
|
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
|
-
|
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
|
|
data/bin/apphealth
CHANGED
data/lib/apphealth/version.rb
CHANGED
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:
|
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-
|
11
|
+
date: 2013-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|