barsoom_utils 0.2.0.47 → 0.2.0.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c5cb55d7fb838999f5977d8b4c9c76955c2b5c528b325d05c48dc8f4a27be2a9
4
- data.tar.gz: 0747c7ca5e0375f3789c99d2e146d591ba1a39baa89f974b55e7b93c135505a6
3
+ metadata.gz: 8ce30232948e3d694c5441611dc2883cd22c0be7be570a33e85240a62f88359a
4
+ data.tar.gz: 47cfd119f77f6ac040a6ed45aa596f7a7034a06a256a2e4ad64dc03a1c272df4
5
5
  SHA512:
6
- metadata.gz: baa6c1845507c2ffac92a027a326641c2440780a8a40bf3620692d7aa3ae6c1497c754bc318e9d7a087c99cd8c833b08cd3381d9ee593bea0d7676b70409982c
7
- data.tar.gz: 9973f7385e23bc7888c4731dd1b329759e80e6b2af107f7fa47a273f03baace6ef8a10e1be03ff2ba6b612e0128cdf8256a76457a1ce6a5d4cfa15aa24f13e0e
6
+ metadata.gz: 8ba12a978bacd184b42b1103bb0b1f20ec4b51c257dc7a0c97271bf23ff3d197bfaac475afcdc9f768002e7ce33f847816b40696fb797da4a719b947873af194
7
+ data.tar.gz: df6ac5b5d68a16684f006f4b7cdabbf7824058c981be0f25b69a1b62533f1ce9d9b4d398180de69aba94225255b00f4bbd82294444f5c1a2ebab16a09402392b
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0.47
1
+ 0.2.0.48
@@ -37,14 +37,7 @@ module BarsoomUtils
37
37
 
38
38
  # Wrap this around code to add context when reporting errors.
39
39
  def self.run_with_context(context, &block)
40
- # The load/dump achieves a "deep dup" without the "deep dep" of Active Support 🥁
41
- old_context = Marshal.load(Marshal.dump(Honeybadger.get_context))
42
-
43
- Honeybadger.context(context)
44
- block.call
45
- ensure
46
- Honeybadger.context.clear!
47
- Honeybadger.context(old_context)
40
+ Honeybadger.context(context, &block)
48
41
  end
49
42
  end
50
43
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: barsoom_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.47
4
+ version: 0.2.0.48
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomas Skogberg
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-21 00:00:00.000000000 Z
11
+ date: 2024-12-13 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description:
13
+ description:
14
14
  email:
15
15
  - tomas.skogberg@gmail.com
16
16
  executables: []
@@ -47,7 +47,7 @@ licenses:
47
47
  - MIT
48
48
  metadata:
49
49
  rubygems_mfa_required: 'true'
50
- post_install_message:
50
+ post_install_message:
51
51
  rdoc_options: []
52
52
  require_paths:
53
53
  - lib
@@ -63,7 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
63
  version: '0'
64
64
  requirements: []
65
65
  rubygems_version: 3.2.33
66
- signing_key:
66
+ signing_key:
67
67
  specification_version: 4
68
68
  summary: Various helpful utils
69
69
  test_files: []