rack_health_check 0.1.0 → 0.1.1

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: a6ab829a8ba24cb33ae880fa5b54c6bc6ea18060
4
- data.tar.gz: 9d6924d492753b61774498bb20b68743abbadea9
3
+ metadata.gz: 366cc84fd72348e0656bd2a9761d6affb8cf0e28
4
+ data.tar.gz: 50cf63e580a13b98725c447cea3267f853ebb14f
5
5
  SHA512:
6
- metadata.gz: 912843e254687c140f6976178269cf7d33f923467c0f2ae43a4010810dae045e34aa53d6f5fe33075bfb1bd4b4e48029456bdf654a4bae421101430977ed1159
7
- data.tar.gz: 90d30b5721c7f2610221faa0ee7ec76207b7832795aaa240d06a6ffb85a978740de895ab2046f95108817ff4569b1ae30648fd041a34488071b49cc26a2d1e7a
6
+ metadata.gz: 7796801ff1bb8254a7068aaacc23d0dd318e886f8b5fbee7324c9cda3225e8127e32fcdeb21d10d2e1e7ff541388e3598d1aa9c1e5a331f710cfa3739cdd37de
7
+ data.tar.gz: e23b96db107493fed231be9c8871993df47875c7cef62acd1495f8228e2543e31c01e20b1e96d04ba35b0119fb2e408389c51e300edbbc10e8ceabbb2bf0fe3b
data/README.md CHANGED
@@ -7,7 +7,7 @@ This will add a basic health check to your ruby Application. Given a request to
7
7
  Add this line to your application's Gemfile:
8
8
 
9
9
  ```ruby
10
- gem 'health_check'
10
+ gem 'rack_health_check'
11
11
  ```
12
12
 
13
13
  And then execute:
@@ -1,7 +1,7 @@
1
1
  module RackHealthCheck
2
2
  class Railtie < Rails::Railtie
3
3
  initializer "rack_health_check.configure_rails_initialization" do
4
- Rails.application.middleware.use RackHealthCheck::Middleware
4
+ Rails.application.middleware.insert_before 0, RackHealthCheck::Middleware
5
5
  end
6
6
  end
7
7
  end
@@ -1,3 +1,3 @@
1
1
  module RackHealthCheck
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -16,11 +16,11 @@ Gem::Specification.new do |spec|
16
16
 
17
17
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
18
  # to allow pushing to a single host or delete this section to allow pushing to any host.
19
- # if spec.respond_to?(:metadata)
20
- # spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
21
- # else
22
- # raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
23
- # end
19
+ if spec.respond_to?(:metadata)
20
+ spec.metadata['allowed_push_host'] = "https://rubygems.org"
21
+ else
22
+ raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
23
+ end
24
24
 
25
25
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
26
26
  spec.bindir = "exe"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack_health_check
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Austin Fonacier
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-08-10 00:00:00.000000000 Z
11
+ date: 2017-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -91,7 +91,8 @@ files:
91
91
  homepage: http://github.com/Spokeo/rack_health_check
92
92
  licenses:
93
93
  - MIT
94
- metadata: {}
94
+ metadata:
95
+ allowed_push_host: https://rubygems.org
95
96
  post_install_message:
96
97
  rdoc_options: []
97
98
  require_paths: