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
data/Gemfile
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
source 'https://rubygems.org'
|
4
|
-
|
5
|
-
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
|
6
|
-
|
7
|
-
group :test do
|
8
|
-
gem 'coveralls', '~> 0', require: false
|
9
|
-
end
|
10
|
-
|
11
|
-
# Specify your gem's dependencies in debug_logging.gemspec
|
12
|
-
gemspec
|
data/Rakefile
DELETED
data/bin/console
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# frozen_string_literal: true
|
3
|
-
|
4
|
-
require 'bundler/setup'
|
5
|
-
require 'debug_logging'
|
6
|
-
|
7
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
8
|
-
# with your gem easier. You can also use a different console, if you like.
|
9
|
-
|
10
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
11
|
-
# require "pry"
|
12
|
-
# Pry.start
|
13
|
-
|
14
|
-
require 'irb'
|
15
|
-
IRB.start(__FILE__)
|
data/bin/setup
DELETED
data/debug_logging.gemspec
DELETED
@@ -1,42 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
lib = File.expand_path('lib', __dir__)
|
4
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
-
require 'debug_logging/version'
|
6
|
-
|
7
|
-
Gem::Specification.new do |spec|
|
8
|
-
spec.name = 'debug_logging'
|
9
|
-
spec.version = DebugLogging::VERSION
|
10
|
-
spec.authors = ['Peter Boling', 'guckin']
|
11
|
-
spec.email = ['peter.boling@gmail.com']
|
12
|
-
|
13
|
-
spec.summary = 'Drop-in debug logging useful when a call stack gets unruly'
|
14
|
-
spec.description = '
|
15
|
-
Unobtrusive debug logging for Ruby. NO LITTERING.
|
16
|
-
Automatically log selected methods and their arguments as they are called at runtime!
|
17
|
-
'
|
18
|
-
spec.license = 'MIT'
|
19
|
-
spec.homepage = 'https://github.com/pboling/debug_logging'
|
20
|
-
|
21
|
-
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
22
|
-
f.match(%r{^(test|spec|features)/})
|
23
|
-
end
|
24
|
-
spec.bindir = 'exe'
|
25
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
26
|
-
spec.require_paths = ['lib']
|
27
|
-
spec.required_ruby_version = '>= 2.4.0' # Uses magic comments
|
28
|
-
|
29
|
-
spec.add_runtime_dependency 'colorize', '>= 0'
|
30
|
-
spec.add_development_dependency 'activesupport', '~> 5.2', '>= 5.2.4.4'
|
31
|
-
spec.add_development_dependency 'bundler', '>= 2'
|
32
|
-
spec.add_development_dependency 'byebug', '>= 11'
|
33
|
-
spec.add_development_dependency 'rake', '>= 13'
|
34
|
-
spec.add_development_dependency 'rspec', '>= 3'
|
35
|
-
spec.add_development_dependency 'rspec-pending_for', '>= 0'
|
36
|
-
spec.add_development_dependency 'rubocop', '~> 1.0'
|
37
|
-
spec.add_development_dependency 'rubocop-md'
|
38
|
-
spec.add_development_dependency 'rubocop-performance'
|
39
|
-
spec.add_development_dependency 'rubocop-rake'
|
40
|
-
spec.add_development_dependency 'rubocop-rspec', '~> 2.0'
|
41
|
-
spec.add_development_dependency 'silent_stream', '>= 1'
|
42
|
-
end
|