tobox 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/tobox/configuration.rb +1 -1
- data/lib/tobox/plugins/sentry.rb +2 -2
- data/lib/tobox/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee99cb00423c6956bff6231956ddd964680d374d0ade2402af46b8246d0ae33a
|
4
|
+
data.tar.gz: 2c39e05251cff04e03fb514395118448ab10ad90d005a4c4e4fb54189eef2f3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98bfab94ac55fec6019706862eb39daad743e57f0fa9433f5badfca714ec63add109108d44dcbd48ba32d89bf297280ae26a233771fb453804a468410843a387
|
7
|
+
data.tar.gz: 1ac228909e4308b792b8af1586f931415bbc312f968648047904a2bcf47afd09cf2ff0065119b6a4f08619e5b6af5f78c955d9fe63d579d66d3705c207e0e37a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
## [Unreleased]
|
2
2
|
|
3
|
+
## [0.3.1] - 2022-03-03
|
4
|
+
|
5
|
+
### Bugfixes
|
6
|
+
|
7
|
+
In Sentry plugin, exception capturing is no longer dependent on transaction monitoring being enabled (if `traces_sampling_rate` would be set to 0, exceptions wouldn't be capture; now they are).
|
8
|
+
|
3
9
|
## [0.3.0] - 2022-12-12
|
4
10
|
|
5
11
|
### Features
|
data/lib/tobox/configuration.rb
CHANGED
@@ -124,7 +124,7 @@ module Tobox
|
|
124
124
|
def method_missing(meth, *args, &block)
|
125
125
|
if DEFAULT_CONFIGURATION.key?(meth) && args.size == 1
|
126
126
|
@config[meth] = args.first
|
127
|
-
elsif /\Aon_(.*)\z/.match(meth) && args.
|
127
|
+
elsif /\Aon_(.*)\z/.match(meth) && args.empty?
|
128
128
|
on(Regexp.last_match(1).to_sym, &block)
|
129
129
|
else
|
130
130
|
super
|
data/lib/tobox/plugins/sentry.rb
CHANGED
@@ -74,12 +74,12 @@ module Tobox
|
|
74
74
|
def on_error(event, error)
|
75
75
|
return unless ::Sentry.initialized?
|
76
76
|
|
77
|
+
capture_exception(event, error)
|
78
|
+
|
77
79
|
transaction = retrieve_transaction(event)
|
78
80
|
|
79
81
|
return unless transaction
|
80
82
|
|
81
|
-
capture_exception(event, error)
|
82
|
-
|
83
83
|
finish_transaction(transaction, 500)
|
84
84
|
end
|
85
85
|
|
data/lib/tobox/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tobox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- HoneyryderChuck
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sequel
|