lamian 1.1.0 → 1.1.1

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: 5fed5c60bd57fa0cd1e33f57ee3ffebd8009ee7c
4
- data.tar.gz: 6c6324fa43333c990e1562e0a8cb2e63f7871496
3
+ metadata.gz: acfdd2f6cab9189ff775abbc103bd865e527793c
4
+ data.tar.gz: a002daaa006afc8fffbd093455641330f78065e8
5
5
  SHA512:
6
- metadata.gz: e3b733bccc6a50fadefe5eac089eead5fa764a3dff4b3363049f5ad773d9f970a19b5e5e0395741ad3cd5bf8c6a7f6b01d583c9fa6d987fb4dce68c019c0034e
7
- data.tar.gz: 6e966db934eee4fafe40ffb69c155dafb8b9f3d6ad15d53346b12b4c26a149ab1751d6bb23cfd2fd6317d05f81e3d787f965209f18bd0388771965307e8305f4
6
+ metadata.gz: 27c3758a4a0892c95328a6178c5f7f7c9fb60ca0be3f9d53e85364f5e0537d4ac746a1ed7b6f84f3ef08106b7fa002f3eef6d953f7b6b7d89013259e009a7dc9
7
+ data.tar.gz: f8d3853c8b295e43e3293d8f73b5f50b5466fee09e493595d9deb1a25d50c9d44afca6219ceec9c6ae2ff010f43fdd981f318085970c5a6e897370d99578b6e4
@@ -6,8 +6,6 @@ module Lamian::RavenContextExtension
6
6
  # @see https://www.rubydoc.info/gems/sentry-raven/0.9.2/Raven/Context#extra-instance_method
7
7
  def extra
8
8
  log = Lamian.dump(format: :txt)
9
- return super unless log
10
- extra = super || {}
11
- extra.merge(lamian_log: log)
9
+ log ? super.merge!(lamian_log: log) : super
12
10
  end
13
11
  end
@@ -8,7 +8,7 @@ class Lamian::SidekiqRavenMiddleware
8
8
  begin
9
9
  yield
10
10
  rescue Exception # rubocop:disable Lint/RescueException
11
- Raven.extra_context(lamian_log: Lamian.dump(format: :txt))
11
+ Raven.extra_context # Just trigger saving of the current log
12
12
  raise
13
13
  end
14
14
  end
@@ -13,5 +13,5 @@ module Lamian
13
13
  # According to this, it is enought to specify '~> a.b'
14
14
  # if private API was not used and to specify '~> a.b.c' if it was
15
15
 
16
- VERSION = "1.1.0"
16
+ VERSION = "1.1.1"
17
17
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lamian
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - JelF