rails_server_status 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.markdown +1 -3
- data/lib/rails_server_status/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +26 -19
- metadata +22 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5efb53ebc1ba12da1606af94865173a0d031cbf6
|
4
|
+
data.tar.gz: b31c641b96553b431be13e592e25a2a2dd192357
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da1dbc9236f66479bae52050aa5b7da8420aefd9fa1afe50230332b0812d1e0e0d1d51bd4b8997c7e7f80f28f828e460f2401c6fdfb07b93cd1af849918938f2
|
7
|
+
data.tar.gz: 1a68de9908b157dee264aa6f2731ede3fdf36d0aedf88fcc71b19908975a4253f6e5aec6afd46c43a1f83f8f7dfad73b954b9ed89b01d75013c7aa400478a0c7
|
data/README.markdown
CHANGED
@@ -1,6 +1,4 @@
|
|
1
|
-
# Rails Server Status
|
2
|
-
|
3
|
-
[![Build Status](https://travis-ci.org/shopkeep/rails_server_status.png)](https://travis-ci.org/shopkeep/rails_server_status)
|
1
|
+
# Rails Server Status [![Build Status](https://travis-ci.org/shopkeep/rails_server_status.png?branch=master)](https://travis-ci.org/shopkeep/rails_server_status) [![Code Climate](https://codeclimate.com/github/shopkeep/rails_server_status/badges/gpa.svg)](https://codeclimate.com/github/shopkeep/rails_server_status)
|
4
2
|
|
5
3
|
Mount a Rack application, that will act as a health check that ELB, Varnish, etc can use to verify that the application is healthy
|
6
4
|
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -1,49 +1,56 @@
|
|
1
|
-
[1m[36m (
|
1
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
2
|
+
[1m[35m (0.4ms)[0m select sqlite_version(*)
|
3
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
5
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
6
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2
8
|
------------------------------------------------
|
3
9
|
RailsServerStatus::HealthCheckTest: test_as_json
|
4
10
|
------------------------------------------------
|
5
|
-
[1m[
|
6
|
-
[1m[
|
11
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7
13
|
------------------------------------------------
|
8
14
|
RailsServerStatus::HealthCheckTest: test_as_text
|
9
15
|
------------------------------------------------
|
10
|
-
[1m[
|
11
|
-
[1m[
|
16
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
17
|
+
[1m[35m (0.0ms)[0m begin transaction
|
12
18
|
-----------------------------------------------------------------------
|
13
19
|
RailsServerStatus::HealthCheckTest: test_database_status_when_connected
|
14
20
|
-----------------------------------------------------------------------
|
15
|
-
[1m[
|
16
|
-
[1m[
|
21
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
22
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17
23
|
--------------------------------------------------------------------------
|
18
24
|
RailsServerStatus::HealthCheckTest: test_database_status_when_disconnected
|
19
25
|
--------------------------------------------------------------------------
|
20
|
-
[1m[
|
21
|
-
[1m[
|
26
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
27
|
+
[1m[35m (0.1ms)[0m begin transaction
|
22
28
|
---------------------------------------------------
|
23
29
|
RailsServerStatus::HealthCheckTest: test_ip_address
|
24
30
|
---------------------------------------------------
|
25
|
-
[1m[
|
26
|
-
[1m[
|
31
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
32
|
+
[1m[35m (0.0ms)[0m begin transaction
|
27
33
|
---------------------------------------------------
|
28
34
|
RailsServerStatus::HealthCheckTest: test_process_id
|
29
35
|
---------------------------------------------------
|
30
|
-
[1m[
|
31
|
-
[1m[
|
36
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
37
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32
38
|
-------------------------------------------------------
|
33
39
|
RailsServerStatus::HealthCheckTest: test_process_uptime
|
34
40
|
-------------------------------------------------------
|
35
|
-
[1m[
|
36
|
-
[1m[
|
41
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37
43
|
----------------------------------------------------------
|
38
44
|
RailsServerStatus::HealthControllerTest: test_show_as_json
|
39
45
|
----------------------------------------------------------
|
40
46
|
Processing by RailsServerStatus::HealthController#show as JSON
|
41
47
|
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
42
|
-
[1m[
|
43
|
-
[1m[
|
48
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
49
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44
50
|
----------------------------------------------------------
|
45
51
|
RailsServerStatus::HealthControllerTest: test_show_as_text
|
46
52
|
----------------------------------------------------------
|
47
53
|
Processing by RailsServerStatus::HealthController#show as HTML
|
48
|
-
|
49
|
-
|
54
|
+
Rendered text template (0.0ms)
|
55
|
+
Completed 200 OK in 5ms (Views: 5.2ms | ActiveRecord: 0.0ms)
|
56
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
metadata
CHANGED
@@ -1,69 +1,69 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_server_status
|
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
|
- Duncan Grazier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 4.0
|
19
|
+
version: '4.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 4.0
|
26
|
+
version: '4.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: mocha
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: simplecov
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: sqlite3
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
description: A Rails 4 Engine for health checking your application
|
@@ -73,6 +73,9 @@ executables: []
|
|
73
73
|
extensions: []
|
74
74
|
extra_rdoc_files: []
|
75
75
|
files:
|
76
|
+
- MIT-LICENSE
|
77
|
+
- README.markdown
|
78
|
+
- Rakefile
|
76
79
|
- app/assets/javascripts/server_status/application.js
|
77
80
|
- app/assets/stylesheets/server_status/application.css
|
78
81
|
- app/controllers/rails_server_status/application_controller.rb
|
@@ -82,13 +85,12 @@ files:
|
|
82
85
|
- app/models/rails_server_status/health_check.rb
|
83
86
|
- app/views/layouts/rails_server_status/application.html.erb
|
84
87
|
- config/routes.rb
|
88
|
+
- lib/rails_server_status.rb
|
85
89
|
- lib/rails_server_status/engine.rb
|
86
90
|
- lib/rails_server_status/version.rb
|
87
|
-
- lib/rails_server_status.rb
|
88
|
-
- MIT-LICENSE
|
89
|
-
- Rakefile
|
90
|
-
- README.markdown
|
91
91
|
- test/controllers/rails_server_status/health_controller_test.rb
|
92
|
+
- test/dummy/README.rdoc
|
93
|
+
- test/dummy/Rakefile
|
92
94
|
- test/dummy/app/assets/javascripts/application.js
|
93
95
|
- test/dummy/app/assets/stylesheets/application.css
|
94
96
|
- test/dummy/app/controllers/application_controller.rb
|
@@ -97,6 +99,7 @@ files:
|
|
97
99
|
- test/dummy/bin/bundle
|
98
100
|
- test/dummy/bin/rails
|
99
101
|
- test/dummy/bin/rake
|
102
|
+
- test/dummy/config.ru
|
100
103
|
- test/dummy/config/application.rb
|
101
104
|
- test/dummy/config/boot.rb
|
102
105
|
- test/dummy/config/database.yml
|
@@ -113,7 +116,6 @@ files:
|
|
113
116
|
- test/dummy/config/initializers/wrap_parameters.rb
|
114
117
|
- test/dummy/config/locales/en.yml
|
115
118
|
- test/dummy/config/routes.rb
|
116
|
-
- test/dummy/config.ru
|
117
119
|
- test/dummy/db/schema.rb
|
118
120
|
- test/dummy/db/test.sqlite3
|
119
121
|
- test/dummy/log/test.log
|
@@ -121,8 +123,6 @@ files:
|
|
121
123
|
- test/dummy/public/422.html
|
122
124
|
- test/dummy/public/500.html
|
123
125
|
- test/dummy/public/favicon.ico
|
124
|
-
- test/dummy/Rakefile
|
125
|
-
- test/dummy/README.rdoc
|
126
126
|
- test/helpers/rails_server_status/health_helper_test.rb
|
127
127
|
- test/models/rails_server_status/health_check_test.rb
|
128
128
|
- test/test_helper.rb
|
@@ -135,17 +135,17 @@ require_paths:
|
|
135
135
|
- lib
|
136
136
|
required_ruby_version: !ruby/object:Gem::Requirement
|
137
137
|
requirements:
|
138
|
-
- -
|
138
|
+
- - ">="
|
139
139
|
- !ruby/object:Gem::Version
|
140
140
|
version: '0'
|
141
141
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- -
|
143
|
+
- - ">="
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: '0'
|
146
146
|
requirements: []
|
147
147
|
rubyforge_project:
|
148
|
-
rubygems_version: 2.
|
148
|
+
rubygems_version: 2.2.2
|
149
149
|
signing_key:
|
150
150
|
specification_version: 4
|
151
151
|
summary: Simple Rails health checking
|