promenade 0.1.12 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -2
- data/exe/promenade +6 -1
- data/lib/promenade/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 349f01f4b56fe055468cb723fc496119e7965f9f9c73edf7c8fa545e43da8405
|
4
|
+
data.tar.gz: 9d9b6de1bc4355f91cc7c947f14abb6303dec8f59beff27e9f67b5b6c43d3e49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9c25fadf74c1e9385878f09607043a9c4476dd177b68bb3f2029aa8c9703e1950e998d186e64508a657c752b2c5d2d445181cdafa4bd6aac40bec47308d63bc
|
7
|
+
data.tar.gz: afb11ee815a78bf0e59df836948933133ef6edc00a5590661e25a5d31f987fad2b391f09e76471250e08224f665208bc1777e5ef18382c4bc0ca124b038c12a3
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
promenade (0.1.
|
4
|
+
promenade (0.1.13)
|
5
5
|
activesupport
|
6
6
|
prometheus-client-mmap (~> 0.9.3)
|
7
7
|
rack
|
@@ -9,11 +9,12 @@ PATH
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
activesupport (
|
12
|
+
activesupport (6.0.0)
|
13
13
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
14
14
|
i18n (>= 0.7, < 2)
|
15
15
|
minitest (~> 5.1)
|
16
16
|
tzinfo (~> 1.1)
|
17
|
+
zeitwerk (~> 2.1, >= 2.1.8)
|
17
18
|
ast (2.4.0)
|
18
19
|
backports (3.15.0)
|
19
20
|
binding_of_caller (0.8.0)
|
@@ -101,6 +102,7 @@ GEM
|
|
101
102
|
url (0.3.2)
|
102
103
|
with_progress (1.0.1)
|
103
104
|
ruby-progressbar (~> 1.4)
|
105
|
+
zeitwerk (2.1.9)
|
104
106
|
|
105
107
|
PLATFORMS
|
106
108
|
ruby
|
data/exe/promenade
CHANGED
@@ -9,7 +9,12 @@ Promenade.setup
|
|
9
9
|
app = Rack::Builder.app do
|
10
10
|
use Rack::Deflater
|
11
11
|
use ::Prometheus::Client::Rack::Exporter
|
12
|
+
map "/health" do
|
13
|
+
run lambda { |env| [200, {'Content-Type' => 'text/plain'}, ['OK']] }
|
14
|
+
end
|
12
15
|
run ->(_env) { [404, {}, ["visit /metrics for metrics"]] }
|
13
16
|
end
|
14
17
|
|
15
|
-
Rack::Handler::WEBrick.
|
18
|
+
Signal.trap("TERM") { Rack::Handler::WEBrick.shutdown }
|
19
|
+
|
20
|
+
Rack::Handler::WEBrick.run app, Port: ENV.fetch("PORT", "9394"), Host: "0.0.0.0"
|
data/lib/promenade/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: promenade
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ed Robinson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|