technologic 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/technologic/logger.rb +1 -0
- data/lib/technologic/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2203e82507fdcdfcc7197f6bfb0d9e1ef1e1ed8a31c19351e8b28546d826a03
|
4
|
+
data.tar.gz: dc602690e3b651d6d4c19645898536a8f40b66e2ccc073eea96743ab9f3f5ed7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a959335e139e7f9384d3001ce5557a9c062d41265a9397ec55b7efa6431fba7e3ece174ea48cacf137e5a96973d92e5092de7dafe3820679ef7f97d2572759f
|
7
|
+
data.tar.gz: f7d901d1b54157c6557b49485a90cdeb1b4513ae3d2298834acf5b840b844f38c86f5fa80fc74162553ecfb14e18210714567fa806b3e2e5ed141dc50603e1e0
|
data/lib/technologic/logger.rb
CHANGED
@@ -15,6 +15,7 @@ module Technologic
|
|
15
15
|
# `#to_log_string` is idiomatic to Technologic and is the most explicit way to specify how an object is logged.
|
16
16
|
return value.to_log_string if value.respond_to?(:to_log_string)
|
17
17
|
|
18
|
+
return value.to_s if value.is_a?(Enumerator)
|
18
19
|
return value if value.is_a?(Numeric)
|
19
20
|
return value.id if value.respond_to?(:id)
|
20
21
|
return value.map { |mappable_value| format_value_for_log(mappable_value) } if value.respond_to?(:map)
|
data/lib/technologic/version.rb
CHANGED
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.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Garside
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-25 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.6.
|
47
|
+
version: 0.6.1
|
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.6.
|
54
|
+
version: 0.6.1
|
55
55
|
description: An opinionated philosophy on logging for Ruby on Rails applications.
|
56
56
|
email:
|
57
57
|
- garside@gmail.com
|