newrelic-redis 2.0.1 → 2.0.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7a4c3a1c3ae042a9aede5ed1112af2ffd541283d
4
- data.tar.gz: d8468affa825527e4532f926549a58afaeb5cfb5
3
+ metadata.gz: ce1eb19de26c9b91abceded3334702b3fc92de9c
4
+ data.tar.gz: 38d20933dea0927e01480f4937b344b1437beaf7
5
5
  SHA512:
6
- metadata.gz: dab5de4d09dc8eddfc7f6e055f6a979853beae3fb740a3d80deded35047aedc8e9eced43d0aedcba44ae9ce4a76088d8c9dea4a5efa965c3ca2f4f2135680049
7
- data.tar.gz: b030fd2cbd4718d47313b38bdf3d12f785365a974b1eecf4295492162300c594dfe3f47b6b2732e4bd8211067edc163a7e6b4edec8bbea4004d9b316f7371b41
6
+ metadata.gz: 671a0c44eec62a07c68ffe220289afcd4bc79294483ce4d8a1a5cf6f3243b01610e68936e75042528aa5b387cabc0c8f0402fae46fa37498a6ee3dc5ed195c75
7
+ data.tar.gz: 2dbba82c7918af3be4cab33705e552b64deaf4e13bb23f8aba49db3a791af4eded68c42d82e64f5dc79d0187ec47420efed11468c3b51fff483379456b6d5921
@@ -1,3 +1,8 @@
1
+ === 2.0.2 / 2015-05-07
2
+
3
+ * 1 minor bugfix:
4
+ * Actually fix now blowing up when obfuscating data
5
+
1
6
  === 2.0.1 / 2015-05-07
2
7
 
3
8
  * 1 minor bugfix:
data/Rakefile CHANGED
@@ -49,6 +49,7 @@ Hoe.plugin :git
49
49
 
50
50
  HOE = Hoe.spec 'newrelic-redis' do
51
51
  developer 'Evan Phoenix', 'evan@phx.io'
52
+ license "BSD"
52
53
 
53
54
  dependency "redis", "< 4.0"
54
55
  dependency "newrelic_rpm", "~> 3.11"
@@ -72,8 +72,12 @@ 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
- unless args.empty?
76
- args.map! { |arg| [arg.first] + ["?"] * (arg.count - 1) }
75
+ args.map! do |arg|
76
+ if arg.empty?
77
+ arg
78
+ else
79
+ [arg.first] + ["?"] * (arg.count - 1)
80
+ end
77
81
  end
78
82
  end
79
83
  NewRelic::Agent::Datastores.notice_statement(args.inspect, elapsed)
@@ -1,3 +1,3 @@
1
1
  class NewRelicRedis
2
- VERSION = '2.0.1'
2
+ VERSION = '2.0.2'
3
3
  end
@@ -1,24 +1,23 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: newrelic-redis 1.5.0 ruby lib
2
+ # stub: newrelic-redis 2.0.2 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "newrelic-redis"
6
- s.version = "1.5.0"
6
+ s.version = "2.0.2"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib"]
10
10
  s.authors = ["Evan Phoenix"]
11
- s.date = "2015-03-18"
11
+ s.date = "2015-04-08"
12
12
  s.description = "Redis instrumentation for Newrelic."
13
13
  s.email = ["evan@phx.io"]
14
- s.extra_rdoc_files = ["History.txt", "Manifest.txt", "README.txt"]
15
- s.files = [".autotest", ".gemtest", "History.txt", "Manifest.txt", "README.txt", "Rakefile", "lib/newrelic-redis.rb", "lib/newrelic_redis/instrumentation.rb", "lib/newrelic_redis/version.rb", "newrelic-redis.gemspec", "test/test.conf", "test/test_newrelic_redis.rb"]
14
+ s.extra_rdoc_files = ["History.txt", "Manifest.txt", "README.md"]
15
+ s.files = [".autotest", ".gemtest", "History.txt", "Manifest.txt", "README.md", "Rakefile", "lib/newrelic-redis.rb", "lib/newrelic_redis/instrumentation.rb", "lib/newrelic_redis/version.rb", "newrelic-redis.gemspec", "test/test.conf", "test/test_newrelic_redis.rb"]
16
16
  s.homepage = "http://github.com/evanphx/newrelic-redis"
17
- s.licenses = ["MIT"]
17
+ s.licenses = ["BSD"]
18
18
  s.rdoc_options = ["--main", "README.md"]
19
19
  s.rubygems_version = "2.2.2"
20
20
  s.summary = "Redis instrumentation for Newrelic."
21
- s.test_files = ["test/test_newrelic_redis.rb"]
22
21
 
23
22
  if s.respond_to? :specification_version then
24
23
  s.specification_version = 4
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: newrelic-redis
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Phoenix
@@ -90,7 +90,7 @@ files:
90
90
  - test/test_newrelic_redis.rb
91
91
  homepage: http://github.com/evanphx/newrelic-redis
92
92
  licenses:
93
- - MIT
93
+ - BSD
94
94
  metadata: {}
95
95
  post_install_message:
96
96
  rdoc_options: