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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 5a1c3801006a61ff302b45a2d3e78d50372233ef
4
- data.tar.gz: 7dc0bea23f93d05bbb240dfde8a6362c8760e966
2
+ SHA256:
3
+ metadata.gz: e3d3f0966c6e690aefb9384fe0b3e0f4ea613de66b230a3fb6bfcbb67405a725
4
+ data.tar.gz: 571e3b9fe91bf84a2c78999a513318d7f87e0adc85ac9b100019770af9b7c20d
5
5
  SHA512:
6
- metadata.gz: aabab410d46c11061e28afd79867bd3ada573fa637ee26b3d18c3df0c74f149afbe84a9c6fcc95badd65a16c7c16cc2696c93aaf394cb8d894424b7f3c9591a7
7
- data.tar.gz: 5ddc183c855c5ac4e28392e775657d34c6153ad3100d6b1fdc6126efa7e4e8ce5ba439111391328ab3a9a8e98dfce1babc96a93135da8c086c313315576b0381
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.2.0.4.g676c8dd
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-03-08 00:00:00.000000000 Z
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: 1.3.1
250
+ version: '0'
251
251
  requirements: []
252
252
  rubyforge_project:
253
- rubygems_version: 2.6.13
253
+ rubygems_version: 2.7.7
254
254
  signing_key:
255
255
  specification_version: 4
256
256
  summary: or, the Modern Prometheus