debug_logging 3.1.8 → 3.1.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,43 +7,47 @@ module DebugLogging
7
7
  methods_to_notify, payload, config_opts = DebugLogging::Util.extract_payload_and_config(
8
8
  method_names: Array(methods_to_notify),
9
9
  payload: payload,
10
- config: config
10
+ config: config,
11
11
  )
12
12
  Array(methods_to_notify).each do |method_to_notify|
13
13
  method_to_notify, method_payload, method_config_opts = DebugLogging::Util.extract_payload_and_config(
14
14
  method_names: method_to_notify,
15
15
  payload: payload,
16
- config: config_opts
16
+ config: config_opts,
17
17
  )
18
18
  define_method(method_to_notify) do |*args, &block|
19
19
  config_proxy = DebugLogging::Util.config_proxy_finder(
20
20
  scope: self.class,
21
21
  config_opts: method_config_opts,
22
22
  method_name: method_to_notify,
23
- proxy_ref: 'inm'
23
+ proxy_ref: "inm",
24
24
  ) do |config_proxy|
25
25
  ActiveSupport::Notifications.subscribe(
26
- DebugLogging::ArgumentPrinter.debug_event_name_to_s(method_to_notify: method_to_notify)
26
+ DebugLogging::ArgumentPrinter.debug_event_name_to_s(method_to_notify: method_to_notify),
27
27
  ) do |*args|
28
28
  config_proxy&.log do
29
29
  DebugLogging::LogSubscriber.log_event(ActiveSupport::Notifications::Event.new(*args))
30
30
  end
31
31
  end
32
32
  end
33
- paydirt = DebugLogging::Util.payload_instance_vaiable_hydration(scope: self, payload: method_payload)
33
+ paydirt = DebugLogging::Util.payload_instance_variable_hydration(scope: self, payload: method_payload)
34
34
  ActiveSupport::Notifications.instrument(
35
35
  DebugLogging::ArgumentPrinter.debug_event_name_to_s(method_to_notify: method_to_notify),
36
36
  debug_args: args,
37
37
  config_proxy: config_proxy,
38
- **paydirt
38
+ **paydirt,
39
39
  ) do
40
40
  begin
41
+ # TODO: I need to split logic based on Ruby version.
42
+ # TODO: Use VersionGem's minimum Ruby version check
43
+ # TODO: Switch between positional, and kwargs argument handling
44
+ # See: https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/
41
45
  super(*args, &block)
42
- rescue => error
46
+ rescue StandardError => e
43
47
  if config_proxy.error_handler_proc
44
- config_proxy.error_handler_proc.call(config_proxy, error, self, method_to_notify, args)
48
+ config_proxy.error_handler_proc.call(config_proxy, e, self, method_to_notify, args)
45
49
  else
46
- raise error
50
+ raise e
47
51
  end
48
52
  end
49
53
  end
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'active_support/log_subscriber'
3
+ require "active_support"
4
+ require "active_support/log_subscriber"
4
5
 
5
6
  module DebugLogging
6
7
  class LogSubscriber < ActiveSupport::LogSubscriber
@@ -12,7 +13,7 @@ module DebugLogging
12
13
  end
13
14
  attach_to :log
14
15
 
15
- EVENT_FORMAT_STRING = '%<name>s (%<duration>.3f secs) start=%<time>s end=%<end>s args=%<args>s payload=%<payload>s'
16
+ EVENT_FORMAT_STRING = "%<name>s (%<duration>.3f secs) start=%<time>s end=%<end>s args=%<args>s payload=%<payload>s"
16
17
 
17
18
  def self.log_event(event)
18
19
  @event = event
@@ -33,10 +34,10 @@ module DebugLogging
33
34
  {
34
35
  name: event.name,
35
36
  duration: Rational(event.duration, 1000).to_f,
36
- time: event.time,
37
- end: event.end,
37
+ time: debug_time_to_s(event.time),
38
+ end: debug_time_to_s(event.end),
38
39
  args: debug_signature_to_s(args: args, config_proxy: config_proxy),
39
- payload: debug_payload_to_s(payload: payload, config_proxy: config_proxy)
40
+ payload: debug_payload_to_s(payload: payload, config_proxy: config_proxy),
40
41
  }
41
42
  end
42
43
  end
@@ -9,10 +9,10 @@ module DebugLogging
9
9
  # When scoped config is not present it will reuse the class' configuration object
10
10
  scoped_payload = (method_names.is_a?(Array) && method_names.last.is_a?(Hash) && method_names.pop.clone(freeze: false)) || {}
11
11
  payload = if payload
12
- payload.merge(scoped_payload)
13
- else
14
- scoped_payload
15
- end
12
+ payload.merge(scoped_payload)
13
+ else
14
+ scoped_payload
15
+ end
16
16
  config_opts = config&.clone(freeze: false) || {}
17
17
  unless payload.empty?
18
18
  DebugLogging::Configuration::CONFIG_KEYS.each { |k| config_opts[k] = payload.delete(k) if payload.key?(k) }
@@ -39,7 +39,7 @@ module DebugLogging
39
39
  [method_names, payload, config_opts]
40
40
  end
41
41
 
42
- def payload_instance_vaiable_hydration(scope:, payload:)
42
+ def payload_instance_variable_hydration(scope:, payload:)
43
43
  paydirt = {}
44
44
  # TODO: Could make instance variable introspection configurable before or after method execution
45
45
  if payload.key?(:instance_variables)
@@ -54,19 +54,24 @@ module DebugLogging
54
54
  end
55
55
 
56
56
  def config_proxy_finder(scope:, method_name:, proxy_ref:, config_opts: {}, &block)
57
- if (proxy = scope.send(:instance_variable_get, DebugLogging::Configuration.config_pointer(proxy_ref,
58
- method_name)))
57
+ if (proxy = scope.send(:instance_variable_get, DebugLogging::Configuration.config_pointer(
58
+ proxy_ref,
59
+ method_name,
60
+ )))
59
61
  proxy
60
62
  else
61
63
  base = scope.respond_to?(:debug_config) ? scope.debug_config : DebugLogging.debug_logging_configuration
62
64
  proxy = if config_opts.empty?
63
- base
64
- else
65
- DebugLogging::Configuration.new(**base.to_hash.merge(config_opts))
66
- end
65
+ base
66
+ else
67
+ DebugLogging::Configuration.new(**base.to_hash.merge(config_opts))
68
+ end
67
69
  proxy.register(method_name)
68
- scope.send(:instance_variable_set, DebugLogging::Configuration.config_pointer(proxy_ref, method_name),
69
- proxy)
70
+ scope.send(
71
+ :instance_variable_set,
72
+ DebugLogging::Configuration.config_pointer(proxy_ref, method_name),
73
+ proxy,
74
+ )
70
75
  yield proxy if block
71
76
  proxy
72
77
  end
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DebugLogging
4
- VERSION = '3.1.8'
4
+ module Version
5
+ VERSION = "3.1.9"
6
+ end
5
7
  end
data/lib/debug_logging.rb CHANGED
@@ -1,20 +1,25 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'logger'
4
- require 'colorized_string'
5
- require 'digest'
6
-
7
- require 'debug_logging/constants'
8
- require 'debug_logging/version'
9
- require 'debug_logging/errors'
10
- require 'debug_logging/configuration'
11
- require 'debug_logging/util'
12
- require 'debug_logging/finalize'
13
- require 'debug_logging/argument_printer'
14
- require 'debug_logging/hooks'
15
- require 'debug_logging/instance_logger_modulizer'
16
- require 'debug_logging/instance_logger'
17
- require 'debug_logging/class_logger'
3
+ # Std Lib
4
+ require "logger"
5
+ require "digest"
6
+
7
+ # External gems
8
+ require "version_gem"
9
+ require "colorized_string"
10
+
11
+ # This gem
12
+ require "debug_logging/constants"
13
+ require "debug_logging/version"
14
+ require "debug_logging/errors"
15
+ require "debug_logging/configuration"
16
+ require "debug_logging/util"
17
+ require "debug_logging/finalize"
18
+ require "debug_logging/argument_printer"
19
+ require "debug_logging/hooks"
20
+ require "debug_logging/instance_logger_modulizer"
21
+ require "debug_logging/instance_logger"
22
+ require "debug_logging/class_logger"
18
23
 
19
24
  ####################
20
25
  # #
@@ -272,3 +277,7 @@ module DebugLogging
272
277
 
273
278
  self.debug_logging_configuration = Configuration.new # setup defaults
274
279
  end
280
+
281
+ DebugLogging::Version.class_eval do
282
+ extend VersionGem::Basic
283
+ end
@@ -35,7 +35,7 @@
35
35
  # NOTE: The instance method manner of logging works on Ruby 2.0+
36
36
  # NOTE: The class method manner of logging works on Ruby 2.1+
37
37
 
38
- require 'benchmark'
38
+ require "benchmark"
39
39
 
40
40
  class SimpleDebugLogging < Module
41
41
  def initialize(i_methods: nil)
@@ -57,7 +57,7 @@ class SimpleDebugLogging < Module
57
57
  define_method(method_to_log.to_sym) do |*args|
58
58
  method_return_value = nil
59
59
  invocation_id = " ~#{args.object_id}@#{Time.now.to_i}~" if args
60
- puts "#{self}.#{method_to_log}(#{args.map(&:inspect).join(', ')})#{invocation_id}"
60
+ puts "#{self}.#{method_to_log}(#{args.map(&:inspect).join(", ")})#{invocation_id}"
61
61
  elapsed = Benchmark.realtime do
62
62
  method_return_value = original_method.call(*args)
63
63
  end
@@ -76,7 +76,7 @@ class SimpleDebugLogging < Module
76
76
  define_method(method_to_log.to_sym) do |*args, &block|
77
77
  method_return_value = nil
78
78
  invocation_id = " ~#{args.object_id}@#{Time.now.to_i}~" if args
79
- puts "#{self.class}##{method_to_log}(#{args.map(&:inspect).join(', ')})#{invocation_id}"
79
+ puts "#{self.class}##{method_to_log}(#{args.map(&:inspect).join(", ")})#{invocation_id}"
80
80
  elapsed = Benchmark.realtime do
81
81
  method_return_value = super(*args, &block)
82
82
  end
data.tar.gz.sig ADDED
Binary file
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: 3.1.8
4
+ version: 3.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Boling
8
+ - 'John '
8
9
  - guckin
9
10
  autorequire:
10
11
  bindir: exe
11
- cert_chain: []
12
- date: 2020-12-19 00:00:00.000000000 Z
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: 2023-10-31 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,221 @@ 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: bundler
72
+ name: byebug
50
73
  requirement: !ruby/object:Gem::Requirement
51
74
  requirements:
52
75
  - - ">="
53
76
  - !ruby/object:Gem::Version
54
- version: '2'
77
+ version: '11'
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: '2'
84
+ version: '11'
62
85
  - !ruby/object:Gem::Dependency
63
- name: byebug
86
+ name: rake
64
87
  requirement: !ruby/object:Gem::Requirement
65
88
  requirements:
66
89
  - - ">="
67
90
  - !ruby/object:Gem::Version
68
- version: '11'
91
+ version: '13'
69
92
  type: :development
70
93
  prerelease: false
71
94
  version_requirements: !ruby/object:Gem::Requirement
72
95
  requirements:
73
96
  - - ">="
74
97
  - !ruby/object:Gem::Version
75
- version: '11'
98
+ version: '13'
76
99
  - !ruby/object:Gem::Dependency
77
- name: rake
100
+ name: kettle-soup-cover
78
101
  requirement: !ruby/object:Gem::Requirement
79
102
  requirements:
103
+ - - "~>"
104
+ - !ruby/object:Gem::Version
105
+ version: '1.0'
80
106
  - - ">="
81
107
  - !ruby/object:Gem::Version
82
- version: '13'
108
+ version: 1.0.2
83
109
  type: :development
84
110
  prerelease: false
85
111
  version_requirements: !ruby/object:Gem::Requirement
86
112
  requirements:
113
+ - - "~>"
114
+ - !ruby/object:Gem::Version
115
+ version: '1.0'
87
116
  - - ">="
88
117
  - !ruby/object:Gem::Version
89
- version: '13'
118
+ version: 1.0.2
90
119
  - !ruby/object:Gem::Dependency
91
- name: rspec
120
+ name: kramdown
92
121
  requirement: !ruby/object:Gem::Requirement
93
122
  requirements:
94
- - - ">="
123
+ - - "~>"
95
124
  - !ruby/object:Gem::Version
96
- version: '3'
125
+ version: '2.4'
97
126
  type: :development
98
127
  prerelease: false
99
128
  version_requirements: !ruby/object:Gem::Requirement
100
129
  requirements:
101
- - - ">="
130
+ - - "~>"
102
131
  - !ruby/object:Gem::Version
103
- version: '3'
132
+ version: '2.4'
104
133
  - !ruby/object:Gem::Dependency
105
- name: rspec-pending_for
134
+ name: yard
106
135
  requirement: !ruby/object:Gem::Requirement
107
136
  requirements:
137
+ - - "~>"
138
+ - !ruby/object:Gem::Version
139
+ version: '0.9'
108
140
  - - ">="
109
141
  - !ruby/object:Gem::Version
110
- version: '0'
142
+ version: 0.9.34
111
143
  type: :development
112
144
  prerelease: false
113
145
  version_requirements: !ruby/object:Gem::Requirement
114
146
  requirements:
147
+ - - "~>"
148
+ - !ruby/object:Gem::Version
149
+ version: '0.9'
115
150
  - - ">="
116
151
  - !ruby/object:Gem::Version
117
- version: '0'
152
+ version: 0.9.34
118
153
  - !ruby/object:Gem::Dependency
119
- name: rubocop
154
+ name: yard-junk
120
155
  requirement: !ruby/object:Gem::Requirement
121
156
  requirements:
122
157
  - - "~>"
123
158
  - !ruby/object:Gem::Version
124
- version: '1.0'
159
+ version: '0.0'
125
160
  type: :development
126
161
  prerelease: false
127
162
  version_requirements: !ruby/object:Gem::Requirement
128
163
  requirements:
129
164
  - - "~>"
130
165
  - !ruby/object:Gem::Version
131
- version: '1.0'
166
+ version: '0.0'
132
167
  - !ruby/object:Gem::Dependency
133
- name: rubocop-md
168
+ name: rubocop-lts
134
169
  requirement: !ruby/object:Gem::Requirement
135
170
  requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: '12.1'
136
174
  - - ">="
137
175
  - !ruby/object:Gem::Version
138
- version: '0'
176
+ version: 12.1.1
139
177
  type: :development
140
178
  prerelease: false
141
179
  version_requirements: !ruby/object:Gem::Requirement
142
180
  requirements:
181
+ - - "~>"
182
+ - !ruby/object:Gem::Version
183
+ version: '12.1'
143
184
  - - ">="
144
185
  - !ruby/object:Gem::Version
145
- version: '0'
186
+ version: 12.1.1
146
187
  - !ruby/object:Gem::Dependency
147
- name: rubocop-performance
188
+ name: rubocop-packaging
148
189
  requirement: !ruby/object:Gem::Requirement
149
190
  requirements:
191
+ - - "~>"
192
+ - !ruby/object:Gem::Version
193
+ version: '0.5'
150
194
  - - ">="
151
195
  - !ruby/object:Gem::Version
152
- version: '0'
196
+ version: 0.5.2
153
197
  type: :development
154
198
  prerelease: false
155
199
  version_requirements: !ruby/object:Gem::Requirement
156
200
  requirements:
201
+ - - "~>"
202
+ - !ruby/object:Gem::Version
203
+ version: '0.5'
157
204
  - - ">="
158
205
  - !ruby/object:Gem::Version
159
- version: '0'
206
+ version: 0.5.2
160
207
  - !ruby/object:Gem::Dependency
161
- name: rubocop-rake
208
+ name: rubocop-rspec
209
+ requirement: !ruby/object:Gem::Requirement
210
+ requirements:
211
+ - - "~>"
212
+ - !ruby/object:Gem::Version
213
+ version: '2.25'
214
+ type: :development
215
+ prerelease: false
216
+ version_requirements: !ruby/object:Gem::Requirement
217
+ requirements:
218
+ - - "~>"
219
+ - !ruby/object:Gem::Version
220
+ version: '2.25'
221
+ - !ruby/object:Gem::Dependency
222
+ name: rspec
162
223
  requirement: !ruby/object:Gem::Requirement
163
224
  requirements:
164
225
  - - ">="
165
226
  - !ruby/object:Gem::Version
166
- version: '0'
227
+ version: '3'
167
228
  type: :development
168
229
  prerelease: false
169
230
  version_requirements: !ruby/object:Gem::Requirement
170
231
  requirements:
171
232
  - - ">="
172
233
  - !ruby/object:Gem::Version
173
- version: '0'
234
+ version: '3'
174
235
  - !ruby/object:Gem::Dependency
175
- name: rubocop-rspec
236
+ name: rspec-block_is_expected
237
+ requirement: !ruby/object:Gem::Requirement
238
+ requirements:
239
+ - - "~>"
240
+ - !ruby/object:Gem::Version
241
+ version: '1.0'
242
+ - - ">="
243
+ - !ruby/object:Gem::Version
244
+ version: 1.0.5
245
+ type: :development
246
+ prerelease: false
247
+ version_requirements: !ruby/object:Gem::Requirement
248
+ requirements:
249
+ - - "~>"
250
+ - !ruby/object:Gem::Version
251
+ version: '1.0'
252
+ - - ">="
253
+ - !ruby/object:Gem::Version
254
+ version: 1.0.5
255
+ - !ruby/object:Gem::Dependency
256
+ name: rspec_junit_formatter
176
257
  requirement: !ruby/object:Gem::Requirement
177
258
  requirements:
178
259
  - - "~>"
179
260
  - !ruby/object:Gem::Version
180
- version: '2.0'
261
+ version: '0.6'
181
262
  type: :development
182
263
  prerelease: false
183
264
  version_requirements: !ruby/object:Gem::Requirement
184
265
  requirements:
185
266
  - - "~>"
186
267
  - !ruby/object:Gem::Version
187
- version: '2.0'
268
+ version: '0.6'
269
+ - !ruby/object:Gem::Dependency
270
+ name: rspec-pending_for
271
+ requirement: !ruby/object:Gem::Requirement
272
+ requirements:
273
+ - - ">="
274
+ - !ruby/object:Gem::Version
275
+ version: '0'
276
+ type: :development
277
+ prerelease: false
278
+ version_requirements: !ruby/object:Gem::Requirement
279
+ requirements:
280
+ - - ">="
281
+ - !ruby/object:Gem::Version
282
+ version: '0'
188
283
  - !ruby/object:Gem::Dependency
189
284
  name: silent_stream
190
285
  requirement: !ruby/object:Gem::Requirement
@@ -209,18 +304,10 @@ executables: []
209
304
  extensions: []
210
305
  extra_rdoc_files: []
211
306
  files:
212
- - ".coveralls.yml"
213
- - ".gitignore"
214
- - ".rspec"
215
- - ".rubocop.yml"
216
- - ".rubocop_todo.yml"
217
- - ".travis.yml"
218
- - Gemfile
307
+ - CONTRIBUTING.md
308
+ - LICENSE.txt
219
309
  - README.md
220
- - Rakefile
221
- - bin/console
222
- - bin/setup
223
- - debug_logging.gemspec
310
+ - SECURITY.md
224
311
  - lib/debug_logging.rb
225
312
  - lib/debug_logging/active_support_notifications.rb
226
313
  - lib/debug_logging/argument_printer.rb
@@ -242,7 +329,15 @@ files:
242
329
  homepage: https://github.com/pboling/debug_logging
243
330
  licenses:
244
331
  - MIT
245
- metadata: {}
332
+ metadata:
333
+ homepage_uri: https://github.com/pboling/debug_logging
334
+ source_code_uri: https://github.com/pboling/debug_logging/tree/v3.1.9
335
+ changelog_uri: https://github.com/pboling/debug_logging/blob/v3.1.9/CHANGELOG.md
336
+ bug_tracker_uri: https://github.com/pboling/debug_logging/issues
337
+ documentation_uri: https://www.rubydoc.info/gems/debug_logging/3.1.9
338
+ wiki_uri: https://github.com/pboling/debug_logging/wiki
339
+ funding_uri: https://liberapay.com/pboling
340
+ rubygems_mfa_required: 'true'
246
341
  post_install_message:
247
342
  rdoc_options: []
248
343
  require_paths:
@@ -251,14 +346,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
251
346
  requirements:
252
347
  - - ">="
253
348
  - !ruby/object:Gem::Version
254
- version: 2.4.0
349
+ version: '2.4'
350
+ - - "<"
351
+ - !ruby/object:Gem::Version
352
+ version: '3'
255
353
  required_rubygems_version: !ruby/object:Gem::Requirement
256
354
  requirements:
257
355
  - - ">="
258
356
  - !ruby/object:Gem::Version
259
357
  version: '0'
260
358
  requirements: []
261
- rubygems_version: 3.2.1
359
+ rubygems_version: 3.1.6
262
360
  signing_key:
263
361
  specification_version: 4
264
362
  summary: Drop-in debug logging useful when a call stack gets unruly
metadata.gz.sig ADDED
Binary file
data/.coveralls.yml DELETED
@@ -1 +0,0 @@
1
- service_name: travis-ci
data/.gitignore DELETED
@@ -1,13 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
10
-
11
- # rspec failure tracking
12
- .rspec_status
13
- .byebug_history
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --format documentation
2
- --color