outpost 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ == 0.2.3
2
+ * Bugfix
3
+ * Avoid using ActiveSupport methods
4
+
1
5
  == 0.2.2
2
6
  * Features
3
7
  * Using arrays in Response code
@@ -148,7 +148,7 @@ module Outpost
148
148
  #
149
149
  # status is the status (:up, :down or :warning, for example) that will be returned
150
150
  # in case the expectation match current system status.
151
- if @config.reports.present?
151
+ if @config.reports && !@config.reports.empty?
152
152
  @config.reports.each do |response_pair, status|
153
153
  response_pair.each do |expectation, value|
154
154
  if self.class.expectations[expectation].nil?
@@ -1,5 +1,5 @@
1
1
  module Outpost
2
- PATCH = 2
2
+ PATCH = 3
3
3
  MINOR = 2
4
4
  MAJOR = 0
5
5
  VERSION = "#{MAJOR}.#{MINOR}.#{PATCH}".freeze
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: outpost
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
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: 2011-06-26 00:00:00.000000000 -03:00
12
+ date: 2011-08-06 00:00:00.000000000 -03:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
  description: Simple service monitoring with a clean DSL for configuration.