mn_utils_gem 1.15.9 → 1.15.10

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: d946db3767493498e1b5b676e4e7272e6adeee8eff976aeb0557c140b1ee18c4
4
- data.tar.gz: 2d13ec6bebac2f4a089b6c185f133709afc4bd513953d38893d267218e9c122b
3
+ metadata.gz: f2e65fbb668d11af0c2e3eec3776d8c94cb0ef89b0daeb50da54812f4e9a7dab
4
+ data.tar.gz: 31c6212b56d9059baa04f1e3080ff59b59b5b0316866dd7dd9ccf2987f7f5213
5
5
  SHA512:
6
- metadata.gz: 40bdf5b0ce9273772b86f01799b45912acd2a717259d6f87acd5baaad69e2f9cbc1db403b84d553250eb91a791c99341b6f395f945c0ddbdee4330c9c0f9be6a
7
- data.tar.gz: 3e410ac77cee761ee5dd15d3c5f1fd0a2010e670cb49cacddea0189c414e41a66962d6f3383efdb6061bdd655e8990c97278a6f5655259c98dcbe0d6dce158d8
6
+ metadata.gz: a90cb26f7bd43f6d3cb572bed46ba5b82d9854ce0cace1c1f318b9dfcf59e161890d6147f2dbf9304b50e49778779dd9d48b1d9a4697eaf6103c6f6d1a69dd58
7
+ data.tar.gz: '09da682e4543587bb5949036b186aa69be24f4873b2234575f134b504f866638c919e4bef4b868b45f1834f8fc1cd570b3fa4abad847512085b0c7e2c0a721c7'
@@ -13,7 +13,7 @@ module MnUtilsGlobal
13
13
 
14
14
  def self.render_component_html(component, options = {})
15
15
  validate_component(component)
16
- response = HTTParty.get("#{ENV['SRV_GUI_URL']}/service/gui/api/v1/component/#{component}", { timeout: 1, query: options })
16
+ response = HTTParty.get("#{ENV['SRV_GUI_URL']}/api/v1/component/#{component}", { timeout: 1, query: options })
17
17
  json = JSON.parse(response.body)
18
18
  validate_json(json)
19
19
  json['html'].html_safe
@@ -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, "site_action #{site_action} is not in allowed list" \
134
+ raise ArgumentError, 'site_action value 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)
@@ -1,3 +1,3 @@
1
1
  module MnUtilsGem
2
- VERSION = "1.15.9"
2
+ VERSION = "1.15.10"
3
3
  end
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.9
4
+ version: 1.15.10
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-09-05 00:00:00.000000000 Z
11
+ date: 2019-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gelf