sensu-plugins-oracle 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
  SHA1:
3
- metadata.gz: d7338524ee2ae194aea43ef87ef3bbf1c53dc122
4
- data.tar.gz: d514efcb96e4ea00bf62d06db8a9404be6d837b3
3
+ metadata.gz: 25822ce0b2c2cde553fd4c3cb5bc55cf2ce5173c
4
+ data.tar.gz: 0e993795d94c73f3780890ec737175a79454b7f6
5
5
  SHA512:
6
- metadata.gz: 75f3e2fe2b49b5fb13063d3dd24193f975862ab4b1c68b1488e3e5c44bf62dcc50fc35fdc10dbd0283285753f2b5fea3966cdf01b5b66af321c7058475b333a5
7
- data.tar.gz: 3f6153e5a25035f301ca0a943ee0acfafc1a6542dc927f6bd9e724ab8513069da556c2d84ae9072f7b66bc3220daba2f2d538e98b203ea06ad26b93a6d5ee36d
6
+ metadata.gz: c693b59e6f1ebda65d9cc2af11b98b7b37d76c4d310385f6db083c82dcb2d22b402c439caf23abdc17f611179ec48ce15bfa117bd7f3ecb1377bb23a4ebdca33
7
+ data.tar.gz: 35c54f39ec01c98405515b84b7beeb6d3bd0fb248a7e3ae60c2635dd950a418c7cb64733ee3e54f3d76500d029afd489984e8a5334a151d73bdfc240437059ac
@@ -159,11 +159,12 @@ class CheckOracleQuery < Sensu::Plugin::Check::CLI
159
159
  messages = [header.join(', ')]
160
160
 
161
161
  [:warning, :critical].each do |type|
162
- if results[type].size > 0
163
- method = type
164
- messages << nil
165
- messages << type.to_s.capitalize
166
- messages << results[type].compact.sort.join("\n\n")
162
+ if results[type].size > 0
163
+ method = type
164
+ messages << nil
165
+ messages << type.to_s.capitalize
166
+ messages << results[type].compact.sort.join("\n\n")
167
+ end
167
168
  end
168
169
 
169
170
  send(method, messages.join("\n"))
@@ -2,7 +2,7 @@ module SensuPluginsOracle
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 3
5
- PATCH = 2
5
+ PATCH = 3
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-oracle
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
  - Sensu-Plugins and contributors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-03 00:00:00.000000000 Z
11
+ date: 2016-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin