newrelic_rpm 2.13.0.beta3 → 2.13.0.beta4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of newrelic_rpm might be problematic. Click here for more details.
- data/lib/new_relic/version.rb +1 -1
- data/lib/newrelic_rpm.rb +16 -5
- data/newrelic_rpm.gemspec +4 -4
- metadata +15 -4
data/lib/new_relic/version.rb
CHANGED
@@ -4,7 +4,7 @@ module NewRelic
|
|
4
4
|
MAJOR = 2
|
5
5
|
MINOR = 13
|
6
6
|
TINY = 0
|
7
|
-
BUILD = '
|
7
|
+
BUILD = 'beta4' #'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/lib/newrelic_rpm.rb
CHANGED
@@ -28,9 +28,20 @@ if defined? Merb
|
|
28
28
|
end
|
29
29
|
end
|
30
30
|
end
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
31
|
+
elsif defined?(Rails)
|
32
|
+
if Rails.respond_to?(:version) && Rails.version =~ /^3/
|
33
|
+
module NewRelic
|
34
|
+
class Railtie < Rails::Railtie
|
35
|
+
|
36
|
+
initializer "newrelic_rpm.start_plugin" do |app|
|
37
|
+
NewRelic::Control.instance.init_plugin(:config => app.config)
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
else
|
42
|
+
# After verison 2.0 of Rails we can access the configuration directly.
|
43
|
+
# We need it to add dev mode routes after initialization finished.
|
44
|
+
config = Rails.configuration if defined?(Rails.configuration)
|
45
|
+
NewRelic::Control.instance.init_plugin :config => config
|
46
|
+
end
|
36
47
|
end
|
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.13.0.
|
8
|
+
s.version = "2.13.0.beta4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Bill Kayser", "Justin George"]
|
12
|
-
s.date = %q{2010-07-
|
12
|
+
s.date = %q{2010-07-09}
|
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
|
@@ -229,14 +229,14 @@ for instructions for previous versions
|
|
229
229
|
}
|
230
230
|
s.rdoc_options = ["--charset=UTF-8", "--line-numbers", "--inline-source", "--title", "New Relic Ruby Performance Monitoring Agent"]
|
231
231
|
s.require_paths = ["lib"]
|
232
|
-
s.rubygems_version = %q{1.3.
|
232
|
+
s.rubygems_version = %q{1.3.7}
|
233
233
|
s.summary = %q{New Relic Ruby Performance Monitoring Agent}
|
234
234
|
|
235
235
|
if s.respond_to? :specification_version then
|
236
236
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
237
237
|
s.specification_version = 3
|
238
238
|
|
239
|
-
if Gem::Version.new(Gem::
|
239
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
240
240
|
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
241
241
|
s.add_development_dependency(%q<mocha>, [">= 0"])
|
242
242
|
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
metadata
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: newrelic_rpm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 299253504
|
4
5
|
prerelease: true
|
5
6
|
segments:
|
6
7
|
- 2
|
7
8
|
- 13
|
8
9
|
- 0
|
9
|
-
-
|
10
|
-
version: 2.13.0.
|
10
|
+
- beta4
|
11
|
+
version: 2.13.0.beta4
|
11
12
|
platform: ruby
|
12
13
|
authors:
|
13
14
|
- Bill Kayser
|
@@ -16,16 +17,18 @@ autorequire:
|
|
16
17
|
bindir: bin
|
17
18
|
cert_chain: []
|
18
19
|
|
19
|
-
date: 2010-07-
|
20
|
+
date: 2010-07-09 00:00:00 -07:00
|
20
21
|
default_executable:
|
21
22
|
dependencies:
|
22
23
|
- !ruby/object:Gem::Dependency
|
23
24
|
name: jeweler
|
24
25
|
prerelease: false
|
25
26
|
requirement: &id001 !ruby/object:Gem::Requirement
|
27
|
+
none: false
|
26
28
|
requirements:
|
27
29
|
- - ">="
|
28
30
|
- !ruby/object:Gem::Version
|
31
|
+
hash: 3
|
29
32
|
segments:
|
30
33
|
- 0
|
31
34
|
version: "0"
|
@@ -35,9 +38,11 @@ dependencies:
|
|
35
38
|
name: mocha
|
36
39
|
prerelease: false
|
37
40
|
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
38
42
|
requirements:
|
39
43
|
- - ">="
|
40
44
|
- !ruby/object:Gem::Version
|
45
|
+
hash: 3
|
41
46
|
segments:
|
42
47
|
- 0
|
43
48
|
version: "0"
|
@@ -47,9 +52,11 @@ dependencies:
|
|
47
52
|
name: shoulda
|
48
53
|
prerelease: false
|
49
54
|
requirement: &id003 !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
50
56
|
requirements:
|
51
57
|
- - ">="
|
52
58
|
- !ruby/object:Gem::Version
|
59
|
+
hash: 3
|
53
60
|
segments:
|
54
61
|
- 0
|
55
62
|
version: "0"
|
@@ -288,16 +295,20 @@ rdoc_options:
|
|
288
295
|
require_paths:
|
289
296
|
- lib
|
290
297
|
required_ruby_version: !ruby/object:Gem::Requirement
|
298
|
+
none: false
|
291
299
|
requirements:
|
292
300
|
- - ">="
|
293
301
|
- !ruby/object:Gem::Version
|
302
|
+
hash: 3
|
294
303
|
segments:
|
295
304
|
- 0
|
296
305
|
version: "0"
|
297
306
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
307
|
+
none: false
|
298
308
|
requirements:
|
299
309
|
- - ">"
|
300
310
|
- !ruby/object:Gem::Version
|
311
|
+
hash: 25
|
301
312
|
segments:
|
302
313
|
- 1
|
303
314
|
- 3
|
@@ -306,7 +317,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
306
317
|
requirements: []
|
307
318
|
|
308
319
|
rubyforge_project:
|
309
|
-
rubygems_version: 1.3.
|
320
|
+
rubygems_version: 1.3.7
|
310
321
|
signing_key:
|
311
322
|
specification_version: 3
|
312
323
|
summary: New Relic Ruby Performance Monitoring Agent
|