newrelic_rpm 3.11.0.283 → 3.11.1.284

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4556b4a30019cb741eba3e669f57af080c0189e3
4
- data.tar.gz: cc3e6812a23b94c1e5ea69a6ccc442afb5c08ad7
3
+ metadata.gz: 5a71bd82de45fa922b3f919abdffe33cf912d246
4
+ data.tar.gz: d446b74d6f795459bda5a62778656891b72da57d
5
5
  SHA512:
6
- metadata.gz: d758439faefa78cb3673721f575f8cdf07caadcafd124e6d61f16676a3bd76874d8a92d0817e564bf8842ab19e1e494a0a80597a0872c6cc158b8db0dc7b1212
7
- data.tar.gz: a14aa6eb45971e5b4f9ddc45376c3ef8d0b737cfb968bd07ffe48f77855abe80a9ce0091490f8927b37c988ad4df3b861257e46684b2c815e585f77207b1cbd6
6
+ metadata.gz: dbab9fd70fb4093a30cf107cc5be8bbbe1fe8611786acdbda620d4e393f2028f9f6bc1032e283b5aa4b534554a61a9e832010d53ca89ceaa5dd64fe852b75bbb
7
+ data.tar.gz: 5ccc9605c5c54e7fba3655e888eb108b57581384d5eaa3e1b84e84eb3c8c093a6cb48ca41cdf30b883ca4c90377aa2dc7ab129bd9fee7fac931f5ebd838e8c2e
data/CHANGELOG CHANGED
@@ -1,5 +1,13 @@
1
1
  # New Relic Ruby Agent Release Notes #
2
2
 
3
+ ## v3.11.1 ##
4
+
5
+ * Fix for segmentation fault with sequel_pg 1.6.11
6
+
7
+ The Ruby agent incorrectly rescued exceptions at a point which caused
8
+ sequel_pg 1.6.11 to segfault. This has been fixed. Thanks to Oldrich
9
+ Vetesnik for the report!
10
+
3
11
  ## v3.11.0 ##
4
12
 
5
13
  * Unified view for SQL database and NoSQL datastore products.
@@ -12,7 +12,7 @@ module NewRelic
12
12
 
13
13
  MAJOR = 3
14
14
  MINOR = 11
15
- TINY = 0
15
+ TINY = 1
16
16
 
17
17
  begin
18
18
  require File.join(File.dirname(__FILE__), 'build')
@@ -43,8 +43,6 @@ module Sequel
43
43
  t0 = Time.now
44
44
  begin
45
45
  rval = super
46
- rescue => err
47
- NewRelic::Agent.logger.debug "while recording metrics for Sequel", err
48
46
  ensure
49
47
  notice_sql(sql, scoped_metric, args, t0, Time.now)
50
48
  end
@@ -66,6 +66,13 @@ class SequelExtensionTest < Minitest::Test
66
66
  assert_datastore_metrics_recorded_exclusive(expected_metrics_for_operation(:insert))
67
67
  end
68
68
 
69
+ def test_doesnt_block_constraint_errors
70
+ first_post = @posts.insert(:title => 'The Thing', :content => 'A wicked short story.')
71
+ assert_raises(Sequel::DatabaseError) do
72
+ @posts.insert(:id => first_post, :title => 'Copy Cat', :content => 'A wicked short story.')
73
+ end
74
+ end
75
+
69
76
  def test_update
70
77
  in_web_transaction do
71
78
  @posts.where(:id => @post[:id]).update( :title => 'A Lot of the Things' )
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: 3.11.0.283
4
+ version: 3.11.1.284
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Clark
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2015-03-13 00:00:00.000000000 Z
15
+ date: 2015-03-23 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rake