funktor 0.7.28 → 0.7.29

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
  SHA256:
3
- metadata.gz: 2dec96dc948fcba2229478780e99336bc02441367d4e983c260bc64a91a8994a
4
- data.tar.gz: 93da2f42dc12e42c2d589675839cc18b3c38fa9eddc479993a2d89a1064aec18
3
+ metadata.gz: dc2b8fd9bad2bcfa73c2eb5f7db5da733cb3abaa9fa9fb1d3903d895b8c43c8e
4
+ data.tar.gz: 782afbe2de67f9fbe35e1a68fae7bf9fa80edd342af1c08cde4ce87535c152a1
5
5
  SHA512:
6
- metadata.gz: 93f042ad21b600a43112255347afab9ba9349f70da15961121b2281ba4f93ef5d840ea4383d38b9dd0e1f9e36fed373771182770eb6cfd27ffbff7186ea24890
7
- data.tar.gz: 3595243efb050367bcff3a471901641fde331169ebee669049aa9543d61e1d75a0b3b495c4832ed2dc8a867732e88a378d3bbe8056fe27f8073cd4c9d8a3cf69
6
+ metadata.gz: c985f55a5fe9fd70a7572ae40f45536180f3ab08740a529c5df2cbf0627d5aae12e7a190ee6bfcc5aadedee2b1667d9b986aa85f915e22eda421a314d853159a
7
+ data.tar.gz: e2d62a4d78348a957e7cb296526fd4010632a96a47aa8874fe84f14093d73dd450c80c9ef3b04519d4f75f7c4db0c435dd26008c3bff7fa9cb26976e16273bfe
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- funktor (0.7.28)
4
+ funktor (0.7.29)
5
5
  activesupport
6
6
  aws-sdk-dynamodb (~> 1.62)
7
7
  aws-sdk-sqs (~> 1.37)
@@ -1,10 +1,11 @@
1
- require 'newrelic_rpm'
1
+ require 'new_relic/agent'
2
2
  module Funktor
3
3
  module Middleware
4
4
  class NewRelic
5
5
  include ::NewRelic::Agent::Instrumentation::ControllerInstrumentation
6
6
 
7
7
  def call(job)
8
+ ::NewRelic::Agent.manual_start(:sync_startup => true)
8
9
  trace_args = {
9
10
  :name => 'perform',
10
11
  :class_name => job.worker_class_name_for_metrics,
@@ -16,6 +17,7 @@ module Funktor
16
17
  ::NewRelic::Agent::AttributeFilter::DST_NONE)
17
18
  yield
18
19
  end
20
+ ::NewRelic::Agent.shutdown
19
21
  end
20
22
  end
21
23
  end
@@ -1,3 +1,3 @@
1
1
  module Funktor
2
- VERSION = "0.7.28"
2
+ VERSION = "0.7.29"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: funktor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.28
4
+ version: 0.7.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Green