alive_state 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +19 -3
- data/alive_state.gemspec +1 -1
- data/lib/alive_state/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: 2707d8b463f15b34f23e22385a0238ebb0591e43
|
4
|
+
data.tar.gz: c2aa1c4fbb582d72537645c724723206eef1f56a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78d40aa09f538ab2e6c33c693b0fdd4df2966e4599a8233b8c0dede8c61251a74a4d97b0afe4134ccffe0917260d9988dbbae932767f35a2722a9f0a9b352b22
|
7
|
+
data.tar.gz: 1ef18c0b526c604a534e0e2508399abb15886d39394d0218565ab3628e83bce7c90476f983f6a6b0733470c626270aacfbbf423b6e40d08d43192d5426ab39e0
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Alive State
|
2
2
|
|
3
|
-
[![Build Status](https://travis-ci.org/ogom/alive_state.png?branch=master)](https://travis-ci.org/ogom/alive_state)
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/alive_state.png)](https://rubygems.org/gems/alive_state) [![Build Status](https://travis-ci.org/ogom/alive_state.png?branch=master)](https://travis-ci.org/ogom/alive_state)
|
4
4
|
|
5
5
|
Alive Application State on Rails.
|
6
6
|
|
@@ -8,7 +8,7 @@ Alive Application State on Rails.
|
|
8
8
|
|
9
9
|
Add this line to your application's Gemfile:
|
10
10
|
|
11
|
-
```
|
11
|
+
```
|
12
12
|
gem 'alive_state'
|
13
13
|
```
|
14
14
|
|
@@ -20,7 +20,23 @@ $ bundle
|
|
20
20
|
|
21
21
|
## Usage
|
22
22
|
|
23
|
-
|
23
|
+
Returns the current alive application state:
|
24
|
+
|
25
|
+
```
|
26
|
+
GET /status
|
27
|
+
```
|
28
|
+
|
29
|
+
Response in the format of json:
|
30
|
+
|
31
|
+
```
|
32
|
+
{
|
33
|
+
"state": "green",
|
34
|
+
"created_at": "2014-03-21T12:34:56.789",
|
35
|
+
"application": {
|
36
|
+
"active_record": true
|
37
|
+
}
|
38
|
+
}
|
39
|
+
```
|
24
40
|
|
25
41
|
## License
|
26
42
|
|
data/alive_state.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["ogom@hotmail.co.jp"]
|
11
11
|
spec.summary = %q{Alive Application State.}
|
12
12
|
spec.description = %q{Alive Application State on Rails.}
|
13
|
-
spec.homepage = "
|
13
|
+
spec.homepage = "http://ogom.github.io/alive_state"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
data/lib/alive_state/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alive_state
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ogom
|
@@ -63,7 +63,7 @@ files:
|
|
63
63
|
- spec/alive_state_spec.rb
|
64
64
|
- spec/lib/version_spec.rb
|
65
65
|
- spec/spec_helper.rb
|
66
|
-
homepage:
|
66
|
+
homepage: http://ogom.github.io/alive_state
|
67
67
|
licenses:
|
68
68
|
- MIT
|
69
69
|
metadata: {}
|