garrison-api 1.0.5 → 1.0.6

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
  SHA1:
3
- metadata.gz: f800441907b0cdcb28b8f9cfd9191694d97e582c
4
- data.tar.gz: 07a047cf2e217dd8ed1bf36c0592bfc94b39f44b
3
+ metadata.gz: 212584726dae592b487272f470b2178938272d4e
4
+ data.tar.gz: 38f0ec83a92688615b765731627e0bf6980de87c
5
5
  SHA512:
6
- metadata.gz: 6b9cda20c494980b2b00fd90b98ca407f4d9e4792401858a83fda4c71f7f98f6308f3a4d05bb6a6ba729d0105bbf47f257efc4fc4f15ea84a8192bbce0710914
7
- data.tar.gz: ecbaec704145d41269c6fba70777bf2bb11e058077edcd611a4add3a681802883d7132e3fb45ca23bf1ba69c42018fe8f3577f3e869e393c441a0556a8b95982
6
+ metadata.gz: c5952446340c44484d7681daceb41d7081a427ca6269e03db151344fa5a30c87b4f1e1e3e851fce90d9e8de7aea2c32e0e210f90845026cf1c28c7368d3022f6
7
+ data.tar.gz: 1020c59aaa7a6cabc5c812fd7586c1d74822a7f37e89c0856a227935aa490a3058cd3b91fefea8ea0b69d7bf7cf25993bcc5c13f604a188eda49639aedc2e546
@@ -57,6 +57,8 @@ module Garrison
57
57
  alert.urls = params[:urls]
58
58
  alert.key_values = (self.key_values + params[:key_values]).uniq { |h| h[:key] }
59
59
 
60
+ alert.no_repeat = params[:no_repeat]
61
+
60
62
  alert.save
61
63
  end
62
64
 
@@ -14,6 +14,7 @@ module Garrison
14
14
  attr_accessor :key_values
15
15
  attr_accessor :urls
16
16
  attr_accessor :departments
17
+ attr_accessor :no_repeat
17
18
 
18
19
  def initialize; end
19
20
 
@@ -34,7 +35,8 @@ module Garrison
34
35
  severity: severity,
35
36
  key_values: key_values,
36
37
  urls: urls,
37
- departments: departments
38
+ departments: departments,
39
+ no_repeat: no_repeat
38
40
  }.to_json,
39
41
  headers: { 'Content-Type' => 'application/json' }
40
42
  )
@@ -1,5 +1,5 @@
1
1
  module Garrison
2
2
  module Api
3
- VERSION = "1.0.5"
3
+ VERSION = "1.0.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: garrison-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Forward3D Developers