lambdakiq 1.0.2 → 1.0.3

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: 66ee8bddcec048e20486b4c34b79650805407612f6b83edbb5dcfb4e436584b3
4
- data.tar.gz: 91535d3c53e692e1f8c4d1426dd6543e1adf7dcba712028fa9b57d5e61e8cf4d
3
+ metadata.gz: 3f6c1f6c45eb8d1a8a5188e4e70e63ed36b05bbf334a807cef72c523d6661b55
4
+ data.tar.gz: 4a9683cd82caadeedbbba483686c9584a0c0591bf85e63198202b4af0b414bf7
5
5
  SHA512:
6
- metadata.gz: b2785043b2b96a82d9a0727d07edc7601673cf216d2e928418c203d1dc051a8e71bf95bef9dd23942a7477d1a585a8be135444b80fe6c4953ad2eaed3dec5f61
7
- data.tar.gz: 9b4285d5881a4c335065edecc44e8b145b8ba15dc8881220784ad3c0ff9ab9ee7a65cd078efca27a02ce820812770ff947e1b521e2d887dfe476d4207196092a
6
+ metadata.gz: 812d898f39463401a4dc348213b75b40d1892618a575f58791edfd7d168304ead00bf562831d414533304ccb83e00e826e0a8c43653c19432c9a190100e1ca15
7
+ data.tar.gz: 144f18512e4db39eae43f6299fa81e48750e0438540ccd03a3e831a5efd914639cc20fec86ebb820ec5aeff1c6cb4ce5a4a2396b34d495f1f3788b486d55aa48
data/CHANGELOG.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  See this http://keepachangelog.com link for information on how we want this documented formatted.
4
4
 
5
- ## v1.0.2
5
+ ## v1.0.2, v1.0.3
6
6
 
7
7
  #### Fixed
8
8
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lambdakiq (1.0.2)
4
+ lambdakiq (1.0.3)
5
5
  activejob
6
6
  aws-sdk-sqs
7
7
  concurrent-ruby
@@ -56,6 +56,7 @@ module Lambdakiq
56
56
  end
57
57
 
58
58
  def instrument!
59
+ return unless lambdakiq?
59
60
  put_metric 'Duration', event.duration.to_i, 'Milliseconds'
60
61
  put_metric 'Count', 1, 'Count'
61
62
  put_metric 'ExceptionCount', 1, 'Count' if exception_name
@@ -1,3 +1,3 @@
1
1
  module Lambdakiq
2
- VERSION = '1.0.2'
2
+ VERSION = '1.0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lambdakiq
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Collins