errdo 0.11.6 → 0.12.0

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.
@@ -0,0 +1 @@
1
+ "%֧�NTZq�בH�L��#p3��Jg!��)
@@ -0,0 +1,2 @@
1
+ "%����͹mm�
2
+ a�l�|a56���v�6}��(&5
@@ -0,0 +1 @@
1
+ "%�W\�yho9S���ƫ˥��)|�~���(���
@@ -0,0 +1,3 @@
1
+ "%�m�
2
+ ����
3
+ �W��Z��ٿt%�)MKI����
@@ -0,0 +1 @@
1
+ "%Ѱč@�����6H�uZoX�Z�gbh0W��V
@@ -0,0 +1 @@
1
+ "%��) `���kupwU�w�t�H^WL�J�j
@@ -1 +1 @@
1
- 8087
1
+ 23728
@@ -0,0 +1,4 @@
1
+ module Dummy
2
+ class Application
3
+ end
4
+ end
@@ -1,12 +1,56 @@
1
1
  Errdo.setup do |config|
2
+ # Add words to be scrubbed from the params here. By default, this is
3
+ # %w(password passwd password_confirmation secret confirm_password secret_token)
4
+ # So make sure you add on, not replace!
5
+ # config.dirty_words += ["custom_param"]
2
6
 
3
- # This is the name of the class inside your application that the exceptions are stored as.
4
- # Exceptions are a reserved class name.
7
+ # By default, 404 errors are ignored. To un-ignore them, set this to true
8
+ # config.log404 = true
9
+
10
+ ## == Authorization and Devise integration =========
11
+ # If you have the ability to track who's logged in, setting the current_user_method
12
+ # will allow the logged-in user to be recorded with the error
13
+ # config.current_user_method = :current_user
14
+ # Some form of authentication here is basically necessary for authorization
15
+ # config.authenticate_with do
16
+ # warden.authenticate! scope: :user
17
+ # end
18
+
19
+ ## == Authorization ================================
20
+ # Setup authorization to be run as a before filter
21
+ # This is run inside the controller instance so you can setup any authorization you need to.
22
+ # By default, there is no authorization.
23
+ #
24
+ # config.authorize_with do
25
+ # redirect_to root_path unless warden.user.try(:is_admin?)
26
+ # end
5
27
  #
6
- # If you want to rename it, make sure you also change the migration that comes with the gem.
7
- # Setting this to nil means that errors won't be tracked in the database
8
- # Note: The model name "{name}_instance" should also be free
28
+ # To use an authorization adapter, pass the name of the adapter. For example,
29
+ # to use with CanCanCan[https://github.com/CanCanCommunity/cancancan], pass it like this.
30
+ # Currently, only cancan/cancancan is supported
31
+ # config.authorize_with :cancan
32
+
33
+ # This determines how the user is displayed on the table of errors
34
+ # Can be any method that a user responds to, I.E. Any method that returns a string
35
+ # when called on user (Default is :email)
36
+ config.user_string_method = :email
37
+
38
+ # Setting this will allow the user string to be linked to the show path
39
+ # Default is the errdo root path
40
+ # config.user_show_path = :user_path
41
+
42
+ ## == Notification Integration ====================
43
+ # See the github page at https://github.com/erichaydel/errdo for more info on how to set up slack
44
+ # If you want to set up slack, this is the only required parameter.
45
+ # The rest are totally optional, and default to the values here
9
46
  #
10
- config.error_name = :errs
47
+ # Errdo.notify_with slack: { webhook: "WEBHOOK-URL",
48
+ # channel: nil
49
+ # icon: ":boom:",
50
+ # name: "Errdo-bot" }
51
+ # For now, slack is the only integration. More coming soon!
11
52
 
12
- end
53
+ ## == Non Web Requests ============================
54
+ # Error logging for rake tasks is on by default. To turn it off, set
55
+ # Errdo.log_task_exceptions = false
56
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: errdo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.6
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - erichaydel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-15 00:00:00.000000000 Z
11
+ date: 2016-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -225,6 +225,7 @@ files:
225
225
  - test/dummy/db/development.sqlite3
226
226
  - test/dummy/db/migrate/20160816202941_devise_create_users.rb
227
227
  - test/dummy/db/migrate/20161004015324_errdo_create_errors.rb
228
+ - test/dummy/db/migrate/20161120204607_update_columns.rb
228
229
  - test/dummy/db/schema.rb
229
230
  - test/dummy/db/test.sqlite3
230
231
  - test/dummy/lib/tasks/test.rake
@@ -282,6 +283,7 @@ files:
282
283
  - test/dummy/tmp/cache/assets/sprockets/v3.0/24/24DhGGUjSdTCu19HyhXWqSUdkPELgTMGEj6fAW-d4Sc.cache
283
284
  - test/dummy/tmp/cache/assets/sprockets/v3.0/25/25npRRWgTVIBA2bVos6wkQwjcpjCdQC1fSCf7McsMgE.cache
284
285
  - test/dummy/tmp/cache/assets/sprockets/v3.0/28/28zb-3F2kCVLSMM7SzNih5QHlOdG5i3svABmIKfQHOc.cache
286
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/2A/2AA_s61dRl0scfJ5bIy4hgAZmQ1afr09D8NOTbWZVoU.cache
285
287
  - test/dummy/tmp/cache/assets/sprockets/v3.0/2D/2DxWCNPjo5JnQn4ZABWOEhnRCpB5MOed7IueduaLP9U.cache
286
288
  - test/dummy/tmp/cache/assets/sprockets/v3.0/2F/2FxEaCYwEekZmb1fGEpw7rtIRooVLlBGwvS_-jy9N_I.cache
287
289
  - test/dummy/tmp/cache/assets/sprockets/v3.0/2N/2NpFJERKh8fpBZsnm6PG5GIcwmgQ4L3qI1sIiDLo620.cache
@@ -396,6 +398,7 @@ files:
396
398
  - test/dummy/tmp/cache/assets/sprockets/v3.0/9P/9PO6w9CrM2PdoRIusNp8SJAKExKJP-d5q4swQnmCh2Q.cache
397
399
  - test/dummy/tmp/cache/assets/sprockets/v3.0/9Q/9QCL-QlNXdmidYejUM9T-1VnhTAJQcWV5WvlRA7l0Gs.cache
398
400
  - test/dummy/tmp/cache/assets/sprockets/v3.0/9R/9RG79ejTUHxpNb40vlJ6_WxYdHemnJG0rWowsQegMQc.cache
401
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/9V/9VjVKPJnJdkT0RmcK5GfKi9gr5Rhi9DXlCNg7b53SBM.cache
399
402
  - test/dummy/tmp/cache/assets/sprockets/v3.0/9b/9bS_swetyNKRH2dGU9EuD1LXPG3neMIwjYnP8L40ui8.cache
400
403
  - test/dummy/tmp/cache/assets/sprockets/v3.0/9c/9cKIbTQbESf81tog6tvbHedpVnYGPp-0bo0hsq_X-hM.cache
401
404
  - test/dummy/tmp/cache/assets/sprockets/v3.0/9c/9cOq4a3HjyH9E96a2ueOGOZMZdTCnOTFxWoPDjorwk4.cache
@@ -779,6 +782,7 @@ files:
779
782
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Wz/WzzjCFhgGgd2TTEfU5vh2lQohbb6d2tWH4sV2zdjiZA.cache
780
783
  - test/dummy/tmp/cache/assets/sprockets/v3.0/X-/X-ZJHS2P1ibQ4c5cFjqZzgKHd9OOwx627R8yQqR2jCs.cache
781
784
  - test/dummy/tmp/cache/assets/sprockets/v3.0/X0/X0AYWgbpg4uuN4vk2tO6KBSXkQVz9k038RIBUUOfT3I.cache
785
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/XA/XAc-qw1AliH5AKRVj6TH3JQ3eEp1FoatFSjq2sZYtUw.cache
782
786
  - test/dummy/tmp/cache/assets/sprockets/v3.0/XC/XCsS-mZ1tf-d4WmQBpTR45pB7j8fn6c5-wfwOvR1xdw.cache
783
787
  - test/dummy/tmp/cache/assets/sprockets/v3.0/XD/XDaurHXnHzYDYqh0e2Rm2EkAbRG8MQy729D-fa6P8w0.cache
784
788
  - test/dummy/tmp/cache/assets/sprockets/v3.0/XD/XDy21Sfq9wSWjz5VgoUmf4m0z4WoMH5iTe98E5ZXrM0.cache
@@ -964,9 +968,11 @@ files:
964
968
  - test/dummy/tmp/cache/assets/sprockets/v3.0/hf/hflGhFinwoorhMm9WcWgVrmTwVRcrz7nHl7PeZrj0Jc.cache
965
969
  - test/dummy/tmp/cache/assets/sprockets/v3.0/hm/hmFSz7DYPdwGhdMy2-4YMSCEbE2GAHDFvo3rPhVDJq8.cache
966
970
  - test/dummy/tmp/cache/assets/sprockets/v3.0/hq/hqpigrfmP3VObbx-zbHSGkGAy5psI1CZC0AyeFrjTe0.cache
971
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/hr/hrG9w6bv1EWtYWXmOhf4Ui1bdejji_fzZBO4V37Zjuo.cache
967
972
  - test/dummy/tmp/cache/assets/sprockets/v3.0/hx/hx2XyMtIqtAzNEdrzGy1UMbRrUG1vUXGO01UWEIEERk.cache
968
973
  - test/dummy/tmp/cache/assets/sprockets/v3.0/hy/hyK-4OauO5QHJNQbozAYQQmUr-KecX4AI1gHIQuLN9U.cache
969
974
  - test/dummy/tmp/cache/assets/sprockets/v3.0/i8/i8isa8jJQ5qQOq1aY4Mdml16_M7VOgDOkqJuP0LLgIk.cache
975
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/i9/i9U7Z6MjhOS69Bl-9kfxA031E8m5ywk6CHb8smbykt0.cache
970
976
  - test/dummy/tmp/cache/assets/sprockets/v3.0/iD/iDTnVSbZnIij5Xm4jkwCyIXAPDn8RwaRe5Ja8YPKibw.cache
971
977
  - test/dummy/tmp/cache/assets/sprockets/v3.0/iK/iKxvleHxVwOe4jR75R-lQqRh9DM2UkThIlYTGh8hkPI.cache
972
978
  - test/dummy/tmp/cache/assets/sprockets/v3.0/iT/iTli93X9Vs1fLqMc76qz9j1TtYd01kYw6EJhO3SJHt4.cache
@@ -1075,6 +1081,7 @@ files:
1075
1081
  - test/dummy/tmp/cache/assets/sprockets/v3.0/p7/p7MToRPRf-rhIcWm_YLefBj1dzY4InpNDnp2GBERWXg.cache
1076
1082
  - test/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache
1077
1083
  - test/dummy/tmp/cache/assets/sprockets/v3.0/pO/pOSlWnDbUWtzbNOVHmllKzKGu23vqQwp15XAHt-5NiI.cache
1084
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/pT/pTFlJmUy5ORuM0xhi020VtMB92MrZKyMIJlR0Ziu3D8.cache
1078
1085
  - test/dummy/tmp/cache/assets/sprockets/v3.0/ps/psc8LgWP_njBVE8vy9hFg3VmOdk53efBnBnPJ3qIwlc.cache
1079
1086
  - test/dummy/tmp/cache/assets/sprockets/v3.0/q0/q01dZGg2nYWca5_9W_fbDJCMRu79Ca8-MOlxaQhUHU0.cache
1080
1087
  - test/dummy/tmp/cache/assets/sprockets/v3.0/q2/q2hxv-mMSEjy90IMi3fw64x-kxYCIEE-wMrejL2AxaA.cache
@@ -1425,6 +1432,7 @@ files:
1425
1432
  - test/models/error_occurrence_test.rb
1426
1433
  - test/models/error_test.rb
1427
1434
  - test/test_helper.rb
1435
+ - test/tmp/config/application.rb
1428
1436
  - test/tmp/config/initializers/errdo.rb
1429
1437
  homepage: https://github.com/erichaydel/errdo
1430
1438
  licenses:
@@ -1454,6 +1462,7 @@ summary: Errdo allows developers to keep track of their users' experience on the
1454
1462
  test_files:
1455
1463
  - test/dummy/lib/tasks/test.rake
1456
1464
  - test/dummy/db/migrate/20161004015324_errdo_create_errors.rb
1465
+ - test/dummy/db/migrate/20161120204607_update_columns.rb
1457
1466
  - test/dummy/db/migrate/20160816202941_devise_create_users.rb
1458
1467
  - test/dummy/db/development.sqlite3
1459
1468
  - test/dummy/db/schema.rb
@@ -1783,6 +1792,7 @@ test_files:
1783
1792
  - test/dummy/tmp/cache/assets/sprockets/v3.0/xW/xWNbto6p5yY_SwtNYqgJ7wLFTrLZFWCC3PsfWV-m7IQ.cache
1784
1793
  - test/dummy/tmp/cache/assets/sprockets/v3.0/F3/F3Tbw9EW9KbtUUtc36gCm0_gGdSb3vha9A0sdrz-bek.cache
1785
1794
  - test/dummy/tmp/cache/assets/sprockets/v3.0/t1/t1istGz9ci3Xn_3iqaAObdOpmxCyRN_xsRML-0INtXw.cache
1795
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/XA/XAc-qw1AliH5AKRVj6TH3JQ3eEp1FoatFSjq2sZYtUw.cache
1786
1796
  - test/dummy/tmp/cache/assets/sprockets/v3.0/jC/jC6_pvxxtcb-Av8jy8rlFCVyjANWcsW-2h2tHtgWEnc.cache
1787
1797
  - test/dummy/tmp/cache/assets/sprockets/v3.0/cp/cpA6DTbY-CPBeViBtYls6fR5WUdKSuV2fqlptbuCYvU.cache
1788
1798
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Gn/GnDqNz4JsrrMalqi-2X_wDQVXVvJ2eTWacVB4V4gAAg.cache
@@ -2049,6 +2059,7 @@ test_files:
2049
2059
  - test/dummy/tmp/cache/assets/sprockets/v3.0/-a/-apldCPiPwnim43kBuJQ-YT7FwzZ0_FprprS-I-e-Rk.cache
2050
2060
  - test/dummy/tmp/cache/assets/sprockets/v3.0/1w/1wK9TN6VDmS9LEbP4uFlqo-zRlOd4T5ZFf0Hc9YHmvs.cache
2051
2061
  - test/dummy/tmp/cache/assets/sprockets/v3.0/1w/1wq5l4o3oSN9e5Fi6RfVczrYqdRwLce2QiwmAj6UGbY.cache
2062
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/9V/9VjVKPJnJdkT0RmcK5GfKi9gr5Rhi9DXlCNg7b53SBM.cache
2052
2063
  - test/dummy/tmp/cache/assets/sprockets/v3.0/P4/P4s5cMC5eTujCP4ESo7HPprbjALOdEaI0sugZPTkST0.cache
2053
2064
  - test/dummy/tmp/cache/assets/sprockets/v3.0/XI/XIQ8EaUd50IIWQkgqXFXpzJXR7XZGr7Ogpg-o0AmZLg.cache
2054
2065
  - test/dummy/tmp/cache/assets/sprockets/v3.0/cP/cP-gc5mDahkRsOXyKhzH-sHQAjjjsGS_f0u0YyQw9io.cache
@@ -2079,6 +2090,7 @@ test_files:
2079
2090
  - test/dummy/tmp/cache/assets/sprockets/v3.0/vT/vT3N7nrkFOX9ET4mknvTuAADfRVpYQq00v-U5Z0bp3U.cache
2080
2091
  - test/dummy/tmp/cache/assets/sprockets/v3.0/LE/LEQysvsdM-Agn5abLhAUYe_opDQnKJVgqP5_oQCbrgc.cache
2081
2092
  - test/dummy/tmp/cache/assets/sprockets/v3.0/y6/y6qr8IaBavYsDpQpnxbaLUQGEpRlfJAW060nAuYX1ik.cache
2093
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/hr/hrG9w6bv1EWtYWXmOhf4Ui1bdejji_fzZBO4V37Zjuo.cache
2082
2094
  - test/dummy/tmp/cache/assets/sprockets/v3.0/gh/ghPMzAkcpZgc8z_EgdQ5D5gwQZzWJpMwluWw0qJ094o.cache
2083
2095
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Ay/Ayt20JswPrAsWuLGaz14F2-enUg6pgrkt7KsMUB1Ieg.cache
2084
2096
  - test/dummy/tmp/cache/assets/sprockets/v3.0/55/553vVQYJaLVVR6xpiYzSvyGCC3yv-ze64M48VT9nn9Q.cache
@@ -2092,6 +2104,7 @@ test_files:
2092
2104
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Pi/Pi44dZChqrwgMsf4A_nI3Fe0p9a6i7CL77HaBoJJ-Nw.cache
2093
2105
  - test/dummy/tmp/cache/assets/sprockets/v3.0/ag/ag_PE9gXKKMWkAjfu9mpguhC6r4MUAwShtcLJrBTlow.cache
2094
2106
  - test/dummy/tmp/cache/assets/sprockets/v3.0/67/67DYs0WYefHvSR3w0pGnHOz85HaC9P4iU_m6l5-AlJI.cache
2107
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/i9/i9U7Z6MjhOS69Bl-9kfxA031E8m5ywk6CHb8smbykt0.cache
2095
2108
  - test/dummy/tmp/cache/assets/sprockets/v3.0/BD/BDDgxjICAi8hugO1a53N6TGZYEL3eKkTxkK0bKgyX5o.cache
2096
2109
  - test/dummy/tmp/cache/assets/sprockets/v3.0/BD/BDgjLPuYaKETi6FGPGDgvIWQWz44tkQZdj9yHN351QY.cache
2097
2110
  - test/dummy/tmp/cache/assets/sprockets/v3.0/K9/K9YFb2rpoEnIx_NuPtonuZ4Qk5i4y3fibrsPX7VL63g.cache
@@ -2217,6 +2230,7 @@ test_files:
2217
2230
  - test/dummy/tmp/cache/assets/sprockets/v3.0/fC/fCw1iw1CtMBlWNCYEw9A_1k5hRQpcnLMtTzmnnaTWmA.cache
2218
2231
  - test/dummy/tmp/cache/assets/sprockets/v3.0/tk/tkg0vLpBsrr24KirLOveWh0OTwrMxWGjs9sJEP1vfGA.cache
2219
2232
  - test/dummy/tmp/cache/assets/sprockets/v3.0/gK/gKf4e71XJ7S-xg-QWvqsTuGfd3aLIjyAyJmBiAjg-tM.cache
2233
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/2A/2AA_s61dRl0scfJ5bIy4hgAZmQ1afr09D8NOTbWZVoU.cache
2220
2234
  - test/dummy/tmp/cache/assets/sprockets/v3.0/-v/-vLKW3tuk3iTG2LJLp2cZzBZdRnGx8-OY8R2449HQes.cache
2221
2235
  - test/dummy/tmp/cache/assets/sprockets/v3.0/cA/cAXujW54dalGSAdhyIH_kFJXLyRftOfiq9OvTJo41ZA.cache
2222
2236
  - test/dummy/tmp/cache/assets/sprockets/v3.0/v9/v9swrbvLReDJzf0imXWKclYIQhMGmlDwB5RuOmSmirA.cache
@@ -2238,6 +2252,7 @@ test_files:
2238
2252
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Bz/Bzk4WBAycHCkebjC6UpqTY8ddCkZRgW-WNDaSbNCp_U.cache
2239
2253
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Bz/Bz1IzySSOFb_B1-kNvacwgZfbxgA0atztBJcClA00KA.cache
2240
2254
  - test/dummy/tmp/cache/assets/sprockets/v3.0/48/48MnrokQCqpqEx7uz0tsant5z9cZOVyYpHhcVIn5_v8.cache
2255
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/pT/pTFlJmUy5ORuM0xhi020VtMB92MrZKyMIJlR0Ziu3D8.cache
2241
2256
  - test/dummy/tmp/cache/assets/sprockets/v3.0/h2/h2CXmnGMsxFXsFuh8_2FwnB5kiMfMB3cYZdbhvrjK-A.cache
2242
2257
  - test/dummy/tmp/cache/assets/sprockets/v3.0/NB/NBn4v3mHhciMxQ8QIRsE0OFmE3OLtkgV-7v-QK57Wh0.cache
2243
2258
  - test/dummy/tmp/cache/assets/sprockets/v3.0/LU/LUB_70UPKz-_G3psMwZD4tJRsZvKgKOZ7jDeUaDJ-Zc.cache
@@ -2695,6 +2710,7 @@ test_files:
2695
2710
  - test/models/error_occurrence_test.rb
2696
2711
  - test/models/errdo_test.rb
2697
2712
  - test/models/error_test.rb
2713
+ - test/tmp/config/application.rb
2698
2714
  - test/tmp/config/initializers/errdo.rb
2699
2715
  - test/generators/install_generator_test.rb
2700
2716
  - test/generators/active_record_generator_test.rb