solid_errors 0.3.0 → 0.3.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91c6565865faefed40bfb9d364e043128953ed61288b90177fc0ac0c0169f40d
|
4
|
+
data.tar.gz: 5995235b703824223243c8eb80cee2fb54bb1197459dedce2f7b97550f6ae608
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa6ca22cef57a4df3aff203612adcac94e607365d96e7ea08c31f2a0e4b9a77613b15cc71b769e4a6c74ed7ea0fa369f8aafb726b236d0d90e885da1881bd095
|
7
|
+
data.tar.gz: ff4d8f9551987d135f2ab932a03517a7d24c3f62de6df11354293fffe482ca1dbb34a8ecad236db54947b8cdb21c39c2573fbc2801ab6c37c2cf11b52e0ec34c
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module SolidErrors
|
2
2
|
class Occurrence < Record
|
3
|
-
belongs_to :
|
3
|
+
belongs_to :solid_error, class_name: "SolidErrors::Error"
|
4
4
|
|
5
5
|
# The parsed exception backtrace. Lines in this backtrace that are from installed gems
|
6
6
|
# have the base path for gem installs replaced by "[GEM_ROOT]", while those in the project
|
@@ -11,11 +11,11 @@ class CreateSolidErrorsTables < ActiveRecord::Migration<%= migration_version %>
|
|
11
11
|
|
12
12
|
t.timestamps
|
13
13
|
|
14
|
-
t.index [:exception_class, :message, :severity, :source], unique: true
|
14
|
+
t.index [:exception_class, :message, :severity, :source], unique: true, name: "solid_error_uniqueness_index"
|
15
15
|
end
|
16
16
|
|
17
17
|
create_table :solid_errors_occurrences do |t|
|
18
|
-
t.belongs_to :
|
18
|
+
t.belongs_to :solid_error, null: false, foreign_key: true
|
19
19
|
t.text :backtrace
|
20
20
|
t.json :context
|
21
21
|
|
data/lib/solid_errors/version.rb
CHANGED