level2 0.2.3 → 0.2.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: 55484925ce4a257280cf6b5762d994c5060a3407
4
- data.tar.gz: d0e5db0b945eb2b3ec842e3ea27521ba4babb598
3
+ metadata.gz: 27a9cf2b201325da3000773cdc47c52a133304ca
4
+ data.tar.gz: f5364609324618e30f5ab15401fb87603f685103
5
5
  SHA512:
6
- metadata.gz: c5a18e2485138ecf6c248c134fb53567e79be45e6f62f282d56eadba34d0e0cd4a0d1a1eafcd6df3b609eb3dce6f083afe20780d6a4428eea0e2ffdfa773fc3f
7
- data.tar.gz: a4b765d0b04f03a2887616e4d90bf920a61b29fdfbe7d534e0e6a11fa178250149696b48e8ffdd1048318bd50bcab2be5600e8f0ea60824b86a532814da6b293
6
+ metadata.gz: e30683d7b1257d0e79e6045a3c9ecbd99e6086ab99526e0215f31bd7e52e18e9ded8a48a40a1a05d56add0aa5765f8a45813c2cebf951eaaa5227602d742b8af
7
+ data.tar.gz: a0921432783a2a4b68999b445a1845fbdd3d2755969e010a3a723a0b19f3bb1bf813411f7b1cc05e2d6d2e98175882dc483d5fd05994e51087ce4f66675efda8
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- level2 (0.2.3)
4
+ level2 (0.2.4)
5
5
  activesupport (~> 4)
6
6
 
7
7
  GEM
data/level2.gemspec CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'level2'
7
- spec.version = '0.2.3'
7
+ spec.version = '0.2.4'
8
8
  spec.authors = ['Julien Letessier']
9
9
  spec.email = ['julien.letessier@gmail.com']
10
10
 
@@ -29,7 +29,7 @@ module ActiveSupport
29
29
 
30
30
  def instrument(operation, key, options = nil, &block)
31
31
  super(operation, key, options) do |payload|
32
- payload[:level] = current_level
32
+ payload[:level] = current_level if payload
33
33
  block.call(payload)
34
34
  end
35
35
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: level2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Letessier