newrelic-cql 0.1.0 → 0.2.1

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,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 027f9146853f8a7c22111d4db6ff6e2a957b2f81
4
- data.tar.gz: fa424c4164b54abbea0e5e1ce562a7c5e3d507e3
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NWFmMzIwZjgzMGQzYTczMTViMjQ0ODUzMTMzYTcxY2VlZTQ2YzgyMA==
5
+ data.tar.gz: !binary |-
6
+ OTJiZjA3YWEzZDJlMjFkZTI0YmM5MjU1MjBkN2M1YmQxNDIxMTY1Ng==
5
7
  SHA512:
6
- metadata.gz: fdca187222d937ebb68e13f19028388572b865385fda9f1fd11569582f01d1b1f4e97c0696f6aae1a3e65f5ad22f5be5557145fd05109e0e6e8658c1cae214df
7
- data.tar.gz: c6472037cb2ae3cd4a18e941a67a1e95c730e7ad6d54db085ecc73c3091ea5426f896f62603b00b3b68ba5147e706e1291bb0660660d173447bbc5ccb33b8156
8
+ metadata.gz: !binary |-
9
+ MDI5NzYyY2ZiMjI2NDBjNDQ3NGQ5ZjYxYzkzODk4ZWY1ODdlZWI5YjEwYzg3
10
+ ZDgwMjMzOTUyOWU1OWEyMTlhZTM4MzAzNjljYThkYWM5ZTYxN2Q2M2JiMTY0
11
+ YWUyM2Q2YTY5NGIyZDRjZjFlMzRiZTBhYWZmMmEyNDU0MTdiM2Q=
12
+ data.tar.gz: !binary |-
13
+ Y2MwOGRmZjIxNDEwMDc0MzdlMThkZTllNTk1Zjc1MzllZDJjNWY1ZWZlMTZk
14
+ YTdiNGY0MzY5OWY0NDFhMDc5OGQyNGY4MTk0ODAyMzg1NzE5ZDk5NWU0M2Q0
15
+ NDZjNDdjNjFmNTU1MjdlMDJiYTZiNzU0MTUxZmVkN2M0NWE5ODE=
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2014 Change.org, Inc
1
+ Copyright (c) 2015 Change.org, Inc
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
- # NewRelic for cql-rb
1
+ # NewRelic for Cassandra ruby-driver
2
2
 
3
3
  Unofficial [NewRelic](http://newrelic.com/) instrumentation for the
4
- [cql-rb](https://github.com/iconara/cql-rb) Cassandra database ruby gem.
4
+ [DataStax Cassandra ruby-driver](https://github.com/datastax/ruby-driver) gem.
5
5
 
6
6
  ## Installation
7
7
 
@@ -17,6 +17,10 @@ Or install it yourself with:
17
17
 
18
18
  $ gem install newrelic-cql
19
19
 
20
+ ## Releases
21
+ * 0.2.0 Support for the [DataStax ruby-driver](https://github.com/datastax/ruby-driver) gem
22
+ * 0.1.0 Support for [cql-rb](https://github.com/iconara/cql-rb) gem
23
+
20
24
  ## Contributing
21
25
 
22
26
  1. Fork it
@@ -2,23 +2,24 @@
2
2
  require 'new_relic/agent'
3
3
 
4
4
  DependencyDetection.defer do
5
- named :cql
5
+ named :cassandra
6
6
 
7
7
  depends_on do
8
- defined?(::Cql)
8
+ defined?(::Cassandra::Session)
9
9
  end
10
10
 
11
11
  executes do
12
- ::NewRelic::Agent.logger.info 'Installing Cassandra Cql instrumentation'
12
+ ::NewRelic::Agent.logger.info 'Installing Cassandra ruby-driver instrumentation'
13
13
  end
14
14
 
15
15
  executes do
16
16
  require 'new_relic/agent/datastores'
17
17
 
18
- [::Cql::Client::AsynchronousClient, ::Cql::Client::SynchronousClient].each do |klass|
18
+ [::Cassandra::Session].each do |klass|
19
19
  NewRelic::Agent::Datastores.trace klass, :prepare, 'Cql'
20
- NewRelic::Agent::Datastores.trace klass, :execute, 'Cql'
21
20
  NewRelic::Agent::Datastores.trace klass, :batch, 'Cql'
21
+ NewRelic::Agent::Datastores.trace klass, :execute, 'Cql'
22
+ NewRelic::Agent::Datastores.trace klass, :execute_async, 'Cql'
22
23
  end
23
24
  end
24
25
  end
@@ -1,3 +1,3 @@
1
1
  module NewrelicCql
2
- VERSION = '0.1.0'
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,32 +1,38 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: newrelic-cql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
- - Kyle VanderBeek
7
+ - Kyle VanderBeek, Mark Dimas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-26 00:00:00.000000000 Z
11
+ date: 2015-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: newrelic_rpm
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '3.11'
20
+ - - ! '>='
18
21
  - !ruby/object:Gem::Version
19
22
  version: 3.11.0.283
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - ">="
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '3.11'
30
+ - - ! '>='
25
31
  - !ruby/object:Gem::Version
26
32
  version: 3.11.0.283
27
- description: Unofficial New Relic instrumentation for cql-rb
33
+ description: Unofficial New Relic instrumentation for DataStax Cassandra ruby-driver
28
34
  email:
29
- - kyle@change.org
35
+ - mark@change.org
30
36
  executables: []
31
37
  extensions: []
32
38
  extra_rdoc_files: []
@@ -46,18 +52,18 @@ require_paths:
46
52
  - lib
47
53
  required_ruby_version: !ruby/object:Gem::Requirement
48
54
  requirements:
49
- - - ">="
55
+ - - ! '>='
50
56
  - !ruby/object:Gem::Version
51
57
  version: '0'
52
58
  required_rubygems_version: !ruby/object:Gem::Requirement
53
59
  requirements:
54
- - - ">="
60
+ - - ! '>='
55
61
  - !ruby/object:Gem::Version
56
62
  version: '0'
57
63
  requirements: []
58
64
  rubyforge_project:
59
- rubygems_version: 2.4.5
65
+ rubygems_version: 2.4.8
60
66
  signing_key:
61
67
  specification_version: 4
62
- summary: Unofficial New Relic instrumentation for cql-rb
68
+ summary: Unofficial New Relic instrumentation for DataStax Cassandra ruby-driver
63
69
  test_files: []