ring-sqa 0.1.6 → 0.1.7

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
  SHA1:
3
- metadata.gz: 82b65da2fe14f296a442d25a32fcdc4f89c3dcf7
4
- data.tar.gz: 4f77aedd1a20c43a9d36afd44bb8778cbdc8ffb1
3
+ metadata.gz: 0592b40102f2a7cb81ea581cfe6f2005383a0bac
4
+ data.tar.gz: 061a9549be762526b5faf11c495eacd7ec2dfbac
5
5
  SHA512:
6
- metadata.gz: 6bf970e6e33b9f50a18c49f423ae29a03b068dfa7fa35310a7095d43b31848f55e31b981961eb53dbcf2c21a682247e62fed0faebbcf415c4cbd1e48039ec08e
7
- data.tar.gz: 375352be5f81a7b28cc7a10e8d036d5bda854dfa21660242225a6a639910b4caec5599fcc0563b67946b71b8812cafd037191b1b7779262fbb5ac229b90d4255
6
+ metadata.gz: 5a607c6558d9b15730247700ec10c474c59152a1c8be20223a9bbce7a96f7a0c46ebaf560885c75d669a000bb0b77f1b649721e8c7d169ca8f0bd860c7a37244
7
+ data.tar.gz: b349bfc5243e2d2a6cda4ebf6dfadcb8649acaa5cbef58298bdfb752c580964d77ff0ad3799104a090b9f2a240a6c2812e7d5de1da97b210b68113f3be789212
@@ -3,15 +3,16 @@ class SQA
3
3
 
4
4
  class Alarm
5
5
  Config = Asetus.new name: 'sqa', load: false, usrdir: Directory, cfgfile: 'alarm.conf'
6
- Config.default.email.to = false
7
- Config.default.email.from = "ring-sqa@" + CFG.host.name
8
- Config.default.email.prefix = false
9
- Config.default.irc.host = '213.136.8.179'
10
- Config.default.irc.port = 5502
11
- Config.default.irc.password = 'shough2oChoo'
12
- Config.default.irc.target = '#ring'
13
- Config.default.exec.command = false
14
- Config.default.exec.arguments = false
6
+ Config.default.email.to = false
7
+ Config.default.email.from = "ring-sqa@" + CFG.host.name
8
+ Config.default.email.prefix = false
9
+ Config.default.irc.host = '213.136.8.179'
10
+ Config.default.irc.port = 5502
11
+ Config.default.irc.password = 'shough2oChoo'
12
+ Config.default.irc.target = '#ring'
13
+ Config.default.exec.command = false
14
+ Config.default.exec.arguments = false
15
+ Config.default.recovery.notify = true
15
16
 
16
17
  begin
17
18
  Config.load
@@ -25,7 +25,7 @@ class SQA
25
25
  msg = { short: "#{@hostname}: clearing #{@afi} alarm" }
26
26
  msg[:long] = msg[:short]
27
27
  Log.info msg[:short]
28
- @methods.each { |alarm_method| alarm_send alarm_method, 'clear', msg, alarm_buffer }
28
+ @methods.each { |alarm_method| alarm_send alarm_method, 'clear', msg, alarm_buffer } if CFG.recovery.notify?
29
29
  end
30
30
  end
31
31
 
@@ -78,7 +78,7 @@ class SQA
78
78
  status: status,
79
79
  alarm_buffer: alarm_buffer,
80
80
  nodes: @nodes,
81
- afi: @afi)
81
+ afi: @afi)
82
82
  end
83
83
 
84
84
  end
data/ring-sqa.gemspec CHANGED
@@ -1,11 +1,11 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'ring-sqa'
3
- s.version = '0.1.6'
3
+ s.version = '0.1.7'
4
4
  s.licenses = %w( Apache-2.0 )
5
5
  s.platform = Gem::Platform::RUBY
6
6
  s.authors = [ 'Saku Ytti', 'Job Snijders' ]
7
7
  s.email = %w( saku@ytti.fi )
8
- s.homepage = 'http://github.com/ytti/ring-sqa'
8
+ s.homepage = 'http://github.com/nlnog/ring-sqa'
9
9
  s.summary = 'NLNOG Ring SQA'
10
10
  s.description = 'gets list of nodes and pings from each to each storing results'
11
11
  s.rubyforge_project = s.name
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ring-sqa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Saku Ytti
@@ -9,82 +9,82 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-11-21 00:00:00.000000000 Z
12
+ date: 2014-12-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: slop
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - "~>"
18
+ - - ~>
19
19
  - !ruby/object:Gem::Version
20
20
  version: '3.5'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - "~>"
25
+ - - ~>
26
26
  - !ruby/object:Gem::Version
27
27
  version: '3.5'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rb-inotify
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - "~>"
32
+ - - ~>
33
33
  - !ruby/object:Gem::Version
34
34
  version: '0.9'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - "~>"
39
+ - - ~>
40
40
  - !ruby/object:Gem::Version
41
41
  version: '0.9'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: sequel
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - "~>"
46
+ - - ~>
47
47
  - !ruby/object:Gem::Version
48
48
  version: '4.12'
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - "~>"
53
+ - - ~>
54
54
  - !ruby/object:Gem::Version
55
55
  version: '4.12'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: sqlite3
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - "~>"
60
+ - - ~>
61
61
  - !ruby/object:Gem::Version
62
62
  version: '1.3'
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - "~>"
67
+ - - ~>
68
68
  - !ruby/object:Gem::Version
69
69
  version: '1.3'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: asetus
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - "~>"
74
+ - - ~>
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0.1'
77
- - - ">="
77
+ - - '>='
78
78
  - !ruby/object:Gem::Version
79
79
  version: 0.1.2
80
80
  type: :runtime
81
81
  prerelease: false
82
82
  version_requirements: !ruby/object:Gem::Requirement
83
83
  requirements:
84
- - - "~>"
84
+ - - ~>
85
85
  - !ruby/object:Gem::Version
86
86
  version: '0.1'
87
- - - ">="
87
+ - - '>='
88
88
  - !ruby/object:Gem::Version
89
89
  version: 0.1.2
90
90
  description: gets list of nodes and pings from each to each storing results
@@ -122,7 +122,7 @@ files:
122
122
  - lib/ring/sqa/poller/responder.rb
123
123
  - lib/ring/sqa/poller/sender.rb
124
124
  - ring-sqa.gemspec
125
- homepage: http://github.com/ytti/ring-sqa
125
+ homepage: http://github.com/nlnog/ring-sqa
126
126
  licenses:
127
127
  - Apache-2.0
128
128
  metadata: {}
@@ -132,17 +132,17 @@ require_paths:
132
132
  - lib
133
133
  required_ruby_version: !ruby/object:Gem::Requirement
134
134
  requirements:
135
- - - ">="
135
+ - - '>='
136
136
  - !ruby/object:Gem::Version
137
137
  version: 1.9.3
138
138
  required_rubygems_version: !ruby/object:Gem::Requirement
139
139
  requirements:
140
- - - ">="
140
+ - - '>='
141
141
  - !ruby/object:Gem::Version
142
142
  version: '0'
143
143
  requirements: []
144
144
  rubyforge_project: ring-sqa
145
- rubygems_version: 2.2.2
145
+ rubygems_version: 2.0.14
146
146
  signing_key:
147
147
  specification_version: 4
148
148
  summary: NLNOG Ring SQA