alive_state 0.0.1 → 0.1.0

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: 95e7e5d9aabd6fb3b40082ebcef38abe1a2e11a8
4
- data.tar.gz: 62ba4b09069d35cfa5872b80192a4e9788c7e4ad
3
+ metadata.gz: 2707d8b463f15b34f23e22385a0238ebb0591e43
4
+ data.tar.gz: c2aa1c4fbb582d72537645c724723206eef1f56a
5
5
  SHA512:
6
- metadata.gz: 7336e283cff3ff2d5b4053ef4af38b87fe706eda999300bb4bba6190b3028812409185f156477f2d52c6ea982fea0270715345e811408104b4dfe466656182ff
7
- data.tar.gz: ab0fde52c34a423561fa580be3d8e1e47ade23b9fd2b137bf96d9a2f66085bae3e04cd4e260438e482aee8c7eeba40348bea89e653af399b52400cbe126c430f
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
- ```ruby
11
+ ```
12
12
  gem 'alive_state'
13
13
  ```
14
14
 
@@ -20,7 +20,23 @@ $ bundle
20
20
 
21
21
  ## Usage
22
22
 
23
- TODO: Write usage instructions here
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 = "https://github.com/ogom/alive_state"
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")
@@ -1,3 +1,3 @@
1
1
  module AliveState
2
- VERSION = '0.0.1'.freeze
2
+ VERSION = '0.1.0'.freeze
3
3
  end
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.1
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: https://github.com/ogom/alive_state
66
+ homepage: http://ogom.github.io/alive_state
67
67
  licenses:
68
68
  - MIT
69
69
  metadata: {}