scout 5.6.5 → 5.6.6.pre

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.6.6
2
+
3
+ * Fix for urlify query string in Ruby 1.8.6.
4
+
1
5
  # 5.6.5
2
6
 
3
7
  * remove newline from FQDN
@@ -25,11 +25,12 @@ module Scout
25
25
  def urlify(url_name, options = Hash.new)
26
26
  return unless @server
27
27
  options.merge!(:client_version => Scout::VERSION)
28
- URI.join(@server,
28
+ uri = URI.join(@server,
29
29
  "/clients/CLIENT_KEY/#{url_name}.scout".
30
30
  gsub(/\bCLIENT_KEY\b/, @client_key).
31
- gsub(/\b[A-Z_]+\b/) { |k| options[k.downcase.to_sym] || k },
32
- "?roles=#{@roles}&fqdn=#{URI.encode(@fqdn)}&tty=#{$stdin.tty? ? 'y' : 'n'}")
31
+ gsub(/\b[A-Z_]+\b/) { |k| options[k.downcase.to_sym] || k })
32
+ uri.query = ["roles=#{@roles}","fqdn=#{URI.encode(@fqdn)}","tty=#{$stdin.tty? ? 'y' : 'n'}"].join('&')
33
+ uri
33
34
  end
34
35
 
35
36
  def post(url, error, body, headers = Hash.new, &response_handler)
data/lib/scout/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Scout
2
- VERSION = "5.6.5"
2
+ VERSION = "5.6.6.pre"
3
3
  end
metadata CHANGED
@@ -1,40 +1,44 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: scout
3
- version: !ruby/object:Gem::Version
4
- version: 5.6.5
3
+ version: !ruby/object:Gem::Version
4
+ version: 5.6.6.pre
5
+ prerelease: 6
5
6
  platform: ruby
6
- authors:
7
+ authors:
7
8
  - Andre Lewis
8
9
  - Derek Haynes
9
10
  - James Edward Gray II
10
11
  autorequire:
11
12
  bindir: bin
12
13
  cert_chain: []
13
-
14
- date: 2013-04-12 00:00:00 -07:00
15
- default_executable:
16
- dependencies:
17
- - !ruby/object:Gem::Dependency
14
+ date: 2013-04-23 00:00:00.000000000 Z
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
18
17
  name: elif
18
+ requirement: !ruby/object:Gem::Requirement
19
+ none: false
20
+ requirements:
21
+ - - ! '>='
22
+ - !ruby/object:Gem::Version
23
+ version: '0'
19
24
  type: :runtime
20
- version_requirement:
21
- version_requirements: !ruby/object:Gem::Requirement
22
- requirements:
23
- - - ">="
24
- - !ruby/object:Gem::Version
25
- version: "0"
26
- version:
27
- description: |
28
- 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.
29
34
 
35
+ '
30
36
  email: support@scoutapp.com
31
- executables:
37
+ executables:
32
38
  - scout
33
39
  extensions: []
34
-
35
40
  extra_rdoc_files: []
36
-
37
- files:
41
+ files:
38
42
  - .gitignore
39
43
  - CHANGELOG.markdown
40
44
  - Gemfile
@@ -219,34 +223,32 @@ files:
219
223
  - vendor/signature/spec/signature_spec.rb
220
224
  - vendor/signature/spec/spec_helper.rb
221
225
  - vendor/util/lib/core_extensions.rb
222
- has_rdoc: true
223
226
  homepage: http://scoutapp.com
224
227
  licenses: []
225
-
226
228
  post_install_message:
227
229
  rdoc_options: []
228
-
229
- require_paths:
230
+ require_paths:
230
231
  - lib
231
- required_ruby_version: !ruby/object:Gem::Requirement
232
- requirements:
233
- - - ">="
234
- - !ruby/object:Gem::Version
235
- version: "0"
236
- version:
237
- required_rubygems_version: !ruby/object:Gem::Requirement
238
- requirements:
239
- - - ">="
240
- - !ruby/object:Gem::Version
241
- version: "0"
242
- version:
232
+ required_ruby_version: !ruby/object:Gem::Requirement
233
+ none: false
234
+ requirements:
235
+ - - ! '>='
236
+ - !ruby/object:Gem::Version
237
+ version: '0'
238
+ required_rubygems_version: !ruby/object:Gem::Requirement
239
+ none: false
240
+ requirements:
241
+ - - ! '>'
242
+ - !ruby/object:Gem::Version
243
+ version: 1.3.1
243
244
  requirements: []
244
-
245
245
  rubyforge_project: scout
246
- rubygems_version: 1.3.5
246
+ rubygems_version: 1.8.24
247
247
  signing_key:
248
248
  specification_version: 3
249
- 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.
250
- test_files:
249
+ summary: Scout is an easy-to-use hosted server monitoring service. The scout Ruby
250
+ gem reports metrics to our service. The agent runs plugins, configured via the Scout
251
+ web interface, to monitor a server.
252
+ test_files:
251
253
  - test/plugins/disk_usage.rb
252
254
  - test/scout_test.rb