newrelic_rpm 2.8.3 → 2.8.4

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.

@@ -1,5 +1,5 @@
1
1
  require 'yaml'
2
- #require 'new_relic/version'
2
+ require 'new_relic/local_environment'
3
3
  require 'singleton'
4
4
  require 'erb'
5
5
  require 'net/https'
@@ -86,7 +86,7 @@ module NewRelic
86
86
  end
87
87
 
88
88
  def check_for_passenger
89
- if defined? Passenger::AbstractServer || defined? IN_PHUSION_PASSENGER
89
+ if defined?(Passenger::AbstractServer) || defined?(IN_PHUSION_PASSENGER)
90
90
  @environment = :passenger
91
91
  @identifier = 'passenger'
92
92
  @identifier += ":#{config['app_name']}" if config['app_name']
@@ -62,6 +62,7 @@ make_notify_task = lambda do
62
62
  end
63
63
  end
64
64
  end
65
+ require 'capistrano/version'
65
66
  if Capistrano::Version::MAJOR < 2
66
67
  STDERR.puts "Unable to load #{__FILE__}\nNew Relic Capistrano hooks require at least version 2.0.0"
67
68
  else
@@ -3,7 +3,7 @@ module NewRelic
3
3
  module VERSION #:nodoc:
4
4
  MAJOR = 2
5
5
  MINOR = 8
6
- TINY = 3
6
+ TINY = 4
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  def self.changes
9
9
  puts "NewRelic RPM Plugin Version: #{NewRelic::VERSION::STRING}"
@@ -12,6 +12,10 @@ module NewRelic
12
12
 
13
13
  CHANGELOG = <<EOF
14
14
 
15
+ 2009-02-17 version 2.8.4
16
+ * fix bug detecting Phusion Passenger v 2.1.0
17
+ * fix bug in capistrano recipe causing cap commands to fail with error
18
+ about not finding Version class
15
19
  2009-02-10 version 2.8.3
16
20
  * refactor unit tests so they will run in a generic rails environment
17
21
  * require classes in advance to avoid autoloading. this is to address
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.3
4
+ version: 2.8.4
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-02-14 00:00:00 -08:00
12
+ date: 2009-02-17 00:00:00 -08:00
13
13
  default_executable: newrelic_cmd
14
14
  dependencies: []
15
15