mn_utils_gem 1.15.8 → 1.15.9
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 +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d946db3767493498e1b5b676e4e7272e6adeee8eff976aeb0557c140b1ee18c4
|
4
|
+
data.tar.gz: 2d13ec6bebac2f4a089b6c185f133709afc4bd513953d38893d267218e9c122b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40bdf5b0ce9273772b86f01799b45912acd2a717259d6f87acd5baaad69e2f9cbc1db403b84d553250eb91a791c99341b6f395f945c0ddbdee4330c9c0f9be6a
|
7
|
+
data.tar.gz: 3e410ac77cee761ee5dd15d3c5f1fd0a2010e670cb49cacddea0189c414e41a66962d6f3383efdb6061bdd655e8990c97278a6f5655259c98dcbe0d6dce158d8
|
@@ -131,7 +131,7 @@ module MnUtilsLogging
|
|
131
131
|
unless site_action.is_a?(Symbol)
|
132
132
|
raise ArgumentError, 'payload must be a hash' \
|
133
133
|
unless payload.is_a?(Hash)
|
134
|
-
raise ArgumentError,
|
134
|
+
raise ArgumentError, "site_action #{site_action} is not in allowed list" \
|
135
135
|
unless @_site_action_group_map.key? site_action
|
136
136
|
|
137
137
|
# validate the payload hash
|
@@ -185,7 +185,7 @@ module MnUtilsLogging
|
|
185
185
|
end
|
186
186
|
|
187
187
|
def log_metric_only(site_action)
|
188
|
-
|
188
|
+
|
189
189
|
# validate the parameters
|
190
190
|
raise ArgumentError, 'site_action must be a symbol' \
|
191
191
|
unless site_action.is_a?(Symbol)
|
data/lib/mn_utils_gem/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mn_utils_gem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.15.
|
4
|
+
version: 1.15.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shamim Mirzai
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-09-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gelf
|
@@ -195,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
195
195
|
- !ruby/object:Gem::Version
|
196
196
|
version: '0'
|
197
197
|
requirements: []
|
198
|
-
rubygems_version: 3.0.
|
198
|
+
rubygems_version: 3.0.3
|
199
199
|
signing_key:
|
200
200
|
specification_version: 4
|
201
201
|
summary: Mumsnet utils gem for microservices
|