ymlex 1.1.2 → 1.1.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.
Files changed (2) hide show
  1. data/lib/ymlex/argusyml.rb +1 -1
  2. metadata +1 -1
@@ -340,8 +340,8 @@ class ArgusYml
340
340
  alt["name"] = raw_name
341
341
  @instance["alert"] << alt
342
342
  alert_name = raw_name
343
+ raw_value.delete "alert"
343
344
  end
344
- raw_value.delete("alert").delete("contacts")
345
345
  @instance["request"] << dft_raw.merge(raw_value)
346
346
  @instance["rule"] << { "name" => raw_name,
347
347
  "formula" => "#{raw_name} != 'ok'",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ymlex
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: