aws_elb_health_check 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +39 -0
- data/Rakefile +37 -0
- data/app/assets/javascripts/aws_elb_health_check/application.js +13 -0
- data/app/assets/stylesheets/aws_elb_health_check/application.css +15 -0
- data/app/controllers/aws_elb_health_check/application_controller.rb +5 -0
- data/app/controllers/aws_elb_health_check/health_checks_controller.rb +26 -0
- data/app/helpers/aws_elb_health_check/application_helper.rb +4 -0
- data/app/views/layouts/aws_elb_health_check/application.html.erb +14 -0
- data/config/routes.rb +4 -0
- data/lib/aws_elb_health_check/engine.rb +5 -0
- data/lib/aws_elb_health_check/version.rb +3 -0
- data/lib/aws_elb_health_check.rb +4 -0
- data/lib/tasks/aws_elb_health_check_tasks.rake +4 -0
- data/test/aws_elb_health_check_test.rb +7 -0
- data/test/controllers/aws_elb_health_check/health_checks_controller_test.rb +34 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +29 -0
- data/test/dummy/config/application.rb +26 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +41 -0
- data/test/dummy/config/environments/production.rb +79 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +3 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +86 -0
- data/test/dummy/log/test.log +568 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/integration/navigation_test.rb +8 -0
- data/test/test_helper.rb +21 -0
- metadata +186 -0
@@ -0,0 +1,7 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
4
|
+
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
5
|
+
|
6
|
+
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
7
|
+
# Rails.backtrace_cleaner.remove_silencers!
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Add new inflection rules using the following format. Inflections
|
4
|
+
# are locale specific, and you may define rules for as many different
|
5
|
+
# locales as you wish. All of these examples are active by default:
|
6
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
7
|
+
# inflect.plural /^(ox)$/i, '\1en'
|
8
|
+
# inflect.singular /^(ox)en/i, '\1'
|
9
|
+
# inflect.irregular 'person', 'people'
|
10
|
+
# inflect.uncountable %w( fish sheep )
|
11
|
+
# end
|
12
|
+
|
13
|
+
# These inflection rules are supported but not enabled by default:
|
14
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
15
|
+
# inflect.acronym 'RESTful'
|
16
|
+
# end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
+
# is enabled by default.
|
5
|
+
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
8
|
+
wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
|
9
|
+
end
|
10
|
+
|
11
|
+
# To enable root element in JSON for ActiveRecord objects.
|
12
|
+
# ActiveSupport.on_load(:active_record) do
|
13
|
+
# self.include_root_in_json = true
|
14
|
+
# end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Files in the config/locales directory are used for internationalization
|
2
|
+
# and are automatically loaded by Rails. If you want to use locales other
|
3
|
+
# than English, add the necessary files in this directory.
|
4
|
+
#
|
5
|
+
# To use the locales, use `I18n.t`:
|
6
|
+
#
|
7
|
+
# I18n.t 'hello'
|
8
|
+
#
|
9
|
+
# In views, this is aliased to just `t`:
|
10
|
+
#
|
11
|
+
# <%= t('hello') %>
|
12
|
+
#
|
13
|
+
# To use a different locale, set it with `I18n.locale`:
|
14
|
+
#
|
15
|
+
# I18n.locale = :es
|
16
|
+
#
|
17
|
+
# This would use the information in config/locales/es.yml.
|
18
|
+
#
|
19
|
+
# To learn more, please read the Rails Internationalization guide
|
20
|
+
# available at http://guides.rubyonrails.org/i18n.html.
|
21
|
+
|
22
|
+
en:
|
23
|
+
hello: "Hello world"
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Your secret key is used for verifying the integrity of signed cookies.
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
5
|
+
|
6
|
+
# Make sure the secret is at least 30 characters and all random,
|
7
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
8
|
+
# You can use `rake secret` to generate a secure secret key.
|
9
|
+
|
10
|
+
# Make sure the secrets in this file are kept private
|
11
|
+
# if you're sharing your code publicly.
|
12
|
+
|
13
|
+
development:
|
14
|
+
secret_key_base: 014efa1eb4d9a29c6409b76c610f81224968a8fe5ea2928c594f407e673b257e01fd7eec7e075324686c37061f63c4bbe708ec46fa60c53a125734641d9dcdb5
|
15
|
+
|
16
|
+
test:
|
17
|
+
secret_key_base: d3ccbb649ab6dd36d98963a18222e86d53b19311707f6291a9c4c02c5c5b2ec5d97e1e75bcf0713ab0a164f8d786c895851d5971f95c6db4d3e42d9210096bb3
|
18
|
+
|
19
|
+
# Do not keep production secrets in the repository,
|
20
|
+
# instead read values from the environment.
|
21
|
+
production:
|
22
|
+
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
File without changes
|
File without changes
|
@@ -0,0 +1,86 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
Started GET "/" for ::1 at 2016-10-28 12:09:50 -0400
|
4
|
+
Processing by Rails::WelcomeController#index as */*
|
5
|
+
Rendered /Users/davec/.rvm/gems/ruby-2.3.1@aws_elb_health_check/gems/railties-4.2.7.1/lib/rails/templates/rails/welcome/index.html.erb (2.6ms)
|
6
|
+
Completed 200 OK in 50ms (Views: 49.0ms | ActiveRecord: 0.0ms)
|
7
|
+
|
8
|
+
|
9
|
+
Started GET "/aws_elb_health_check/check" for ::1 at 2016-10-28 12:10:35 -0400
|
10
|
+
|
11
|
+
ActionController::RoutingError (uninitialized constant AwsElbHealthCheck::AwsElbHealthCheck):
|
12
|
+
activesupport (4.2.7.1) lib/active_support/inflector/methods.rb:276:in `const_get'
|
13
|
+
activesupport (4.2.7.1) lib/active_support/inflector/methods.rb:276:in `block in constantize'
|
14
|
+
activesupport (4.2.7.1) lib/active_support/inflector/methods.rb:259:in `each'
|
15
|
+
activesupport (4.2.7.1) lib/active_support/inflector/methods.rb:259:in `inject'
|
16
|
+
activesupport (4.2.7.1) lib/active_support/inflector/methods.rb:259:in `constantize'
|
17
|
+
actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:70:in `controller_reference'
|
18
|
+
actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:60:in `controller'
|
19
|
+
actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:39:in `serve'
|
20
|
+
actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
21
|
+
actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `each'
|
22
|
+
actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `serve'
|
23
|
+
actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:817:in `call'
|
24
|
+
railties (4.2.7.1) lib/rails/engine.rb:518:in `call'
|
25
|
+
railties (4.2.7.1) lib/rails/railtie.rb:194:in `public_send'
|
26
|
+
railties (4.2.7.1) lib/rails/railtie.rb:194:in `method_missing'
|
27
|
+
actionpack (4.2.7.1) lib/action_dispatch/routing/mapper.rb:51:in `serve'
|
28
|
+
actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
29
|
+
actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `each'
|
30
|
+
actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `serve'
|
31
|
+
actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:817:in `call'
|
32
|
+
rack (1.6.4) lib/rack/etag.rb:24:in `call'
|
33
|
+
rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
|
34
|
+
rack (1.6.4) lib/rack/head.rb:13:in `call'
|
35
|
+
actionpack (4.2.7.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
36
|
+
actionpack (4.2.7.1) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
37
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
|
38
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
|
39
|
+
actionpack (4.2.7.1) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
40
|
+
activerecord (4.2.7.1) lib/active_record/query_cache.rb:36:in `call'
|
41
|
+
activerecord (4.2.7.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
|
42
|
+
activerecord (4.2.7.1) lib/active_record/migration.rb:377:in `call'
|
43
|
+
actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
44
|
+
activesupport (4.2.7.1) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
|
45
|
+
activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
|
46
|
+
activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
47
|
+
actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
48
|
+
actionpack (4.2.7.1) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
49
|
+
actionpack (4.2.7.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
50
|
+
actionpack (4.2.7.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
51
|
+
actionpack (4.2.7.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
52
|
+
railties (4.2.7.1) lib/rails/rack/logger.rb:38:in `call_app'
|
53
|
+
railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `block in call'
|
54
|
+
activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
55
|
+
activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:26:in `tagged'
|
56
|
+
activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `tagged'
|
57
|
+
railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `call'
|
58
|
+
actionpack (4.2.7.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
59
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
60
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
61
|
+
activesupport (4.2.7.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
62
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
63
|
+
actionpack (4.2.7.1) lib/action_dispatch/middleware/static.rb:120:in `call'
|
64
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
65
|
+
railties (4.2.7.1) lib/rails/engine.rb:518:in `call'
|
66
|
+
railties (4.2.7.1) lib/rails/application.rb:165:in `call'
|
67
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
68
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
69
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
70
|
+
/Users/davec/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service'
|
71
|
+
/Users/davec/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
|
72
|
+
/Users/davec/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread'
|
73
|
+
|
74
|
+
|
75
|
+
Rendered /Users/davec/.rvm/gems/ruby-2.3.1@aws_elb_health_check/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.8ms)
|
76
|
+
Rendered /Users/davec/.rvm/gems/ruby-2.3.1@aws_elb_health_check/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.9ms)
|
77
|
+
Rendered /Users/davec/.rvm/gems/ruby-2.3.1@aws_elb_health_check/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.2ms)
|
78
|
+
Rendered /Users/davec/.rvm/gems/ruby-2.3.1@aws_elb_health_check/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (10.0ms)
|
79
|
+
Rendered /Users/davec/.rvm/gems/ruby-2.3.1@aws_elb_health_check/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (12.6ms)
|
80
|
+
Rendered /Users/davec/.rvm/gems/ruby-2.3.1@aws_elb_health_check/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (129.1ms)
|
81
|
+
|
82
|
+
|
83
|
+
Started GET "/aws_elb_health_check/check" for ::1 at 2016-10-28 12:11:52 -0400
|
84
|
+
Processing by AwsElbHealthCheck::HealthChecksController#index as */*
|
85
|
+
Application is not configured properly: 'AWS_ELB_HEALTHCHECK_SECRET_KEY' is not set up, so no health check can ever pass
|
86
|
+
Completed 501 Not Implemented in 1ms (ActiveRecord: 0.0ms)
|