newrelic-redis 2.0.0 → 2.0.1

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: 9f694726dbf03d588753badff81b3e75171cc1af
4
- data.tar.gz: 9b2ca6a10ee6173dc8408cf559ffaaa1aef88faa
3
+ metadata.gz: 7a4c3a1c3ae042a9aede5ed1112af2ffd541283d
4
+ data.tar.gz: d8468affa825527e4532f926549a58afaeb5cfb5
5
5
  SHA512:
6
- metadata.gz: dcdaca1a1d930db69d67150ce617cf04e0686a9dd8467e323cf7b332b78d2cfe30cd0b7474e1e0a0bbac2af9fc10989c8a90b8bfa0953ad636994c007ca8b11a
7
- data.tar.gz: 59bd9e713de9d368495dc6ec86a91cd72521a890f975e14b99b661570bf27765bfee5259347fd4a3076dcaa15d4cdc882ae08fd99fed50bf9aa4a314ee315e74
6
+ metadata.gz: dab5de4d09dc8eddfc7f6e055f6a979853beae3fb740a3d80deded35047aedc8e9eced43d0aedcba44ae9ce4a76088d8c9dea4a5efa965c3ca2f4f2135680049
7
+ data.tar.gz: b030fd2cbd4718d47313b38bdf3d12f785365a974b1eecf4295492162300c594dfe3f47b6b2732e4bd8211067edc163a7e6b4edec8bbea4004d9b316f7371b41
data/History.txt CHANGED
@@ -1,3 +1,13 @@
1
+ === 2.0.1 / 2015-05-07
2
+
3
+ * 1 minor bugfix:
4
+ * Don't blow up obfuscating data when there is no data
5
+
6
+ === 2.0.0 / 2015-03-18
7
+
8
+ * 1 feature:
9
+ * Switch to newer newrelic datastores format
10
+
1
11
  === 1.5.0 / 2014-08-25
2
12
 
3
13
  * 1 feature:
@@ -72,7 +72,9 @@ DependencyDetection.defer do
72
72
 
73
73
  def _send_to_new_relic(args, elapsed)
74
74
  if NewRelic::Control.instance["transaction_tracer.record_sql"] == "obfuscated"
75
- args.map! { |arg| [arg.first] + ["?"] * (arg.count - 1) }
75
+ unless args.empty?
76
+ args.map! { |arg| [arg.first] + ["?"] * (arg.count - 1) }
77
+ end
76
78
  end
77
79
  NewRelic::Agent::Datastores.notice_statement(args.inspect, elapsed)
78
80
  end
@@ -1,3 +1,3 @@
1
1
  class NewRelicRedis
2
- VERSION = '2.0.0'
2
+ VERSION = '2.0.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: newrelic-redis
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Phoenix
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-18 00:00:00.000000000 Z
11
+ date: 2015-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redis