middleware_healthcheck 0.2.2 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +39 -0
  3. data/CODE_OF_CONDUCT.md +76 -0
  4. data/CONTRIBUTING.md +48 -0
  5. data/Dockerfile +14 -0
  6. data/Gemfile +21 -0
  7. data/Gemfile.lock +167 -0
  8. data/LICENSE +0 -0
  9. data/README.md +6 -1
  10. data/Rakefile +2 -6
  11. data/lib/middleware_healthcheck.rb +8 -6
  12. data/lib/middleware_healthcheck/configuration.rb +10 -8
  13. data/lib/middleware_healthcheck/default_checkers.rb +3 -3
  14. data/lib/middleware_healthcheck/default_checkers/active_record_checker.rb +6 -5
  15. data/lib/middleware_healthcheck/main_checker.rb +9 -6
  16. data/lib/middleware_healthcheck/middleware.rb +3 -1
  17. data/lib/middleware_healthcheck/rails.rb +3 -1
  18. data/lib/middleware_healthcheck/version.rb +3 -1
  19. data/spec/dummy/Rakefile +8 -0
  20. data/spec/dummy/app/assets/config/manifest.js +4 -0
  21. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  22. data/spec/dummy/app/assets/javascripts/cable.js +13 -0
  23. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  24. data/spec/dummy/app/channels/application_cable/channel.rb +6 -0
  25. data/spec/dummy/app/channels/application_cable/connection.rb +6 -0
  26. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  27. data/spec/dummy/app/controllers/home_controller.rb +5 -0
  28. data/spec/dummy/app/helpers/application_helper.rb +4 -0
  29. data/spec/dummy/app/jobs/application_job.rb +4 -0
  30. data/spec/dummy/app/mailers/application_mailer.rb +6 -0
  31. data/spec/dummy/app/models/application_record.rb +5 -0
  32. data/spec/dummy/app/views/home/show.html.erb +1 -0
  33. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  34. data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
  35. data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
  36. data/spec/dummy/bin/bundle +5 -0
  37. data/spec/dummy/bin/rails +6 -0
  38. data/spec/dummy/bin/rake +6 -0
  39. data/spec/dummy/bin/setup +36 -0
  40. data/spec/dummy/bin/update +31 -0
  41. data/spec/dummy/config.ru +7 -0
  42. data/spec/dummy/config/application.rb +24 -0
  43. data/spec/dummy/config/boot.rb +7 -0
  44. data/spec/dummy/config/cable.yml +9 -0
  45. data/spec/dummy/config/database.yml +25 -0
  46. data/spec/dummy/config/environment.rb +7 -0
  47. data/spec/dummy/config/environments/development.rb +56 -0
  48. data/spec/dummy/config/environments/production.rb +88 -0
  49. data/spec/dummy/config/environments/test.rb +44 -0
  50. data/spec/dummy/config/initializers/application_controller_renderer.rb +8 -0
  51. data/spec/dummy/config/initializers/assets.rb +13 -0
  52. data/spec/dummy/config/initializers/backtrace_silencers.rb +9 -0
  53. data/spec/dummy/config/initializers/cookies_serializer.rb +7 -0
  54. data/spec/dummy/config/initializers/filter_parameter_logging.rb +6 -0
  55. data/spec/dummy/config/initializers/inflections.rb +18 -0
  56. data/spec/dummy/config/initializers/mime_types.rb +6 -0
  57. data/spec/dummy/config/initializers/new_framework_defaults.rb +26 -0
  58. data/spec/dummy/config/initializers/session_store.rb +5 -0
  59. data/spec/dummy/config/initializers/wrap_parameters.rb +16 -0
  60. data/spec/dummy/config/locales/en.yml +23 -0
  61. data/spec/dummy/config/puma.rb +49 -0
  62. data/spec/dummy/config/routes.rb +5 -0
  63. data/spec/dummy/config/secrets.yml +22 -0
  64. data/spec/dummy/config/spring.rb +8 -0
  65. data/spec/dummy/db/test.sqlite3 +0 -0
  66. data/spec/dummy/log/test.log +80 -0
  67. data/spec/dummy/public/404.html +67 -0
  68. data/spec/dummy/public/422.html +67 -0
  69. data/spec/dummy/public/500.html +66 -0
  70. data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
  71. data/spec/dummy/public/apple-touch-icon.png +0 -0
  72. data/spec/dummy/public/favicon.ico +0 -0
  73. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/1Z/1ZqiErdTkUSevJyliQcE6Uv0PPfRzU66d94xoZ3dSfw.cache +1 -0
  74. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/7w/7w6Uz6xnLkTSMI9uPVNZTvew3_SuE2eFtCp2AMFxQeE.cache +1 -0
  75. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Cc/CcEKUCZOP7lJ_9fy6W8fGxHeo_pLX0_lh0F7JlaDl5I.cache +0 -0
  76. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/D_/D_apOMXJIIn679o4LoHlmz-NyTG64xuWe4ro7TKyzpU.cache +1 -0
  77. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/G0/G0qRtrgh65rOsfS-37uSF2UQdaiDRjEmjqhbpW0pBJA.cache +0 -0
  78. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/GD/GDi3vpM2thf3K_zCKYCjKfpt48sxKHSiGGGpyPoOmfw.cache +3 -0
  79. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/H8/H8v7a_YYGdXSKky0FMxhQ8ym_KD2BX6oGxi3jjzxFSg.cache +1 -0
  80. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Iw/IwkARxo4EFYR8P7KFYOqyI2hltfnkf4RBi2GUjeEltU.cache +1 -0
  81. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Jh/Jhvq9MvG2JctlJCzxUeOKtKWOu-CErXP0g6EYcMi8pk.cache +0 -0
  82. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/K2/K2fQCerqynseUF9eeLrwQyQhjV_SJOnR35ahxOQOH4Y.cache +1 -0
  83. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ls/LsCysQmA8eOxqOj2xfTI5HT0hmFxkgb9T-79Vfpkphk.cache +1 -0
  84. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Nq/NqQL4uxBADGd-m9HPI6owT0X79j5Ih03H3Tj1zUv0fc.cache +1 -0
  85. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/RN/RN_c4-q-QAwblsfNBzf70NZ91k0xUW5abQ85cDmIFZ8.cache +1 -0
  86. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/T_/T_SzItfIMNw-VpC5cTm_V-MwdXicKcejykRA_eZGBcg.cache +0 -0
  87. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/VQ/VQUXuiYfRkz_txe0ySlqGpjumXvwUZs4UQ3LdhtnLqo.cache +2 -0
  88. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Zg/ZguUWQxNrtIUWwdZcTog89HWZjwlg1b4B10YtdmGYxo.cache +1 -0
  89. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/b_/b_Itlk9QZZd7Rvf8kcA4yLP1R5Acu7jB-m1xQiSU0qE.cache +2 -0
  90. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/dC/dCU95oHfJgwqhciDDqBRfdPqRoYltk9RsJijdjFJDFs.cache +0 -0
  91. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/dt/dtA0dxun-aGWHDbilfOw6VkR_pXBQ6Hclrh-DQvu-E4.cache +1 -0
  92. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gg/ggjn9TAGF7zuNOkhChHWmsgBW1JVopRz-Y2hMUg7810.cache +1 -0
  93. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gy/gyVskbQyIOYyz_cK-QTT4kgiBOAsnZC9gN84kLLDYdE.cache +1 -0
  94. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/l_/l__yndgwOVdnrXF0F2Y92la2fbJ-bY8flE0NFs12AGY.cache +1 -0
  95. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/mX/mX1nlsL_SWOB4y22W5FheRX0YEONKyOY7xUeIvRiHco.cache +2 -0
  96. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache +2 -0
  97. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache +2 -0
  98. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/p7/p7shbLzQVrz5OW2TM-TaNcMg8gsq9aZWwa93dkSMTQY.cache +1 -0
  99. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/rJ/rJkoK89nBrho66t78LEv5znjqvofPuVMzAQMTuQbVBg.cache +0 -0
  100. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wD/wD6mw4ORb1J88B71fVPpf5RbRJ3TVgfnA77wJFO8xj4.cache +1 -0
  101. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7PYh8DJvPykcEqpVab2vcY9-GFz-3cqtoMlRAu94Uc.cache +2 -0
  102. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/y_/y_wGqfMY79V5Y8Hzbzuc2ChuexYsrFvBkUfKNuMyTQI.cache +0 -0
  103. data/spec/rails_helper.rb +60 -0
  104. data/spec/requests/healthcheck_spec.rb +46 -0
  105. data/spec/spec_helper.rb +99 -0
  106. metadata +198 -22
  107. data/lib/tasks/middleware_healthcheck_tasks.rake +0 -4
@@ -0,0 +1,46 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'rails_helper'
4
+
5
+ RSpec.describe 'Healthcheck middleware', type: :request do
6
+ it "renders middleware's response" do
7
+ get '/healthcheck'
8
+ expect(response.body).to include("It's alive!")
9
+ expect(response.status).to eq 200
10
+
11
+ allow(ActiveRecord::Base).to receive(:connected?) { false }
12
+
13
+ get '/healthcheck?full=1'
14
+ expect(response.body).to include("Can't connect to database.")
15
+ expect(response.status).to eq 422
16
+
17
+ get '/healthcheck?checks=active_record'
18
+ expect(response.body).to include("Can't connect to database.")
19
+ expect(response.status).to eq 422
20
+
21
+ get '/healthcheck'
22
+ expect(response.body).to include("It's alive!")
23
+ expect(response.status).to eq 200
24
+
25
+ allow(ActiveRecord::Base).to receive(:connected?).and_call_original
26
+
27
+ get '/healthcheck?full=1'
28
+ expect(response.body).to include("It's alive!")
29
+ expect(response.status).to eq 200
30
+
31
+ get '/healthcheck?checks=active_record'
32
+ expect(response.body).to include("It's alive!")
33
+ expect(response.status).to eq 200
34
+ end
35
+
36
+ it 'renders error if checker is undefined' do
37
+ get '/healthcheck?checks=active_record,something_funny,redis'
38
+ expect(response.body).to include("Can't find checker: SomethingFunny")
39
+ expect(response.body).to include("Can't find checker: Redis")
40
+ end
41
+
42
+ it 'renders standard response' do
43
+ get '/'
44
+ expect(response.body).to include('Home')
45
+ end
46
+ end
@@ -0,0 +1,99 @@
1
+ # frozen_string_literal: true
2
+
3
+ # This file was generated by the `rails generate rspec:install` command. Conventionally, all
4
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
5
+ # The generated `.rspec` file contains `--require spec_helper` which will cause
6
+ # this file to always be loaded, without a need to explicitly require it in any
7
+ # files.
8
+ #
9
+ # Given that it is always loaded, you are encouraged to keep this file as
10
+ # light-weight as possible. Requiring heavyweight dependencies from this file
11
+ # will add to the boot time of your test suite on EVERY test run, even for an
12
+ # individual file that may not need all of that loaded. Instead, consider making
13
+ # a separate helper file that requires the additional dependencies and performs
14
+ # the additional setup, and require it from the spec files that actually need
15
+ # it.
16
+ #
17
+ # The `.rspec` file also contains a few flags that are not defaults but that
18
+ # users commonly want.
19
+ #
20
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
21
+ RSpec.configure do |config|
22
+ # rspec-expectations config goes here. You can use an alternate
23
+ # assertion/expectation library such as wrong or the stdlib/minitest
24
+ # assertions if you prefer.
25
+ config.expect_with :rspec do |expectations|
26
+ # This option will default to `true` in RSpec 4. It makes the `description`
27
+ # and `failure_message` of custom matchers include text for helper methods
28
+ # defined using `chain`, e.g.:
29
+ # be_bigger_than(2).and_smaller_than(4).description
30
+ # # => "be bigger than 2 and smaller than 4"
31
+ # ...rather than:
32
+ # # => "be bigger than 2"
33
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
34
+ end
35
+
36
+ # rspec-mocks config goes here. You can use an alternate test double
37
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
38
+ config.mock_with :rspec do |mocks|
39
+ # Prevents you from mocking or stubbing a method that does not exist on
40
+ # a real object. This is generally recommended, and will default to
41
+ # `true` in RSpec 4.
42
+ mocks.verify_partial_doubles = true
43
+ end
44
+
45
+ # This option will default to `:apply_to_host_groups` in RSpec 4 (and will
46
+ # have no way to turn it off -- the option exists only for backwards
47
+ # compatibility in RSpec 3). It causes shared context metadata to be
48
+ # inherited by the metadata hash of host groups and examples, rather than
49
+ # triggering implicit auto-inclusion in groups with matching metadata.
50
+ config.shared_context_metadata_behavior = :apply_to_host_groups
51
+
52
+ # The settings below are suggested to provide a good initial experience
53
+ # with RSpec, but feel free to customize to your heart's content.
54
+ # # This allows you to limit a spec run to individual examples or groups
55
+ # # you care about by tagging them with `:focus` metadata. When nothing
56
+ # # is tagged with `:focus`, all examples get run. RSpec also provides
57
+ # # aliases for `it`, `describe`, and `context` that include `:focus`
58
+ # # metadata: `fit`, `fdescribe` and `fcontext`, respectively.
59
+ # config.filter_run_when_matching :focus
60
+ #
61
+ # # Allows RSpec to persist some state between runs in order to support
62
+ # # the `--only-failures` and `--next-failure` CLI options. We recommend
63
+ # # you configure your source control system to ignore this file.
64
+ # config.example_status_persistence_file_path = "spec/examples.txt"
65
+ #
66
+ # # Limits the available syntax to the non-monkey patched syntax that is
67
+ # # recommended. For more details, see:
68
+ # # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
69
+ # # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
70
+ # # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
71
+ # config.disable_monkey_patching!
72
+ #
73
+ # # Many RSpec users commonly either run the entire suite or an individual
74
+ # # file, and it's useful to allow more verbose output when running an
75
+ # # individual spec file.
76
+ # if config.files_to_run.one?
77
+ # # Use the documentation formatter for detailed output,
78
+ # # unless a formatter has already been configured
79
+ # # (e.g. via a command-line flag).
80
+ # config.default_formatter = 'doc'
81
+ # end
82
+ #
83
+ # # Print the 10 slowest examples and example groups at the
84
+ # # end of the spec run, to help surface which specs are running
85
+ # # particularly slow.
86
+ # config.profile_examples = 10
87
+ #
88
+ # # Run specs in random order to surface order dependencies. If you find an
89
+ # # order dependency and want to debug it, you can fix the order by providing
90
+ # # the seed, which is printed after each run.
91
+ # # --seed 1234
92
+ # config.order = :random
93
+ #
94
+ # # Seed global randomization in this process using the `--seed` CLI option.
95
+ # # Setting this allows you to use `--seed` to deterministically reproduce
96
+ # # test failures related to randomization by passing the same `--seed` value
97
+ # # as the one that triggered the failure.
98
+ # Kernel.srand config.seed
99
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleware_healthcheck
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Wieczorkowski
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2019-04-02 00:00:00.000000000 Z
13
+ date: 2019-04-03 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -27,57 +27,60 @@ dependencies:
27
27
  - !ruby/object:Gem::Version
28
28
  version: '4.0'
29
29
  - !ruby/object:Gem::Dependency
30
- name: sqlite3
30
+ name: pry-byebug
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
- - - ">="
33
+ - - "~>"
34
34
  - !ruby/object:Gem::Version
35
- version: '0'
35
+ version: '3.4'
36
36
  type: :development
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
- - - ">="
40
+ - - "~>"
41
41
  - !ruby/object:Gem::Version
42
- version: '0'
42
+ version: '3.4'
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: rspec-rails
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - ">="
47
+ - - "~>"
48
48
  - !ruby/object:Gem::Version
49
- version: '0'
49
+ version: '3.5'
50
50
  type: :development
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
- - - ">="
54
+ - - "~>"
55
55
  - !ruby/object:Gem::Version
56
- version: '0'
56
+ version: '3.5'
57
57
  - !ruby/object:Gem::Dependency
58
- name: pry-byebug
58
+ name: sqlite3
59
59
  requirement: !ruby/object:Gem::Requirement
60
60
  requirements:
61
- - - ">="
61
+ - - "~>"
62
62
  - !ruby/object:Gem::Version
63
- version: '0'
63
+ version: '1.3'
64
64
  type: :development
65
65
  prerelease: false
66
66
  version_requirements: !ruby/object:Gem::Requirement
67
67
  requirements:
68
- - - ">="
68
+ - - "~>"
69
69
  - !ruby/object:Gem::Version
70
- version: '0'
70
+ version: '1.3'
71
71
  description: Rack middleware to provide a healthcheck endpoint, useful for load balancers
72
72
  health checks.
73
- email:
74
- - adam.wieczorkowski@naturaily.com
75
- - claudio@firefield.com
76
- - jan.wieczorkowski@naturaily.com
73
+ email: devops@firefield.com
77
74
  executables: []
78
75
  extensions: []
79
76
  extra_rdoc_files: []
80
77
  files:
78
+ - CHANGELOG.md
79
+ - CODE_OF_CONDUCT.md
80
+ - CONTRIBUTING.md
81
+ - Dockerfile
82
+ - Gemfile
83
+ - Gemfile.lock
81
84
  - LICENSE
82
85
  - README.md
83
86
  - Rakefile
@@ -89,7 +92,93 @@ files:
89
92
  - lib/middleware_healthcheck/middleware.rb
90
93
  - lib/middleware_healthcheck/rails.rb
91
94
  - lib/middleware_healthcheck/version.rb
92
- - lib/tasks/middleware_healthcheck_tasks.rake
95
+ - spec/dummy/Rakefile
96
+ - spec/dummy/app/assets/config/manifest.js
97
+ - spec/dummy/app/assets/javascripts/application.js
98
+ - spec/dummy/app/assets/javascripts/cable.js
99
+ - spec/dummy/app/assets/stylesheets/application.css
100
+ - spec/dummy/app/channels/application_cable/channel.rb
101
+ - spec/dummy/app/channels/application_cable/connection.rb
102
+ - spec/dummy/app/controllers/application_controller.rb
103
+ - spec/dummy/app/controllers/home_controller.rb
104
+ - spec/dummy/app/helpers/application_helper.rb
105
+ - spec/dummy/app/jobs/application_job.rb
106
+ - spec/dummy/app/mailers/application_mailer.rb
107
+ - spec/dummy/app/models/application_record.rb
108
+ - spec/dummy/app/views/home/show.html.erb
109
+ - spec/dummy/app/views/layouts/application.html.erb
110
+ - spec/dummy/app/views/layouts/mailer.html.erb
111
+ - spec/dummy/app/views/layouts/mailer.text.erb
112
+ - spec/dummy/bin/bundle
113
+ - spec/dummy/bin/rails
114
+ - spec/dummy/bin/rake
115
+ - spec/dummy/bin/setup
116
+ - spec/dummy/bin/update
117
+ - spec/dummy/config.ru
118
+ - spec/dummy/config/application.rb
119
+ - spec/dummy/config/boot.rb
120
+ - spec/dummy/config/cable.yml
121
+ - spec/dummy/config/database.yml
122
+ - spec/dummy/config/environment.rb
123
+ - spec/dummy/config/environments/development.rb
124
+ - spec/dummy/config/environments/production.rb
125
+ - spec/dummy/config/environments/test.rb
126
+ - spec/dummy/config/initializers/application_controller_renderer.rb
127
+ - spec/dummy/config/initializers/assets.rb
128
+ - spec/dummy/config/initializers/backtrace_silencers.rb
129
+ - spec/dummy/config/initializers/cookies_serializer.rb
130
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
131
+ - spec/dummy/config/initializers/inflections.rb
132
+ - spec/dummy/config/initializers/mime_types.rb
133
+ - spec/dummy/config/initializers/new_framework_defaults.rb
134
+ - spec/dummy/config/initializers/session_store.rb
135
+ - spec/dummy/config/initializers/wrap_parameters.rb
136
+ - spec/dummy/config/locales/en.yml
137
+ - spec/dummy/config/puma.rb
138
+ - spec/dummy/config/routes.rb
139
+ - spec/dummy/config/secrets.yml
140
+ - spec/dummy/config/spring.rb
141
+ - spec/dummy/db/test.sqlite3
142
+ - spec/dummy/log/test.log
143
+ - spec/dummy/public/404.html
144
+ - spec/dummy/public/422.html
145
+ - spec/dummy/public/500.html
146
+ - spec/dummy/public/apple-touch-icon-precomposed.png
147
+ - spec/dummy/public/apple-touch-icon.png
148
+ - spec/dummy/public/favicon.ico
149
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/1Z/1ZqiErdTkUSevJyliQcE6Uv0PPfRzU66d94xoZ3dSfw.cache
150
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/7w/7w6Uz6xnLkTSMI9uPVNZTvew3_SuE2eFtCp2AMFxQeE.cache
151
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Cc/CcEKUCZOP7lJ_9fy6W8fGxHeo_pLX0_lh0F7JlaDl5I.cache
152
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/D_/D_apOMXJIIn679o4LoHlmz-NyTG64xuWe4ro7TKyzpU.cache
153
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/G0/G0qRtrgh65rOsfS-37uSF2UQdaiDRjEmjqhbpW0pBJA.cache
154
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/GD/GDi3vpM2thf3K_zCKYCjKfpt48sxKHSiGGGpyPoOmfw.cache
155
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/H8/H8v7a_YYGdXSKky0FMxhQ8ym_KD2BX6oGxi3jjzxFSg.cache
156
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Iw/IwkARxo4EFYR8P7KFYOqyI2hltfnkf4RBi2GUjeEltU.cache
157
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Jh/Jhvq9MvG2JctlJCzxUeOKtKWOu-CErXP0g6EYcMi8pk.cache
158
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/K2/K2fQCerqynseUF9eeLrwQyQhjV_SJOnR35ahxOQOH4Y.cache
159
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Ls/LsCysQmA8eOxqOj2xfTI5HT0hmFxkgb9T-79Vfpkphk.cache
160
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Nq/NqQL4uxBADGd-m9HPI6owT0X79j5Ih03H3Tj1zUv0fc.cache
161
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/RN/RN_c4-q-QAwblsfNBzf70NZ91k0xUW5abQ85cDmIFZ8.cache
162
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/T_/T_SzItfIMNw-VpC5cTm_V-MwdXicKcejykRA_eZGBcg.cache
163
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/VQ/VQUXuiYfRkz_txe0ySlqGpjumXvwUZs4UQ3LdhtnLqo.cache
164
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Zg/ZguUWQxNrtIUWwdZcTog89HWZjwlg1b4B10YtdmGYxo.cache
165
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/b_/b_Itlk9QZZd7Rvf8kcA4yLP1R5Acu7jB-m1xQiSU0qE.cache
166
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/dC/dCU95oHfJgwqhciDDqBRfdPqRoYltk9RsJijdjFJDFs.cache
167
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/dt/dtA0dxun-aGWHDbilfOw6VkR_pXBQ6Hclrh-DQvu-E4.cache
168
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/gg/ggjn9TAGF7zuNOkhChHWmsgBW1JVopRz-Y2hMUg7810.cache
169
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/gy/gyVskbQyIOYyz_cK-QTT4kgiBOAsnZC9gN84kLLDYdE.cache
170
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/l_/l__yndgwOVdnrXF0F2Y92la2fbJ-bY8flE0NFs12AGY.cache
171
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/mX/mX1nlsL_SWOB4y22W5FheRX0YEONKyOY7xUeIvRiHco.cache
172
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache
173
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache
174
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/p7/p7shbLzQVrz5OW2TM-TaNcMg8gsq9aZWwa93dkSMTQY.cache
175
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/rJ/rJkoK89nBrho66t78LEv5znjqvofPuVMzAQMTuQbVBg.cache
176
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/wD/wD6mw4ORb1J88B71fVPpf5RbRJ3TVgfnA77wJFO8xj4.cache
177
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7PYh8DJvPykcEqpVab2vcY9-GFz-3cqtoMlRAu94Uc.cache
178
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/y_/y_wGqfMY79V5Y8Hzbzuc2ChuexYsrFvBkUfKNuMyTQI.cache
179
+ - spec/rails_helper.rb
180
+ - spec/requests/healthcheck_spec.rb
181
+ - spec/spec_helper.rb
93
182
  homepage: https://bitbucket.org/ff_engineering/middleware_healthcheck/src/master/
94
183
  licenses:
95
184
  - MIT
@@ -113,4 +202,91 @@ rubygems_version: 3.0.1
113
202
  signing_key:
114
203
  specification_version: 4
115
204
  summary: Rack middleware to provide a healthcheck endpoint.
116
- test_files: []
205
+ test_files:
206
+ - spec/dummy/Rakefile
207
+ - spec/dummy/app/assets/config/manifest.js
208
+ - spec/dummy/app/assets/javascripts/application.js
209
+ - spec/dummy/app/assets/javascripts/cable.js
210
+ - spec/dummy/app/assets/stylesheets/application.css
211
+ - spec/dummy/app/channels/application_cable/channel.rb
212
+ - spec/dummy/app/channels/application_cable/connection.rb
213
+ - spec/dummy/app/controllers/application_controller.rb
214
+ - spec/dummy/app/controllers/home_controller.rb
215
+ - spec/dummy/app/helpers/application_helper.rb
216
+ - spec/dummy/app/jobs/application_job.rb
217
+ - spec/dummy/app/mailers/application_mailer.rb
218
+ - spec/dummy/app/models/application_record.rb
219
+ - spec/dummy/app/views/home/show.html.erb
220
+ - spec/dummy/app/views/layouts/application.html.erb
221
+ - spec/dummy/app/views/layouts/mailer.html.erb
222
+ - spec/dummy/app/views/layouts/mailer.text.erb
223
+ - spec/dummy/bin/bundle
224
+ - spec/dummy/bin/rails
225
+ - spec/dummy/bin/rake
226
+ - spec/dummy/bin/setup
227
+ - spec/dummy/bin/update
228
+ - spec/dummy/config.ru
229
+ - spec/dummy/config/application.rb
230
+ - spec/dummy/config/boot.rb
231
+ - spec/dummy/config/cable.yml
232
+ - spec/dummy/config/database.yml
233
+ - spec/dummy/config/environment.rb
234
+ - spec/dummy/config/environments/development.rb
235
+ - spec/dummy/config/environments/production.rb
236
+ - spec/dummy/config/environments/test.rb
237
+ - spec/dummy/config/initializers/application_controller_renderer.rb
238
+ - spec/dummy/config/initializers/assets.rb
239
+ - spec/dummy/config/initializers/backtrace_silencers.rb
240
+ - spec/dummy/config/initializers/cookies_serializer.rb
241
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
242
+ - spec/dummy/config/initializers/inflections.rb
243
+ - spec/dummy/config/initializers/mime_types.rb
244
+ - spec/dummy/config/initializers/new_framework_defaults.rb
245
+ - spec/dummy/config/initializers/session_store.rb
246
+ - spec/dummy/config/initializers/wrap_parameters.rb
247
+ - spec/dummy/config/locales/en.yml
248
+ - spec/dummy/config/puma.rb
249
+ - spec/dummy/config/routes.rb
250
+ - spec/dummy/config/secrets.yml
251
+ - spec/dummy/config/spring.rb
252
+ - spec/dummy/db/test.sqlite3
253
+ - spec/dummy/log/test.log
254
+ - spec/dummy/public/404.html
255
+ - spec/dummy/public/422.html
256
+ - spec/dummy/public/500.html
257
+ - spec/dummy/public/apple-touch-icon-precomposed.png
258
+ - spec/dummy/public/apple-touch-icon.png
259
+ - spec/dummy/public/favicon.ico
260
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/1Z/1ZqiErdTkUSevJyliQcE6Uv0PPfRzU66d94xoZ3dSfw.cache
261
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/7w/7w6Uz6xnLkTSMI9uPVNZTvew3_SuE2eFtCp2AMFxQeE.cache
262
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Cc/CcEKUCZOP7lJ_9fy6W8fGxHeo_pLX0_lh0F7JlaDl5I.cache
263
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/D_/D_apOMXJIIn679o4LoHlmz-NyTG64xuWe4ro7TKyzpU.cache
264
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/G0/G0qRtrgh65rOsfS-37uSF2UQdaiDRjEmjqhbpW0pBJA.cache
265
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/GD/GDi3vpM2thf3K_zCKYCjKfpt48sxKHSiGGGpyPoOmfw.cache
266
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/H8/H8v7a_YYGdXSKky0FMxhQ8ym_KD2BX6oGxi3jjzxFSg.cache
267
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Iw/IwkARxo4EFYR8P7KFYOqyI2hltfnkf4RBi2GUjeEltU.cache
268
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Jh/Jhvq9MvG2JctlJCzxUeOKtKWOu-CErXP0g6EYcMi8pk.cache
269
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/K2/K2fQCerqynseUF9eeLrwQyQhjV_SJOnR35ahxOQOH4Y.cache
270
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Ls/LsCysQmA8eOxqOj2xfTI5HT0hmFxkgb9T-79Vfpkphk.cache
271
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Nq/NqQL4uxBADGd-m9HPI6owT0X79j5Ih03H3Tj1zUv0fc.cache
272
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/RN/RN_c4-q-QAwblsfNBzf70NZ91k0xUW5abQ85cDmIFZ8.cache
273
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/T_/T_SzItfIMNw-VpC5cTm_V-MwdXicKcejykRA_eZGBcg.cache
274
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/VQ/VQUXuiYfRkz_txe0ySlqGpjumXvwUZs4UQ3LdhtnLqo.cache
275
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Zg/ZguUWQxNrtIUWwdZcTog89HWZjwlg1b4B10YtdmGYxo.cache
276
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/b_/b_Itlk9QZZd7Rvf8kcA4yLP1R5Acu7jB-m1xQiSU0qE.cache
277
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/dC/dCU95oHfJgwqhciDDqBRfdPqRoYltk9RsJijdjFJDFs.cache
278
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/dt/dtA0dxun-aGWHDbilfOw6VkR_pXBQ6Hclrh-DQvu-E4.cache
279
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/gg/ggjn9TAGF7zuNOkhChHWmsgBW1JVopRz-Y2hMUg7810.cache
280
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/gy/gyVskbQyIOYyz_cK-QTT4kgiBOAsnZC9gN84kLLDYdE.cache
281
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/l_/l__yndgwOVdnrXF0F2Y92la2fbJ-bY8flE0NFs12AGY.cache
282
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/mX/mX1nlsL_SWOB4y22W5FheRX0YEONKyOY7xUeIvRiHco.cache
283
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache
284
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache
285
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/p7/p7shbLzQVrz5OW2TM-TaNcMg8gsq9aZWwa93dkSMTQY.cache
286
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/rJ/rJkoK89nBrho66t78LEv5znjqvofPuVMzAQMTuQbVBg.cache
287
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/wD/wD6mw4ORb1J88B71fVPpf5RbRJ3TVgfnA77wJFO8xj4.cache
288
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7PYh8DJvPykcEqpVab2vcY9-GFz-3cqtoMlRAu94Uc.cache
289
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/y_/y_wGqfMY79V5Y8Hzbzuc2ChuexYsrFvBkUfKNuMyTQI.cache
290
+ - spec/rails_helper.rb
291
+ - spec/requests/healthcheck_spec.rb
292
+ - spec/spec_helper.rb
@@ -1,4 +0,0 @@
1
- # desc "Explaining what the task does"
2
- # task :middleware_healthcheck do
3
- # # Task goes here
4
- # end