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 +4 -4
- data/README.md +1 -1
- data/lib/rack_health_check/railtie.rb +1 -1
- data/lib/rack_health_check/version.rb +1 -1
- data/rack_health_check.gemspec +5 -5
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 366cc84fd72348e0656bd2a9761d6affb8cf0e28
|
4
|
+
data.tar.gz: 50cf63e580a13b98725c447cea3267f853ebb14f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7796801ff1bb8254a7068aaacc23d0dd318e886f8b5fbee7324c9cda3225e8127e32fcdeb21d10d2e1e7ff541388e3598d1aa9c1e5a331f710cfa3739cdd37de
|
7
|
+
data.tar.gz: e23b96db107493fed231be9c8871993df47875c7cef62acd1495f8228e2543e31c01e20b1e96d04ba35b0119fb2e408389c51e300edbbc10e8ceabbb2bf0fe3b
|
data/README.md
CHANGED
@@ -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.
|
4
|
+
Rails.application.middleware.insert_before 0, RackHealthCheck::Middleware
|
5
5
|
end
|
6
6
|
end
|
7
7
|
end
|
data/rack_health_check.gemspec
CHANGED
@@ -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
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
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.
|
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:
|
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:
|