evanphx/newrelic-redis — pull request #6 by marcelow (2012-08-14 21:04:56+00:00)
Title: Changed Instrumentation Format

Hey Evan, how are you doing? I've been having some problems with Resque and the newrelic-redis gem (undefined method trace_execution_scoped for Redis::Client) which, apparently, have to do with the use of the DependencyDetection loading mechanism. I've changed the instrumentation format to something similar to newrelic_moped and newrelic-workling. Things are working again. I did have a 'invalid gemspec' error when trying to bundle but I think that it is related to ownership issues.

```
newrelic-redis at /home/marcelo/.bundler/ruby/1.9.1/newrelic-redis-9085e7a8b550 did not have a valid gemspec.
This prevents bundler from installing bins or native extensions, but that may not affect its functionality.
The validation message from Rubygems was:
[".gemtest"] are not files
```

I know this is a big commit, albeit most of it involves little change to the original method names and calls. Feel free to reject it if you think it's inadequate or that I didn't solve the problem as you'd do.

BTW, thanks for the great work :D