scout_agent 3.2.3 → 3.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -0
- data/lib/scout_agent.rb +1 -1
- data/lib/scout_agent/assignment/queue.rb +3 -1
- metadata +1 -1
data/CHANGELOG
CHANGED
data/lib/scout_agent.rb
CHANGED
@@ -92,7 +92,7 @@ module ScoutAgent
|
|
92
92
|
end
|
93
93
|
|
94
94
|
# The version of this agent.
|
95
|
-
VERSION = "3.2.
|
95
|
+
VERSION = "3.2.4".freeze
|
96
96
|
# A Pathname reference to the agent code directory, used in dynamic loading.
|
97
97
|
LIB_DIR = Pathname.new(File.dirname(__FILE__)) + agent_name
|
98
98
|
end
|
@@ -93,7 +93,9 @@ module ScoutAgent
|
|
93
93
|
else # it's Marshal
|
94
94
|
fields = Marshal.load(fields)
|
95
95
|
if fields.is_a? Hash # Stringify Hash keys
|
96
|
-
fields
|
96
|
+
(fields.keys - fields.keys.grep(String)).each do |key|
|
97
|
+
fields[key.to_s] = fields.delete(key)
|
98
|
+
end
|
97
99
|
end
|
98
100
|
end
|
99
101
|
rescue Exception
|