miq_utilities 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: be795b4c18435dee0e25633967949e1065dcf535a12e074676fda6b56f7ad395
4
- data.tar.gz: 5095ec69bb13a918fc43b76d3826cd2b8068b08fe11734e4fd5e4fc0efae759f
3
+ metadata.gz: 4dd3d5b55d3a8490c9e590bdd093aa7c618159bda753b7d4ccfa544896f121b0
4
+ data.tar.gz: 26136a7590500d3bbc9ca23b174ac618bf2aa8e7a2beb943d508914d030729e0
5
5
  SHA512:
6
- metadata.gz: 33857f145c6b0286361c3080cf59d22a959f922973f1d8774176e47c4cce18b1697ac1b1a42cbcffd826adf37c81c86c6774118e028662fd58e81f8ff4d59b9d
7
- data.tar.gz: 4da9c02c2b8aad8086e0ad306ce602bf950ffd626451c06e47fbec8e814cc0e107b68c48d2895fa0d9174fed41aa6e25d2ed18d0d4ae5e55bce63f376767e3a3
6
+ metadata.gz: a0952021e1a7ca833c0bafd87d8e5f50acfb989498673e98160dce13ceab7d9a3f5d75ebee680c1d42e1b43b21fa2aba337c481cba81fa2cdfe45bf707c15e1c
7
+ data.tar.gz: ea6e10527467a0748d3c90ea152e85e95d9461886e534320d11ebbe8cc50bf8b87de4970d0969a393cc487659f5e5b9e74c9c29d7bf60c31cab108d5e8ae82fa
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- miq_utilities (0.3.1.7)
4
+ miq_utilities (0.3.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -19,7 +19,7 @@ class NotificationClass
19
19
  def notify(event_level:, event_message:, email_to: nil, email_from: nil, signature: nil, webhookurl: nil, subjecttype: nil)
20
20
  @logger = LoggingClass.new(self.class.to_s)
21
21
  request_or_vm = $evm.root.attributes['miq_provision_id'] || $evm.root.attributes['vm']
22
- user = $evm.root['user'].attributes['name']
22
+ user = $evm.root.attributes['userid']
23
23
  userid = $evm.root['user'].attributes['userid']
24
24
  message = "Request ID/VM Name:<#{request_or_vm}>\n User:<#{user}> ID:<#{userid}>\n" + event_message
25
25
  signature ||= 'ManageIQ'
@@ -1,5 +1,5 @@
1
- # frozen_string_literal: true
2
-
3
- module MiqUtilities
4
- VERSION = '0.3.2'
5
- end
1
+ # frozen_string_literal: true
2
+
3
+ module MiqUtilities
4
+ VERSION = '0.3.3'
5
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: miq_utilities
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron McCatty