frankenstein 0.2.0.4.g676c8dd → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/frankenstein/server/webrick_logger.rb +8 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: e3d3f0966c6e690aefb9384fe0b3e0f4ea613de66b230a3fb6bfcbb67405a725
|
4
|
+
data.tar.gz: 571e3b9fe91bf84a2c78999a513318d7f87e0adc85ac9b100019770af9b7c20d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9147c36686edf846f47e5c6518e0d573126e4d43d990b0e71c50ff8000034e19b135ad0cb26eca0c59034518135b2b5a490208da1240e79db8cee91bddf6c2d5
|
7
|
+
data.tar.gz: f7ed3622bfa1bd6b40735b3b752215abd6dc76ee76e35e92390d64a090444012e02a7eedd23aef45ed04c9d851db41960d25cf7b0e7925319517a886900898e2
|
@@ -53,6 +53,14 @@ module Frankenstein
|
|
53
53
|
end
|
54
54
|
end
|
55
55
|
|
56
|
+
# Proxy the severity query methods too, because WEBrick likes to check
|
57
|
+
# those directly for... reasons.
|
58
|
+
%i{debug? error? fatal? info? warn?}.each do |sevp|
|
59
|
+
defined_method(sevp) do
|
60
|
+
@logger.__send__(sevp)
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
56
64
|
# Simulate the "append literal message" feature
|
57
65
|
#
|
58
66
|
# Nothing goes into *my* logs without having appropriate metadata attached,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: frankenstein
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Palmer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: prometheus-client
|
@@ -245,12 +245,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
245
245
|
version: 2.3.0
|
246
246
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
247
247
|
requirements:
|
248
|
-
- - "
|
248
|
+
- - ">="
|
249
249
|
- !ruby/object:Gem::Version
|
250
|
-
version:
|
250
|
+
version: '0'
|
251
251
|
requirements: []
|
252
252
|
rubyforge_project:
|
253
|
-
rubygems_version: 2.
|
253
|
+
rubygems_version: 2.7.7
|
254
254
|
signing_key:
|
255
255
|
specification_version: 4
|
256
256
|
summary: or, the Modern Prometheus
|