tracee 1.0.14 → 1.0.15

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 90f101b5ed798c85e00b675e639b857d557559f3
4
- data.tar.gz: e20723a50994316c3f45281c0a777f82e1527ec8
3
+ metadata.gz: 016963f715d67099c1458c5af39219a2fa97cc82
4
+ data.tar.gz: 7e9b4d87d26e034bce6cba64096122662c2e595f
5
5
  SHA512:
6
- metadata.gz: e26e75daeae8ebeb2223d4b319db4502db9eead63b015ded9ab4ba020210992c217cb01342e6d59130a0896ac89c074884726db1efb00541694ef7be9a782a94
7
- data.tar.gz: 31ab51693a2d16e3eb5b8bffeb322e28cca9ac6a2d1f52ebe50b8d3a886c578fab0a3432da01149d38656451b77b0c23edc2d76f668d58bedfdd39268373b6da
6
+ metadata.gz: b8a4a092288e3d13e520c602061f5715507d85a1b8f9caaceed2e4b0d9c275159029281fd61b8573e13c1f2a802c1a510e6180f5edac7720ea00a6b8e377c2ea
7
+ data.tar.gz: 8a14e94e3f9a222ffd54a7c706bb51f2310818e175fe6481610cb73b76ff4f38bc6f881eca9a4f02e626f66b5fb090b667716e6a4af7b1dd153e5f6411e4d9e9
@@ -0,0 +1,8 @@
1
+ class Object
2
+
3
+ def __log__(caller_at: 0)
4
+ $log.debug(caller_at: caller_at + 1) {inspect}
5
+ self
6
+ end
7
+
8
+ end
@@ -1,3 +1,3 @@
1
1
  module Tracee
2
- VERSION = "1.0.14"
2
+ VERSION = "1.0.15"
3
3
  end
data/lib/tracee.rb CHANGED
@@ -8,6 +8,7 @@ require 'active_support/inflector'
8
8
  require 'active_support/core_ext/hash/indifferent_access'
9
9
  require 'active_support/core_ext/module/aliasing'
10
10
  require 'active_support/core_ext/class/attribute'
11
+ require 'active_support/core_ext/date_time'
11
12
  require 'active_support/tagged_logging'
12
13
 
13
14
  require 'colorize'
@@ -21,6 +22,7 @@ require 'tracee/preprocessors/quiet_assets'
21
22
  require 'tracee/preprocessors/colorize'
22
23
  require 'tracee/stream'
23
24
  require 'tracee/stack'
25
+ require 'tracee/ext/object'
24
26
  require 'tracee/ext/exception'
25
27
  require 'tracee/ext/active_support'
26
28
  require 'tracee/ext/better_errors'
data/tracee.gemspec CHANGED
@@ -21,6 +21,6 @@ Gem::Specification.new do |spec|
21
21
  spec.add_development_dependency "rake", "~> 10.0"
22
22
  spec.add_development_dependency "rspec", "~> 3.3"
23
23
 
24
- spec.add_dependency "colorize"
25
- spec.add_dependency "activesupport"
24
+ spec.add_dependency "colorize", ">= 0"
25
+ spec.add_dependency "activesupport", ">= 3"
26
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tracee
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.14
4
+ version: 1.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey Baev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-12 00:00:00.000000000 Z
11
+ date: 2018-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: '3'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: '3'
83
83
  description: Tracee is a simple extensible logger with stack tracing, benchmarking,
84
84
  preprocessing, and severity-based output splitting. Tracee is meant for development
85
85
  and debugging of any type of application or library, and compatible with Rails.
@@ -105,6 +105,7 @@ files:
105
105
  - lib/tracee/ext/active_support.rb
106
106
  - lib/tracee/ext/better_errors.rb
107
107
  - lib/tracee/ext/exception.rb
108
+ - lib/tracee/ext/object.rb
108
109
  - lib/tracee/logger.rb
109
110
  - lib/tracee/preprocessors/base.rb
110
111
  - lib/tracee/preprocessors/colorize.rb
@@ -134,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
134
135
  version: '0'
135
136
  requirements: []
136
137
  rubyforge_project:
137
- rubygems_version: 2.4.8
138
+ rubygems_version: 2.5.1
138
139
  signing_key:
139
140
  specification_version: 4
140
141
  summary: An extensible logger with stack tracing, benchmarking, preprocessing, and