errdo 0.12.2 → 0.12.3

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
  SHA1:
3
- metadata.gz: ef520d7cea589290bc1ac936c84204b27b0fc2bf
4
- data.tar.gz: 63781221d9f2acc778ce74c7c76aae7377cab869
3
+ metadata.gz: eafc9681e5f8d3cd59ec362a009feab13ee070da
4
+ data.tar.gz: 53ba91c82701038cc20ca6e39fdf3286178bb491
5
5
  SHA512:
6
- metadata.gz: ac278afce4d082df2368edaba3ce225d4d054363d8190b154a1c787ff729ac38497631e764edd32a3a5824d201f20c7a8fef0cf717141257d3ecce1d4e9e0554
7
- data.tar.gz: 10cd0a75b9115235f0aa4f0cb08ab16fd67dc89d8d0c5e2bb2c5d901655b1d6de7353e927dbf3f0d5049373d418557cfbba9defd90bef88b33350427da2d159c
6
+ metadata.gz: b6cf24007550c47fbf723a69bfecdb68d421c4c107ac2073d1a45aa8dee6c4e3368bde8ad83be612b9345d733d54bba7ab18133cc99b86e811ebe33efde197d9
7
+ data.tar.gz: d9d90b6d0b391042594c80302c25cb26e31c8a27b5e34453927a8bd61e8d79a512a963f072843cda8f06be22fb9a442cc9858dfa4a26ac3b7f89428d93b73666
@@ -1,7 +1,7 @@
1
1
  module Errdo
2
2
  class Error < ActiveRecord::Base
3
3
 
4
- paginates_per 20
4
+ paginates_per 5
5
5
 
6
6
  self.table_name = Errdo.error_name
7
7
 
@@ -41,4 +41,4 @@
41
41
  = error.status
42
42
 
43
43
  .row
44
- .col-md-6 = paginate(@errors,remote: true)
44
+ .col-md-6 = paginate(@errors)
data/lib/errdo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Errdo
2
- VERSION = '0.12.2'.freeze
2
+ VERSION = '0.12.3'.freeze
3
3
  end
@@ -15,4 +15,9 @@ class StaticController < ApplicationController
15
15
  Errdo.error "This is the error", user: current_user, data: "This is the data"
16
16
  end
17
17
 
18
+ def double_render_error
19
+ render :home
20
+ render :log
21
+ end
22
+
18
23
  end
@@ -5,6 +5,7 @@ Rails.application.routes.draw do
5
5
  get 'static/long_error'
6
6
  get 'static/log'
7
7
  get 'static/view_error'
8
+ get 'static/double_render_error'
8
9
 
9
10
  resources :users
10
11
 
Binary file
@@ -49798,3 +49798,64 @@ Did you mean? errdo):
49798
49798
  Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'rror_html_erb__1328991420041970334_70199328953800''Did you mean? errdoiew::Template::Error' AND "errors"."id" != 11) LIMIT 1
49799
49799
   (8.8ms) commit transaction
49800
49800
  Errdo::ErrorOccurrence Load (0.6ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 11]]
49801
+
49802
+
49803
+ Started GET "/" for 127.0.0.1 at 2017-03-10 21:24:22 -0500
49804
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
49805
+ Processing by StaticController#home as HTML
49806
+ Rendered static/home.html.erb (2.1ms)
49807
+ Completed 200 OK in 14ms (Views: 13.8ms | ActiveRecord: 0.0ms)
49808
+
49809
+
49810
+ Started GET "/errdo" for 127.0.0.1 at 2017-03-10 21:24:26 -0500
49811
+ Processing by Errdo::ErrorsController#index as HTML
49812
+  (0.1ms) SELECT COUNT(*) FROM "errors"
49813
+ Errdo::Error Load (2.1ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."last_occurred_at" DESC LIMIT 20 OFFSET 0
49814
+ User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (1)
49815
+ Rendered /home/eric/Projects/errdo/app/views/errdo/errors/index.html.slim within layouts/errdo/application (130.8ms)
49816
+ Rendered /home/eric/Projects/errdo/app/views/layouts/errdo/_navbar.html.slim (3.9ms)
49817
+ Completed 200 OK in 347ms (Views: 318.6ms | ActiveRecord: 3.3ms)
49818
+
49819
+
49820
+ Started GET "/assets/errdo/errdo.self-62c7214e592aa191f7c0a262f578ca37839a6dc47237b70ac493b8d502cff967.css?body=1" for 127.0.0.1 at 2017-03-10 21:24:26 -0500
49821
+
49822
+
49823
+ Started GET "/errdo/" for 127.0.0.1 at 2017-03-10 21:24:49 -0500
49824
+ Processing by Errdo::ErrorsController#index as HTML
49825
+  (0.2ms) SELECT COUNT(*) FROM "errors"
49826
+ Errdo::Error Load (1.0ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."last_occurred_at" DESC LIMIT 20 OFFSET 0
49827
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (1)
49828
+ Rendered /home/eric/Projects/errdo/app/views/errdo/errors/index.html.slim within layouts/errdo/application (56.1ms)
49829
+ Rendered /home/eric/Projects/errdo/app/views/layouts/errdo/_navbar.html.slim (0.6ms)
49830
+ Completed 200 OK in 92ms (Views: 83.4ms | ActiveRecord: 1.7ms)
49831
+
49832
+
49833
+ Started GET "/errdo/" for 127.0.0.1 at 2017-03-10 21:25:23 -0500
49834
+ Processing by Errdo::ErrorsController#index as HTML
49835
+  (0.1ms) SELECT COUNT(*) FROM "errors"
49836
+ Errdo::Error Load (0.6ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."last_occurred_at" DESC LIMIT 5 OFFSET 0
49837
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (1)
49838
+ Rendered /home/eric/Projects/errdo/app/views/errdo/errors/index.html.slim within layouts/errdo/application (91.6ms)
49839
+ Rendered /home/eric/Projects/errdo/app/views/layouts/errdo/_navbar.html.slim (0.9ms)
49840
+ Completed 200 OK in 138ms (Views: 127.9ms | ActiveRecord: 2.2ms)
49841
+
49842
+
49843
+ Started GET "/errdo/?page=3" for 127.0.0.1 at 2017-03-10 21:25:25 -0500
49844
+ Processing by Errdo::ErrorsController#index as HTML
49845
+ Parameters: {"page"=>"3"}
49846
+  (0.2ms) SELECT COUNT(*) FROM "errors"
49847
+ Errdo::Error Load (0.4ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."last_occurred_at" DESC LIMIT 5 OFFSET 10
49848
+ Rendered /home/eric/Projects/errdo/app/views/errdo/errors/index.html.slim within layouts/errdo/application (16.6ms)
49849
+ Rendered /home/eric/Projects/errdo/app/views/layouts/errdo/_navbar.html.slim (0.4ms)
49850
+ Completed 200 OK in 41ms (Views: 37.2ms | ActiveRecord: 0.6ms)
49851
+
49852
+
49853
+ Started GET "/errdo/?page=2" for 127.0.0.1 at 2017-03-10 21:25:29 -0500
49854
+ Processing by Errdo::ErrorsController#index as HTML
49855
+ Parameters: {"page"=>"2"}
49856
+  (0.2ms) SELECT COUNT(*) FROM "errors"
49857
+ Errdo::Error Load (0.9ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."last_occurred_at" DESC LIMIT 5 OFFSET 5
49858
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (1)
49859
+ Rendered /home/eric/Projects/errdo/app/views/errdo/errors/index.html.slim within layouts/errdo/application (41.0ms)
49860
+ Rendered /home/eric/Projects/errdo/app/views/layouts/errdo/_navbar.html.slim (0.5ms)
49861
+ Completed 200 OK in 65ms (Views: 60.5ms | ActiveRecord: 1.2ms)