raygun4ruby 4.0.0.pre → 4.0.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: 60ac385b98484429b3f056b123dd5fc409ad08974c9d851e727c4a1dbed74cee
4
- data.tar.gz: 2f3a754c2a3fe0ce1d3392096255e5006e234af786d00b9ebb09cd2465180b55
3
+ metadata.gz: 9b7c357c986e52b60665b3ee8af64d7a2c421747825e16b928fc91b76ae58f2a
4
+ data.tar.gz: 671db6dc795dfe165f531b16443b483865ca659c83b25df617c09ce706f4ca48
5
5
  SHA512:
6
- metadata.gz: a3c0c8d72fdf503814b2a01f95b41c307037c830bd1aeaa3949a7d54931a438508d4271651ac5eff877949bcd71cee75c1b21780a179fc8fa5aa9963e576167f
7
- data.tar.gz: e0c7d182af82124987f8b1cd6000f075e39f57e06078e75876a8fde3461fdf0ed43135104770f3695421f9d7b74b290ef1f5d662e199a911a5c29a7b6bffa7dc
6
+ metadata.gz: 7287d1190a0fa828a3cd9acc0ac4935249e080f1749730ad2dc2c6b9ef868f42f0e0293ba6c9c1eb5a9828d8b52ba6cfd832783512938614cf1e6921d7365a73
7
+ data.tar.gz: 9a35eeba3f42c226c98f077a27870096853e8a1e06073736e0b02bc1114725f1feeed66f2434adc35dc41f5c2b5c3181f7ab04da29886a18b638899e25460dee
data/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- ## 4.0.0.pre (prerelease):
1
+ ## 4.0.0 (20/05/2024):
2
2
 
3
3
  - BREAKING CHANGE: Remove support for end-of-life Ruby verisons and Rails versions prior to 6.0.0
4
4
  - Bug fix: Fix issue with breadcrumbs not being sent to Raygun when `send_in_background` is enabled (thanks to @jjb for the bug report)
data/README.md CHANGED
@@ -12,25 +12,27 @@ And then execute:
12
12
 
13
13
  $ bundle install
14
14
 
15
- Or, if you're not using Bundler, install the gem directly:
16
-
17
- $ gem install raygun4ruby
18
-
19
15
  ## Usage
20
16
 
21
17
  ### Rails 6+
22
18
 
19
+ #### Step 1
20
+
23
21
  Run:
24
22
 
25
23
  rails g raygun:install YOUR_API_KEY_HERE
26
24
 
27
25
  You can find your API key in the [Raygun app](https://app.raygun.com/) under "Application Settings".
28
26
 
27
+ #### Step 2
28
+
29
29
  You can then test your Raygun integration by running:
30
30
 
31
31
  rails raygun:test
32
32
 
33
- You should see an "ItWorksException" appear in your Raygun dashboard. You're ready to zap those errors! :zap:
33
+ You should see an "ItWorksException" appear in your Raygun Crash Reporting dashboard. You're ready to zap those errors! :zap:
34
+
35
+ #### Step 3 (optional)
34
36
 
35
37
  The generator will create a file in `config/initializers` called "raygun.rb". If you need to do any further configuration or customization of Raygun, that's the place to do it!
36
38
 
@@ -292,7 +294,7 @@ To see the defaults check out [affected_user.rb](https://github.com/MindscapeHQ/
292
294
 
293
295
  If you're using Rails, most authentication systems will have this method set and you should be good to go.
294
296
 
295
- The count of unique affected customers will appear on the error group in the Raygun dashboard. If your customer has an `email` attribute, and that email has a Gravatar associated with that address, you will also see your customer's avatar.
297
+ The count of unique affected customers will appear on the error group in Raygun Crash Reporting. If your customer has an `email` attribute, and that email has a Gravatar associated with that address, you will also see your customer's avatar.
296
298
 
297
299
  If you wish to keep it anonymous, you could set this identifier to something like `SecureRandom.uuid` and store that in a cookie, like so:
298
300
 
@@ -97,7 +97,8 @@ module Raygun
97
97
  'CGI::Session::CookieStore::TamperedWithCookie',
98
98
  'ActionController::UnknownAction',
99
99
  'AbstractController::ActionNotFound',
100
- 'Mongoid::Errors::DocumentNotFound']
100
+ 'Mongoid::Errors::DocumentNotFound',
101
+ 'Sidekiq::JobRetry::Skip']
101
102
 
102
103
  DEFAULT_FILTER_PARAMETERS = [ :password, :card_number, :cvv ]
103
104
 
@@ -11,7 +11,7 @@ module Raygun
11
11
  response = Raygun.track_exception(e)
12
12
 
13
13
  if response.success?
14
- puts "Success! Now go check your Raygun Dashboard"
14
+ puts "Success! Now go check your Raygun Crash Reporting dashboard"
15
15
  else
16
16
  puts "Oh-oh, something went wrong - double check your API key"
17
17
  puts "API Key - " << Raygun.configuration.api_key << ")"
@@ -1,3 +1,3 @@
1
1
  module Raygun
2
- VERSION = "4.0.0.pre"
2
+ VERSION = "4.0.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raygun4ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.pre
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mindscape
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-05-04 00:00:00.000000000 Z
12
+ date: 2024-05-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty