evt-log 0.5.2.1 → 0.6.0.0

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
  SHA256:
3
- metadata.gz: 1dc4a6ebad028df7b56a589eabccc6ffd3599c8eb71b9ac786d13b7a87cd5940
4
- data.tar.gz: 78534dc3c44b53f00ef3ec78c3e37d08607f876bca9df6f5599a0b2751517ddb
3
+ metadata.gz: 9e9492c69c2c6aa2bd5e4a4604fe250d690ea1ea188cb779b5485fb5757b6f96
4
+ data.tar.gz: 846b8b873c2b8ea4172ad40e586348916f61f4072f44caee89a29e4becc4531d
5
5
  SHA512:
6
- metadata.gz: dd80b665613abdd5361289c30373623f5a8304f654d26ce95b497815f29ba358012618bc6dcb97d40b48e793eccc78bfd7b854fe5550fc3186c3d62ebc09a9b8
7
- data.tar.gz: ac56ed119a8c6073bee15e68e31a8e634f716a09d9b4231ee853bb1470db05c58cf8272a27e72bc521f097746c847a04d6ced1371ec39ef66c03d426b882801a
6
+ metadata.gz: fbd912141512fe420057957e0f311909d7abc29d8a927258983ef2db1143342ae49abd9a0f9075bb2e8e9ed45eb2fd7a2916fd19eff4c826b1eff40878058280
7
+ data.tar.gz: 4f0271b5248be5bcb296d44cf898ebe5b945cb1a679eefe00953bde735af4fe55ccca72fc617414717f591e61c32b8959d0c2b37a65a8560bdad21f801ce7413
data/lib/log.rb CHANGED
@@ -2,8 +2,8 @@ require 'English'
2
2
 
3
3
  require 'terminal_colors'
4
4
 
5
- require 'initializer'; Initializer.activate
6
- require 'dependency'; Dependency.activate
5
+ require 'initializer'
6
+ require 'dependency'
7
7
  require 'telemetry'
8
8
  require 'clock'
9
9
 
@@ -16,6 +16,8 @@ class Log
16
16
  end
17
17
 
18
18
  class Example
19
+ ::Dependency.activate(self)
20
+
19
21
  dependency :logger, ::Log
20
22
 
21
23
  def self.build
@@ -1,6 +1,9 @@
1
1
  class Log
2
2
  class Error < RuntimeError; end
3
3
 
4
+ Dependency.activate(self)
5
+ Initializer.activate(self)
6
+
4
7
  extend Registry
5
8
  include Levels
6
9
  include Level
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evt-log
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2.1
4
+ version: 0.6.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Eventide Project