loggability 0.14.0 → 0.15.0.pre20190714094638

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,12 +1,12 @@
1
- # -*- rspec -*-
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,4 +1,6 @@
1
- #!/usr/bin/env rspec -cfd
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
 
@@ -1,11 +1,9 @@
1
- # -*- rspec -*-
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
 
@@ -1,10 +1,9 @@
1
- # -*- rspec -*-
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
7
  require 'loggability/spechelpers'
9
8
 
10
9
 
@@ -1,4 +1,6 @@
1
- # -*- rspec -*-
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
 
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.14.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
- MIIEbDCCAtSgAwIBAgIBATANBgkqhkiG9w0BAQsFADA+MQwwCgYDVQQDDANnZWQx
14
- GTAXBgoJkiaJk/IsZAEZFglGYWVyaWVNVUQxEzARBgoJkiaJk/IsZAEZFgNvcmcw
15
- HhcNMTYwODIwMTgxNzQyWhcNMTcwODIwMTgxNzQyWjA+MQwwCgYDVQQDDANnZWQx
16
- GTAXBgoJkiaJk/IsZAEZFglGYWVyaWVNVUQxEzARBgoJkiaJk/IsZAEZFgNvcmcw
17
- ggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQC/JWGRHO+USzR97vXjkFgt
18
- 83qeNf2KHkcvrRTSnR64i6um/ziin0I0oX23H7VYrDJC9A/uoUa5nGRJS5Zw/+wW
19
- ENcvWVZS4iUzi4dsYJGY6yEOsXh2CcF46+QevV8iE+UmbkU75V7Dy1JCaUOyizEt
20
- TH5UHsOtUU7k9TYARt/TgYZKuaoAMZZd5qyVqhF1vV+7/Qzmp89NGflXf2xYP26a
21
- 4MAX2qqKX/FKXqmFO+AGsbwYTEds1mksBF3fGsFgsQWxftG8GfZQ9+Cyu2+l1eOw
22
- cZ+lPcg834G9DrqW2zhqUoLr1MTly4pqxYGb7XoDhoR7dd1kFE2a067+DzWC/ADt
23
- +QkcqWUm5oh1fN0eqr7NsZlVJDulFgdiiYPQiIN7UNsii4Wc9aZqBoGcYfBeQNPZ
24
- soo/6za/bW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GYSoKBJyDwqtQ5kwrOlU
32
+ tkSyLrfZ+RZcH535Hyvif7ZxB0v5OxXXoec+N2vrUsEUMRDL9dg4/WFdN8hIOixF
33
+ 3IPKpZ1ho0Ya5q7yhygtBK9/NBFHw+nbJjcltfPDBXleRe8u73gnQo8AZIhStYSP
34
+ v4qqqa27Bs468d6SoPxjSm8a2mM9HZ4OdWhq4tFsbTeXDVquCfi64OTEaTt2xQdR
35
+ JnC4lpJfCP6aCXa5h2XAQfPSH636cQap
37
36
  -----END CERTIFICATE-----
38
- date: 2017-02-06 00:00:00.000000000 Z
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.8'
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.8'
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: rdoc
124
+ name: timecop
126
125
  requirement: !ruby/object:Gem::Requirement
127
126
  requirements:
128
127
  - - "~>"
129
128
  - !ruby/object:Gem::Version
130
- version: '4.0'
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.15'
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.15'
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
- - Ruby
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: '0'
237
+ version: 1.3.1
219
238
  requirements: []
220
- rubyforge_project:
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
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>����