health_check 1.4.1 → 1.4.3

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.
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ODRiZmUyM2E5NDZhNzM4MjgxZDEwMDI3OTcwYzg2Zjc0OTQxNDMxZg==
5
+ data.tar.gz: !binary |-
6
+ ZDQxYTQ1NmIzMGU4YmNiNWQ4MzUxMzkwZmYyNWJiMmRjYzQ1YjAwYw==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ MDUwNWM3MmVmN2MxODIwMzVjN2E1YTJlNGVhN2M1YjJhZTRhODRjNmU5YmJh
10
+ N2VhNzkyNjAyZTBmOTk2OTgzYWZiYjdjYmU4ZjRlYzIwMjllZTEwYTRkYjNj
11
+ ZmJjNDY2M2E4YjEyZmVlMWJmZjhiNDBhNmI4NTc1NjA3ZjVlYmU=
12
+ data.tar.gz: !binary |-
13
+ ZmYzMjVhZGMyZmE0ZGMxY2E4YmRiYTQ4ODEzNTI2YWYxMmEyNDYyNDliOWQy
14
+ ZjVmMjUyMzA0OTZhN2MxZDU1NmMxNTdlOTg5NzFkNjdkY2RhZGMwYTAyODA5
15
+ ZGIxZTE5NDI1ZmY1YzA3N2E4MTRhYjYxMzJkNDI2NzdmYjRjNGU=
data/.gitignore CHANGED
@@ -17,25 +17,6 @@ test/tmp
17
17
  test/version_tmp
18
18
  tmp
19
19
 
20
- ## RUBYMINE
21
- .idea/
22
-
23
- ## MAC OS
24
- .DS_Store
25
-
26
- ## TEXTMATE
27
- *.tmproj
28
- tmtags
29
-
30
- ## EMACS
31
- *~
32
- \#*
33
- .\#*
34
-
35
- ## VIM
36
- *.swp
37
- *~
38
-
39
20
  ## PROJECT::SPECIFIC
40
21
  bin/
41
22
  test/bin/
@@ -43,7 +24,5 @@ railsapps/
43
24
  test/*.gemfile.lock
44
25
  ,*
45
26
 
46
- # Local ruby version config
47
- .rbenv-version
48
- .ruby-version
49
- .rvmrc
27
+ # See: https://gist.github.com/ianheggie/9327010
28
+ # for Global git ignore for OS/IDE/temp/backup files
@@ -23,14 +23,7 @@ gemfile:
23
23
 
24
24
  matrix:
25
25
  allow_failures:
26
- - rvm: rbx-19mode
27
- gemfile: test/rails_4.0.gemfile
28
- env: RAILS_ENV2=development
29
-
30
- - rvm: 1.9.3
31
- gemfile: test/rails_edge.gemfile
32
-
33
- - rvm: 2.0.0
26
+ - rvm: 2.1.0
34
27
  gemfile: test/rails_edge.gemfile
35
28
 
36
29
  - rvm: ruby-head
@@ -42,10 +35,7 @@ matrix:
42
35
  include:
43
36
  # rails edge
44
37
 
45
- - rvm: 1.9.3
46
- gemfile: test/rails_edge.gemfile
47
-
48
- - rvm: 2.0.0
38
+ - rvm: 2.1.0
49
39
  gemfile: test/rails_edge.gemfile
50
40
 
51
41
  - rvm: ruby-head
@@ -62,7 +52,7 @@ matrix:
62
52
  - rvm: jruby-19mode
63
53
  gemfile: test/rails_4.0.gemfile
64
54
 
65
- - rvm: rbx-19mode
55
+ - rvm: rbx
66
56
  gemfile: test/rails_4.0.gemfile
67
57
  env: RAILS_ENV2=development
68
58
 
@@ -82,13 +72,10 @@ matrix:
82
72
  gemfile: test/rails_4.0.gemfile
83
73
  env: RAILS_SERVER=unicorn
84
74
 
85
- # rails 3.2 jan 20, 2012
75
+ # rails 3.2 jan 20, 2012 - ruby 1.8.7 or 1.9.2
86
76
  - rvm: 1.8.7
87
77
  gemfile: test/rails_3.2.gemfile
88
78
 
89
- #- rvm: 1.9.2
90
- # gemfile: test/rails_3.2.gemfile
91
-
92
79
  - rvm: 1.9.3
93
80
  gemfile: test/rails_3.2.gemfile
94
81
 
@@ -98,17 +85,13 @@ matrix:
98
85
  - rvm: jruby-19mode
99
86
  gemfile: test/rails_3.2.gemfile
100
87
 
101
- - rvm: rbx-19mode
88
+ - rvm: rbx
102
89
  gemfile: test/rails_3.2.gemfile
103
90
 
104
91
  # rails 3.1 aug 31, 2011 - ruby 1.8.7 or 1.9.2
105
- - rvm: 1.8.7
106
- gemfile: test/rails_3.1.gemfile
107
-
108
92
  - rvm: 1.9.2
109
93
  gemfile: test/rails_3.1.gemfile
110
94
 
111
- # rails 3.0 aug 29 2010 - ruby 1.8.7
112
95
  - rvm: 1.8.7
113
96
  gemfile: test/rails_3.0.gemfile
114
97
 
@@ -116,3 +99,4 @@ matrix:
116
99
  - rvm: 1.8.7
117
100
  gemfile: test/rails_2.3.gemfile
118
101
  env: RUBYGEMS_VERSION=1.8.25
102
+
data/Gemfile CHANGED
@@ -11,12 +11,12 @@ group :development, :test do
11
11
  else
12
12
  gem 'sqlite3', "~> 1.3.7"
13
13
  end
14
- end
15
-
16
- group :misc do
17
14
  # run travis-lint to check .travis.yml
18
15
  gem 'travis-lint'
19
- # required to run rake test:plugins
20
- #gem 'ruby-prof', '>= 0.6.1'
16
+ platforms :ruby_18 do
17
+ # mime-types 2.0 requires Ruby version >= 1.9.2
18
+ gem "mime-types", "< 2.0"
19
+ end
20
+
21
21
  end
22
22
 
@@ -189,11 +189,10 @@ See https://github.com/ianheggie/health_check/wiki/Ajax-Example for an Ajax exam
189
189
 
190
190
  === Automated testing and other checks
191
191
 
192
- Travis CI runs the tests: {<img src="https://travis-ci.org/ianheggie/health_check.png">}[https://travis-ci.org/ianheggie/health_check]
193
-
194
- Code Climate monitors code quality: {<img src="https://codeclimate.com/github/ianheggie/health_check.png" />}[https://codeclimate.com/github/ianheggie/health_check]
195
-
196
- Gemnasium monitors gem dependencies {<img src="https://gemnasium.com/ianheggie/health_check.png">}[https://gemnasium.com/ianheggie/health_check]
192
+ * {<img src="https://badge.fury.io/rb/health_check.png" alt="Gem Version" />}[http://badge.fury.io/rb/health_check] - Latest Gem
193
+ * {<img src="https://travis-ci.org/ianheggie/health_check.png">}[https://travis-ci.org/ianheggie/health_check] - Travis CI
194
+ * {<img src="https://codeclimate.com/github/ianheggie/health_check.png" />}[https://codeclimate.com/github/ianheggie/health_check] - Code quality
195
+ * {<img src="https://gemnasium.com/ianheggie/health_check.png">}[https://gemnasium.com/ianheggie/health_check] - Gem dependencies
197
196
 
198
197
  === Manual testing
199
198
 
@@ -235,5 +234,13 @@ See MIT-LICENSE for details.
235
234
 
236
235
  == Contributors
237
236
 
238
- Thanks go to the various people who have given feedback and suggestions via the issues list and pull requests
237
+ Thanks go to the various people who have given feedback and suggestions via the issues list and pull requests.
238
+
239
+ === Contributing
240
+
241
+ 1. Fork it
242
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
243
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
244
+ 4. Push to the branch (`git push origin my-new-feature`)
245
+ 5. Create new Pull Request (Code with BDD tests are favoured)
239
246
 
@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
13
13
  gem.description = <<-EOF
14
14
  Simple health check of Rails app for uptime monitoring with Pingdom, NewRelic, EngineYard or uptime.openacs.org etc.
15
15
  EOF
16
- gem.homepage = "http://ianheggie.github.io/health_check/"
16
+ gem.homepage = "https://github.com/ianheggie/health_check"
17
17
 
18
18
  gem.files = `git ls-files`.split($/)
19
19
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
@@ -23,6 +23,5 @@ Gem::Specification.new do |gem|
23
23
  gem.add_dependency(%q<rails>, [">= 2.3.0"])
24
24
  gem.add_development_dependency(%q<rake>, [">= 0.8.3"])
25
25
  gem.add_development_dependency(%q<shoulda>, ["~> 2.11.0"])
26
- gem.add_development_dependency(%q<sqlite3>, ["~> 1.3.7"])
27
26
  gem.add_development_dependency(%q<bundler>, ["~> 1.2"])
28
27
  end
@@ -4,8 +4,6 @@
4
4
  module HealthCheck
5
5
  class HealthCheckController < ActionController::Base
6
6
 
7
- session(:off) if Rails.version < '3.0'
8
-
9
7
  layout false if self.respond_to? :layout
10
8
 
11
9
  def index
@@ -1,4 +1,4 @@
1
1
  module HealthCheck
2
- VERSION = "1.4.1"
2
+ VERSION = "1.4.3"
3
3
  end
4
4
 
@@ -13,6 +13,9 @@ gem 'rails', "~> 2.3.15"
13
13
  gem 'rdoc'
14
14
  gem 'rdoc-data'
15
15
 
16
+ # mime-types 2.0 requires Ruby version >= 1.9.2
17
+ gem "mime-types", "< 2.0"
18
+
16
19
  group :development, :test do
17
20
  if defined?(JRUBY_VERSION)
18
21
  gem 'jruby-openssl'
metadata CHANGED
@@ -1,112 +1,80 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: health_check
3
- version: !ruby/object:Gem::Version
4
- hash: 5
5
- prerelease:
6
- segments:
7
- - 1
8
- - 4
9
- - 1
10
- version: 1.4.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.4.3
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Ian Heggie
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2013-10-21 00:00:00 +11:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
22
- requirement: &id001 !ruby/object:Gem::Requirement
23
- none: false
24
- requirements:
25
- - - ">="
26
- - !ruby/object:Gem::Version
27
- hash: 3
28
- segments:
29
- - 2
30
- - 3
31
- - 0
32
- version: 2.3.0
11
+ date: 2014-04-18 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
33
14
  name: rails
34
- version_requirements: *id001
35
- prerelease: false
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ! '>='
18
+ - !ruby/object:Gem::Version
19
+ version: 2.3.0
36
20
  type: :runtime
37
- - !ruby/object:Gem::Dependency
38
- requirement: &id002 !ruby/object:Gem::Requirement
39
- none: false
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- hash: 57
44
- segments:
45
- - 0
46
- - 8
47
- - 3
48
- version: 0.8.3
49
- name: rake
50
- version_requirements: *id002
51
21
  prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ! '>='
25
+ - !ruby/object:Gem::Version
26
+ version: 2.3.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: 0.8.3
52
34
  type: :development
53
- - !ruby/object:Gem::Dependency
54
- requirement: &id003 !ruby/object:Gem::Requirement
55
- none: false
56
- requirements:
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ! '>='
39
+ - !ruby/object:Gem::Version
40
+ version: 0.8.3
41
+ - !ruby/object:Gem::Dependency
42
+ name: shoulda
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
57
45
  - - ~>
58
- - !ruby/object:Gem::Version
59
- hash: 35
60
- segments:
61
- - 2
62
- - 11
63
- - 0
46
+ - !ruby/object:Gem::Version
64
47
  version: 2.11.0
65
- name: shoulda
66
- version_requirements: *id003
67
- prerelease: false
68
48
  type: :development
69
- - !ruby/object:Gem::Dependency
70
- requirement: &id004 !ruby/object:Gem::Requirement
71
- none: false
72
- requirements:
73
- - - ~>
74
- - !ruby/object:Gem::Version
75
- hash: 21
76
- segments:
77
- - 1
78
- - 3
79
- - 7
80
- version: 1.3.7
81
- name: sqlite3
82
- version_requirements: *id004
83
49
  prerelease: false
84
- type: :development
85
- - !ruby/object:Gem::Dependency
86
- requirement: &id005 !ruby/object:Gem::Requirement
87
- none: false
88
- requirements:
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
89
52
  - - ~>
90
- - !ruby/object:Gem::Version
91
- hash: 11
92
- segments:
93
- - 1
94
- - 2
95
- version: "1.2"
53
+ - !ruby/object:Gem::Version
54
+ version: 2.11.0
55
+ - !ruby/object:Gem::Dependency
96
56
  name: bundler
97
- version_requirements: *id005
98
- prerelease: false
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '1.2'
99
62
  type: :development
100
- description: " \tSimple health check of Rails app for uptime monitoring with Pingdom, NewRelic, EngineYard or uptime.openacs.org etc.\n"
101
- email:
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: '1.2'
69
+ description: ! " \tSimple health check of Rails app for uptime monitoring with Pingdom,
70
+ NewRelic, EngineYard or uptime.openacs.org etc.\n"
71
+ email:
102
72
  - ian@heggie.biz
103
73
  executables: []
104
-
105
74
  extensions: []
106
-
107
- extra_rdoc_files:
75
+ extra_rdoc_files:
108
76
  - README.rdoc
109
- files:
77
+ files:
110
78
  - .document
111
79
  - .gitignore
112
80
  - .travis.yml
@@ -144,41 +112,31 @@ files:
144
112
  - test/testurl
145
113
  - test/unit/health_check_controller_test.rb
146
114
  - test/unit/routes_test.rb
147
- has_rdoc: true
148
- homepage: http://ianheggie.github.io/health_check/
115
+ homepage: https://github.com/ianheggie/health_check
149
116
  licenses: []
150
-
117
+ metadata: {}
151
118
  post_install_message:
152
119
  rdoc_options: []
153
-
154
- require_paths:
120
+ require_paths:
155
121
  - lib
156
- required_ruby_version: !ruby/object:Gem::Requirement
157
- none: false
158
- requirements:
159
- - - ">="
160
- - !ruby/object:Gem::Version
161
- hash: 3
162
- segments:
163
- - 0
164
- version: "0"
165
- required_rubygems_version: !ruby/object:Gem::Requirement
166
- none: false
167
- requirements:
168
- - - ">="
169
- - !ruby/object:Gem::Version
170
- hash: 3
171
- segments:
172
- - 0
173
- version: "0"
122
+ required_ruby_version: !ruby/object:Gem::Requirement
123
+ requirements:
124
+ - - ! '>='
125
+ - !ruby/object:Gem::Version
126
+ version: '0'
127
+ required_rubygems_version: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ! '>='
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
174
132
  requirements: []
175
-
176
133
  rubyforge_project:
177
- rubygems_version: 1.6.2
134
+ rubygems_version: 2.2.2
178
135
  signing_key:
179
- specification_version: 3
180
- summary: Simple health check of Rails app for uptime monitoring with Pingdom, NewRelic, EngineYard or uptime.openacs.org etc.
181
- test_files:
136
+ specification_version: 4
137
+ summary: Simple health check of Rails app for uptime monitoring with Pingdom, NewRelic,
138
+ EngineYard or uptime.openacs.org etc.
139
+ test_files:
182
140
  - test/fake_smtp_server
183
141
  - test/init_variables
184
142
  - test/migrate/empty/do_not_remove.txt