safely_block 0.4.1 → 0.5.0
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 +4 -4
- data/CHANGELOG.md +21 -0
- data/LICENSE.txt +1 -1
- data/README.md +7 -1
- data/lib/safely/version.rb +1 -1
- metadata +4 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f5740153a2f9f0229fdd5cede2b3944d35af16915785d66b57aa2aaa3b904a1
|
4
|
+
data.tar.gz: d5d01f34bf00ddb1a83ead7cc8b8e7f54bc5d0c91e2885928bfc68268eaea08b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ce8c85904830e4602aab2d69f0cb029eca3252c01670a614f311cf1697979bef3ec22de2f3b95832a138347127126d7215ef06be3e3a2ee2ac1e323e65be07f
|
7
|
+
data.tar.gz: aeb6b97f81efc9d526923c3d05d87201a9a4ddde99222d1dab31f6a3e9d9183ccf32c3b9f2f4de874541140cc2dc206e42b446973859ee7c26a863f4697916d1
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## 0.5.0 (2025-05-26)
|
2
|
+
|
3
|
+
- Dropped support for Ruby < 3.2
|
4
|
+
|
1
5
|
## 0.4.1 (2024-09-04)
|
2
6
|
|
3
7
|
- Added support for Datadog
|
@@ -36,3 +40,20 @@
|
|
36
40
|
- Added `tag` option and tag exception message by default
|
37
41
|
- Added `except` option
|
38
42
|
- Added `silence` option
|
43
|
+
|
44
|
+
## 0.0.4 (2015-03-11)
|
45
|
+
|
46
|
+
- Added fail-safe
|
47
|
+
|
48
|
+
## 0.0.3 (2014-08-13)
|
49
|
+
|
50
|
+
- Added `safely` method
|
51
|
+
|
52
|
+
## 0.0.2 (2014-08-12)
|
53
|
+
|
54
|
+
- Added `default` option
|
55
|
+
- Added `only` option
|
56
|
+
|
57
|
+
## 0.0.1 (2014-08-12)
|
58
|
+
|
59
|
+
- First release
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -100,7 +100,7 @@ Reports exceptions to a variety of services out of the box.
|
|
100
100
|
- [Appsignal](https://appsignal.com/)
|
101
101
|
- [Bugsnag](https://bugsnag.com/)
|
102
102
|
- [Datadog](https://www.datadoghq.com/product/error-tracking/)
|
103
|
-
- [Exception Notification](https://github.com/
|
103
|
+
- [Exception Notification](https://github.com/kmcphillips/exception_notification)
|
104
104
|
- [Google Stackdriver](https://cloud.google.com/stackdriver/)
|
105
105
|
- [Honeybadger](https://www.honeybadger.io/)
|
106
106
|
- [New Relic](https://newrelic.com/)
|
@@ -125,6 +125,12 @@ By default, exception messages are prefixed with `[safely]`. This makes it easie
|
|
125
125
|
Safely.tag = false
|
126
126
|
```
|
127
127
|
|
128
|
+
By default, exceptions are raised in the development and test environments. Change this with:
|
129
|
+
|
130
|
+
```ruby
|
131
|
+
Safely.raise_envs += ["staging"]
|
132
|
+
```
|
133
|
+
|
128
134
|
To report exceptions manually:
|
129
135
|
|
130
136
|
```ruby
|
data/lib/safely/version.rb
CHANGED
metadata
CHANGED
@@ -1,16 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: safely_block
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies: []
|
13
|
-
description:
|
14
12
|
email: andrew@ankane.org
|
15
13
|
executables: []
|
16
14
|
extensions: []
|
@@ -27,7 +25,6 @@ homepage: https://github.com/ankane/safely
|
|
27
25
|
licenses:
|
28
26
|
- MIT
|
29
27
|
metadata: {}
|
30
|
-
post_install_message:
|
31
28
|
rdoc_options: []
|
32
29
|
require_paths:
|
33
30
|
- lib
|
@@ -35,15 +32,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
35
32
|
requirements:
|
36
33
|
- - ">="
|
37
34
|
- !ruby/object:Gem::Version
|
38
|
-
version: '3'
|
35
|
+
version: '3.2'
|
39
36
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
40
37
|
requirements:
|
41
38
|
- - ">="
|
42
39
|
- !ruby/object:Gem::Version
|
43
40
|
version: '0'
|
44
41
|
requirements: []
|
45
|
-
rubygems_version: 3.
|
46
|
-
signing_key:
|
42
|
+
rubygems_version: 3.6.7
|
47
43
|
specification_version: 4
|
48
44
|
summary: Rescue and report exceptions in non-critical code
|
49
45
|
test_files: []
|