fluent_logger_rails 0.6.0 → 0.7.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: 768d6d458331d344eec86102de03dba87910ec455098ba412203d91af5e89d3b
4
- data.tar.gz: 84e01b3b009488de4193a6b24833dbf03bd9d3e251fddcb6c50d9bab10b1f333
3
+ metadata.gz: 624c3e8a4581cf1d1ec94f174b28e738eecace7ad0eab3a7ed7fbe3b70954346
4
+ data.tar.gz: d9ab5129b1f4b3261227bb544df3706c15e50c1f6bb34da9a0656fab9eee67d8
5
5
  SHA512:
6
- metadata.gz: 2c4a1ecdc5430cdc4c5870433de60ce263cc09e7cc9f8f244a0aa414985c4e0617769656a7016eaebfeb9a86a0868432dc034632ee6083e8e8a9b878ca720587
7
- data.tar.gz: 66e4c2f2dee83a4dfb03896840748b0d4dffbaeec500fa14a43bf1e9a776b32b747dcf75810b114d8c5e3689fe479cbab93c6b85f529b088afafeb04c9538ad6
6
+ metadata.gz: e7c30245f458a0a4447367dea5dfd9d79c9deb9af676adc4e733217914a2ea4deebd68be182be01582481ffdb81a699d5eaeb2a696850e7f3604643a284c469b
7
+ data.tar.gz: 88bf00795a54baf30cbba7f84479e16211a6d26c6cdb632adf16120d19568df7bcd65265854304c8a6955e08a4d80ef50c11ad728343cd97cfc67acefc4fd1d3
data/CHANGELOG.md CHANGED
@@ -11,6 +11,21 @@ Enhancements:
11
11
  * None
12
12
 
13
13
  Deprecations:
14
+
15
+ * None
16
+
17
+ ## v0.7.0
18
+
19
+ Bug Fixes:
20
+
21
+ * Formatter is now more defensive about incoming nil and array-of-nil values, after changes with Rails 7.x Rack::Logger identified the gap
22
+
23
+ Enhancements:
24
+
25
+ * None
26
+
27
+ Deprecations:
28
+
14
29
  * None
15
30
 
16
31
  ## v0.6.0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fluent_logger_rails (0.6.0)
4
+ fluent_logger_rails (0.7.0)
5
5
  activesupport (>= 5.0, < 8)
6
6
 
7
7
  GEM
@@ -43,10 +43,12 @@ module FluentLoggerRails
43
43
  end
44
44
 
45
45
  def tagged(*tags)
46
- add_tags(*tags)
47
- yield self
46
+ tags = tags.flatten.compact if tags.is_a?(Array)
47
+
48
+ add_tags(*tags) if tags.present?
49
+ yield(self)
48
50
  ensure
49
- remove_tags(*tags)
51
+ remove_tags(*tags) if tags.present?
50
52
  end
51
53
 
52
54
  def add_tags(*tags)
@@ -1,3 +1,3 @@
1
1
  module FluentLoggerRails
2
- VERSION = '0.6.0'
2
+ VERSION = '0.7.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent_logger_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - HackerOne Open Source