debug_logging 3.1.8 → 4.0.0
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +160 -0
- data/CODE_OF_CONDUCT.md +84 -0
- data/CONTRIBUTING.md +47 -0
- data/LICENSE.txt +21 -0
- data/README.md +191 -98
- data/SECURITY.md +16 -0
- data/lib/debug_logging/active_support_notifications.rb +4 -6
- data/lib/debug_logging/argument_printer.rb +105 -89
- data/lib/debug_logging/class_logger.rb +21 -19
- data/lib/debug_logging/class_notifier.rb +18 -22
- data/lib/debug_logging/configuration.rb +21 -23
- data/lib/debug_logging/constants.rb +3 -5
- data/lib/debug_logging/finalize.rb +1 -3
- data/lib/debug_logging/hooks.rb +22 -26
- data/lib/debug_logging/instance_logger.rb +23 -17
- data/lib/debug_logging/instance_logger_modulizer.rb +51 -47
- data/lib/debug_logging/instance_notifier.rb +18 -16
- data/lib/debug_logging/instance_notifier_modulizer.rb +37 -39
- data/lib/debug_logging/log_subscriber.rb +6 -7
- data/lib/debug_logging/util.rb +19 -13
- data/lib/debug_logging/version.rb +3 -3
- data/lib/debug_logging.rb +53 -37
- data/lib/simple_debug_logging.rb +4 -6
- data.tar.gz.sig +0 -0
- metadata +140 -57
- metadata.gz.sig +1 -0
- data/.coveralls.yml +0 -1
- data/.gitignore +0 -13
- data/.rspec +0 -2
- data/.rubocop.yml +0 -107
- data/.rubocop_todo.yml +0 -167
- data/.travis.yml +0 -36
- data/Gemfile +0 -12
- data/Rakefile +0 -8
- data/bin/console +0 -15
- data/bin/setup +0 -8
- data/debug_logging.gemspec +0 -42
metadata
CHANGED
@@ -1,15 +1,44 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: debug_logging
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Boling
|
8
|
+
- John Gillson
|
8
9
|
- guckin
|
9
10
|
autorequire:
|
10
11
|
bindir: exe
|
11
|
-
cert_chain:
|
12
|
-
|
12
|
+
cert_chain:
|
13
|
+
- |
|
14
|
+
-----BEGIN CERTIFICATE-----
|
15
|
+
MIIEgDCCAuigAwIBAgIBATANBgkqhkiG9w0BAQsFADBDMRUwEwYDVQQDDAxwZXRl
|
16
|
+
ci5ib2xpbmcxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkW
|
17
|
+
A2NvbTAeFw0yMzA5MjAxNzMwMjhaFw0yNDA5MTkxNzMwMjhaMEMxFTATBgNVBAMM
|
18
|
+
DHBldGVyLmJvbGluZzEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPy
|
19
|
+
LGQBGRYDY29tMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA+a9UvHo3
|
20
|
+
84k96WgU5Kk5HB+cLZs/modjorsTfqY67MJF5nNvAoqcKTUBW4uG+Zpfnm3jaDO5
|
21
|
+
GxhJEIZWfndYzycHT2KMVQ1uTP82ba8ZaKrPlPIafkbui3mdds47qsmqHiblKERg
|
22
|
+
U532lkwfqHDlJwE7OBZQ59EwWWLynlT/yAUHpOBbqIuHKUxdpmBI+sIjrZcD1e05
|
23
|
+
WmjkO6fwIdC5oM757aoPxIgXD587VOViH11Vkm2doskj4T8yONtwVHlcrrhJ9Bzd
|
24
|
+
/zdp6vEn7GZQrABvpOlqwWxQ72ZnFhJe/RJZf6CXOPOh69Ai0QKYl2a1sYuCJKS3
|
25
|
+
nsBnxXJINEEznjR7rZjNUmYD+CZqfjzgPqedRxTlASe7iA4w7xZOqMDzcuhNwcUQ
|
26
|
+
tMEH6BTktxKP3jXZPXRfHCf6s+HRVb6vezAonTBVyydf5Xp5VwWkd6cwm+2BzHl5
|
27
|
+
7kc/3lLxKMcsyEUprAsk8LdHohwZdC267l+RS++AP6Cz6x+nB3oGob19AgMBAAGj
|
28
|
+
fzB9MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBQCSSas60GqqMjt
|
29
|
+
xR7LoY1gucEvtzAhBgNVHREEGjAYgRZwZXRlci5ib2xpbmdAZ21haWwuY29tMCEG
|
30
|
+
A1UdEgQaMBiBFnBldGVyLmJvbGluZ0BnbWFpbC5jb20wDQYJKoZIhvcNAQELBQAD
|
31
|
+
ggGBAMl9ifcw5p+PdvB7dCPoNKoVdp/2LbC9ztETHuYL2gUMJB6UoS3o9c/piSuR
|
32
|
+
V3ZMQaijmNu6ms1bWAtJ66LjmYrVflJtf9yp31Kierr9LpisMSUx2qbMOHGa8d2Z
|
33
|
+
vCUWPF8E9Cg0mP3GAyZ6qql8jDh/anUKeksPXqJvNxNPDu2DVYsa/IWdl96whzS4
|
34
|
+
Bl7SwB1E7agps40UcshCSKaVDOU0M+XN6SrnJMElnBic+KSAkBkVFbzS0BE4ODZM
|
35
|
+
BgE6nYzQ05qhuvbE+oGdACTlemNtDDWCh0uw+7x0q2PocGIDU5zsPn/WNTkCXPmB
|
36
|
+
CHGvqDNWq4M7ncTKAaS2XExgyb7uPdq9fKiOW8nmH+zCiGzJXzBWwZlKf7L4Ht9E
|
37
|
+
a3f0e5C+zvee9Z5Ng9ciyfav9/fcXgYt5MjoBv27THr5XfBhgOCIHSYW2tqJmWKi
|
38
|
+
KuxrfYrN+9HvMdm+nZ6TypmKftHY3Gj+/uu+g8Icm/zrvTWAEE0mcJOkfrIoNPJb
|
39
|
+
pF8dMA==
|
40
|
+
-----END CERTIFICATE-----
|
41
|
+
date: 2024-02-28 00:00:00.000000000 Z
|
13
42
|
dependencies:
|
14
43
|
- !ruby/object:Gem::Dependency
|
15
44
|
name: colorize
|
@@ -29,9 +58,6 @@ dependencies:
|
|
29
58
|
name: activesupport
|
30
59
|
requirement: !ruby/object:Gem::Requirement
|
31
60
|
requirements:
|
32
|
-
- - "~>"
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: '5.2'
|
35
61
|
- - ">="
|
36
62
|
- !ruby/object:Gem::Version
|
37
63
|
version: 5.2.4.4
|
@@ -39,152 +65,207 @@ dependencies:
|
|
39
65
|
prerelease: false
|
40
66
|
version_requirements: !ruby/object:Gem::Requirement
|
41
67
|
requirements:
|
42
|
-
- - "~>"
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
version: '5.2'
|
45
68
|
- - ">="
|
46
69
|
- !ruby/object:Gem::Version
|
47
70
|
version: 5.2.4.4
|
48
71
|
- !ruby/object:Gem::Dependency
|
49
|
-
name:
|
72
|
+
name: rake
|
50
73
|
requirement: !ruby/object:Gem::Requirement
|
51
74
|
requirements:
|
52
75
|
- - ">="
|
53
76
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
77
|
+
version: '13'
|
55
78
|
type: :development
|
56
79
|
prerelease: false
|
57
80
|
version_requirements: !ruby/object:Gem::Requirement
|
58
81
|
requirements:
|
59
82
|
- - ">="
|
60
83
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
84
|
+
version: '13'
|
62
85
|
- !ruby/object:Gem::Dependency
|
63
|
-
name:
|
86
|
+
name: kettle-soup-cover
|
64
87
|
requirement: !ruby/object:Gem::Requirement
|
65
88
|
requirements:
|
89
|
+
- - "~>"
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '1.0'
|
66
92
|
- - ">="
|
67
93
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
94
|
+
version: 1.0.2
|
69
95
|
type: :development
|
70
96
|
prerelease: false
|
71
97
|
version_requirements: !ruby/object:Gem::Requirement
|
72
98
|
requirements:
|
99
|
+
- - "~>"
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '1.0'
|
73
102
|
- - ">="
|
74
103
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
104
|
+
version: 1.0.2
|
76
105
|
- !ruby/object:Gem::Dependency
|
77
|
-
name:
|
106
|
+
name: kramdown
|
78
107
|
requirement: !ruby/object:Gem::Requirement
|
79
108
|
requirements:
|
80
|
-
- - "
|
109
|
+
- - "~>"
|
81
110
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
111
|
+
version: '2.4'
|
83
112
|
type: :development
|
84
113
|
prerelease: false
|
85
114
|
version_requirements: !ruby/object:Gem::Requirement
|
86
115
|
requirements:
|
87
|
-
- - "
|
116
|
+
- - "~>"
|
88
117
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
118
|
+
version: '2.4'
|
90
119
|
- !ruby/object:Gem::Dependency
|
91
|
-
name:
|
120
|
+
name: yard
|
92
121
|
requirement: !ruby/object:Gem::Requirement
|
93
122
|
requirements:
|
123
|
+
- - "~>"
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0.9'
|
94
126
|
- - ">="
|
95
127
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
128
|
+
version: 0.9.34
|
97
129
|
type: :development
|
98
130
|
prerelease: false
|
99
131
|
version_requirements: !ruby/object:Gem::Requirement
|
100
132
|
requirements:
|
133
|
+
- - "~>"
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '0.9'
|
101
136
|
- - ">="
|
102
137
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
138
|
+
version: 0.9.34
|
104
139
|
- !ruby/object:Gem::Dependency
|
105
|
-
name:
|
140
|
+
name: yard-junk
|
106
141
|
requirement: !ruby/object:Gem::Requirement
|
107
142
|
requirements:
|
108
|
-
- - "
|
143
|
+
- - "~>"
|
109
144
|
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
145
|
+
version: '0.0'
|
111
146
|
type: :development
|
112
147
|
prerelease: false
|
113
148
|
version_requirements: !ruby/object:Gem::Requirement
|
114
149
|
requirements:
|
115
|
-
- - "
|
150
|
+
- - "~>"
|
116
151
|
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
152
|
+
version: '0.0'
|
118
153
|
- !ruby/object:Gem::Dependency
|
119
|
-
name: rubocop
|
154
|
+
name: rubocop-lts
|
120
155
|
requirement: !ruby/object:Gem::Requirement
|
121
156
|
requirements:
|
122
157
|
- - "~>"
|
123
158
|
- !ruby/object:Gem::Version
|
124
|
-
version: '1
|
159
|
+
version: '22.1'
|
160
|
+
- - ">="
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
version: 22.1.3
|
125
163
|
type: :development
|
126
164
|
prerelease: false
|
127
165
|
version_requirements: !ruby/object:Gem::Requirement
|
128
166
|
requirements:
|
129
167
|
- - "~>"
|
130
168
|
- !ruby/object:Gem::Version
|
131
|
-
version: '1
|
169
|
+
version: '22.1'
|
170
|
+
- - ">="
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: 22.1.3
|
132
173
|
- !ruby/object:Gem::Dependency
|
133
|
-
name: rubocop-
|
174
|
+
name: rubocop-packaging
|
134
175
|
requirement: !ruby/object:Gem::Requirement
|
135
176
|
requirements:
|
177
|
+
- - "~>"
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: '0.5'
|
136
180
|
- - ">="
|
137
181
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
182
|
+
version: 0.5.2
|
139
183
|
type: :development
|
140
184
|
prerelease: false
|
141
185
|
version_requirements: !ruby/object:Gem::Requirement
|
142
186
|
requirements:
|
187
|
+
- - "~>"
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '0.5'
|
143
190
|
- - ">="
|
144
191
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
192
|
+
version: 0.5.2
|
193
|
+
- !ruby/object:Gem::Dependency
|
194
|
+
name: rubocop-rspec
|
195
|
+
requirement: !ruby/object:Gem::Requirement
|
196
|
+
requirements:
|
197
|
+
- - "~>"
|
198
|
+
- !ruby/object:Gem::Version
|
199
|
+
version: '2.25'
|
200
|
+
type: :development
|
201
|
+
prerelease: false
|
202
|
+
version_requirements: !ruby/object:Gem::Requirement
|
203
|
+
requirements:
|
204
|
+
- - "~>"
|
205
|
+
- !ruby/object:Gem::Version
|
206
|
+
version: '2.25'
|
146
207
|
- !ruby/object:Gem::Dependency
|
147
|
-
name:
|
208
|
+
name: rspec
|
148
209
|
requirement: !ruby/object:Gem::Requirement
|
149
210
|
requirements:
|
150
211
|
- - ">="
|
151
212
|
- !ruby/object:Gem::Version
|
152
|
-
version: '
|
213
|
+
version: '3'
|
153
214
|
type: :development
|
154
215
|
prerelease: false
|
155
216
|
version_requirements: !ruby/object:Gem::Requirement
|
156
217
|
requirements:
|
157
218
|
- - ">="
|
158
219
|
- !ruby/object:Gem::Version
|
159
|
-
version: '
|
220
|
+
version: '3'
|
160
221
|
- !ruby/object:Gem::Dependency
|
161
|
-
name:
|
222
|
+
name: rspec-block_is_expected
|
162
223
|
requirement: !ruby/object:Gem::Requirement
|
163
224
|
requirements:
|
225
|
+
- - "~>"
|
226
|
+
- !ruby/object:Gem::Version
|
227
|
+
version: '1.0'
|
164
228
|
- - ">="
|
165
229
|
- !ruby/object:Gem::Version
|
166
|
-
version:
|
230
|
+
version: 1.0.5
|
167
231
|
type: :development
|
168
232
|
prerelease: false
|
169
233
|
version_requirements: !ruby/object:Gem::Requirement
|
170
234
|
requirements:
|
235
|
+
- - "~>"
|
236
|
+
- !ruby/object:Gem::Version
|
237
|
+
version: '1.0'
|
171
238
|
- - ">="
|
172
239
|
- !ruby/object:Gem::Version
|
173
|
-
version:
|
240
|
+
version: 1.0.5
|
174
241
|
- !ruby/object:Gem::Dependency
|
175
|
-
name:
|
242
|
+
name: rspec_junit_formatter
|
176
243
|
requirement: !ruby/object:Gem::Requirement
|
177
244
|
requirements:
|
178
245
|
- - "~>"
|
179
246
|
- !ruby/object:Gem::Version
|
180
|
-
version: '
|
247
|
+
version: '0.6'
|
181
248
|
type: :development
|
182
249
|
prerelease: false
|
183
250
|
version_requirements: !ruby/object:Gem::Requirement
|
184
251
|
requirements:
|
185
252
|
- - "~>"
|
186
253
|
- !ruby/object:Gem::Version
|
187
|
-
version: '
|
254
|
+
version: '0.6'
|
255
|
+
- !ruby/object:Gem::Dependency
|
256
|
+
name: rspec-pending_for
|
257
|
+
requirement: !ruby/object:Gem::Requirement
|
258
|
+
requirements:
|
259
|
+
- - ">="
|
260
|
+
- !ruby/object:Gem::Version
|
261
|
+
version: '0'
|
262
|
+
type: :development
|
263
|
+
prerelease: false
|
264
|
+
version_requirements: !ruby/object:Gem::Requirement
|
265
|
+
requirements:
|
266
|
+
- - ">="
|
267
|
+
- !ruby/object:Gem::Version
|
268
|
+
version: '0'
|
188
269
|
- !ruby/object:Gem::Dependency
|
189
270
|
name: silent_stream
|
190
271
|
requirement: !ruby/object:Gem::Requirement
|
@@ -209,18 +290,12 @@ executables: []
|
|
209
290
|
extensions: []
|
210
291
|
extra_rdoc_files: []
|
211
292
|
files:
|
212
|
-
-
|
213
|
-
-
|
214
|
-
-
|
215
|
-
-
|
216
|
-
- ".rubocop_todo.yml"
|
217
|
-
- ".travis.yml"
|
218
|
-
- Gemfile
|
293
|
+
- CHANGELOG.md
|
294
|
+
- CODE_OF_CONDUCT.md
|
295
|
+
- CONTRIBUTING.md
|
296
|
+
- LICENSE.txt
|
219
297
|
- README.md
|
220
|
-
-
|
221
|
-
- bin/console
|
222
|
-
- bin/setup
|
223
|
-
- debug_logging.gemspec
|
298
|
+
- SECURITY.md
|
224
299
|
- lib/debug_logging.rb
|
225
300
|
- lib/debug_logging/active_support_notifications.rb
|
226
301
|
- lib/debug_logging/argument_printer.rb
|
@@ -242,7 +317,15 @@ files:
|
|
242
317
|
homepage: https://github.com/pboling/debug_logging
|
243
318
|
licenses:
|
244
319
|
- MIT
|
245
|
-
metadata:
|
320
|
+
metadata:
|
321
|
+
homepage_uri: https://github.com/pboling/debug_logging
|
322
|
+
source_code_uri: https://github.com/pboling/debug_logging/tree/v4.0.0
|
323
|
+
changelog_uri: https://github.com/pboling/debug_logging/blob/v4.0.0/CHANGELOG.md
|
324
|
+
bug_tracker_uri: https://github.com/pboling/debug_logging/issues
|
325
|
+
documentation_uri: https://www.rubydoc.info/gems/debug_logging/4.0.0
|
326
|
+
wiki_uri: https://github.com/pboling/debug_logging/wiki
|
327
|
+
funding_uri: https://liberapay.com/pboling
|
328
|
+
rubygems_mfa_required: 'true'
|
246
329
|
post_install_message:
|
247
330
|
rdoc_options: []
|
248
331
|
require_paths:
|
@@ -251,14 +334,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
251
334
|
requirements:
|
252
335
|
- - ">="
|
253
336
|
- !ruby/object:Gem::Version
|
254
|
-
version:
|
337
|
+
version: '3.1'
|
255
338
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
256
339
|
requirements:
|
257
340
|
- - ">="
|
258
341
|
- !ruby/object:Gem::Version
|
259
342
|
version: '0'
|
260
343
|
requirements: []
|
261
|
-
rubygems_version: 3.
|
344
|
+
rubygems_version: 3.5.6
|
262
345
|
signing_key:
|
263
346
|
specification_version: 4
|
264
347
|
summary: Drop-in debug logging useful when a call stack gets unruly
|
metadata.gz.sig
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ҡ�=VO5RN��7"U�?��kz��V���R@TP��=�H��U�����9ԟ��v��% �k�o���҃�~o�M�2G5ы �� 5tQ�+j���߅�r�'�f��ڪ�X|f��ڀ���) 2��]���N��ۿ��"����^�bPg��Z�h(B�pl����5����q���k��MpS{��Y�hL�IVuᶘh��LȀ�UUݱ祁˼�${2m}i[����-�����?��Ux`�q��v���xz�/��N vv��^��Z�E����_��E��N)���XZ�����E�,�!�3�$q�o�X���\�C�D��vh��?�{}N�;�@��s;�'V��ř�^c��%�nd܃'�q�L��
|
data/.coveralls.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
service_name: travis-ci
|
data/.gitignore
DELETED
data/.rspec
DELETED
data/.rubocop.yml
DELETED
@@ -1,107 +0,0 @@
|
|
1
|
-
inherit_from: .rubocop_todo.yml
|
2
|
-
|
3
|
-
require:
|
4
|
-
- 'rubocop-md'
|
5
|
-
- 'rubocop-performance'
|
6
|
-
- 'rubocop-rake'
|
7
|
-
- 'rubocop-rspec'
|
8
|
-
|
9
|
-
AllCops:
|
10
|
-
NewCops: enable
|
11
|
-
|
12
|
-
Layout/BeginEndAlignment: # (new in 0.91)
|
13
|
-
Enabled: true
|
14
|
-
Layout/EmptyLinesAroundAttributeAccessor: # (new in 0.83)
|
15
|
-
Enabled: true
|
16
|
-
Layout/SpaceAroundMethodCallOperator: # (new in 0.82)
|
17
|
-
Enabled: true
|
18
|
-
Lint/BinaryOperatorWithIdenticalOperands: # (new in 0.89)
|
19
|
-
Enabled: true
|
20
|
-
Lint/ConstantDefinitionInBlock: # (new in 0.91)
|
21
|
-
Enabled: true
|
22
|
-
Lint/DeprecatedOpenSSLConstant: # (new in 0.84)
|
23
|
-
Enabled: true
|
24
|
-
Lint/DuplicateElsifCondition: # (new in 0.88)
|
25
|
-
Enabled: true
|
26
|
-
Lint/DuplicateRequire: # (new in 0.90)
|
27
|
-
Enabled: true
|
28
|
-
Lint/DuplicateRescueException: # (new in 0.89)
|
29
|
-
Enabled: true
|
30
|
-
Lint/EmptyConditionalBody: # (new in 0.89)
|
31
|
-
Enabled: true
|
32
|
-
Lint/EmptyFile: # (new in 0.90)
|
33
|
-
Enabled: true
|
34
|
-
Lint/FloatComparison: # (new in 0.89)
|
35
|
-
Enabled: true
|
36
|
-
Lint/IdentityComparison: # (new in 0.91)
|
37
|
-
Enabled: true
|
38
|
-
Lint/MissingSuper: # (new in 0.89)
|
39
|
-
Enabled: true
|
40
|
-
Lint/MixedRegexpCaptureTypes: # (new in 0.85)
|
41
|
-
Enabled: true
|
42
|
-
Lint/OutOfRangeRegexpRef: # (new in 0.89)
|
43
|
-
Enabled: true
|
44
|
-
Lint/RaiseException: # (new in 0.81)
|
45
|
-
Enabled: true
|
46
|
-
Lint/SelfAssignment: # (new in 0.89)
|
47
|
-
Enabled: true
|
48
|
-
Lint/StructNewOverride: # (new in 0.81)
|
49
|
-
Enabled: true
|
50
|
-
Lint/TopLevelReturnWithArgument: # (new in 0.89)
|
51
|
-
Enabled: true
|
52
|
-
Lint/TrailingCommaInAttributeDeclaration: # (new in 0.90)
|
53
|
-
Enabled: true
|
54
|
-
Lint/UnreachableLoop: # (new in 0.89)
|
55
|
-
Enabled: true
|
56
|
-
Lint/UselessMethodDefinition: # (new in 0.90)
|
57
|
-
Enabled: true
|
58
|
-
Lint/UselessTimes: # (new in 0.91)
|
59
|
-
Enabled: true
|
60
|
-
Style/AccessorGrouping: # (new in 0.87)
|
61
|
-
Enabled: true
|
62
|
-
Style/BisectedAttrAccessor: # (new in 0.87)
|
63
|
-
Enabled: true
|
64
|
-
Style/CaseLikeIf: # (new in 0.88)
|
65
|
-
Enabled: true
|
66
|
-
Style/CombinableLoops: # (new in 0.90)
|
67
|
-
Enabled: true
|
68
|
-
Style/ExplicitBlockArgument: # (new in 0.89)
|
69
|
-
Enabled: true
|
70
|
-
Style/ExponentialNotation: # (new in 0.82)
|
71
|
-
Enabled: true
|
72
|
-
Style/GlobalStdStream: # (new in 0.89)
|
73
|
-
Enabled: true
|
74
|
-
Style/HashAsLastArrayItem: # (new in 0.88)
|
75
|
-
Enabled: true
|
76
|
-
Style/HashEachMethods: # (new in 0.80)
|
77
|
-
Enabled: true
|
78
|
-
Style/HashLikeCase: # (new in 0.88)
|
79
|
-
Enabled: true
|
80
|
-
Style/HashTransformKeys: # (new in 0.80)
|
81
|
-
Enabled: true
|
82
|
-
Style/HashTransformValues: # (new in 0.80)
|
83
|
-
Enabled: true
|
84
|
-
Style/KeywordParametersOrder: # (new in 0.90)
|
85
|
-
Enabled: true
|
86
|
-
Style/OptionalBooleanParameter: # (new in 0.89)
|
87
|
-
Enabled: true
|
88
|
-
Style/RedundantAssignment: # (new in 0.87)
|
89
|
-
Enabled: true
|
90
|
-
Style/RedundantFetchBlock: # (new in 0.86)
|
91
|
-
Enabled: true
|
92
|
-
Style/RedundantFileExtensionInRequire: # (new in 0.88)
|
93
|
-
Enabled: true
|
94
|
-
Style/RedundantRegexpCharacterClass: # (new in 0.85)
|
95
|
-
Enabled: true
|
96
|
-
Style/RedundantRegexpEscape: # (new in 0.85)
|
97
|
-
Enabled: true
|
98
|
-
Style/RedundantSelfAssignment: # (new in 0.90)
|
99
|
-
Enabled: true
|
100
|
-
Style/SingleArgumentDig: # (new in 0.89)
|
101
|
-
Enabled: true
|
102
|
-
Style/SlicingWithRange: # (new in 0.83)
|
103
|
-
Enabled: true
|
104
|
-
Style/SoleNestedConditional: # (new in 0.89)
|
105
|
-
Enabled: true
|
106
|
-
Style/StringConcatenation: # (new in 0.89)
|
107
|
-
Enabled: true
|
data/.rubocop_todo.yml
DELETED
@@ -1,167 +0,0 @@
|
|
1
|
-
# This configuration was generated by
|
2
|
-
# `rubocop --auto-gen-config`
|
3
|
-
# on 2020-12-10 04:35:55 UTC using RuboCop version 1.6.0.
|
4
|
-
# The point is for the user to remove these configuration records
|
5
|
-
# one by one as the offenses are removed from the code base.
|
6
|
-
# Note that changes in the inspected code, or installation of new
|
7
|
-
# versions of RuboCop, may require this file to be generated again.
|
8
|
-
|
9
|
-
# Offense count: 7
|
10
|
-
Lint/DuplicateMethods:
|
11
|
-
Exclude:
|
12
|
-
- 'README.md'
|
13
|
-
|
14
|
-
# Offense count: 6
|
15
|
-
# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
|
16
|
-
Metrics/AbcSize:
|
17
|
-
Max: 96
|
18
|
-
|
19
|
-
# Offense count: 58
|
20
|
-
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
|
21
|
-
# IgnoredMethods: refine
|
22
|
-
Metrics/BlockLength:
|
23
|
-
Max: 851
|
24
|
-
|
25
|
-
# Offense count: 6
|
26
|
-
# Configuration parameters: CountBlocks.
|
27
|
-
Metrics/BlockNesting:
|
28
|
-
Max: 4
|
29
|
-
|
30
|
-
# Offense count: 4
|
31
|
-
# Configuration parameters: IgnoredMethods.
|
32
|
-
Metrics/CyclomaticComplexity:
|
33
|
-
Max: 24
|
34
|
-
|
35
|
-
# Offense count: 15
|
36
|
-
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
|
37
|
-
Metrics/MethodLength:
|
38
|
-
Max: 75
|
39
|
-
|
40
|
-
# Offense count: 2
|
41
|
-
# Configuration parameters: CountComments, CountAsOne.
|
42
|
-
Metrics/ModuleLength:
|
43
|
-
Max: 112
|
44
|
-
|
45
|
-
# Offense count: 5
|
46
|
-
# Configuration parameters: IgnoredMethods.
|
47
|
-
Metrics/PerceivedComplexity:
|
48
|
-
Max: 31
|
49
|
-
|
50
|
-
# Offense count: 3
|
51
|
-
# Configuration parameters: EnforcedStyleForLeadingUnderscores.
|
52
|
-
# SupportedStylesForLeadingUnderscores: disallowed, required, optional
|
53
|
-
Naming/MemoizedInstanceVariableName:
|
54
|
-
Exclude:
|
55
|
-
- 'lib/debug_logging/configuration.rb'
|
56
|
-
|
57
|
-
# Offense count: 60
|
58
|
-
# Configuration parameters: Prefixes.
|
59
|
-
# Prefixes: when, with, without
|
60
|
-
RSpec/ContextWording:
|
61
|
-
Exclude:
|
62
|
-
- 'spec/debug_logging/class_logger_spec.rb'
|
63
|
-
- 'spec/debug_logging/class_notifier_spec.rb'
|
64
|
-
- 'spec/debug_logging/configuration_spec.rb'
|
65
|
-
- 'spec/debug_logging/instance_logger_spec.rb'
|
66
|
-
- 'spec/debug_logging/instance_notifier_spec.rb'
|
67
|
-
- 'spec/debug_logging_spec.rb'
|
68
|
-
|
69
|
-
# Offense count: 46
|
70
|
-
# Configuration parameters: Max.
|
71
|
-
RSpec/ExampleLength:
|
72
|
-
Exclude:
|
73
|
-
- 'spec/debug_logging/class_logger_spec.rb'
|
74
|
-
- 'spec/debug_logging/class_notifier_spec.rb'
|
75
|
-
- 'spec/debug_logging/configuration_spec.rb'
|
76
|
-
- 'spec/debug_logging/instance_logger_spec.rb'
|
77
|
-
- 'spec/debug_logging/instance_notifier_spec.rb'
|
78
|
-
- 'spec/debug_logging/log_subscriber_spec.rb'
|
79
|
-
- 'spec/debug_logging_spec.rb'
|
80
|
-
|
81
|
-
# Offense count: 53
|
82
|
-
# Configuration parameters: AssignmentOnly.
|
83
|
-
RSpec/InstanceVariable:
|
84
|
-
Exclude:
|
85
|
-
- 'spec/debug_logging/class_notifier_spec.rb'
|
86
|
-
- 'spec/debug_logging/instance_notifier_spec.rb'
|
87
|
-
- 'spec/debug_logging/log_subscriber_spec.rb'
|
88
|
-
|
89
|
-
# Offense count: 4
|
90
|
-
RSpec/LeakyConstantDeclaration:
|
91
|
-
Exclude:
|
92
|
-
- 'spec/debug_logging/configuration_spec.rb'
|
93
|
-
|
94
|
-
# Offense count: 23
|
95
|
-
# Configuration parameters: .
|
96
|
-
# SupportedStyles: have_received, receive
|
97
|
-
RSpec/MessageSpies:
|
98
|
-
EnforcedStyle: receive
|
99
|
-
|
100
|
-
# Offense count: 80
|
101
|
-
RSpec/MultipleExpectations:
|
102
|
-
Max: 32
|
103
|
-
|
104
|
-
# Offense count: 1
|
105
|
-
# Configuration parameters: AllowSubject.
|
106
|
-
RSpec/MultipleMemoizedHelpers:
|
107
|
-
Max: 10
|
108
|
-
|
109
|
-
# Offense count: 27
|
110
|
-
RSpec/NestedGroups:
|
111
|
-
Max: 5
|
112
|
-
|
113
|
-
# Offense count: 1
|
114
|
-
# Configuration parameters: IgnoreNameless, IgnoreSymbolicNames.
|
115
|
-
RSpec/VerifiedDoubles:
|
116
|
-
Exclude:
|
117
|
-
- 'spec/support/shared_context.rb'
|
118
|
-
|
119
|
-
# Offense count: 1
|
120
|
-
# Configuration parameters: AllowedChars.
|
121
|
-
Style/AsciiComments:
|
122
|
-
Exclude:
|
123
|
-
- '**/*.md'
|
124
|
-
- '**/*.markdown'
|
125
|
-
- 'lib/debug_logging/configuration.rb'
|
126
|
-
|
127
|
-
# Offense count: 13
|
128
|
-
Style/Documentation:
|
129
|
-
Exclude:
|
130
|
-
- '**/*.md'
|
131
|
-
- '**/*.markdown'
|
132
|
-
- 'lib/debug_logging.rb'
|
133
|
-
- 'lib/debug_logging/argument_printer.rb'
|
134
|
-
- 'lib/debug_logging/class_logger.rb'
|
135
|
-
- 'lib/debug_logging/class_notifier.rb'
|
136
|
-
- 'lib/debug_logging/configuration.rb'
|
137
|
-
- 'lib/debug_logging/instance_logger.rb'
|
138
|
-
- 'lib/debug_logging/instance_logger_modulizer.rb'
|
139
|
-
- 'lib/debug_logging/instance_notifier.rb'
|
140
|
-
- 'lib/debug_logging/instance_notifier_modulizer.rb'
|
141
|
-
- 'lib/debug_logging/log_subscriber.rb'
|
142
|
-
- 'lib/simple_debug_logging.rb'
|
143
|
-
|
144
|
-
# Offense count: 2
|
145
|
-
# Cop supports --auto-correct.
|
146
|
-
# Configuration parameters: EnforcedStyle.
|
147
|
-
# SupportedStyles: empty, nil, both
|
148
|
-
Style/EmptyElse:
|
149
|
-
Exclude:
|
150
|
-
- 'lib/debug_logging/class_logger.rb'
|
151
|
-
- 'lib/debug_logging/class_notifier.rb'
|
152
|
-
|
153
|
-
# Offense count: 8
|
154
|
-
Style/IdenticalConditionalBranches:
|
155
|
-
Exclude:
|
156
|
-
- 'lib/debug_logging/class_logger.rb'
|
157
|
-
- 'lib/debug_logging/class_notifier.rb'
|
158
|
-
- 'lib/debug_logging/instance_logger_modulizer.rb'
|
159
|
-
- 'lib/debug_logging/instance_notifier_modulizer.rb'
|
160
|
-
|
161
|
-
# Offense count: 67
|
162
|
-
# Cop supports --auto-correct.
|
163
|
-
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
164
|
-
# URISchemes: http, https
|
165
|
-
# IgnoredPatterns: (?-mix:^\#)
|
166
|
-
Layout/LineLength:
|
167
|
-
Max: 207
|
data/.travis.yml
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
env:
|
2
|
-
global:
|
3
|
-
- JRUBY_OPTS="-Xcli.debug=true --debug"
|
4
|
-
- CC_TEST_REPORTER_ID=b78cb927bf15a7aee5aacd4486215628550f784e77d137a2da8c96c417a068ff
|
5
|
-
|
6
|
-
before_script:
|
7
|
-
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
8
|
-
- chmod +x ./cc-test-reporter
|
9
|
-
- ./cc-test-reporter before-build
|
10
|
-
|
11
|
-
script:
|
12
|
-
- bundle exec rubocop -DESP
|
13
|
-
- bundle exec rspec
|
14
|
-
|
15
|
-
after_script:
|
16
|
-
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
17
|
-
|
18
|
-
before_install:
|
19
|
-
- gem update --system
|
20
|
-
- gem install bundler
|
21
|
-
|
22
|
-
install:
|
23
|
-
- bundle install
|
24
|
-
|
25
|
-
bundler_args: --no-deployment --jobs 3 --retry 3
|
26
|
-
|
27
|
-
cache: bundler
|
28
|
-
|
29
|
-
language: ruby
|
30
|
-
sudo: false
|
31
|
-
|
32
|
-
rvm:
|
33
|
-
- ruby-2.4.10
|
34
|
-
- ruby-2.5.8
|
35
|
-
- ruby-2.6.6
|
36
|
-
- ruby-2.7.2
|