health_check 2.5.0 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +2 -0
- data/.travis.yml +162 -111
- data/CHANGELOG +36 -0
- data/README.rdoc +109 -43
- data/Rakefile +1 -1
- data/Vagrantfile +32 -0
- data/config/routes.rb +1 -1
- data/health_check.gemspec +7 -6
- data/lib/health_check.rb +51 -6
- data/lib/health_check/elasticsearch_health_check.rb +15 -0
- data/lib/health_check/health_check_controller.rb +32 -25
- data/lib/health_check/health_check_routes.rb +1 -1
- data/lib/health_check/middleware_health_check.rb +6 -1
- data/lib/health_check/rabbitmq_health_check.rb +16 -0
- data/lib/health_check/redis_health_check.rb +20 -7
- data/lib/health_check/s3_health_check.rb +9 -14
- data/lib/health_check/utils.rb +55 -33
- data/lib/health_check/version.rb +1 -1
- data/test/fake_smtp_server +143 -24
- data/test/init_variables +19 -1
- data/test/migrate/nine/9_create_countries.rb +1 -1
- data/test/migrate/twelve/011_create_roles.roles.rb +1 -1
- data/test/migrate/twelve/012_create_users.rb +2 -2
- data/test/migrate/twelve/9_create_countries.rb +1 -1
- data/test/provision_vagrant +103 -0
- data/test/rails_5.0.gemfile +10 -7
- data/test/rails_5.1.gemfile +34 -0
- data/test/rails_5.2.gemfile +34 -0
- data/test/rails_6.0.gemfile +30 -0
- data/test/rails_6.1.gemfile +29 -0
- data/test/rails_6.2.gemfile +30 -0
- data/test/rails_edge.gemfile +14 -9
- data/test/setup_railsapp +175 -95
- data/test/test_with_railsapp +152 -46
- data/test/testurl +9 -0
- metadata +45 -22
- data/test/rails_4.0.gemfile +0 -33
- data/test/rails_4.1.gemfile +0 -33
- data/test/rails_4.2.gemfile +0 -30
data/test/rails_4.0.gemfile
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
# Gemfile for health_test testing
|
2
|
-
|
3
|
-
source 'https://rubygems.org'
|
4
|
-
|
5
|
-
ruby RUBY_VERSION < '1.9.3' ? '1.9.3' : RUBY_VERSION
|
6
|
-
|
7
|
-
gem 'rails', "~> 4.0.0"
|
8
|
-
gem 'rake', '>= 0.8.3'
|
9
|
-
gem "rack", '~> 1.5.2'
|
10
|
-
|
11
|
-
group :development, :test do
|
12
|
-
if defined?(JRUBY_VERSION)
|
13
|
-
gem 'jruby-openssl'
|
14
|
-
gem 'activerecord-jdbcsqlite3-adapter'
|
15
|
-
else
|
16
|
-
gem 'sqlite3', "~> 1.3.7"
|
17
|
-
end
|
18
|
-
gem 'shoulda'
|
19
|
-
|
20
|
-
# redis based checks
|
21
|
-
gem 'sidekiq', :require => !ENV['SIDEKIQ'].nil?
|
22
|
-
gem 'redis', :require => !ENV['REDIS_URL'].nil?
|
23
|
-
gem 'resque', :require => !ENV['RESQUE'].nil?
|
24
|
-
# s3 check
|
25
|
-
gem 'aws-sdk', :require => !ENV['AWS_ACCESS_KEY_ID'].nil?
|
26
|
-
end
|
27
|
-
|
28
|
-
# Initial Gemfile has therubyracer commented out
|
29
|
-
gem 'therubyrhino', :platform => :jruby # REQUIRED
|
30
|
-
gem 'therubyracer', :platform => :ruby # REQUIRED
|
31
|
-
# mime-types 2.0 requires Ruby version >= 1.9.2
|
32
|
-
# mime-types 3.0 requires Ruby version >= 2.0
|
33
|
-
gem 'mime-types', defined?(JRUBY_VERSION) || RUBY_VERSION < '2.0' ? '< 3' : '>= 3.0' # REQUIRED
|
data/test/rails_4.1.gemfile
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
# Gemfile for health_test testing
|
2
|
-
|
3
|
-
source 'https://rubygems.org'
|
4
|
-
|
5
|
-
ruby RUBY_VERSION < '1.9.3' ? '1.9.3' : RUBY_VERSION
|
6
|
-
|
7
|
-
gem 'rails', "~> 4.1.0"
|
8
|
-
gem 'rake', '>= 0.8.3'
|
9
|
-
gem "rack", '~> 1.5.2'
|
10
|
-
|
11
|
-
group :development, :test do
|
12
|
-
if defined?(JRUBY_VERSION)
|
13
|
-
gem 'jruby-openssl'
|
14
|
-
gem 'activerecord-jdbcsqlite3-adapter'
|
15
|
-
else
|
16
|
-
gem 'sqlite3', "~> 1.3.7"
|
17
|
-
end
|
18
|
-
gem 'shoulda'
|
19
|
-
|
20
|
-
# redis based checks
|
21
|
-
gem 'sidekiq', :require => !ENV['SIDEKIQ'].nil?
|
22
|
-
gem 'redis', :require => !ENV['REDIS_URL'].nil?
|
23
|
-
gem 'resque', :require => !ENV['RESQUE'].nil?
|
24
|
-
# s3 check
|
25
|
-
gem 'aws-sdk', :require => !ENV['AWS_ACCESS_KEY_ID'].nil?
|
26
|
-
end
|
27
|
-
|
28
|
-
# Initial Gemfile has therubyracer commented out
|
29
|
-
gem 'therubyrhino', :platform => :jruby # REQUIRED
|
30
|
-
gem 'therubyracer', :platform => :ruby # REQUIRED
|
31
|
-
# mime-types 2.0 requires Ruby version >= 1.9.2
|
32
|
-
# mime-types 3.0 requires Ruby version >= 2.0
|
33
|
-
gem 'mime-types', defined?(JRUBY_VERSION) || RUBY_VERSION < '2.0' ? '< 3' : '>= 3.0' # REQUIRED
|
data/test/rails_4.2.gemfile
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
# Gemfile for health_test testing
|
2
|
-
|
3
|
-
source 'https://rubygems.org'
|
4
|
-
|
5
|
-
ruby RUBY_VERSION < '1.9.3' ? '1.9.3' : RUBY_VERSION
|
6
|
-
|
7
|
-
gem 'rails', "~> 4.2.0"
|
8
|
-
gem 'rake', '>= 0.8.3'
|
9
|
-
#gem "rack", '~> 1.6.0'
|
10
|
-
|
11
|
-
group :development, :test do
|
12
|
-
if defined?(JRUBY_VERSION)
|
13
|
-
gem 'jruby-openssl'
|
14
|
-
gem 'activerecord-jdbcsqlite3-adapter'
|
15
|
-
else
|
16
|
-
gem 'sqlite3', "~> 1.3.7"
|
17
|
-
end
|
18
|
-
gem 'shoulda'
|
19
|
-
|
20
|
-
# redis based checks
|
21
|
-
gem 'sidekiq', :require => !ENV['SIDEKIQ'].nil?
|
22
|
-
gem 'redis', :require => !ENV['REDIS_URL'].nil?
|
23
|
-
gem 'resque', :require => !ENV['RESQUE'].nil?
|
24
|
-
# s3 check
|
25
|
-
gem 'aws-sdk', :require => !ENV['AWS_ACCESS_KEY_ID'].nil?
|
26
|
-
end
|
27
|
-
|
28
|
-
# mime-types 2.0 requires Ruby version >= 1.9.2
|
29
|
-
# mime-types 3.0 requires Ruby version >= 2.0
|
30
|
-
gem 'mime-types', defined?(JRUBY_VERSION) || RUBY_VERSION < '2.0' ? '< 3' : '>= 3.0' # REQUIRED
|