mn_utils_gem 1.5.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mn_utils_gem/site_action.rb +2 -2
- data/lib/mn_utils_gem/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 905603381854f15dd4de3a4b418d071a15aa417b488aeb20e68152cc8690445d
|
4
|
+
data.tar.gz: 5f39342c223ff9dc0f8724e5b6477be87d3c4f39c783acd1dbfc555a77c5aa62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c1f933fc03757072e2f124530b3932bdee92dcf85067856792fc4d3ce7326c74575d240b84149c5b734ab101c7baa8c3678a29e308f4d4834175845009bc3fb
|
7
|
+
data.tar.gz: 917994740f5ea00914e80131dd9935a3be178248a3c570ffc6c15e142eacf3f1c2e28607e4908cb7d8dad79f7f3a9ff25937c8c97af091148391c0fc17626556
|
@@ -127,8 +127,8 @@ module MnUtilsLogging
|
|
127
127
|
unless key_string.length >= 2
|
128
128
|
raise ArgumentError, "payload key cannot be _id" \
|
129
129
|
if key_string == '_id'
|
130
|
-
raise ArgumentError, "payload value for key #{key} must be a string" \
|
131
|
-
unless value.is_a?(String)
|
130
|
+
raise ArgumentError, "payload value for key #{key} must be a string or symbol" \
|
131
|
+
unless value.is_a?(String) || value.is_a?(Symbol)
|
132
132
|
end
|
133
133
|
|
134
134
|
# validate required environment variables if we are in production
|
data/lib/mn_utils_gem/version.rb
CHANGED