newrelic_rpm 3.1.2.beta2 → 3.1.2

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.

@@ -4,7 +4,7 @@ module NewRelic
4
4
  MAJOR = 3
5
5
  MINOR = 1
6
6
  TINY = 2
7
- BUILD = 'beta2' # Set to nil for a release, 'beta1', 'alpha', etc for prerelease builds
7
+ BUILD = nil # 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 = "3.1.2.beta2"
8
+ s.version = "3.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Bill Kayser", "Jon Guymon", "Justin George", "Darin Swanson"]
12
- s.date = %q{2011-08-26}
12
+ s.date = %q{2011-09-07}
13
13
  s.description = %q{New Relic is a performance management system, developed by New Relic,
14
14
  Inc (http://www.newrelic.com). New Relic provides you with deep
15
15
  information about the performance of your web application as it runs
@@ -18,7 +18,7 @@ Gem or plugin, hosted on
18
18
  http://github.com/newrelic/rpm/
19
19
  }
20
20
  s.email = %q{support@newrelic.com}
21
- s.executables = ["newrelic_cmd", "newrelic", "mongrel_rpm"]
21
+ s.executables = ["mongrel_rpm", "newrelic", "newrelic_cmd"]
22
22
  s.extra_rdoc_files = [
23
23
  "CHANGELOG",
24
24
  "LICENSE",
@@ -35,7 +35,6 @@ class NewRelic::Agent::Instrumentation::ActiveRecordInstrumentationTest < Test::
35
35
 
36
36
  def test_finder
37
37
  ActiveRecordFixtures::Order.create :id => 0, :name => 'jeff'
38
-
39
38
  find_metric = "ActiveRecord/ActiveRecordFixtures::Order/find"
40
39
 
41
40
  assert_calls_metrics(find_metric) do
@@ -44,14 +43,20 @@ class NewRelic::Agent::Instrumentation::ActiveRecordInstrumentationTest < Test::
44
43
  ActiveRecordFixtures::Order.find_all_by_name "jeff"
45
44
  check_metric_count(find_metric, 2)
46
45
  end
46
+ end
47
47
 
48
+ def test_exists
48
49
  return if NewRelic::Control.instance.rails_version < "2.3.4" ||
49
- NewRelic::Control.instance.rails_version >= "3.1"
50
+ NewRelic::Control.instance.rails_version >= "3.0.7"
51
+
52
+ ActiveRecordFixtures::Order.create :id => 0, :name => 'jeff'
53
+
54
+ find_metric = "ActiveRecord/ActiveRecordFixtures::Order/find"
50
55
 
51
56
  assert_calls_metrics(find_metric) do
52
57
  ActiveRecordFixtures::Order.exists?(["name=?", 'jeff'])
58
+ check_metric_count(find_metric, 1)
53
59
  end
54
- check_metric_count(find_metric, 3)
55
60
  end
56
61
 
57
62
  # multiple duplicate find calls should only cause metric trigger on the first
metadata CHANGED
@@ -1,17 +1,10 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: newrelic_rpm
3
- version: !ruby/object:Gem::Version
4
- hash: 62196423
5
- prerelease: 6
6
- segments:
7
- - 3
8
- - 1
9
- - 2
10
- - beta
11
- - 2
12
- version: 3.1.2.beta2
3
+ version: !ruby/object:Gem::Version
4
+ version: 3.1.2
5
+ prerelease:
13
6
  platform: ruby
14
- authors:
7
+ authors:
15
8
  - Bill Kayser
16
9
  - Jon Guymon
17
10
  - Justin George
@@ -19,73 +12,67 @@ authors:
19
12
  autorequire:
20
13
  bindir: bin
21
14
  cert_chain: []
22
-
23
- date: 2011-08-26 00:00:00 -07:00
15
+ date: 2011-09-07 00:00:00.000000000 -07:00
24
16
  default_executable:
25
- dependencies:
26
- - !ruby/object:Gem::Dependency
17
+ dependencies:
18
+ - !ruby/object:Gem::Dependency
27
19
  name: jeweler
28
- prerelease: false
29
- requirement: &id001 !ruby/object:Gem::Requirement
20
+ requirement: &2156970120 !ruby/object:Gem::Requirement
30
21
  none: false
31
- requirements:
32
- - - ">="
33
- - !ruby/object:Gem::Version
34
- hash: 3
35
- segments:
36
- - 0
37
- version: "0"
22
+ requirements:
23
+ - - ! '>='
24
+ - !ruby/object:Gem::Version
25
+ version: '0'
38
26
  type: :development
39
- version_requirements: *id001
40
- - !ruby/object:Gem::Dependency
41
- name: mocha
42
27
  prerelease: false
43
- requirement: &id002 !ruby/object:Gem::Requirement
28
+ version_requirements: *2156970120
29
+ - !ruby/object:Gem::Dependency
30
+ name: mocha
31
+ requirement: &2156969640 !ruby/object:Gem::Requirement
44
32
  none: false
45
- requirements:
46
- - - ">="
47
- - !ruby/object:Gem::Version
48
- hash: 3
49
- segments:
50
- - 0
51
- version: "0"
33
+ requirements:
34
+ - - ! '>='
35
+ - !ruby/object:Gem::Version
36
+ version: '0'
52
37
  type: :development
53
- version_requirements: *id002
54
- - !ruby/object:Gem::Dependency
55
- name: shoulda
56
38
  prerelease: false
57
- requirement: &id003 !ruby/object:Gem::Requirement
39
+ version_requirements: *2156969640
40
+ - !ruby/object:Gem::Dependency
41
+ name: shoulda
42
+ requirement: &2156969160 !ruby/object:Gem::Requirement
58
43
  none: false
59
- requirements:
60
- - - ">="
61
- - !ruby/object:Gem::Version
62
- hash: 3
63
- segments:
64
- - 0
65
- version: "0"
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
66
48
  type: :development
67
- version_requirements: *id003
68
- description: |
69
- New Relic is a performance management system, developed by New Relic,
49
+ prerelease: false
50
+ version_requirements: *2156969160
51
+ description: ! 'New Relic is a performance management system, developed by New Relic,
52
+
70
53
  Inc (http://www.newrelic.com). New Relic provides you with deep
54
+
71
55
  information about the performance of your web application as it runs
56
+
72
57
  in production. The New Relic Ruby Agent is dual-purposed as a either a
58
+
73
59
  Gem or plugin, hosted on
60
+
74
61
  http://github.com/newrelic/rpm/
75
62
 
63
+ '
76
64
  email: support@newrelic.com
77
- executables:
78
- - newrelic_cmd
79
- - newrelic
65
+ executables:
80
66
  - mongrel_rpm
67
+ - newrelic
68
+ - newrelic_cmd
81
69
  extensions: []
82
-
83
- extra_rdoc_files:
70
+ extra_rdoc_files:
84
71
  - CHANGELOG
85
72
  - LICENSE
86
73
  - README.rdoc
87
74
  - newrelic.yml
88
- files:
75
+ files:
89
76
  - CHANGELOG
90
77
  - LICENSE
91
78
  - README.rdoc
@@ -340,60 +327,38 @@ files:
340
327
  has_rdoc: true
341
328
  homepage: http://www.github.com/newrelic/rpm
342
329
  licenses: []
343
-
344
- post_install_message: |
345
-
346
- PLEASE NOTE:
347
-
348
- Developer Mode is now a Rack middleware.
349
-
350
- Developer Mode is no longer available in Rails 2.1 and earlier.
351
- However, starting in version 2.12 you can use Developer Mode in any
352
- Rack based framework, in addition to Rails. To install developer mode
353
- in a non-Rails application, just add NewRelic::Rack::DeveloperMode to
354
- your middleware stack.
355
-
356
- If you are using JRuby, we recommend using at least version 1.4 or
357
- later because of issues with the implementation of the timeout library.
358
-
359
- Refer to the README.md file for more information.
360
-
361
- Please see http://github.com/newrelic/rpm/blob/master/CHANGELOG
362
- for a complete description of the features and enhancements available
363
- in version 3.1 of the Ruby Agent.
364
-
365
-
366
- rdoc_options:
330
+ post_install_message: ! "\nPLEASE NOTE:\n\nDeveloper Mode is now a Rack middleware.\n\nDeveloper
331
+ Mode is no longer available in Rails 2.1 and earlier.\nHowever, starting in version
332
+ 2.12 you can use Developer Mode in any\nRack based framework, in addition to Rails.
333
+ \ To install developer mode\nin a non-Rails application, just add NewRelic::Rack::DeveloperMode
334
+ to\nyour middleware stack.\n\nIf you are using JRuby, we recommend using at least
335
+ version 1.4 or \nlater because of issues with the implementation of the timeout
336
+ library.\n\nRefer to the README.md file for more information.\n\nPlease see http://github.com/newrelic/rpm/blob/master/CHANGELOG\nfor
337
+ a complete description of the features and enhancements available\nin version 3.1
338
+ of the Ruby Agent.\n \n"
339
+ rdoc_options:
367
340
  - --line-numbers
368
341
  - --inline-source
369
342
  - --title
370
343
  - New Relic Ruby Agent
371
- require_paths:
344
+ require_paths:
372
345
  - lib
373
- required_ruby_version: !ruby/object:Gem::Requirement
346
+ required_ruby_version: !ruby/object:Gem::Requirement
374
347
  none: false
375
- requirements:
376
- - - ">="
377
- - !ruby/object:Gem::Version
378
- hash: 3
379
- segments:
380
- - 0
381
- version: "0"
382
- required_rubygems_version: !ruby/object:Gem::Requirement
348
+ requirements:
349
+ - - ! '>='
350
+ - !ruby/object:Gem::Version
351
+ version: '0'
352
+ required_rubygems_version: !ruby/object:Gem::Requirement
383
353
  none: false
384
- requirements:
385
- - - ">="
386
- - !ruby/object:Gem::Version
387
- hash: 3
388
- segments:
389
- - 0
390
- version: "0"
354
+ requirements:
355
+ - - ! '>='
356
+ - !ruby/object:Gem::Version
357
+ version: '0'
391
358
  requirements: []
392
-
393
359
  rubyforge_project:
394
- rubygems_version: 1.4.2
360
+ rubygems_version: 1.6.2
395
361
  signing_key:
396
362
  specification_version: 3
397
363
  summary: New Relic Ruby Agent
398
364
  test_files: []
399
-