exception_hunter 0.4.1 → 0.4.2
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/README.md +1 -1
- data/app/models/exception_hunter/error.rb +1 -1
- data/app/models/exception_hunter/error_group.rb +1 -1
- data/app/presenters/exception_hunter/error_presenter.rb +1 -1
- data/lib/exception_hunter/error_creator.rb +2 -2
- data/lib/exception_hunter/tracking.rb +2 -1
- data/lib/exception_hunter/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: 3cdc954e1b44cc37921b8ba178e55fb404bc6e49e67ae5a946e52e196ca3730e
|
4
|
+
data.tar.gz: d852ae798bc6a70543a3bf7a4541d26cdb5c1628e26a3f85decb536093275a1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d7e25d78109f69be6c37275e69b8300792f645a0a745e679d14c5ac8d2bb682ef60033646d28e6c6e85e937055e45a3e9d6c1fd04d2205092405eb55f9ab9e9
|
7
|
+
data.tar.gz: 8d3945a9c830adc7dbe195bb755990948746b46a3d2785b6993f6a6c7777d76d77d01074f134fa38eb2790300c68378dd29bfbf5166ba0a9420d4dc6d290b6ef
|
data/README.md
CHANGED
@@ -25,7 +25,7 @@ project, and MVP or something else.
|
|
25
25
|
Add Exception Hunter to your application's Gemfile:
|
26
26
|
|
27
27
|
```ruby
|
28
|
-
gem 'exception_hunter', '~> 0.4.
|
28
|
+
gem 'exception_hunter', '~> 0.4.2'
|
29
29
|
```
|
30
30
|
|
31
31
|
You may also need to add [Devise](https://github.com/heartcombo/devise) to your Gemfile
|
@@ -10,8 +10,8 @@ module ExceptionHunter
|
|
10
10
|
|
11
11
|
ActiveRecord::Base.transaction do
|
12
12
|
error_attrs = extract_user_data(error_attrs)
|
13
|
-
error = Error.new(error_attrs)
|
14
|
-
error_group = ErrorGroup.find_matching_group(error) || ErrorGroup.new
|
13
|
+
error = ::ExceptionHunter::Error.new(error_attrs)
|
14
|
+
error_group = ::ExceptionHunter::ErrorGroup.find_matching_group(error) || ::ExceptionHunter::ErrorGroup.new
|
15
15
|
update_error_group(error_group, error, tag)
|
16
16
|
error.error_group = error_group
|
17
17
|
error.save!
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: exception_hunter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bruno Vezoli
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-09-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: pagy
|