barsoom_utils 0.2.0.46 → 0.2.0.48

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: 9f815fd0f3b9666a593dc984814d0dfff89cc7820054230a1afef90141ba5e8e
4
- data.tar.gz: 73d378415f40db83813b6be3a914f545b7bd046728f8df31f2fdf614e1760e1a
3
+ metadata.gz: 8ce30232948e3d694c5441611dc2883cd22c0be7be570a33e85240a62f88359a
4
+ data.tar.gz: 47cfd119f77f6ac040a6ed45aa596f7a7034a06a256a2e4ad64dc03a1c272df4
5
5
  SHA512:
6
- metadata.gz: 35c5fdf740a757451fea9c84837f23ea8687a3fe3828f517f10a52539da10150f63c255d1ec2c75fe56dc54b35277463760c9d014573faab3dc34389cb2014a0
7
- data.tar.gz: 8ef78d9c7ae9b04815c5b106bace02fb4a803359870dddb7d0b45487fdaac4d2ae2da11d05106dae4645050aa64889c4cd1c83d0f7d51deda95b80584b4956e8
6
+ metadata.gz: 8ba12a978bacd184b42b1103bb0b1f20ec4b51c257dc7a0c97271bf23ff3d197bfaac475afcdc9f768002e7ce33f847816b40696fb797da4a719b947873af194
7
+ data.tar.gz: df6ac5b5d68a16684f006f4b7cdabbf7824058c981be0f25b69a1b62533f1ce9d9b4d398180de69aba94225255b00f4bbd82294444f5c1a2ebab16a09402392b
@@ -0,0 +1,6 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "github-actions"
4
+ directory: "/"
5
+ schedule:
6
+ interval: "weekly"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0.46
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.46
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: []
@@ -18,6 +18,7 @@ extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
20
  - ".exrc"
21
+ - ".github/dependabot.yml"
21
22
  - ".github/workflows/ci.yml"
22
23
  - ".gitignore"
23
24
  - ".rspec"
@@ -46,7 +47,7 @@ licenses:
46
47
  - MIT
47
48
  metadata:
48
49
  rubygems_mfa_required: 'true'
49
- post_install_message:
50
+ post_install_message:
50
51
  rdoc_options: []
51
52
  require_paths:
52
53
  - lib
@@ -62,7 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
62
63
  version: '0'
63
64
  requirements: []
64
65
  rubygems_version: 3.2.33
65
- signing_key:
66
+ signing_key:
66
67
  specification_version: 4
67
68
  summary: Various helpful utils
68
69
  test_files: []