rack-active_record_status 0.3 → 0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +11 -1
- data/lib/rack/active_record_status.rb +1 -1
- data/rack-active_record_status.gemspec +1 -1
- metadata +4 -4
data/README.rdoc
CHANGED
@@ -20,9 +20,19 @@ config file (<tt>config/application.rb</tt> for Rails 3, <tt>config/environment.
|
|
20
20
|
|
21
21
|
config.middleware.use Rack::ActiveRecordStatus
|
22
22
|
|
23
|
+
Test your ActiveRecord connection by hitting
|
24
|
+
|
25
|
+
GET /app_status
|
26
|
+
|
27
|
+
Anything other than a 200 OK HTTP response code is an error.
|
28
|
+
|
29
|
+
You may change which path the app middleware uses by passing an argument:
|
30
|
+
|
31
|
+
config.middleware.use Rack::ActiveRecordStatus, '/custom_path'
|
32
|
+
|
23
33
|
== Sponsorship
|
24
34
|
|
25
|
-
|
35
|
+
Work on rack-active_record_status is sponsored by {Medidata Solutions}[http://github.com/mdsol]
|
26
36
|
== Copyright
|
27
37
|
|
28
38
|
(The MIT License)
|
metadata
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-active_record_status
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: "0.
|
8
|
+
- 4
|
9
|
+
version: "0.4"
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Aaron Suggs
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-05-
|
17
|
+
date: 2011-05-03 00:00:00 -04:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|