errdo 0.11.6 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/errdo/version.rb +1 -1
- data/lib/generators/active_record/templates/migration.rb +6 -6
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20161120204607_update_columns.rb +18 -0
- data/test/dummy/db/schema.rb +7 -7
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +18696 -0
- data/test/dummy/log/test.log +10059 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/2A/2AA_s61dRl0scfJ5bIy4hgAZmQ1afr09D8NOTbWZVoU.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/9V/9VjVKPJnJdkT0RmcK5GfKi9gr5Rhi9DXlCNg7b53SBM.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/XA/XAc-qw1AliH5AKRVj6TH3JQ3eEp1FoatFSjq2sZYtUw.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/hr/hrG9w6bv1EWtYWXmOhf4Ui1bdejji_fzZBO4V37Zjuo.cache +3 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/i9/i9U7Z6MjhOS69Bl-9kfxA031E8m5ywk6CHb8smbykt0.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/pT/pTFlJmUy5ORuM0xhi020VtMB92MrZKyMIJlR0Ziu3D8.cache +1 -0
- data/test/dummy/tmp/pids/server.pid +1 -1
- data/test/tmp/config/application.rb +4 -0
- data/test/tmp/config/initializers/errdo.rb +51 -7
- metadata +18 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4116e90f72c32acdffad213a308e7ff11f43c01b
|
4
|
+
data.tar.gz: c4cf490f849f5739e9524a25942adf5f91535890
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39f04a65ec0cc8043f2e1b0cd754e468196b362370460c2fa4ac4ad32f6b9fc2a36b66bdfe28b62100eb75eaa6be5857f00a5985eb0cedac8e281825aedfc02f
|
7
|
+
data.tar.gz: 6606efd12bb3ac9a0716eb773f8147a6a7e0bfb35fc22bbfaa8f1df4c6afcc75f3f7dad0a26563bfd6bf1a30ee81350c616f1982f0e19aa5e1b2730881f3b540
|
data/lib/errdo/version.rb
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
class ErrdoCreate<%= table_name.camelize %> < ActiveRecord::Migration<%= migration_version %>
|
2
2
|
def change
|
3
3
|
create_table :<%= table_name %> do |t|
|
4
|
-
t.
|
5
|
-
t.
|
4
|
+
t.text :exception_class_name
|
5
|
+
t.text :exception_message
|
6
6
|
t.string :http_method
|
7
|
-
t.
|
8
|
-
t.
|
7
|
+
t.text :host_name
|
8
|
+
t.text :url
|
9
9
|
|
10
10
|
t.text :backtrace
|
11
11
|
|
@@ -33,9 +33,9 @@ class ErrdoCreate<%= table_name.camelize %> < ActiveRecord::Migration<%= migrati
|
|
33
33
|
t.integer :experiencer_id
|
34
34
|
|
35
35
|
t.string :ip
|
36
|
-
t.
|
36
|
+
t.text :user_agent
|
37
37
|
t.string :referer
|
38
|
-
t.
|
38
|
+
t.text :query_string
|
39
39
|
t.text :form_values
|
40
40
|
t.text :param_values
|
41
41
|
t.text :cookie_values
|
Binary file
|
@@ -0,0 +1,18 @@
|
|
1
|
+
class UpdateColumns < ActiveRecord::Migration
|
2
|
+
def up
|
3
|
+
change_column :errors, :exception_class_name, :text
|
4
|
+
change_column :errors, :exception_message, :text
|
5
|
+
change_column :errors, :host_name, :text
|
6
|
+
change_column :errors, :url, :text
|
7
|
+
change_column :error_occurrences, :user_agent, :text
|
8
|
+
change_column :error_occurrences, :query_string, :text
|
9
|
+
end
|
10
|
+
def down
|
11
|
+
change_column :errors, :exception_class_name, :string
|
12
|
+
change_column :errors, :exception_message, :string
|
13
|
+
change_column :errors, :host_name, :string
|
14
|
+
change_column :errors, :url, :string
|
15
|
+
change_column :error_occurrences, :user_agent, :string
|
16
|
+
change_column :error_occurrences, :query_string, :string
|
17
|
+
end
|
18
|
+
end
|
data/test/dummy/db/schema.rb
CHANGED
@@ -11,16 +11,16 @@
|
|
11
11
|
#
|
12
12
|
# It's strongly recommended that you check this file into your version control system.
|
13
13
|
|
14
|
-
ActiveRecord::Schema.define(version:
|
14
|
+
ActiveRecord::Schema.define(version: 20161120204607) do
|
15
15
|
|
16
16
|
create_table "error_occurrences", force: :cascade do |t|
|
17
17
|
t.integer "error_id"
|
18
18
|
t.string "experiencer_type"
|
19
19
|
t.integer "experiencer_id"
|
20
20
|
t.string "ip"
|
21
|
-
t.
|
21
|
+
t.text "user_agent"
|
22
22
|
t.string "referer"
|
23
|
-
t.
|
23
|
+
t.text "query_string"
|
24
24
|
t.text "form_values"
|
25
25
|
t.text "param_values"
|
26
26
|
t.text "cookie_values"
|
@@ -35,11 +35,11 @@ ActiveRecord::Schema.define(version: 20161004015324) do
|
|
35
35
|
add_index "error_occurrences", ["experiencer_type"], name: "index_error_occurrences_on_experiencer_type"
|
36
36
|
|
37
37
|
create_table "errors", force: :cascade do |t|
|
38
|
-
t.
|
39
|
-
t.
|
38
|
+
t.text "exception_class_name"
|
39
|
+
t.text "exception_message"
|
40
40
|
t.string "http_method"
|
41
|
-
t.
|
42
|
-
t.
|
41
|
+
t.text "host_name"
|
42
|
+
t.text "url"
|
43
43
|
t.text "backtrace"
|
44
44
|
t.string "backtrace_hash"
|
45
45
|
t.integer "occurrence_count", default: 0
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|