honeybadger 4.9.0 → 4.10.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 +13 -3
- data/README.md +0 -1
- data/lib/honeybadger/cli/install.rb +26 -0
- data/lib/honeybadger/config/yaml.rb +5 -1
- data/lib/honeybadger/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 322f40e4f8b6fc9f0b9318a15e35c9fa1226dde665a22a89c52f0b28da58b7d4
|
4
|
+
data.tar.gz: 29b93815603f2e06c5c5c4fef6cb9113a6bf0ec77d5377f5f41c5272523105a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 725684978008ad0a72b8ffe519fa12f81205f0e9ad97bc2a15d5f44f9a3bb55e8923508103425b5569ee535c5a4f6f0e35f51c54303c6404d2b94365639e8659
|
7
|
+
data.tar.gz: cd59816ca1d77a29c599d89bfc897aeb798d37fc566ee3cabad19b3f1233d3cae637fc209bf983a7248349e1d2a4a0d8623da2d14debbe1445f24c1ab41fb960
|
data/CHANGELOG.md
CHANGED
@@ -5,12 +5,22 @@ adheres to [Semantic Versioning](http://semver.org/).
|
|
5
5
|
|
6
6
|
## [Unreleased]
|
7
7
|
|
8
|
+
## [4.10.0] - 2022-01-19
|
9
|
+
### Added
|
10
|
+
- Add more items to the default config file
|
11
|
+
|
12
|
+
### Fixed
|
13
|
+
- Fix a Ruby 3.1 bug that breaks regexp classes in honeybadger.yml (#418)
|
14
|
+
|
8
15
|
## [4.9.0] - 2021-06-28
|
9
|
-
|
10
|
-
default ignore list. (#402, @jrochkind)
|
16
|
+
### Fixed
|
11
17
|
- Replaced fixed number for retries in Sidekiq Plugin with Sidekiq::JobRetry constant
|
12
18
|
- Properly set environment in deployment tracking (#404, @stmllr)
|
13
19
|
|
20
|
+
### Added
|
21
|
+
- Added 'ActionDispatch::Http::MimeNegotiation::InvalidType' (Rails 6.1) to
|
22
|
+
default ignore list. (#402, @jrochkind)
|
23
|
+
|
14
24
|
## [4.8.0] - 2021-03-16
|
15
25
|
### Fixed
|
16
26
|
- Suppress any error output from the `git rev-parse` command. ([#394](https://github.com/honeybadger-io/honeybadger-ruby/pull/394))
|
@@ -49,7 +59,7 @@ adheres to [Semantic Versioning](http://semver.org/).
|
|
49
59
|
### Fixed
|
50
60
|
- Fixed issue where Sidekiq.attempt_threshold was triggering 2 attempts ahead
|
51
61
|
of the setting
|
52
|
-
-
|
62
|
+
- Dupe notify opts before mutating (#345)
|
53
63
|
|
54
64
|
### Changed
|
55
65
|
- Breadcrumbs on by default
|
data/README.md
CHANGED
@@ -3,7 +3,6 @@
|
|
3
3
|

|
4
4
|

|
5
5
|
[](http://badge.fury.io/rb/honeybadger)
|
6
|
-
[](https://dependabot.com/compatibility-score.html?dependency-name=honeybadger&package-manager=bundler&version-scheme=semver)
|
7
6
|
|
8
7
|
This is the notifier gem for integrating apps with the :zap: [Honeybadger Exception Notifier for Ruby and Rails](http://honeybadger.io).
|
9
8
|
|
@@ -43,10 +43,36 @@ module Honeybadger
|
|
43
43
|
exit(1)
|
44
44
|
end
|
45
45
|
|
46
|
+
default_env = defined?(::Rails.application) ? "Rails.env" : "ENV['RUBY_ENV'] || ENV['RACK_ENV']"
|
47
|
+
default_root = defined?(::Rails.application) ? "Rails.root.to_s" : "Dir.pwd"
|
46
48
|
File.open(path, 'w+') do |file|
|
47
49
|
file.write(<<-CONFIG)
|
48
50
|
---
|
51
|
+
# For more options, see https://docs.honeybadger.io/lib/ruby/gem-reference/configuration
|
52
|
+
|
49
53
|
api_key: '#{api_key}'
|
54
|
+
|
55
|
+
# The environment your app is running in.
|
56
|
+
env: "<%= #{default_env} %>"
|
57
|
+
|
58
|
+
# The absolute path to your project folder.
|
59
|
+
root: "<%= #{default_root} %>"
|
60
|
+
|
61
|
+
# Honeybadger won't report errors in these environments.
|
62
|
+
development_environments:
|
63
|
+
- test
|
64
|
+
- development
|
65
|
+
- cucumber
|
66
|
+
|
67
|
+
# By default, Honeybadger won't report errors in the development_environments.
|
68
|
+
# You can override this by explicitly setting report_data to true or false.
|
69
|
+
# report_data: true
|
70
|
+
|
71
|
+
# The current Git revision of your project. Defaults to the last commit hash.
|
72
|
+
# revision: null
|
73
|
+
|
74
|
+
# Enable verbose debug logging (useful for troubleshooting).
|
75
|
+
debug: false
|
50
76
|
CONFIG
|
51
77
|
end
|
52
78
|
end
|
@@ -26,7 +26,11 @@ module Honeybadger
|
|
26
26
|
|
27
27
|
def self.load_yaml(path)
|
28
28
|
begin
|
29
|
-
|
29
|
+
# This uses `YAML.unsafe_load` to support loading arbitrary Ruby
|
30
|
+
# classes, such as !ruby/regexp. This was the default behavior prior
|
31
|
+
# to Psych 4. https://bugs.ruby-lang.org/issues/17866
|
32
|
+
method = YAML.respond_to?(:unsafe_load) ? :unsafe_load : :load
|
33
|
+
yaml = YAML.send(method, ERB.new(path.read).result)
|
30
34
|
rescue => e
|
31
35
|
config_error = ConfigError.new(e.to_s)
|
32
36
|
|
data/lib/honeybadger/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: honeybadger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Honeybadger Industries LLC
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Make managing application errors a more pleasant experience.
|
14
14
|
email:
|
@@ -135,7 +135,7 @@ homepage: https://github.com/honeybadger-io/honeybadger-ruby
|
|
135
135
|
licenses:
|
136
136
|
- MIT
|
137
137
|
metadata: {}
|
138
|
-
post_install_message:
|
138
|
+
post_install_message:
|
139
139
|
rdoc_options:
|
140
140
|
- "--markup=tomdoc"
|
141
141
|
- "--main=README.md"
|
@@ -153,8 +153,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
153
153
|
- !ruby/object:Gem::Version
|
154
154
|
version: '0'
|
155
155
|
requirements: []
|
156
|
-
rubygems_version: 3.
|
157
|
-
signing_key:
|
156
|
+
rubygems_version: 3.3.3
|
157
|
+
signing_key:
|
158
158
|
specification_version: 4
|
159
159
|
summary: Error reports you can be happy about.
|
160
160
|
test_files: []
|