scout 5.7.0 → 5.7.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.markdown CHANGED
@@ -1,3 +1,7 @@
1
+ # 5.7.1
2
+
3
+ * Using $PROGRAM_NAME to determine scout path in install output
4
+
1
5
  # 5.7.0
2
6
 
3
7
  * Added support for environments
data/Gemfile CHANGED
@@ -10,4 +10,5 @@ group :test do
10
10
  gem "mocha", :require => false
11
11
  gem "json"
12
12
  gem 'pry'
13
+ gem 'rake'
13
14
  end
@@ -86,7 +86,7 @@ module Scout
86
86
  if cron_script_required?
87
87
  "#{config_dir}/scout_cron.sh"
88
88
  else
89
- "#{`which scout`.strip} #{key}"
89
+ "#{File.expand_path($PROGRAM_NAME).strip} #{key}"
90
90
  end
91
91
  end
92
92
 
data/lib/scout/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Scout
2
- VERSION = "5.7.0"
2
+ VERSION = "5.7.1"
3
3
  end
data/test/scout_test.rb CHANGED
@@ -648,7 +648,8 @@ myurl=http://foo.com?foo=bar
648
648
  Scout::Environment.stubs(:bundler?).returns(false)
649
649
  install = Scout::Command::Install.new({},{})
650
650
  cron_command = install.send(:cron_command, @client.key)
651
- assert_equal cron_command, "#{`which scout`.strip} #{@client.key}"
651
+ # in the actual implementation, this will match "scout key"
652
+ assert_match /scout_test.rb key$/, cron_command
652
653
  end
653
654
 
654
655
 
metadata CHANGED
@@ -1,50 +1,44 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: scout
3
- version: !ruby/object:Gem::Version
4
- hash: 43
3
+ version: !ruby/object:Gem::Version
4
+ version: 5.7.1
5
5
  prerelease:
6
- segments:
7
- - 5
8
- - 7
9
- - 0
10
- version: 5.7.0
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Andre Lewis
14
9
  - Derek Haynes
15
10
  - James Edward Gray II
16
11
  autorequire:
17
12
  bindir: bin
18
13
  cert_chain: []
19
-
20
- date: 2013-08-21 00:00:00 -07:00
21
- default_executable:
22
- dependencies:
23
- - !ruby/object:Gem::Dependency
14
+ date: 2013-08-26 00:00:00.000000000 Z
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
24
17
  name: elif
25
- prerelease: false
26
- requirement: &id001 !ruby/object:Gem::Requirement
18
+ requirement: !ruby/object:Gem::Requirement
27
19
  none: false
28
- requirements:
29
- - - ">="
30
- - !ruby/object:Gem::Version
31
- hash: 3
32
- segments:
33
- - 0
34
- version: "0"
20
+ requirements:
21
+ - - ! '>='
22
+ - !ruby/object:Gem::Version
23
+ version: '0'
35
24
  type: :runtime
36
- version_requirements: *id001
37
- description: |
38
- The scout gem reports metrics to scoutapp.com, an easy-to-use hosted server monitoring service.
25
+ prerelease: false
26
+ version_requirements: !ruby/object:Gem::Requirement
27
+ none: false
28
+ requirements:
29
+ - - ! '>='
30
+ - !ruby/object:Gem::Version
31
+ version: '0'
32
+ description: ! 'The scout gem reports metrics to scoutapp.com, an easy-to-use hosted
33
+ server monitoring service.
39
34
 
35
+ '
40
36
  email: support@scoutapp.com
41
- executables:
37
+ executables:
42
38
  - scout
43
39
  extensions: []
44
-
45
40
  extra_rdoc_files: []
46
-
47
- files:
41
+ files:
48
42
  - .gitignore
49
43
  - CHANGELOG.markdown
50
44
  - Gemfile
@@ -221,40 +215,36 @@ files:
221
215
  - vendor/signature/spec/signature_spec.rb
222
216
  - vendor/signature/spec/spec_helper.rb
223
217
  - vendor/util/lib/core_extensions.rb
224
- has_rdoc: true
225
218
  homepage: http://scoutapp.com
226
219
  licenses: []
227
-
228
220
  post_install_message:
229
221
  rdoc_options: []
230
-
231
- require_paths:
222
+ require_paths:
232
223
  - lib
233
- required_ruby_version: !ruby/object:Gem::Requirement
224
+ required_ruby_version: !ruby/object:Gem::Requirement
234
225
  none: false
235
- requirements:
236
- - - ">="
237
- - !ruby/object:Gem::Version
238
- hash: 3
239
- segments:
226
+ requirements:
227
+ - - ! '>='
228
+ - !ruby/object:Gem::Version
229
+ version: '0'
230
+ segments:
240
231
  - 0
241
- version: "0"
242
- required_rubygems_version: !ruby/object:Gem::Requirement
232
+ hash: -2051011438505824188
233
+ required_rubygems_version: !ruby/object:Gem::Requirement
243
234
  none: false
244
- requirements:
245
- - - ">="
246
- - !ruby/object:Gem::Version
247
- hash: 3
248
- segments:
235
+ requirements:
236
+ - - ! '>='
237
+ - !ruby/object:Gem::Version
238
+ version: '0'
239
+ segments:
249
240
  - 0
250
- version: "0"
241
+ hash: -2051011438505824188
251
242
  requirements: []
252
-
253
243
  rubyforge_project: scout
254
- rubygems_version: 1.4.2
244
+ rubygems_version: 1.8.25
255
245
  signing_key:
256
246
  specification_version: 3
257
- 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.
258
- test_files:
259
- - test/plugins/disk_usage.rb
260
- - test/scout_test.rb
247
+ summary: Scout is an easy-to-use hosted server monitoring service. The scout Ruby
248
+ gem reports metrics to our service. The agent runs plugins, configured via the Scout
249
+ web interface, to monitor a server.
250
+ test_files: []