scout_agent 3.1.5 → 3.1.6

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ == 3.1.6
2
+
3
+ * Fixed a bug that would cause blank errors to show up in the Web application
4
+
1
5
  == 3.1.5
2
6
 
3
7
  * Fixed a bug that could cause the agent to crash when shutting down if running
@@ -355,7 +355,7 @@ module ScoutAgent
355
355
  #
356
356
  def build_alert_or_error(new_alert_or_error)
357
357
  if new_alert_or_error.first.is_a? Hash
358
- new_alert_or_error
358
+ new_alert_or_error.first
359
359
  else
360
360
  {:subject => new_alert_or_error.first, :body => new_alert_or_error.last}
361
361
  end
data/lib/scout_agent.rb CHANGED
@@ -95,7 +95,7 @@ module ScoutAgent
95
95
  end
96
96
 
97
97
  # The version of this agent.
98
- VERSION = "3.1.5".freeze
98
+ VERSION = "3.1.6".freeze
99
99
  # A Pathname reference to the agent code directory, used in dynamic loading.
100
100
  LIB_DIR = Pathname.new(File.dirname(__FILE__)) + agent_name
101
101
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scout_agent
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.5
4
+ version: 3.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Edward Gray II