newrelic_rpm 3.7.3.199 → 3.7.3.204

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
Binary file
data/CHANGELOG CHANGED
@@ -24,6 +24,17 @@
24
24
  Fixed an issue where an exception raised from a user-specified on_complete
25
25
  block would cause our Typhoeus instrumentation to fail to record the request.
26
26
 
27
+ * Fix for Puma 2.8.0 cluster mode (3.7.3.204)
28
+
29
+ Puma's 2.8.0 release renamed a hook New Relic used to support Puma's cluster
30
+ mode. This resulted in missing data for users running Puma. Thanks Benjamin
31
+ Kudria for the fix!
32
+
33
+ * Fix for deployment command bug (3.7.3.204)
34
+
35
+ Problems with file loading order could result in `newrelic deployments`
36
+ failing with an unrecognized command error. This has been fixed.
37
+
27
38
  ## v3.7.2 ##
28
39
 
29
40
  * Mongo instrumentation improvements
@@ -17,7 +17,8 @@ DependencyDetection.defer do
17
17
  end
18
18
 
19
19
  executes do
20
- Puma.cli_config.options[:worker_boot] << Proc.new do
20
+ option_name = [:worker_boot, :before_worker_boot].detect {|option| Puma.cli_config.options.has_key? option }
21
+ Puma.cli_config.options[option_name] << Proc.new do
21
22
  ::NewRelic::Agent.after_fork(:force_reconnect => true)
22
23
  end
23
24
  end
@@ -51,8 +51,8 @@ module NewRelic
51
51
  @commands << subclass
52
52
  end
53
53
 
54
- cmds = File.expand_path(File.join(File.dirname(__FILE__), '*.rb'))
55
- Dir[cmds].each{|command| require command }
54
+ cmds = File.expand_path(File.join(File.dirname(__FILE__), 'commands', '*.rb'))
55
+ Dir[cmds].each { |command| require command }
56
56
 
57
57
  def self.run
58
58
 
@@ -63,7 +63,7 @@ Visit support.newrelic.com if you are experiencing installation issues.
63
63
  end
64
64
 
65
65
  def content
66
- @src_file ||= File.expand_path(File.join(File.dirname(__FILE__),"..","..","..","newrelic.yml"))
66
+ @src_file ||= File.expand_path(File.join(File.dirname(__FILE__),"..","..","..","..","newrelic.yml"))
67
67
  template = File.read(@src_file)
68
68
  ERB.new(template).result(binding)
69
69
  end
@@ -2,9 +2,9 @@
2
2
  # This file is distributed under New Relic's license terms.
3
3
  # See https://github.com/newrelic/rpm/blob/master/LICENSE for complete details.
4
4
 
5
- require File.expand_path(File.join(File.dirname(__FILE__),'..','..','test_helper'))
5
+ require File.expand_path(File.join(File.dirname(__FILE__),'..','..','..','test_helper'))
6
6
  require 'new_relic/cli/command'
7
- require 'new_relic/cli/deployments'
7
+ require 'new_relic/cli/commands/deployments'
8
8
 
9
9
  class NewRelic::Cli::DeploymentsTest < Minitest::Test
10
10
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: newrelic_rpm
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.3.199
4
+ version: 3.7.3.204
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -41,7 +41,7 @@ cert_chain:
41
41
  K0ZZTXduQWIrVm1OT2h2MVMrc0poYmpaMzBQS2d6NnZMaFQ2dW5pZUNqTGs5
42
42
  d0dHbWxTSwpZamJudkE5cXJhTExhalNqCi0tLS0tRU5EIENFUlRJRklDQVRF
43
43
  LS0tLS0K
44
- date: 2014-03-04 00:00:00.000000000 Z
44
+ date: 2014-03-11 00:00:00.000000000 Z
45
45
  dependencies:
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: rake
@@ -428,8 +428,8 @@ files:
428
428
  - lib/new_relic/agent/vm/snapshot.rb
429
429
  - lib/new_relic/agent/worker_loop.rb
430
430
  - lib/new_relic/cli/command.rb
431
- - lib/new_relic/cli/deployments.rb
432
- - lib/new_relic/cli/install.rb
431
+ - lib/new_relic/cli/commands/deployments.rb
432
+ - lib/new_relic/cli/commands/install.rb
433
433
  - lib/new_relic/coerce.rb
434
434
  - lib/new_relic/collection_helper.rb
435
435
  - lib/new_relic/control.rb
@@ -936,7 +936,7 @@ files:
936
936
  - test/new_relic/agent/vm_test.rb
937
937
  - test/new_relic/agent/worker_loop_test.rb
938
938
  - test/new_relic/agent_test.rb
939
- - test/new_relic/cli/deployments_test.rb
939
+ - test/new_relic/cli/commands/deployments_test.rb
940
940
  - test/new_relic/coerce_test.rb
941
941
  - test/new_relic/collection_helper_test.rb
942
942
  - test/new_relic/control/class_methods_test.rb
@@ -1148,7 +1148,12 @@ post_install_message: ! "# New Relic Ruby Agent Release Notes #\n\n## v3.7.3 ##\
1148
1148
  tagged as 'SQL - SELECT'. This\n particularly affected ActiveRecord users using
1149
1149
  PostgreSQL.\n\n* More reliable Typhoeus instrumentation\n\n Fixed an issue where
1150
1150
  an exception raised from a user-specified on_complete\n block would cause our Typhoeus
1151
- instrumentation to fail to record the request.\n\n See https://github.com/newrelic/rpm/blob/master/CHANGELOG
1151
+ instrumentation to fail to record the request.\n\n* Fix for Puma 2.8.0 cluster mode
1152
+ (3.7.3.204)\n\n Puma's 2.8.0 release renamed a hook New Relic used to support Puma's
1153
+ cluster\n mode. This resulted in missing data for users running Puma. Thanks Benjamin\n
1154
+ \ Kudria for the fix!\n\n* Fix for deployment command bug (3.7.3.204)\n\n Problems
1155
+ with file loading order could result in `newrelic deployments`\n failing with an
1156
+ unrecognized command error. This has been fixed.\n\n See https://github.com/newrelic/rpm/blob/master/CHANGELOG
1152
1157
  for a full list of\n changes.\n"
1153
1158
  rdoc_options:
1154
1159
  - --line-numbers
metadata.gz.sig CHANGED
Binary file