newrelic_rpm 3.6.9.171 → 3.7.0.174.beta

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. data.tar.gz.sig +0 -0
  2. data/CHANGELOG +9 -0
  3. data/lib/new_relic/agent.rb +15 -21
  4. data/lib/new_relic/agent/beacon_configuration.rb +1 -81
  5. data/lib/new_relic/agent/browser_monitoring.rb +82 -49
  6. data/lib/new_relic/agent/configuration/default_source.rb +31 -12
  7. data/lib/new_relic/agent/request_sampler.rb +17 -10
  8. data/lib/new_relic/agent/transaction.rb +10 -17
  9. data/lib/new_relic/coerce.rb +26 -0
  10. data/lib/new_relic/rack/browser_monitoring.rb +43 -39
  11. data/lib/new_relic/version.rb +2 -2
  12. data/lib/tasks/install.rake +1 -0
  13. data/test/agent_helper.rb +2 -2
  14. data/test/environments/rails40/Gemfile +1 -1
  15. data/test/multiverse/lib/multiverse/suite.rb +11 -1
  16. data/test/multiverse/suites/agent_only/rum_instrumentation_test.rb +19 -12
  17. data/test/multiverse/suites/rails/Envfile +1 -5
  18. data/test/multiverse/suites/rails/queue_time_test.rb +3 -2
  19. data/test/multiverse/suites/rails/request_statistics_test.rb +29 -0
  20. data/test/multiverse/suites/sidekiq/Envfile +10 -1
  21. data/test/multiverse/suites/sinatra/Envfile +3 -7
  22. data/test/new_relic/agent/beacon_configuration_test.rb +9 -76
  23. data/test/new_relic/agent/browser_monitoring_test.rb +204 -96
  24. data/test/new_relic/agent/request_sampler_test.rb +41 -1
  25. data/test/new_relic/agent/transaction_test.rb +47 -0
  26. data/test/new_relic/coerce_test.rb +24 -0
  27. data/test/new_relic/rack/browser_monitoring_test.rb +38 -6
  28. data/test/performance/suites/rum_autoinsertion.rb +0 -1
  29. data/test/rum/basic.result.html +2 -2
  30. data/test/rum/comments1.result.html +2 -2
  31. data/test/rum/comments2.result.html +2 -2
  32. data/test/rum/gt_in_quotes1.result.html +2 -2
  33. data/test/rum/gt_in_quotes2.result.html +2 -2
  34. data/test/rum/gt_in_quotes_mismatch.result.html +2 -2
  35. data/test/rum/gt_in_single_quotes1.result.html +2 -2
  36. data/test/rum/gt_in_single_quotes_mismatch.result.html +2 -2
  37. data/test/rum/incomplete_non_meta_tags.result.html +2 -2
  38. data/test/rum/no_header.result.html +2 -2
  39. data/test/rum/no_html_and_no_header.result.html +2 -2
  40. data/test/rum/no_start_header.result.html +2 -2
  41. data/test/rum/script1.result.html +2 -2
  42. data/test/rum/script2.result.html +2 -2
  43. data/test/rum/x_ua_meta_tag.result.html +2 -2
  44. data/test/rum/x_ua_meta_tag_multiline.result.html +2 -2
  45. data/test/rum/x_ua_meta_tag_with_others.result.html +2 -2
  46. data/test/rum/x_ua_meta_tag_with_spaces.result.html +2 -2
  47. metadata +8 -24
  48. metadata.gz.sig +0 -0
@@ -14,6 +14,11 @@ class NewRelic::Agent::TransactionTest < Test::Unit::TestCase
14
14
  @stats_engine.reset_stats
15
15
  end
16
16
 
17
+ def teardown
18
+ # Failed transactions can leave partial stack, so pave it for next test
19
+ NewRelic::Agent::Transaction.stack.clear
20
+ end
21
+
17
22
  def test_request_parsing__none
18
23
  assert_nil txn.uri
19
24
  assert_nil txn.referer
@@ -256,6 +261,26 @@ class NewRelic::Agent::TransactionTest < Test::Unit::TestCase
256
261
  assert_equal 2.1, options[:webDuration]
257
262
  end
258
263
 
264
+ def test_end_fires_a_transaction_finished_event_with_custom_params
265
+ options = nil
266
+ NewRelic::Agent.subscribe(:transaction_finished) do |payload|
267
+ options = payload[:custom_params]
268
+ end
269
+
270
+ NewRelic::Agent::Transaction.start(:controller)
271
+ NewRelic::Agent.add_custom_parameters('fooz' => 'barz')
272
+ NewRelic::Agent::Transaction.stop('txn')
273
+
274
+ assert_equal 'barz', options['fooz']
275
+ end
276
+
277
+ def test_logs_warning_if_a_non_hash_arg_is_passed_to_add_custom_params
278
+ expects_logging(:warn, includes("add_custom_parameters"))
279
+ NewRelic::Agent::Transaction.start(:controller)
280
+ NewRelic::Agent.add_custom_parameters('fooz')
281
+ NewRelic::Agent::Transaction.stop('txn')
282
+ end
283
+
259
284
  def test_parent_returns_parent_transaction_if_there_is_one
260
285
  txn, outer_txn = nil
261
286
  in_transaction('outer') do
@@ -278,4 +303,26 @@ class NewRelic::Agent::TransactionTest < Test::Unit::TestCase
278
303
  def test_parent_returns_nil_if_outside_transaction_entirely
279
304
  assert_nil(NewRelic::Agent::Transaction.parent)
280
305
  end
306
+
307
+ def test_user_attributes_alias_to_custom_parameters
308
+ in_transaction('user_attributes') do
309
+ txn = NewRelic::Agent::Transaction.current
310
+ txn.set_user_attributes(:set_instance => :set_instance)
311
+ txn.user_attributes[:indexer_instance] = :indexer_instance
312
+
313
+ NewRelic::Agent::Transaction.set_user_attributes(:set_class => :set_class)
314
+ NewRelic::Agent::Transaction.user_attributes[:indexer_class] = :indexer_class
315
+
316
+ assert_has_custom_parameter(:set_instance)
317
+ assert_has_custom_parameter(:indexer_instance)
318
+
319
+ assert_has_custom_parameter(:set_class)
320
+ assert_has_custom_parameter(:indexer_class)
321
+ end
322
+ end
323
+
324
+ def assert_has_custom_parameter(key, value = key)
325
+ assert_equal(value, NewRelic::Agent::Transaction.current.custom_parameters[key])
326
+ end
327
+
281
328
  end
@@ -89,6 +89,30 @@ class CoerceTest < Test::Unit::TestCase
89
89
  string(Unstringable.new, "HERE")
90
90
  end
91
91
 
92
+ def test_event_params_coerce_returns_empty_hash_when_non_hash_is_passed
93
+ assert_equal({}, event_params([]))
94
+ assert_equal({}, event_params(''))
95
+ assert_equal({}, event_params(1))
96
+ assert_equal({}, event_params(nil))
97
+ assert_equal({}, event_params(self.class))
98
+ end
99
+
100
+ def test_event_params_coerce_converts_hash_keys_to_strings
101
+ assert_equal(
102
+ {'foo' => 1, 'bar' => 2, '3' => 3},
103
+ event_params({:foo => 1, 'bar' => 2, 3 => 3})
104
+ )
105
+ end
106
+
107
+ def test_event_params_coerce_only_allow_values_that_are_strings_symbols_floats_or_ints
108
+ assert_equal(
109
+ {'foo' => 1.0, 'bar' => 2, 'bang' => 'woot', 'ok' => 'dokey'},
110
+ event_params(
111
+ {'foo' => 1.0, 'bar' => 2, 'bang' => 'woot', 'ok' => :dokey, 'bad' => [], 'worse' => {}, 'nope' => Rational(1)}
112
+ )
113
+ )
114
+ end
115
+
92
116
  class Unstringable
93
117
  undef :to_s
94
118
  end
@@ -22,10 +22,17 @@ class BrowserMonitoringTest < Test::Unit::TestCase
22
22
  include Rack::Test::Methods
23
23
 
24
24
  class TestApp
25
+ @@next_response = nil
26
+ @@doc = nil
27
+
25
28
  def self.doc=(other)
26
29
  @@doc = other
27
30
  end
28
31
 
32
+ def self.next_response=(next_response)
33
+ @@next_response = next_response
34
+ end
35
+
29
36
  def call(env)
30
37
  @@doc ||= <<-EOL
31
38
  <html>
@@ -39,7 +46,10 @@ class BrowserMonitoringTest < Test::Unit::TestCase
39
46
  <body>im some body text</body>
40
47
  </html>
41
48
  EOL
42
- [200, {'Content-Type' => 'text/html'}, Rack::Response.new(@@doc)]
49
+ response = @@next_response || Rack::Response.new(@@doc)
50
+ @@next_response = nil
51
+
52
+ [200, {'Content-Type' => 'text/html'}, response]
43
53
  end
44
54
  include NewRelic::Agent::Instrumentation::Rack
45
55
  end
@@ -57,13 +67,13 @@ EOL
57
67
  :application_id => 5,
58
68
  :'rum.enabled' => true,
59
69
  :episodes_file => 'this_is_my_file',
60
- :license_key => 'a' * 40
70
+ :license_key => 'a' * 40,
71
+ :js_agent_loader => 'loader',
61
72
  }
62
73
  NewRelic::Agent.config.apply_config(@config)
63
- NewRelic::Agent.manual_start
64
- config = NewRelic::Agent::BeaconConfiguration.new
65
- NewRelic::Agent.instance.stubs(:beacon_configuration).returns(config)
66
- NewRelic::Agent.stubs(:is_transaction_traced?).returns(true)
74
+
75
+ beacon_config = NewRelic::Agent::BeaconConfiguration.new
76
+ NewRelic::Agent.instance.stubs(:beacon_configuration).returns(beacon_config)
67
77
  end
68
78
 
69
79
  def teardown
@@ -138,6 +148,28 @@ EOL
138
148
  end
139
149
  end
140
150
 
151
+ def test_should_close_response
152
+ response = Rack::Response.new("<html/>")
153
+ response.expects(:close)
154
+ TestApp.next_response = response
155
+
156
+ get '/'
157
+
158
+ assert last_response.ok?
159
+ end
160
+
161
+ def test_should_not_close_if_not_responded_to
162
+ response = Rack::Response.new("<html/>")
163
+ response.stubs(:respond_to?).with(:close).returns(false)
164
+ response.expects(:close).never
165
+
166
+ TestApp.next_response = response
167
+
168
+ get '/'
169
+
170
+ assert last_response.ok?
171
+ end
172
+
141
173
  def test_should_not_throw_exception_on_empty_reponse
142
174
  TestApp.doc = ''
143
175
  get '/'
@@ -19,7 +19,6 @@ class RumAutoInsertion < Performance::TestCase
19
19
  :application_id => '5, 6', # collector can return app multiple ids
20
20
  :'rum.enabled' => true,
21
21
  :episodes_file => 'this_is_my_file',
22
- :'rum.jsonp' => true,
23
22
  :license_key => 'a' * 40
24
23
  }
25
24
  NewRelic::Agent.config.apply_config(@config)
@@ -1,10 +1,10 @@
1
1
  <html>
2
- <head>|||I AM THE RUM HEADER|||
2
+ <head>|||I AM THE RUM FOOTER||||||I AM THE RUM HEADER|||
3
3
  <title>im a title</title>
4
4
  <meta some-crap="1"/>
5
5
  <script>
6
6
  junk
7
7
  </script>
8
8
  </head>
9
- <body>im some body text|||I AM THE RUM FOOTER|||</body>
9
+ <body>im some body text</body>
10
10
  </html>
@@ -6,7 +6,7 @@
6
6
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7
7
  <meta name="google-site-verification" content="H7LxlilrDfbkX34sqq1X1JwoSCX0c6v15HhUYx49YtE" />
8
8
  <meta name="msvalidate.01" content="9174ACA637FC44E24AD81253FF836544" />
9
- <!-- <meta http-equiv="X-UA-Compatible" content="IE=7" />|||I AM THE RUM HEADER|||
9
+ <!-- <meta http-equiv="X-UA-Compatible" content="IE=7" />|||I AM THE RUM FOOTER||||||I AM THE RUM HEADER|||
10
10
  -->
11
11
  <!--
12
12
  this is a comment
@@ -20,5 +20,5 @@
20
20
  </head>
21
21
  <body>
22
22
  Cribbed from the Java agent
23
- |||I AM THE RUM FOOTER|||</body>
23
+ </body>
24
24
  </html>
@@ -6,7 +6,7 @@
6
6
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7
7
  <meta name="google-site-verification" content="H7LxlilrDfbkX34sqq1X1JwoSCX0c6v15HhUYx49YtE" />
8
8
  <meta name="msvalidate.01" content="9174ACA637FC44E24AD81253FF836544" />
9
- <!-- <meta http-equiv="X-UA-Compatible" content="IE=7" />|||I AM THE RUM HEADER|||
9
+ <!-- <meta http-equiv="X-UA-Compatible" content="IE=7" />|||I AM THE RUM FOOTER||||||I AM THE RUM HEADER|||
10
10
  -->
11
11
  <!--
12
12
  this is a comment
@@ -20,5 +20,5 @@
20
20
  </head>
21
21
  <body>
22
22
  Cribbed from the Java agent
23
- |||I AM THE RUM FOOTER|||</body>
23
+ </body>
24
24
  </html>
@@ -6,7 +6,7 @@
6
6
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7
7
  <meta name="google-site-verification" content="H7LxlilrDfbkX34sqq1X1JwoSCX0c6v15HhUYx49YtE" />
8
8
  <meta name="ms<validate>.01" content="9174ACA637FC44E24AD81253FF836544" />
9
- <!-- <meta http-equiv="X-UA-Compatible" content="IE=7" />|||I AM THE RUM HEADER|||
9
+ <!-- <meta http-equiv="X-UA-Compatible" content="IE=7" />|||I AM THE RUM FOOTER||||||I AM THE RUM HEADER|||
10
10
  -->
11
11
  <!--
12
12
  this is a comment
@@ -23,5 +23,5 @@
23
23
  </head>
24
24
  <body>
25
25
  Cribbed from the Java agent
26
- |||I AM THE RUM FOOTER|||</body>
26
+ </body>
27
27
  </html>
@@ -6,7 +6,7 @@
6
6
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7
7
  <meta name="google-site-verification" content="H7LxlilrDfbkX34sqq1X1JwoSCX0c6v15HhUYx49YtE" />
8
8
  <meta name="ms<validate>.01" content="9174ACA637FC44E24AD81253FF836544" />
9
- <!-- <meta http-equiv="X-UA-Compatible" content="IE=7" />|||I AM THE RUM HEADER|||
9
+ <!-- <meta http-equiv="X-UA-Compatible" content="IE=7" />|||I AM THE RUM FOOTER||||||I AM THE RUM HEADER|||
10
10
  -->
11
11
  <!--
12
12
  this is a comment
@@ -20,5 +20,5 @@
20
20
  </head>
21
21
  <body>
22
22
  Cribbed from the Java agent
23
- |||I AM THE RUM FOOTER|||</body>
23
+ </body>
24
24
  </html>
@@ -6,7 +6,7 @@
6
6
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7
7
  <meta name="google-s"ite<-verif>ication" content="H7LxlilrDfbkX34sqq1X1JwoSCX0c6v15HhUYx49YtE" />
8
8
  <meta name="ms<validate>.01" content="9174ACA637FC44E24AD81253FF836544" />
9
- <!-- <meta http-equiv="X-UA-Compatible" content="IE=7" />|||I AM THE RUM HEADER|||
9
+ <!-- <meta http-equiv="X-UA-Compatible" content="IE=7" />|||I AM THE RUM FOOTER||||||I AM THE RUM HEADER|||
10
10
  -->
11
11
  <!--
12
12
  this is a comment
@@ -20,5 +20,5 @@
20
20
  </head>
21
21
  <body>
22
22
  Cribbed from the Java agent
23
- |||I AM THE RUM FOOTER|||</body>
23
+ </body>
24
24
  </html>
@@ -6,7 +6,7 @@
6
6
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7
7
  <meta name='google-site-verification' content='H7LxlilrDfbkX34sqq1X1JwoSCX0c6v15HhUYx49YtE\' />
8
8
  <meta name='ms<validate>.01' content='9174ACA637FC44E24AD81253FF836544\' />
9
- <!-- <meta http-equiv="X-UA-Compatible" content="IE=7" />|||I AM THE RUM HEADER|||
9
+ <!-- <meta http-equiv="X-UA-Compatible" content="IE=7" />|||I AM THE RUM FOOTER||||||I AM THE RUM HEADER|||
10
10
  -->
11
11
  <!--
12
12
  this is a comment
@@ -21,5 +21,5 @@
21
21
  </head>
22
22
  <body>
23
23
  Cribbed from the Java agent
24
- |||I AM THE RUM FOOTER|||</body>
24
+ </body>
25
25
  </html>
@@ -6,7 +6,7 @@
6
6
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7
7
  <meta name='google-site-verification' content='H7LxlilrDfbkX34sqq1X1JwoSCX0c6v15HhUYx49YtE\' />
8
8
  <meta name='m's<validate>.01' content='9174ACA637FC44E24AD81253FF836544\' />
9
- <!-- <meta http-equiv="X-UA-Compatible" content="IE=7" />|||I AM THE RUM HEADER|||
9
+ <!-- <meta http-equiv="X-UA-Compatible" content="IE=7" />|||I AM THE RUM FOOTER||||||I AM THE RUM HEADER|||
10
10
  -->
11
11
  <!--
12
12
  this is a comment
@@ -21,5 +21,5 @@
21
21
  </head>
22
22
  <body>
23
23
  Cribbed from the Java agent
24
- |||I AM THE RUM FOOTER|||</body>
24
+ </body>
25
25
  </html>
@@ -1,10 +1,10 @@
1
1
  <html>
2
- <head>|||I AM THE RUM HEADER|||
2
+ <head>|||I AM THE RUM FOOTER||||||I AM THE RUM HEADER|||
3
3
 
4
4
  <link href="/>
5
5
  <link href=/>
6
6
  </head>
7
7
  <body>
8
8
  Cribbed from the Java agent
9
- |||I AM THE RUM FOOTER|||</body>
9
+ </body>
10
10
  </html>
@@ -1,7 +1,7 @@
1
1
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
2
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
3
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- |||I AM THE RUM HEADER|||<body>
4
+ |||I AM THE RUM FOOTER||||||I AM THE RUM HEADER|||<body>
5
5
  Cribbed from the Java agent
6
- |||I AM THE RUM FOOTER|||</body>
6
+ </body>
7
7
  </html>
@@ -1,3 +1,3 @@
1
- |||I AM THE RUM HEADER|||<body>
1
+ |||I AM THE RUM FOOTER||||||I AM THE RUM HEADER|||<body>
2
2
  This isn't great HTML but it's what we've got.
3
- |||I AM THE RUM FOOTER|||</body>
3
+ </body>
@@ -3,7 +3,7 @@
3
3
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
4
 
5
5
  </head>
6
- |||I AM THE RUM HEADER|||<body>
6
+ |||I AM THE RUM FOOTER||||||I AM THE RUM HEADER|||<body>
7
7
  Cribbed from the Java agent
8
- |||I AM THE RUM FOOTER|||</body>
8
+ </body>
9
9
  </html>
@@ -1,7 +1,7 @@
1
1
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
2
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
3
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>|||I AM THE RUM HEADER|||
4
+ <head>|||I AM THE RUM FOOTER||||||I AM THE RUM HEADER|||
5
5
 
6
6
  <anotherTag>Castor
7
7
  </anotherTag>
@@ -14,6 +14,6 @@
14
14
  strFrameInfoWrapper+= "</div>";
15
15
  strFrameInfoWrapper+= "</body>";
16
16
  </script>
17
- |||I AM THE RUM FOOTER|||</body>
17
+ </body>
18
18
 
19
19
  </html>
@@ -1,7 +1,7 @@
1
1
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
2
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
3
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>|||I AM THE RUM HEADER|||
4
+ <head>|||I AM THE RUM FOOTER||||||I AM THE RUM HEADER|||
5
5
  <title>Castor</title>
6
6
  </head>
7
7
  <body>
@@ -12,6 +12,6 @@
12
12
  strFrameInfoWrapper+= "</div>";
13
13
  strFrameInfoWrapper+= "</body>";
14
14
  </script>
15
- |||I AM THE RUM FOOTER|||</body>
15
+ </body>
16
16
 
17
17
  </html>
@@ -1,10 +1,10 @@
1
1
  <html>
2
2
  <head>
3
3
  <title>im a title</title>
4
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>|||I AM THE RUM HEADER|||
4
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>|||I AM THE RUM FOOTER||||||I AM THE RUM HEADER|||
5
5
  <script>
6
6
  junk
7
7
  </script>
8
8
  </head>
9
- <body>im some body text|||I AM THE RUM FOOTER|||</body>
9
+ <body>im some body text</body>
10
10
  </html>
@@ -2,10 +2,10 @@
2
2
  <head>
3
3
  <title>im a title</title>
4
4
  <META http-equiv='x-ua-compatible'
5
- content="IE=edge,chrome=1" />|||I AM THE RUM HEADER|||
5
+ content="IE=edge,chrome=1" />|||I AM THE RUM FOOTER||||||I AM THE RUM HEADER|||
6
6
  <script>
7
7
  junk
8
8
  </script>
9
9
  </head>
10
- <body>im some body text|||I AM THE RUM FOOTER|||</body>
10
+ <body>im some body text</body>
11
11
  </html>
@@ -1,11 +1,11 @@
1
1
  <html>
2
2
  <head>
3
3
  <title>im a title</title>
4
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>|||I AM THE RUM HEADER|||
4
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>|||I AM THE RUM FOOTER||||||I AM THE RUM HEADER|||
5
5
  <meta name="keywords" content="testing,rum,insertion" >
6
6
  <script>
7
7
  junk
8
8
  </script>
9
9
  </head>
10
- <body>im some body text|||I AM THE RUM FOOTER|||</body>
10
+ <body>im some body text</body>
11
11
  </html>
@@ -1,10 +1,10 @@
1
1
  <html>
2
2
  <head>
3
3
  <title>im a title</title>
4
- <META http-equiv='x-ua-compatible' content="IE=edge,chrome=1" />|||I AM THE RUM HEADER|||
4
+ <META http-equiv='x-ua-compatible' content="IE=edge,chrome=1" />|||I AM THE RUM FOOTER||||||I AM THE RUM HEADER|||
5
5
  <script>
6
6
  junk
7
7
  </script>
8
8
  </head>
9
- <body>im some body text|||I AM THE RUM FOOTER|||</body>
9
+ <body>im some body text</body>
10
10
  </html>
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: newrelic_rpm
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.9.171
5
- prerelease:
4
+ version: 3.7.0.174.beta
5
+ prerelease: 10
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jason Clark
@@ -40,7 +40,7 @@ cert_chain:
40
40
  cHUySWFQWE92bTNUOEc0TzZxWnZobkxoL1VpZW4rK0RqOGVGQmVjVFBvTThw
41
41
  VmpLM3BoNQpuL0V3dVpDY0U2Z2h0Q0NNCi0tLS0tRU5EIENFUlRJRklDQVRF
42
42
  LS0tLS0K
43
- date: 2013-11-07 00:00:00.000000000 Z
43
+ date: 2013-11-22 00:00:00.000000000 Z
44
44
  dependencies:
45
45
  - !ruby/object:Gem::Dependency
46
46
  name: rake
@@ -934,27 +934,11 @@ files:
934
934
  - lib/new_relic/build.rb
935
935
  homepage: http://www.github.com/newrelic/rpm
936
936
  licenses: []
937
- post_install_message: ! "# New Relic Ruby Agent Release Notes #\n\n## v3.6.9 ##\n\n*
938
- Experimental Rubinius 2.x support\n\n The agent is now being tested against the
939
- latest version of Rubinius. While\n support is still considered experimental, you
940
- can track the progress at\n http://docs.newrelic.com/docs/ruby/rubinius for up
941
- to date status.\n\n* Capture arguments for Resque and Sidekiq jobs\n\n The agent
942
- can optionally record arguments for your Resque and Sidekiq jobs on\n transaction
943
- traces and traced errors. This is disabled by default, but may be\n enabled by
944
- setting resque.capture_params or sidekiq.capture_params.\n\n Thanks to Juan Ignacio
945
- Pumarino, Ken Mayer, Paul Henry, and Eric Saxby for\n their help with this feature!\n\n*
946
- Supported versions rake task and documentation\n\n We've improved our documentation
947
- for what Ruby and gem versions we support.\n Run `rake newrelic:supported_versions`
948
- or see the latest agent's versions at\n https://docs.newrelic.com/docs/ruby/supported-frameworks.\n\n*
949
- ActiveRecord 4.0 explain plans for JRuby and Rubinius\n\n The agent's ActiveRecord
950
- 4.0 instrumentation could not gather SQL explain\n plans on JRuby by default because
951
- of a dependency on ObjectSpace, which isn't\n avialable by default. This has been
952
- fixed.\n\n* Fix for Curb http_put_with_newrelic\n\n A bug in the agent caused PUT
953
- calls in the Curb gem to crash. This has been\n fixed. Thanks to Michael D'Auria
954
- and Kirk Diggler for the contributions!\n\n* Fix for head position on RUM injection\n\n
955
- \ Certain unusual HTML documents resulted in browser monitoring injecting\n incorrect
956
- content. Thanks Alex McHale for the contribution!\n\n* Specify the Content-Type
957
- header in developer mode\n\n Thanks Jared Ning for the contribution!\n\nSee https://github.com/newrelic/rpm/blob/master/CHANGELOG
937
+ post_install_message: ! "# New Relic Ruby Agent Release Notes #\n\n## v3.7.0 ##\n\n*
938
+ RUM injection updates\n\n The Ruby agent's code for both automatically and manually
939
+ injecting the Real\n User Monitoring scripts has been updated. This should not
940
+ require\n application changes, but does result in a different script being injected\n
941
+ \ than previous versions of the agent.\n\nSee https://github.com/newrelic/rpm/blob/master/CHANGELOG
958
942
  for a full list of\nchanges.\n"
959
943
  rdoc_options:
960
944
  - --line-numbers