scout_agent 3.1.9 → 3.2.0

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.2.0
2
+
3
+ * Fixed a bug where the API would require the wrong version of the JSON library
4
+
1
5
  == 3.1.9
2
6
 
3
7
  * Restoring some error handling code that was accidentally disabled
@@ -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.1.9".freeze
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.1.9
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-21 00:00:00 -05:00
15
+ date: 2009-05-22 00:00:00 -05:00
16
16
  default_executable:
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency