loggability 0.14.0 → 0.15.0.pre20190714094638
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/ChangeLog +607 -544
- data/Manifest.txt +3 -0
- data/Rakefile +2 -1
- data/lib/loggability.rb +2 -2
- data/lib/loggability/constants.rb +2 -2
- data/lib/loggability/formatter.rb +13 -67
- data/lib/loggability/formatter/color.rb +2 -2
- data/lib/loggability/formatter/default.rb +69 -6
- data/lib/loggability/formatter/html.rb +5 -5
- data/lib/loggability/logclient.rb +2 -1
- data/lib/loggability/logger.rb +3 -3
- data/lib/loggability/loghost.rb +2 -1
- data/lib/loggability/override.rb +2 -1
- data/lib/loggability/spechelpers.rb +1 -1
- data/spec/helpers.rb +3 -11
- data/spec/loggability/formatter/color_spec.rb +3 -7
- data/spec/loggability/formatter/html_spec.rb +7 -7
- data/spec/loggability/formatter_spec.rb +42 -29
- data/spec/loggability/logger_spec.rb +3 -3
- data/spec/loggability/loghost_spec.rb +3 -1
- data/spec/loggability/override_spec.rb +18 -5
- data/spec/loggability/spechelpers_spec.rb +3 -4
- data/spec/loggability_spec.rb +3 -1
- metadata +55 -37
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- metadata.gz.sig +0 -3
@@ -1,12 +1,12 @@
|
|
1
|
-
# -*-
|
1
|
+
# -*- ruby -*-
|
2
|
+
# vim: set nosta noet ts=4 sw=4:
|
3
|
+
# frozen_string_literal: true
|
2
4
|
|
3
5
|
require_relative '../helpers'
|
4
6
|
|
5
7
|
require 'tempfile'
|
6
|
-
require 'rspec'
|
7
8
|
|
8
9
|
require 'loggability/logger'
|
9
|
-
require 'loggability/formatter'
|
10
10
|
require 'loggability/formatter/default'
|
11
11
|
|
12
12
|
|
@@ -1,11 +1,9 @@
|
|
1
|
-
# -*-
|
1
|
+
# -*- ruby -*-
|
2
|
+
# vim: set nosta noet ts=4 sw=4:
|
3
|
+
# frozen_string_literal: true
|
2
4
|
|
3
5
|
require_relative '../helpers'
|
4
6
|
|
5
|
-
require 'tempfile'
|
6
|
-
require 'rspec'
|
7
|
-
|
8
|
-
require 'loggability/logger'
|
9
7
|
require 'loggability/override'
|
10
8
|
|
11
9
|
|
@@ -46,6 +44,21 @@ describe Loggability::Override do
|
|
46
44
|
end
|
47
45
|
|
48
46
|
|
47
|
+
it "can be inspected" do
|
48
|
+
expect( override.inspect ).
|
49
|
+
to match( %r(
|
50
|
+
#<
|
51
|
+
#{described_class.name}
|
52
|
+
:
|
53
|
+
0x\p{Xdigit}+
|
54
|
+
\s
|
55
|
+
formatter:\s-,\slevel:\s-,\soutput:\s-,\s
|
56
|
+
affecting\sall\slog\shosts
|
57
|
+
>
|
58
|
+
)x )
|
59
|
+
end
|
60
|
+
|
61
|
+
|
49
62
|
it "can mutate itself into a variant that modifies the logging level" do
|
50
63
|
log = []
|
51
64
|
|
data/spec/loggability_spec.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: loggability
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.0.pre20190714094638
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Granger
|
@@ -10,32 +10,31 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
+
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
p4vpx2kUSFSAGjtCbDGTNV2AH8w9OU4xEmNz8c5lyoA=
|
13
|
+
MIIENDCCApygAwIBAgIBATANBgkqhkiG9w0B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5wZRBluJANu7bEtjgc3fFaGVP2XxVdCpVjNbmMDg4Qp
|
29
|
+
ovvczP53X6pQP2RSZgxF6Lblvy8y11RziUTVRG/Z2aJHsElo6gI7vQznE/OSDrhC
|
30
|
+
gEhr8uaIUt7D+HZWRbU0+MkKPpL5uMqaFuJbqXEvSwPTuUuYkDfNfsjQO7ruWBac
|
31
|
+
bxHCrvpZ6Tijc0nrlyXi6gPOCLeaqhau2xFnlvKgELwsGYSoKBJyDwqtQ5kwrOlU
|
32
|
+
tkSyLrfZ+RZcH535Hyvif7ZxB0v5OxXXoec+N2vrUsEUMRDL9dg4/WFdN8hIOixF
|
33
|
+
3IPKpZ1ho0Ya5q7yhygtBK9/NBFHw+nbJjcltfPDBXleRe8u73gnQo8AZIhStYSP
|
34
|
+
v4qqqa27Bs468d6SoPxjSm8a2mM9HZ4OdWhq4tFsbTeXDVquCfi64OTEaTt2xQdR
|
35
|
+
JnC4lpJfCP6aCXa5h2XAQfPSH636cQap
|
37
36
|
-----END CERTIFICATE-----
|
38
|
-
date:
|
37
|
+
date: 2019-07-14 00:00:00.000000000 Z
|
39
38
|
dependencies:
|
40
39
|
- !ruby/object:Gem::Dependency
|
41
40
|
name: hoe-mercurial
|
@@ -57,14 +56,14 @@ dependencies:
|
|
57
56
|
requirements:
|
58
57
|
- - "~>"
|
59
58
|
- !ruby/object:Gem::Version
|
60
|
-
version: '0.
|
59
|
+
version: '0.10'
|
61
60
|
type: :development
|
62
61
|
prerelease: false
|
63
62
|
version_requirements: !ruby/object:Gem::Requirement
|
64
63
|
requirements:
|
65
64
|
- - "~>"
|
66
65
|
- !ruby/object:Gem::Version
|
67
|
-
version: '0.
|
66
|
+
version: '0.10'
|
68
67
|
- !ruby/object:Gem::Dependency
|
69
68
|
name: hoe-highline
|
70
69
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,33 +121,53 @@ dependencies:
|
|
122
121
|
- !ruby/object:Gem::Version
|
123
122
|
version: '3.1'
|
124
123
|
- !ruby/object:Gem::Dependency
|
125
|
-
name:
|
124
|
+
name: timecop
|
126
125
|
requirement: !ruby/object:Gem::Requirement
|
127
126
|
requirements:
|
128
127
|
- - "~>"
|
129
128
|
- !ruby/object:Gem::Version
|
130
|
-
version: '
|
129
|
+
version: '0.9'
|
131
130
|
type: :development
|
132
131
|
prerelease: false
|
133
132
|
version_requirements: !ruby/object:Gem::Requirement
|
134
133
|
requirements:
|
135
134
|
- - "~>"
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '0.9'
|
137
|
+
- !ruby/object:Gem::Dependency
|
138
|
+
name: rdoc
|
139
|
+
requirement: !ruby/object:Gem::Requirement
|
140
|
+
requirements:
|
141
|
+
- - ">="
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: '4.0'
|
144
|
+
- - "<"
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '7'
|
147
|
+
type: :development
|
148
|
+
prerelease: false
|
149
|
+
version_requirements: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - ">="
|
136
152
|
- !ruby/object:Gem::Version
|
137
153
|
version: '4.0'
|
154
|
+
- - "<"
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
version: '7'
|
138
157
|
- !ruby/object:Gem::Dependency
|
139
158
|
name: hoe
|
140
159
|
requirement: !ruby/object:Gem::Requirement
|
141
160
|
requirements:
|
142
161
|
- - "~>"
|
143
162
|
- !ruby/object:Gem::Version
|
144
|
-
version: '3.
|
163
|
+
version: '3.18'
|
145
164
|
type: :development
|
146
165
|
prerelease: false
|
147
166
|
version_requirements: !ruby/object:Gem::Requirement
|
148
167
|
requirements:
|
149
168
|
- - "~>"
|
150
169
|
- !ruby/object:Gem::Version
|
151
|
-
version: '3.
|
170
|
+
version: '3.18'
|
152
171
|
description: "A composable logging system built on the standard Logger library.\n\nYou
|
153
172
|
can add Loggability to large libraries and systems, then hook everything\nup later
|
154
173
|
when you know where you want logs to be written, at what level of\nseverity, and
|
@@ -198,7 +217,7 @@ files:
|
|
198
217
|
- spec/loggability_spec.rb
|
199
218
|
homepage: http://deveiate.org/projects/loggability
|
200
219
|
licenses:
|
201
|
-
-
|
220
|
+
- BSD-3-Clause
|
202
221
|
metadata: {}
|
203
222
|
post_install_message:
|
204
223
|
rdoc_options:
|
@@ -213,12 +232,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
213
232
|
version: 1.9.3
|
214
233
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
215
234
|
requirements:
|
216
|
-
- - "
|
235
|
+
- - ">"
|
217
236
|
- !ruby/object:Gem::Version
|
218
|
-
version:
|
237
|
+
version: 1.3.1
|
219
238
|
requirements: []
|
220
|
-
|
221
|
-
rubygems_version: 2.6.8
|
239
|
+
rubygems_version: 3.0.3
|
222
240
|
signing_key:
|
223
241
|
specification_version: 4
|
224
242
|
summary: A composable logging system built on the standard Logger library
|
checksums.yaml.gz.sig
DELETED
Binary file
|
data.tar.gz.sig
DELETED
Binary file
|
metadata.gz.sig
DELETED
@@ -1,3 +0,0 @@
|
|
1
|
-
(����6|%_��x��Iv�g������������(nf�g5N@Ф
|
2
|
-
��;D2�8M�p�C2]�o�`���{�<R9H-`���t�nJɨC�Ȧ
|
3
|
-
[l�"�WY��$��&I���G����3L�3����H��+s���0�S���h�1�j����@�[Hu��Iz�=�^o�ӻ��i��j|`�z��e����th��0'�?�<؋�)�i���}2|#���j�))�����s%���ī�JI<;J\PN�*����3B��^����)��UTB;�Cʢy�-�Ǽ�2g�3>A�B֧o���܄!��@���Y>����
|