newrelic_rpm 2.8.10 → 2.8.11
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/lib/new_relic/config.rb
CHANGED
@@ -17,13 +17,11 @@ class NewRelic::Config::Rails < NewRelic::Config
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def start_plugin(rails_config=nil)
|
20
|
-
if !tracers_enabled?
|
20
|
+
if !tracers_enabled? || !start_agent
|
21
21
|
require 'new_relic/shim_agent'
|
22
|
-
|
22
|
+
else
|
23
|
+
install_developer_mode rails_config if developer_mode?
|
23
24
|
end
|
24
|
-
app_config_info
|
25
|
-
start_agent
|
26
|
-
install_developer_mode rails_config if developer_mode?
|
27
25
|
end
|
28
26
|
|
29
27
|
def install_developer_mode(rails_config)
|
@@ -150,7 +150,7 @@ module NewRelic
|
|
150
150
|
# and only within the slowest transaction in a report period, selected for shipment to RPM
|
151
151
|
def explain_sql
|
152
152
|
sql = params[:sql]
|
153
|
-
return nil
|
153
|
+
return nil unless sql && params[:connection_config]
|
154
154
|
statements = sql.split(";\n")
|
155
155
|
explanations = []
|
156
156
|
statements.each do |statement|
|
data/lib/new_relic/version.rb
CHANGED
@@ -3,7 +3,7 @@ module NewRelic
|
|
3
3
|
module VERSION #:nodoc:
|
4
4
|
MAJOR = 2
|
5
5
|
MINOR = 8
|
6
|
-
TINY =
|
6
|
+
TINY = 11
|
7
7
|
STRING = [MAJOR, MINOR, TINY].join('.')
|
8
8
|
def self.changes
|
9
9
|
puts "NewRelic RPM Plugin Version: #{NewRelic::VERSION::STRING}"
|
@@ -11,7 +11,11 @@ module NewRelic
|
|
11
11
|
end
|
12
12
|
|
13
13
|
CHANGELOG = <<EOF
|
14
|
-
2009-
|
14
|
+
2009-05-14 version 2.8.11
|
15
|
+
* fix problem where newrelic_ignore was not defined when the agent was not
|
16
|
+
started
|
17
|
+
* fix error in log occurring when jruby/tomcat doesn't have a db config entry
|
18
|
+
2009-05-04 version 2.8.10
|
15
19
|
* fix thin support with rails 2.3.2 when using script/server
|
16
20
|
* fix incompatibility with rails 2.3.2 and script/server options processing
|
17
21
|
* minor tweak to environment gathering for gem mode
|
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: 2.8.
|
4
|
+
version: 2.8.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bill Kayser
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-05-
|
12
|
+
date: 2009-05-14 00:00:00 -07:00
|
13
13
|
default_executable: newrelic_cmd
|
14
14
|
dependencies: []
|
15
15
|
|