nagios_check 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/lib/nagios_check.rb CHANGED
@@ -31,7 +31,7 @@ module NagiosCheck
31
31
  rescue OptionParser::InvalidArgument, NagiosCheck::MissingOption => e
32
32
  store_message "CLI ERROR: #{e}"
33
33
  rescue => e
34
- store_message "INTERNAL ERROR: #{e.to_s.gsub(/[\r\n]+/, ' ')}"
34
+ store_message "INTERNAL ERROR: #{e.class.name}: #{(e.to_s || '').gsub(/[\r\n]+/, ' ')}"
35
35
  end
36
36
  msg = status
37
37
  msg += ': ' + message if message
@@ -1,3 +1,3 @@
1
1
  module NagiosCheck
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nagios_check
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-11 00:00:00.000000000 Z
12
+ date: 2012-07-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec