newrelic-dragonfly 0.0.3 → 0.0.4

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: d4034dddc94d3027cf42706b8f4331714d02f18f
4
- data.tar.gz: 4f8ae40b4b01a61c4993e34b0298f3b854c4126e
3
+ metadata.gz: fa044ea47c25f7e2e93ac8b672c548d7aa8742e6
4
+ data.tar.gz: 78ff6043d6df9a62afa4f559c4802ca54226d468
5
5
  SHA512:
6
- metadata.gz: 4a7efd36b1970de415d385a2b64c289a0a2b7acea85478a4526fa20fbdacc16e2865cf50471fe4ebd4b4db3cc1278240beaf53dafd86db7236a898160c89aa46
7
- data.tar.gz: 6a0a819d3e40aab17e0e95eaeff634e108a7a959715d32eb5fa8da4681e87247429821d275a5074057eb64c2edb559719dab4fb685f270376495ac80f7ab896d
6
+ metadata.gz: 087b35627851fbfd4b9724a8425540af0d178585227554c664361e47fcde27251e6004a2584a7b0a7c598e7c82dce171620778094f6d3e818471715c76711404
7
+ data.tar.gz: 49aa8e6bcc3aad8c5165bdb1907803994a7e9e6918a0b4c4161d36daf9fbce3a7ebd0c1c71fcaf3649cb09f89bdafb41a815b95f3a2e9189ce3bf89a540a9ebf
@@ -67,7 +67,7 @@ DependencyDetection.defer do
67
67
  end
68
68
 
69
69
  executes do
70
- class Dragonfly::DataStorage::FileDataStore
70
+ class Dragonfly::FileDataStore
71
71
  include NewRelic::Agent::MethodTracer
72
72
  add_method_tracer :write
73
73
  add_method_tracer :read
@@ -1,5 +1,5 @@
1
1
  module Newrelic
2
2
  module Dragonfly
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
@@ -18,6 +18,12 @@ describe Newrelic::Dragonfly do
18
18
  agent.transaction_sampler.last_sample.to_s.should include 'Controller/Rack/Dragonfly::App'
19
19
  end
20
20
 
21
+ it 'include file instrumentation' do
22
+ get app.create.fetch(uid).url
23
+ puts agent.transaction_sampler.last_sample.to_s
24
+ agent.transaction_sampler.last_sample.to_s.should include 'Dragonfly::FileDataStore'
25
+ end
26
+
21
27
  it 'include job instrumentation' do
22
28
  get app.create.fetch(uid).process(:thumb, '32x32').encode(:jpg).url
23
29
  agent.transaction_sampler.last_sample.to_s.should include 'Dragonfly::Job::Fetch'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: newrelic-dragonfly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - miyucy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-28 00:00:00.000000000 Z
11
+ date: 2014-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler