errdo 0.11.5 → 0.11.6

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
+ "%z���0Y�$�K��1�%/�݈�:���
@@ -0,0 +1 @@
1
+ 8087
@@ -91,6 +91,20 @@ class ErrorsIntegrationTest < ActionDispatch::IntegrationTest
91
91
  get static_generic_error_path
92
92
  assert_equal users(:user), Errdo::ErrorOccurrence.last.experiencer
93
93
  end
94
+
95
+ should "make an error if log404 is set and 404 is hit" do
96
+ Errdo.log404 = true
97
+ assert_difference 'Errdo::ErrorOccurrence.count', 1 do
98
+ get "/not-a-path"
99
+ end
100
+ end
101
+
102
+ should "not make an error if log404 is not set and 404 is hit" do
103
+ Errdo.log404 = false
104
+ assert_difference 'Errdo::ErrorOccurrence.count', 0 do
105
+ get "/not-a-path"
106
+ end
107
+ end
94
108
  end
95
109
 
96
110
  private
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.5
4
+ version: 0.11.6
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-13 00:00:00.000000000 Z
11
+ date: 2016-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -794,6 +794,7 @@ files:
794
794
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Xw/XwiYKswDUU6XXhEN3OhiHyZ9qZYDPzhHyJsGpLQLOA0.cache
795
795
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Xx/Xxgaaq90wveSCPv9QwcaGL3Mc8VxEIjobULo__ETUXA.cache
796
796
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Xy/XyR14KRiOCsrx0f-g7BbYJZjlx-hdbeAZXKf6XKFsyQ.cache
797
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Y1/Y14HJD18tXVTGdi_82TYh9vOKSsxKgZvquba5dLQKWo.cache
797
798
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Y4/Y47Wve_bT0ZjKSl-Wfv6auZHmX0T6RjBB_6-ab49mKE.cache
798
799
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Y4/Y4esSV4M-vw_c8ycPaW985TZ_B72dyBgdwj4RiKZ1io.cache
799
800
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Y8/Y8-frfDBCRVU585G-EVruBI0d5vOZ-SEiY5xWFDRkQk.cache
@@ -1408,6 +1409,7 @@ files:
1408
1409
  - test/dummy/tmp/cache/assets/test/sprockets/v3.0/yT/yTtHPSuoQcrWILF_zjGkfZqDXuxAI64qp9UfCmjbEZI.cache
1409
1410
  - test/dummy/tmp/cache/assets/test/sprockets/v3.0/yZ/yZjhCWWhVUVSNJf6V4nzVClRI4EYH8gm7rdAesM6XDk.cache
1410
1411
  - test/dummy/tmp/cache/assets/test/sprockets/v3.0/yg/yg04QotCA0Nyl2UMuOj7Rst0Y1BtZhxHgggoVMC-PjA.cache
1412
+ - test/dummy/tmp/pids/server.pid
1411
1413
  - test/factories.rb
1412
1414
  - test/fixtures/users.yml
1413
1415
  - test/generators/active_record_generator_test.rb
@@ -2325,6 +2327,7 @@ test_files:
2325
2327
  - test/dummy/tmp/cache/assets/sprockets/v3.0/eT/eTkShhHFGgNrobn8PidTPfuCkdPDYzj_2OD0qg53r3k.cache
2326
2328
  - test/dummy/tmp/cache/assets/sprockets/v3.0/O6/O6t04I94zjVcVpB71fMd7Hl7nLnX7LmdVcHr2KvJtao.cache
2327
2329
  - test/dummy/tmp/cache/assets/sprockets/v3.0/qj/qjFz3wDSvqcsdpk3JT7I13GYfTWO00lsKA93kyVOv_4.cache
2330
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Y1/Y14HJD18tXVTGdi_82TYh9vOKSsxKgZvquba5dLQKWo.cache
2328
2331
  - test/dummy/tmp/cache/assets/sprockets/v3.0/yT/yTtHPSuoQcrWILF_zjGkfZqDXuxAI64qp9UfCmjbEZI.cache
2329
2332
  - test/dummy/tmp/cache/assets/sprockets/v3.0/yT/yTFW00XPc5tlbkgSY0li_45v_OqFlAzR2uwXw_8DL4k.cache
2330
2333
  - test/dummy/tmp/cache/assets/sprockets/v3.0/3z/3zozRq2tPAXOGsg94R0ibOKzGaJ1PqisVCcU-dMxwzM.cache
@@ -2659,6 +2662,7 @@ test_files:
2659
2662
  - test/dummy/tmp/cache/assets/sprockets/v3.0/ED/EDRc-nur7RglbEzZjckMYaJ9PtZn_KydaMAHu-on59c.cache
2660
2663
  - test/dummy/tmp/cache/assets/sprockets/v3.0/ED/EDVZLiJoq6wj93pJxKsK4TI15LIXRqwx4OdFGAAr068.cache
2661
2664
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Ip/IplSosjlbQ5aan_h10fBG52WhsI8ogweDeukCOuwPWI.cache
2665
+ - test/dummy/tmp/pids/server.pid
2662
2666
  - test/dummy/README.rdoc
2663
2667
  - test/dummy/bin/bundle
2664
2668
  - test/dummy/bin/setup