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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a6129f2f6f68c72758dd546ec513242ffc1ceb24
4
- data.tar.gz: 2054e12e85d020e1104f7a0ebe90d8b71408fead
3
+ metadata.gz: 5efb53ebc1ba12da1606af94865173a0d031cbf6
4
+ data.tar.gz: b31c641b96553b431be13e592e25a2a2dd192357
5
5
  SHA512:
6
- metadata.gz: 1bfd71631c040156a372d2c701340a47bc85df088d62ebdb5315841f4994d0981fbcc5d5921e3c205307bc21794930ae7a2734bfd7fc1a5e10144a9ad62319bb
7
- data.tar.gz: c78f5b9600cacd36c82e1133fba162f7ce66b1a0e825c2cbf483442c57682d267818bcec0e2dac3c498f0174744c3bd109c93e64c766a5ef1421862017bede08
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
 
@@ -1,3 +1,3 @@
1
1
  module RailsServerStatus
2
- VERSION = "0.0.1"
2
+ VERSION = "0.1.0"
3
3
  end
Binary file
@@ -1,49 +1,56 @@
1
-  (0.2ms) begin transaction
1
+  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2
+  (0.4ms) select sqlite_version(*)
3
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
+  (0.1ms) SELECT version FROM "schema_migrations"
5
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
6
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
7
+  (0.1ms) begin transaction
2
8
  ------------------------------------------------
3
9
  RailsServerStatus::HealthCheckTest: test_as_json
4
10
  ------------------------------------------------
5
-  (0.1ms) rollback transaction
6
-  (0.1ms) begin transaction
11
+  (0.1ms) rollback transaction
12
+  (0.1ms) begin transaction
7
13
  ------------------------------------------------
8
14
  RailsServerStatus::HealthCheckTest: test_as_text
9
15
  ------------------------------------------------
10
-  (0.1ms) rollback transaction
11
-  (0.1ms) begin transaction
16
+  (0.1ms) rollback transaction
17
+  (0.0ms) begin transaction
12
18
  -----------------------------------------------------------------------
13
19
  RailsServerStatus::HealthCheckTest: test_database_status_when_connected
14
20
  -----------------------------------------------------------------------
15
-  (0.1ms) rollback transaction
16
-  (0.0ms) begin transaction
21
+  (0.1ms) rollback transaction
22
+  (0.1ms) begin transaction
17
23
  --------------------------------------------------------------------------
18
24
  RailsServerStatus::HealthCheckTest: test_database_status_when_disconnected
19
25
  --------------------------------------------------------------------------
20
-  (0.1ms) rollback transaction
21
-  (0.0ms) begin transaction
26
+  (0.0ms) rollback transaction
27
+  (0.1ms) begin transaction
22
28
  ---------------------------------------------------
23
29
  RailsServerStatus::HealthCheckTest: test_ip_address
24
30
  ---------------------------------------------------
25
-  (0.1ms) rollback transaction
26
-  (0.0ms) begin transaction
31
+  (0.0ms) rollback transaction
32
+  (0.0ms) begin transaction
27
33
  ---------------------------------------------------
28
34
  RailsServerStatus::HealthCheckTest: test_process_id
29
35
  ---------------------------------------------------
30
-  (0.1ms) rollback transaction
31
-  (0.0ms) begin transaction
36
+  (0.0ms) rollback transaction
37
+  (0.1ms) begin transaction
32
38
  -------------------------------------------------------
33
39
  RailsServerStatus::HealthCheckTest: test_process_uptime
34
40
  -------------------------------------------------------
35
-  (0.1ms) rollback transaction
36
-  (0.0ms) begin transaction
41
+  (0.0ms) rollback transaction
42
+  (0.0ms) 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
-  (0.1ms) rollback transaction
43
-  (0.0ms) begin transaction
48
+  (0.1ms) rollback transaction
49
+  (0.0ms) begin transaction
44
50
  ----------------------------------------------------------
45
51
  RailsServerStatus::HealthControllerTest: test_show_as_text
46
52
  ----------------------------------------------------------
47
53
  Processing by RailsServerStatus::HealthController#show as HTML
48
- Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
49
-  (0.1ms) rollback transaction
54
+ Rendered text template (0.0ms)
55
+ Completed 200 OK in 5ms (Views: 5.2ms | ActiveRecord: 0.0ms)
56
+  (0.1ms) rollback transaction
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.1
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: 2013-09-05 00:00:00.000000000 Z
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.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.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.0.6
148
+ rubygems_version: 2.2.2
149
149
  signing_key:
150
150
  specification_version: 4
151
151
  summary: Simple Rails health checking