scout 5.8.5 → 5.8.6

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.markdown CHANGED
@@ -1,10 +1,14 @@
1
+ # 5.8.6
2
+
3
+ * Upgrade to use server_metrics 1.2.0 (performance improvements)
4
+
1
5
  # 5.8.5
2
6
 
3
- * Upgrade to use server metrics 1.1.1 (no more sys-proctable)
7
+ * Upgrade to use server_metrics 1.1.1 (no more sys-proctable)
4
8
 
5
9
  # 5.8.4
6
10
 
7
- * Upgrade to use server metrics 1.0.3 (jiffies)
11
+ * Upgrade to use server_metrics 1.0.3 (jiffies)
8
12
 
9
13
  # 5.8.3
10
14
 
@@ -20,7 +24,7 @@
20
24
 
21
25
  # 5.8.0
22
26
 
23
- * Support for server metrics
27
+ * Support for server_metrics
24
28
 
25
29
  # 5.7.5
26
30
 
data/Gemfile CHANGED
@@ -7,8 +7,8 @@ gem "server_metrics"
7
7
 
8
8
  group :test do
9
9
  gem "newrelic_rpm"
10
- gem "activerecord", "2.2.2"
11
- gem "mysql"
10
+ gem "activerecord", "3.1.12"
11
+ gem "mysql2"
12
12
  gem "mocha", :require => false
13
13
  gem "json"
14
14
  gem 'pry'
data/lib/scout/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Scout
2
- VERSION = "5.8.5"
2
+ VERSION = "5.8.6"
3
3
  end
data/scout.gemspec CHANGED
@@ -24,5 +24,5 @@ END_DESC
24
24
  # specify any dependencies here; for example:
25
25
  # s.add_development_dependency "rspec"
26
26
  s.add_runtime_dependency "elif"
27
- s.add_runtime_dependency "server_metrics",">= 1.1.1"
27
+ s.add_runtime_dependency "server_metrics",">= 1.2.0"
28
28
  end
data/test/scout_test.rb CHANGED
@@ -6,7 +6,7 @@
6
6
  $VERBOSE=nil
7
7
  require 'rubygems'
8
8
 
9
- gem "activerecord", "=2.2.2" # quick fix for now for the agent tests to continue to run when the rails 2.3 gem is present
9
+ gem "activerecord", "=3.1.12" # quick fix for now for the agent tests to continue to run when the rails 2.3 gem is present
10
10
  require "active_record"
11
11
  require "json" # the data format
12
12
  require "erb" # only for loading rails DB config for now
@@ -24,7 +24,7 @@ end
24
24
  $LOAD_PATH << File.expand_path( File.dirname(__FILE__) + '/../lib' )
25
25
  $LOAD_PATH << File.expand_path( File.dirname(__FILE__) + '/..' )
26
26
  require 'lib/scout'
27
- require 'mocha'
27
+ require 'mocha/setup'
28
28
 
29
29
 
30
30
  SCOUT_PATH = '../scout'
@@ -731,6 +731,7 @@ myurl=http://foo.com?foo=bar
731
731
  # ActiveRecord configuration
732
732
  begin
733
733
  $LOAD_PATH << File.join(SCOUT_PATH,'app/models')
734
+ $LOAD_PATH << File.join(SCOUT_PATH,'app/models/system')
734
735
  # get an ActiveRecord connection
735
736
  db_config_path=File.join(SCOUT_PATH,'config/database.yml')
736
737
  db_config=YAML.load(ERB.new(File.read(db_config_path)).result)
metadata CHANGED
@@ -1,60 +1,66 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: scout
3
- version: !ruby/object:Gem::Version
4
- version: 5.8.5
3
+ version: !ruby/object:Gem::Version
4
+ hash: 27
5
5
  prerelease:
6
+ segments:
7
+ - 5
8
+ - 8
9
+ - 6
10
+ version: 5.8.6
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Andre Lewis
9
14
  - Derek Haynes
10
15
  - James Edward Gray II
11
16
  autorequire:
12
17
  bindir: bin
13
18
  cert_chain: []
14
- date: 2014-01-21 00:00:00.000000000 Z
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
19
+
20
+ date: 2014-03-05 00:00:00 -07:00
21
+ default_executable:
22
+ dependencies:
23
+ - !ruby/object:Gem::Dependency
17
24
  name: elif
18
- requirement: !ruby/object:Gem::Requirement
19
- none: false
20
- requirements:
21
- - - ! '>='
22
- - !ruby/object:Gem::Version
23
- version: '0'
24
- type: :runtime
25
25
  prerelease: false
26
- version_requirements: !ruby/object:Gem::Requirement
26
+ requirement: &id001 !ruby/object:Gem::Requirement
27
27
  none: false
28
- requirements:
29
- - - ! '>='
30
- - !ruby/object:Gem::Version
31
- version: '0'
32
- - !ruby/object:Gem::Dependency
33
- name: server_metrics
34
- requirement: !ruby/object:Gem::Requirement
35
- none: false
36
- requirements:
37
- - - ! '>='
38
- - !ruby/object:Gem::Version
39
- version: 1.1.1
28
+ requirements:
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ hash: 3
32
+ segments:
33
+ - 0
34
+ version: "0"
40
35
  type: :runtime
36
+ version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ name: server_metrics
41
39
  prerelease: false
42
- version_requirements: !ruby/object:Gem::Requirement
40
+ requirement: &id002 !ruby/object:Gem::Requirement
43
41
  none: false
44
- requirements:
45
- - - ! '>='
46
- - !ruby/object:Gem::Version
47
- version: 1.1.1
48
- description: ! 'The scout gem reports metrics to scoutapp.com, an easy-to-use hosted
49
- server monitoring service.
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ hash: 31
46
+ segments:
47
+ - 1
48
+ - 2
49
+ - 0
50
+ version: 1.2.0
51
+ type: :runtime
52
+ version_requirements: *id002
53
+ description: |
54
+ The scout gem reports metrics to scoutapp.com, an easy-to-use hosted server monitoring service.
50
55
 
51
- '
52
56
  email: support@scoutapp.com
53
- executables:
57
+ executables:
54
58
  - scout
55
59
  extensions: []
60
+
56
61
  extra_rdoc_files: []
57
- files:
62
+
63
+ files:
58
64
  - .gitignore
59
65
  - CHANGELOG.markdown
60
66
  - Gemfile
@@ -317,33 +323,40 @@ files:
317
323
  - vendor/signature/spec/signature_spec.rb
318
324
  - vendor/signature/spec/spec_helper.rb
319
325
  - vendor/util/lib/core_extensions.rb
326
+ has_rdoc: true
320
327
  homepage: http://scoutapp.com
321
328
  licenses: []
329
+
322
330
  post_install_message:
323
331
  rdoc_options: []
324
- require_paths:
332
+
333
+ require_paths:
325
334
  - lib
326
- required_ruby_version: !ruby/object:Gem::Requirement
335
+ required_ruby_version: !ruby/object:Gem::Requirement
327
336
  none: false
328
- requirements:
329
- - - ! '>='
330
- - !ruby/object:Gem::Version
331
- version: '0'
332
- required_rubygems_version: !ruby/object:Gem::Requirement
337
+ requirements:
338
+ - - ">="
339
+ - !ruby/object:Gem::Version
340
+ hash: 3
341
+ segments:
342
+ - 0
343
+ version: "0"
344
+ required_rubygems_version: !ruby/object:Gem::Requirement
333
345
  none: false
334
- requirements:
335
- - - ! '>='
336
- - !ruby/object:Gem::Version
337
- version: '0'
346
+ requirements:
347
+ - - ">="
348
+ - !ruby/object:Gem::Version
349
+ hash: 3
350
+ segments:
351
+ - 0
352
+ version: "0"
338
353
  requirements: []
354
+
339
355
  rubyforge_project: scout
340
- rubygems_version: 1.8.23
356
+ rubygems_version: 1.4.2
341
357
  signing_key:
342
358
  specification_version: 3
343
- summary: Scout is an easy-to-use hosted server monitoring service. The scout Ruby
344
- gem reports metrics to our service. The agent runs plugins, configured via the Scout
345
- web interface, to monitor a server.
346
- test_files:
359
+ summary: Scout is an easy-to-use hosted server monitoring service. The scout Ruby gem reports metrics to our service. The agent runs plugins, configured via the Scout web interface, to monitor a server.
360
+ test_files:
347
361
  - test/plugins/disk_usage.rb
348
362
  - test/scout_test.rb
349
- has_rdoc: