lograge-tagged 0.3.1 → 0.3.2

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: 56ba4289f9ccba79f03b4eb94169ec3a8ea75d96
4
- data.tar.gz: 1ce4ce664118f73d63bb29fe1d1a84a95edb8fdd
3
+ metadata.gz: ff5b657e773624d7642c7fd3acd83299428810d8
4
+ data.tar.gz: 51a1698778c7498a519e99275b8da42be0885673
5
5
  SHA512:
6
- metadata.gz: d02e8d8a4980eb2ebada102e2063bb6abff2ed88646a84ddc97b1ee3b00abba52daa71f77f01ae111651dd8fdea2162724939af162e929234928301d145f2816
7
- data.tar.gz: 254ca07e8a003945caef977daca336dc6ae197b24b5ceb61b9b11261fcd08625813a08f85bba155d74b09c4ba33759efc448f4e9c86be83f19c2f674ff36b38c
6
+ metadata.gz: 5ba36a0270423c1e9218a2e4877044ee599c3e70a4c770852913e5ee4630849e75ab70a76c0c9c1c2545429e9f02e72451bdd97aa6136be5665fa8113ef3e575
7
+ data.tar.gz: 24c440441e5c84c506eac9f4b4768ee331f28f63656dd422fc3101a796eeaf08231bed6e43a5e45812c2345b0d97d00ded28869b6768f0e97c7af779c8354833
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## Release 0.3.2
4
+
5
+ - FIXED: Fix precedence, lograge ignored the setting set by this library
6
+
3
7
  ## Release 0.3.1
4
8
 
5
9
  - FIXED: Fix load compatibility
@@ -17,6 +17,10 @@ module LogrageTagged
17
17
  config.after_initialize do |app|
18
18
  app.config.lograge.formatter = LogrageTagged::TaggedKeyValueFormatter.new
19
19
  app.config.lograge.custom_options = ->(event) { { params: event.payload[:params] } }
20
+ if app.config.lograge.enabled
21
+ Lograge.set_formatter
22
+ Lograge.set_lograge_log_options
23
+ end
20
24
  end
21
25
  end if defined?(Rails)
22
26
  end
@@ -1,3 +1,3 @@
1
1
  module LogrageTagged
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lograge-tagged
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simone Carletti
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-01 00:00:00.000000000 Z
11
+ date: 2017-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lograge
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  version: '0'
81
81
  requirements: []
82
82
  rubyforge_project:
83
- rubygems_version: 2.5.1
83
+ rubygems_version: 2.6.10
84
84
  signing_key:
85
85
  specification_version: 4
86
86
  summary: A tagged LogSubscriber for Lograge