honeybadger 5.11.1 → 5.12.0

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: 238281f2485599809a1cbde2313f3b3dbcce4e8ef2fb251b47190d6e2f5c5ce4
4
- data.tar.gz: 82c41d922f89c1e9f0d3392086d6e3f2c2437842dba791715df324eacb3bf150
3
+ metadata.gz: b3af996859bb642a3538e9d55e4a0e69bfa6221c7096f3d27c6729bd2ab7cb6b
4
+ data.tar.gz: '06482049c556f1723d29aa07a392867760f58cc751abfc3cc9dd23e2f70702bb'
5
5
  SHA512:
6
- metadata.gz: 9186cbd806cd63e77c15b355502a1f3f666469b294324c01c55a92b85f29aaa7d5e5ba51b008f57e8f484ac9089679236cd7038dd8af40a7f97b91f05ef0cfde
7
- data.tar.gz: 0f95f4ed9bd07fa00d57c0443b279283275824acd6d7dba60dc36b04cd26c1575b706ae633c7bb579a6d6cc44a328b70c898de68998940512b70563608fca442
6
+ metadata.gz: c6a336e2b8a4934e2a052a738f6b413cf6c9909daec09c465ac5d25ff7a324dfa89455e3103ea20231a8cf07e9ab65fe4bead675954cf5f5bf069def03c205f8
7
+ data.tar.gz: 627d74ee326242416ab420d46690b2813f35a608347c2b2cf5f8e1ec3618d446edee4ed925cf2274caa97b65759f1d6584770fa8889bed077f35fa7ee5456c16
data/CHANGELOG.md CHANGED
@@ -1,6 +1,20 @@
1
1
  # Change Log
2
2
 
3
3
 
4
+ ## [5.12.0](https://github.com/honeybadger-io/honeybadger-ruby/compare/v5.11.2...v5.12.0) (2024-06-17)
5
+
6
+
7
+ ### Features
8
+
9
+ * add --insights flag to install command ([#564](https://github.com/honeybadger-io/honeybadger-ruby/issues/564)) ([02a41c6](https://github.com/honeybadger-io/honeybadger-ruby/commit/02a41c67e4b33012057e4ae4c2bd23ca8c13c99b))
10
+
11
+ ## [5.11.2](https://github.com/honeybadger-io/honeybadger-ruby/compare/v5.11.1...v5.11.2) (2024-06-12)
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * don't blow up if ActiveJob queue_adapter isn't a string or symbol ([#561](https://github.com/honeybadger-io/honeybadger-ruby/issues/561)) ([4550ea3](https://github.com/honeybadger-io/honeybadger-ruby/commit/4550ea393680a07599deb95f6b49e45112447efa)), closes [#560](https://github.com/honeybadger-io/honeybadger-ruby/issues/560)
17
+
4
18
  ## [5.11.1](https://github.com/honeybadger-io/honeybadger-ruby/compare/v5.11.0...v5.11.1) (2024-06-07)
5
19
 
6
20
 
@@ -73,6 +73,10 @@ development_environments:
73
73
 
74
74
  # Enable verbose debug logging (useful for troubleshooting).
75
75
  debug: false
76
+
77
+ # Enable Honeybadger Insights
78
+ insights:
79
+ enabled: #{options["insights"]}
76
80
  CONFIG
77
81
  end
78
82
  end
@@ -48,6 +48,7 @@ WELCOME
48
48
  end
49
49
 
50
50
  desc 'install API_KEY', 'Install Honeybadger into a new project'
51
+ option :insights, type: :boolean, aliases: :'-i', default: false, desc: 'Enable Honeybadger Insights'
51
52
  def install(api_key)
52
53
  Install.new(options, api_key).run
53
54
  rescue => e
@@ -39,12 +39,13 @@ module Honeybadger
39
39
  requirement do
40
40
  defined?(::Rails.application) &&
41
41
  ::Rails.application.config.respond_to?(:active_job) &&
42
+ ::Rails.application.config.active_job[:queue_adapter].respond_to?(:to_sym) &&
42
43
  !EXCLUDED_ADAPTERS.include?(::Rails.application.config.active_job[:queue_adapter].to_sym)
43
44
  end
44
45
 
45
46
  # Don't report errors if GoodJob is reporting them
46
47
  requirement do
47
- ::Rails.application.config.active_job[:queue_adapter].to_sym != :good_job ||
48
+ !::Rails.application.config.active_job[:queue_adapter].to_s.match?(/(GoodJob::Adapter|good_job)/) ||
48
49
  !::Rails.application.config.respond_to?(:good_job) ||
49
50
  ::Rails.application.config.good_job[:on_thread_error].nil?
50
51
  end
@@ -1,4 +1,4 @@
1
1
  module Honeybadger
2
2
  # The current String Honeybadger version.
3
- VERSION = '5.11.1'.freeze
3
+ VERSION = '5.12.0'.freeze
4
4
  end
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: 5.11.1
4
+ version: 5.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Honeybadger Industries LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-07 00:00:00.000000000 Z
11
+ date: 2024-06-17 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Make managing application errors a more pleasant experience.
14
14
  email: