getaround_utils 0.2.7 → 0.2.9

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b223cad8498dfd12507f6ab773df8a1faf022100f7d853ca5460f4b6777c7182
4
- data.tar.gz: fee4b3c9d00bae73b4e6dcb9e03bc41873d322dbade354526e66eb3f86442f14
3
+ metadata.gz: c42ef677431ceda95a517423c02274ee8a3972f374be40743f519bb3ab3f6c11
4
+ data.tar.gz: f695fe8fd906c44ebf894c22990913077b66b5def97ff14c6ec8084c40fa982a
5
5
  SHA512:
6
- metadata.gz: 48b823c75460cacf812d6b08adc733821a8cbe8e488441f5ee53ecc3681467d50589195cf8f0781e8c3dcac4a37f6decd56cbb981d6c886f18558e69e72075ad
7
- data.tar.gz: ddcc92a0093cb1a6dd63b5510a3c5db012ce0099e43262a8fc5f475bbc722795f42c0e1c411624b5fd5dd1a240434f7b15bed65c47c390345a839fbe487e40fe
6
+ metadata.gz: '029d3cdfbd61b334ad96898377cae44b13244409f92022138cc832168dff1bc7dd94415d1a5a02760f7498f8a7eac0c502413645900e5b3873f20e49033203cc'
7
+ data.tar.gz: 1313d197fc287364b9b3a28e90607873ac8e7d3450b173d5cea607a64a01160e971894136f40ca1e28d6fb75c8bc8db41b731fb4d8d3b11f9e978d668d25989a
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- getaround_utils (0.2.7)
4
+ getaround_utils (0.2.9)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -19,9 +19,13 @@ end
19
19
  # https://github.com/tilfin/ougai/wiki/Use-as-Rails-logger#with-activesupporttaggedlogging
20
20
  module OugaiTaggedLoggingFormatter
21
21
  def call(severity, time, progname, data)
22
- data = { msg: data.to_s } unless data.is_a?(Hash)
23
- data[:tags] = current_tags if current_tags.any?
24
- _call(severity, time, progname, data)
22
+ if is_a?(Ougai::Formatters::Base)
23
+ data = { msg: data.to_s } unless data.is_a?(Hash)
24
+ data[:tags] = current_tags if current_tags.any?
25
+ _call(severity, time, progname, data)
26
+ else
27
+ super
28
+ end
25
29
  end
26
30
  end
27
31
 
@@ -1,3 +1,3 @@
1
1
  module GetaroundUtils
2
- VERSION = '0.2.7'.freeze
2
+ VERSION = '0.2.9'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: getaround_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Drivy
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-09-17 00:00:00.000000000 Z
12
+ date: 2020-09-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler