scout_agent 3.1.9 → 3.2.0
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.
- data/CHANGELOG +4 -0
- data/lib/scout_agent/api.rb +5 -0
- data/lib/scout_agent.rb +1 -1
- metadata +2 -2
data/CHANGELOG
CHANGED
data/lib/scout_agent/api.rb
CHANGED
|
@@ -13,6 +13,11 @@ begin
|
|
|
13
13
|
rescue LoadError # library not found
|
|
14
14
|
begin
|
|
15
15
|
require "rubygems"
|
|
16
|
+
begin
|
|
17
|
+
gem("json", "=1.1.4")
|
|
18
|
+
rescue NoMethodError
|
|
19
|
+
abort "Please upgrade RubyGems as the gem() method is required."
|
|
20
|
+
end
|
|
16
21
|
require "json"
|
|
17
22
|
rescue LoadError # library not found
|
|
18
23
|
abort "Please install the 'json' gem to use this API."
|
data/lib/scout_agent.rb
CHANGED
|
@@ -91,7 +91,7 @@ module ScoutAgent
|
|
|
91
91
|
end
|
|
92
92
|
|
|
93
93
|
# The version of this agent.
|
|
94
|
-
VERSION = "3.
|
|
94
|
+
VERSION = "3.2.0".freeze
|
|
95
95
|
# A Pathname reference to the agent code directory, used in dynamic loading.
|
|
96
96
|
LIB_DIR = Pathname.new(File.dirname(__FILE__)) + agent_name
|
|
97
97
|
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.
|
|
4
|
+
version: 3.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Edward Gray II
|
|
@@ -12,7 +12,7 @@ autorequire:
|
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
14
|
|
|
15
|
-
date: 2009-05-
|
|
15
|
+
date: 2009-05-22 00:00:00 -05:00
|
|
16
16
|
default_executable:
|
|
17
17
|
dependencies:
|
|
18
18
|
- !ruby/object:Gem::Dependency
|