technologic 0.21.0 → 0.22.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: 5faecb93da03bd1f2967bd4c59255c975cd731f439bb85813753ece4d779207a
4
- data.tar.gz: d5dcf98792471976ea79db457a817b54acad8b1c1f0d24f1c7d3b77211f8da9c
3
+ metadata.gz: e80f9b4fcb21a2614877d0df5d815dc2d903261e533b6fbe7a52b920489590a2
4
+ data.tar.gz: 9dcdfecc8d02b71192174facd15e342bdd1b5076b65abd71559004ec0e02c8d8
5
5
  SHA512:
6
- metadata.gz: fd9a10416d6fa8133c2f9f68b10dc9fa2c25785bfedbf4f3c76ca854d25da1b4693f4a750487161f46e6e86f3f7a04ddf01f89668941e8db3544cee315f9666c
7
- data.tar.gz: f15f7d27679cfba857edef19e9343ad7f6b8dd6be989e2e9d5dcfc93ad6d6dc0c4bf05f7e9449f3175fe95ce55587d0efe2719e3352c36b112a646a096886406
6
+ metadata.gz: 539cf9d328e0b77fb4bbe3cd0c60ba3ae16ba17233980afb4a2cfc7061600c6b2f724b81683a99da7fa64620f75648a2b47bb9948b052b508e50c1c6650340fe
7
+ data.tar.gz: 7212f63338390d5cc32a7da00769b6e80067732780bab9e6eaa9546339d1f16010c7c455059be05c15392efcd75284880a1afeb177d02077a39daef0769de050
@@ -18,7 +18,8 @@ module Technologic
18
18
  return value.to_s if value.is_a?(Enumerator)
19
19
  return value if value.is_a?(Numeric)
20
20
  return value.id if value.respond_to?(:id)
21
- return value.map { |mappable_value| format_value_for_log(mappable_value) } if value.respond_to?(:map)
21
+ return value.transform_values { |element| format_value_for_log(element) } if value.respond_to?(:transform_values)
22
+ return value.map { |element| format_value_for_log(element) } if value.respond_to?(:map)
22
23
 
23
24
  value.to_s
24
25
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Technologic
4
4
  # This constant is managed by spicerack
5
- VERSION = "0.21.0"
5
+ VERSION = "0.22.0"
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: technologic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Garside
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-13 00:00:00.000000000 Z
11
+ date: 2020-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.21.0
47
+ version: 0.22.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.21.0
54
+ version: 0.22.0
55
55
  description: A clean and terse way to produce standardized, highly actionable, and
56
56
  data-rich logs
57
57
  email:
@@ -101,7 +101,7 @@ metadata:
101
101
  homepage_uri: https://github.com/Freshly/spicerack/tree/master/technologic
102
102
  source_code_uri: https://github.com/Freshly/spicerack/tree/master/technologic
103
103
  changelog_uri: https://github.com/Freshly/spicerack/blob/master/technologic/CHANGELOG.md
104
- documentation_uri: https://www.rubydoc.info/gems/technologic/0.21.0
104
+ documentation_uri: https://www.rubydoc.info/gems/technologic/0.22.0
105
105
  post_install_message:
106
106
  rdoc_options: []
107
107
  require_paths:
@@ -117,8 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  - !ruby/object:Gem::Version
118
118
  version: '0'
119
119
  requirements: []
120
- rubyforge_project:
121
- rubygems_version: 2.7.6
120
+ rubygems_version: 3.0.3
122
121
  signing_key:
123
122
  specification_version: 4
124
123
  summary: Logging system built on an extensible event triggering system requiring minimal