newrelic_rpm 2.12.1 → 2.12.2.beta
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of newrelic_rpm might be problematic. Click here for more details.
- data/CHANGELOG +4 -0
- data/lib/new_relic/agent/agent.rb +7 -3
- data/lib/new_relic/version.rb +2 -2
- data/newrelic_rpm.gemspec +3 -3
- metadata +10 -7
data/CHANGELOG
CHANGED
@@ -354,7 +354,11 @@ module NewRelic
|
|
354
354
|
# you are not in a spawner (default is true).
|
355
355
|
|
356
356
|
def connect(options)
|
357
|
-
|
357
|
+
# Don't proceed if we already connected (@connected=true) or if we tried
|
358
|
+
# to connect and were rejected with prejudice because of a license issue
|
359
|
+
# (@connected=false).
|
360
|
+
return if !@connected.nil? && !options[:force_reconnect]
|
361
|
+
|
358
362
|
keep_retrying = options[:keep_retrying].nil? || options[:keep_retrying]
|
359
363
|
check_for_spawner = options[:check_for_spawner].nil? || options[:check_for_spawner]
|
360
364
|
|
@@ -554,7 +558,7 @@ module NewRelic
|
|
554
558
|
dump_size = dump.size
|
555
559
|
|
556
560
|
# small payloads don't need compression
|
557
|
-
return [dump, 'identity'] if dump_size <
|
561
|
+
return [dump, 'identity'] if dump_size < (64*1024)
|
558
562
|
|
559
563
|
# medium payloads get fast compression, to save CPU
|
560
564
|
# big payloads get all the compression possible, to stay under
|
@@ -572,7 +576,7 @@ module NewRelic
|
|
572
576
|
end
|
573
577
|
|
574
578
|
def send_request(opts)
|
575
|
-
request = Net::HTTP::Post.new(opts[:uri], 'CONTENT-ENCODING' => opts[:encoding], '
|
579
|
+
request = Net::HTTP::Post.new(opts[:uri], 'CONTENT-ENCODING' => opts[:encoding], 'HOST' => opts[:collector].name)
|
576
580
|
request.content_type = "application/octet-stream"
|
577
581
|
request.body = opts[:data]
|
578
582
|
|
data/lib/new_relic/version.rb
CHANGED
@@ -3,8 +3,8 @@ module NewRelic
|
|
3
3
|
module VERSION #:nodoc:
|
4
4
|
MAJOR = 2
|
5
5
|
MINOR = 12
|
6
|
-
TINY =
|
7
|
-
BUILD =
|
6
|
+
TINY = 2
|
7
|
+
BUILD = 'beta' #'0' # Set to nil for a release, 'beta1', 'alpha', etc for prerelease builds
|
8
8
|
STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
|
9
9
|
end
|
10
10
|
|
data/newrelic_rpm.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{newrelic_rpm}
|
8
|
-
s.version = "2.12.
|
8
|
+
s.version = "2.12.2.beta"
|
9
9
|
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new("
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Bill Kayser"]
|
12
|
-
s.date = %q{2010-05-
|
12
|
+
s.date = %q{2010-05-28}
|
13
13
|
s.description = %q{New Relic RPM is a Ruby performance management system, developed by
|
14
14
|
New Relic, Inc (http://www.newrelic.com). RPM provides you with deep
|
15
15
|
information about the performance of your Ruby on Rails or Merb
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: newrelic_rpm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
4
|
+
prerelease: true
|
5
5
|
segments:
|
6
6
|
- 2
|
7
7
|
- 12
|
8
|
-
-
|
9
|
-
|
8
|
+
- 2
|
9
|
+
- beta
|
10
|
+
version: 2.12.2.beta
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Bill Kayser
|
@@ -14,7 +15,7 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2010-05-
|
18
|
+
date: 2010-05-28 00:00:00 -07:00
|
18
19
|
default_executable:
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
@@ -240,11 +241,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
240
241
|
version: "0"
|
241
242
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
242
243
|
requirements:
|
243
|
-
- - "
|
244
|
+
- - ">"
|
244
245
|
- !ruby/object:Gem::Version
|
245
246
|
segments:
|
246
|
-
-
|
247
|
-
|
247
|
+
- 1
|
248
|
+
- 3
|
249
|
+
- 1
|
250
|
+
version: 1.3.1
|
248
251
|
requirements: []
|
249
252
|
|
250
253
|
rubyforge_project:
|