missing_template_406 0.0.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/README.md +30 -0
- data/lib/missing_template_406/version.rb +1 -1
- data/test/controller_test.rb +23 -0
- data/test/dummy/app/controllers/welcome_controller.rb +4 -0
- data/test/dummy/app/views/welcome/index.html.erb +1 -0
- data/test/dummy/config/application.rb +1 -4
- data/test/dummy/config/environments/development.rb +0 -6
- data/test/dummy/config/environments/production.rb +0 -2
- data/test/dummy/config/environments/test.rb +3 -6
- data/test/dummy/config/routes.rb +1 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/development.log +121 -0
- data/test/dummy/log/test.log +936 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/AH/AHxN7vtKVyL8j4UI4ZrC1RR_1wSy76UNWoZM0W9LbLI.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/CX/CXdY9Dwg3C0xjOFfhcN1sKz0uILMnHbgVwWA5r2lzMk.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/DS/DSOLSc6A5RVSmvM415eEWAWG_AgOvZcLZOXQjsXyWQA.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Dg/Dg0GtOMw9jZNHff8-441gvdzfMeZLeMDpl163Tder1s.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/KH/KHfmTgXdnbr4E7Zte11WaEEehHLcFUqxbfIsT9Rz-yY.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/KX/KXcHwosOdKhExA1gj7gALmwtSDNoCQqk0LLanqI122I.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/NN/NN5h1NdGAAHqY6E0mEIhCpHlAAT55qeiY707aufK3nE.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Nt/Nt6Qrjk2UIXYu8zp4u2rkCtCuk8iklLbWfTVGw4rN6w.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/YJ/YJ5y81GJLRmvIKwbPoU6buOUhKFta6ZVKpq6vvS-h9k.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/_W/_WOXhBzKrRcHSRQmm8vVMOqrsENVkv9IFiFBSR6YOlc.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/fy/FylwaEio_ZRnuFDB0GBHkKTtgFu4OlD74YffKmZKLac.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/fy/fyAZ2QG2RniEUpDAOGIs25zeoPY36CuN5t6TTUMuhSc.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/gZ/gZp3uXMHuYQC4hzCr7bQfetKNdJAtbQmg3so2KpW1Dw.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/gb/gbunrAFVOHPwl2npUgKv_C3f_qiJnZDd9zG5-h3jrpo.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/hD/hDh4X6ghcaAbFowpVNfztOvwILfoE4XUef5_gXEDftU.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/hQ/hQMCdO0hTr40UDVXPXODWLK0YiVTV1D3cWMvH2U4oNM.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/hZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/ju/juUC_l6BMYErsX2uaodvQCu1d_sJfzNmCrXi1ir_ymA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/kl/klBFcJUSOL_HCkUuj1_6jNmiZdufCJfsu6u0NAr6HfI.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/mv/mvqN6PphkrOOC8zbUEhpC_9E_4ybdO25MRy_gG6dq3Y.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/nf/nfygMuR4lKlk6aSznUYiSHsG7nP6d_rJVO6owxsnlf4.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/nm/nmcUZlKAIwyJ_35Nm9P8pukLeRX5aApP6NFj5MpNPgc.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/q7/q7jFlQQUgfuqIQ54oeUZFUudMnJTetOC6FxdrxTcb5Q.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/q_/q_IG2VMLnqfUoyZzM-XGGq_F1_ETCFvoKf7I2fOalBQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/rP/rPoH_Dj3gusxHk7j2SCX64TR8szYWFeiv1-HT4P_SNM.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/up/up7mFCd2a5lH99BgdzPXtd1oQqs7ZkOfUUaZKSUZ3EA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/xd/xdBKQyhEAlDIstGvXw945PWJoEWi23rKuY7elOcWqHc.cache +1 -0
- data/test/test_helper.rb +0 -1
- metadata +106 -12
- data/README.rdoc +0 -13
- data/test/dummy/config/database.yml +0 -25
- data/test/dummy/config/secrets.yml +0 -22
data/test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache
ADDED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/AH/AHxN7vtKVyL8j4UI4ZrC1RR_1wSy76UNWoZM0W9LbLI.cache
ADDED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/CX/CXdY9Dwg3C0xjOFfhcN1sKz0uILMnHbgVwWA5r2lzMk.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=d4f7712461ba6eb8ee87edadfe05d8d5830411681f2dd424c0492c5dd4819784:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/DS/DSOLSc6A5RVSmvM415eEWAWG_AgOvZcLZOXQjsXyWQA.cache
ADDED
@@ -0,0 +1,2 @@
|
|
1
|
+
[o:Set:
|
2
|
+
@hash{I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"?processors:type=text/css&file_type=text/css&pipeline=debug;TTI"9file-digest://app/assets/stylesheets/application.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI")file-digest://app/assets/stylesheets;TT
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/Dg/Dg0GtOMw9jZNHff8-441gvdzfMeZLeMDpl163Tder1s.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"}app/assets/stylesheets/application.css?type=text/css&id=cef1d024885c4c10f658a727f54d5edb9ea54c78ddfce6f70eeb47ca986f1f61:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/KH/KHfmTgXdnbr4E7Zte11WaEEehHLcFUqxbfIsT9Rz-yY.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=debug&id=0c24bec3ce804054cd70b70c466a96f9f4ee2b7265f759051e1678b911c07594:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/KX/KXcHwosOdKhExA1gj7gALmwtSDNoCQqk0LLanqI122I.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
"%Ѱč@�����6H�uZoX�Z�gbh0W��V
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/NN/NN5h1NdGAAHqY6E0mEIhCpHlAAT55qeiY707aufK3nE.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/javascripts/application.js?type=application/javascript&id=9b9f3ccac6d6a19f2f8f17bbabeaa01a569cade04b864eb245e9bf9412a06f2e:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/Nt/Nt6Qrjk2UIXYu8zp4u2rkCtCuk8iklLbWfTVGw4rN6w.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
"%�W\�yho9S���ƫ˥��)|�~���(���
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache
ADDED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/YJ/YJ5y81GJLRmvIKwbPoU6buOUhKFta6ZVKpq6vvS-h9k.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/stylesheets/application.css?type=text/css&pipeline=debug&id=dafa01455f71350fb0a8eeac9bd739addd314f734c63a35c95654d0cae9f9cc8:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/_W/_WOXhBzKrRcHSRQmm8vVMOqrsENVkv9IFiFBSR6YOlc.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=9371bdf16f01b0d1439c310cee27ea45e2a26120ce9a2ef8c39e05010285b368:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/fy/FylwaEio_ZRnuFDB0GBHkKTtgFu4OlD74YffKmZKLac.cache
ADDED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/fy/fyAZ2QG2RniEUpDAOGIs25zeoPY36CuN5t6TTUMuhSc.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
"%��Rm�v�S3.��O�L���ڹc�ƕq�=_j�
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/gZ/gZp3uXMHuYQC4hzCr7bQfetKNdJAtbQmg3so2KpW1Dw.cache
ADDED
@@ -0,0 +1,2 @@
|
|
1
|
+
[o:Set:
|
2
|
+
@hash{I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"[processors:type=application/javascript&file_type=application/javascript&pipeline=debug;TTI"8file-digest://app/assets/javascripts/application.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI")file-digest://app/assets/javascripts;TT
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/gb/gbunrAFVOHPwl2npUgKv_C3f_qiJnZDd9zG5-h3jrpo.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=6b740555dcb5978dc0b06b33cfe2df962fc9bc7149c0d5ee831225bcd7cb123a:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/hD/hDh4X6ghcaAbFowpVNfztOvwILfoE4XUef5_gXEDftU.cache
ADDED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/hQ/hQMCdO0hTr40UDVXPXODWLK0YiVTV1D3cWMvH2U4oNM.cache
ADDED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/hZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache
ADDED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/ju/juUC_l6BMYErsX2uaodvQCu1d_sJfzNmCrXi1ir_ymA.cache
ADDED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/kl/klBFcJUSOL_HCkUuj1_6jNmiZdufCJfsu6u0NAr6HfI.cache
ADDED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/mv/mvqN6PphkrOOC8zbUEhpC_9E_4ybdO25MRy_gG6dq3Y.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"}app/assets/stylesheets/application.css?type=text/css&id=eab557b4cfd44b1d1eb032045610415265faa62cc0bcbe273fe8dd72e61799e1:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/nf/nfygMuR4lKlk6aSznUYiSHsG7nP6d_rJVO6owxsnlf4.cache
ADDED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/nm/nmcUZlKAIwyJ_35Nm9P8pukLeRX5aApP6NFj5MpNPgc.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/javascripts/application.js?type=application/javascript&id=c38e3f45fca90c366e91ff1f63d6715b2faef35ab6b0c50afe54e2ff06c9155e:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache
ADDED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/q7/q7jFlQQUgfuqIQ54oeUZFUudMnJTetOC6FxdrxTcb5Q.cache
ADDED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/q_/q_IG2VMLnqfUoyZzM-XGGq_F1_ETCFvoKf7I2fOalBQ.cache
ADDED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/rP/rPoH_Dj3gusxHk7j2SCX64TR8szYWFeiv1-HT4P_SNM.cache
ADDED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/up/up7mFCd2a5lH99BgdzPXtd1oQqs7ZkOfUUaZKSUZ3EA.cache
ADDED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/xd/xdBKQyhEAlDIstGvXw945PWJoEWi23rKuY7elOcWqHc.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=ebd598fed1a02f2773f3d69eda064065207c479a081f462f9b084ead431cd975:ET
|
data/test/test_helper.rb
CHANGED
@@ -2,7 +2,6 @@
|
|
2
2
|
ENV['RAILS_ENV'] = 'test'
|
3
3
|
|
4
4
|
require File.expand_path('../../test/dummy/config/environment.rb', __FILE__)
|
5
|
-
ActiveRecord::Migrator.migrations_paths = [File.expand_path('../../test/dummy/db/migrate', __FILE__)]
|
6
5
|
require 'rails/test_help'
|
7
6
|
|
8
7
|
# Filter out Minitest backtrace while allowing backtrace from other libraries
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: missing_template_406
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bryce Boe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -25,19 +25,47 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '4.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: appraisal
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.1'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.1'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: mocha
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
32
46
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
47
|
+
version: '1.1'
|
34
48
|
type: :development
|
35
49
|
prerelease: false
|
36
50
|
version_requirements: !ruby/object:Gem::Requirement
|
37
51
|
requirements:
|
38
|
-
- - "
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.1'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rubocop
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0.42'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
39
67
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
68
|
+
version: '0.42'
|
41
69
|
description: Modifies ActionController::Base such that, in production, ActionView::MissingTemplate
|
42
70
|
exceptions are caught and an HTTP 406-Not Acceptable response is rendered.
|
43
71
|
email:
|
@@ -47,18 +75,21 @@ extensions: []
|
|
47
75
|
extra_rdoc_files: []
|
48
76
|
files:
|
49
77
|
- MIT-LICENSE
|
50
|
-
- README.
|
78
|
+
- README.md
|
51
79
|
- Rakefile
|
52
80
|
- lib/missing_template_406.rb
|
53
81
|
- lib/missing_template_406/action_controller_patch.rb
|
54
82
|
- lib/missing_template_406/version.rb
|
83
|
+
- test/controller_test.rb
|
55
84
|
- test/dummy/README.rdoc
|
56
85
|
- test/dummy/Rakefile
|
57
86
|
- test/dummy/app/assets/javascripts/application.js
|
58
87
|
- test/dummy/app/assets/stylesheets/application.css
|
59
88
|
- test/dummy/app/controllers/application_controller.rb
|
89
|
+
- test/dummy/app/controllers/welcome_controller.rb
|
60
90
|
- test/dummy/app/helpers/application_helper.rb
|
61
91
|
- test/dummy/app/views/layouts/application.html.erb
|
92
|
+
- test/dummy/app/views/welcome/index.html.erb
|
62
93
|
- test/dummy/bin/bundle
|
63
94
|
- test/dummy/bin/rails
|
64
95
|
- test/dummy/bin/rake
|
@@ -66,7 +97,6 @@ files:
|
|
66
97
|
- test/dummy/config.ru
|
67
98
|
- test/dummy/config/application.rb
|
68
99
|
- test/dummy/config/boot.rb
|
69
|
-
- test/dummy/config/database.yml
|
70
100
|
- test/dummy/config/environment.rb
|
71
101
|
- test/dummy/config/environments/development.rb
|
72
102
|
- test/dummy/config/environments/production.rb
|
@@ -81,13 +111,44 @@ files:
|
|
81
111
|
- test/dummy/config/initializers/wrap_parameters.rb
|
82
112
|
- test/dummy/config/locales/en.yml
|
83
113
|
- test/dummy/config/routes.rb
|
84
|
-
- test/dummy/
|
114
|
+
- test/dummy/db/development.sqlite3
|
85
115
|
- test/dummy/db/test.sqlite3
|
116
|
+
- test/dummy/log/development.log
|
86
117
|
- test/dummy/log/test.log
|
87
118
|
- test/dummy/public/404.html
|
88
119
|
- test/dummy/public/422.html
|
89
120
|
- test/dummy/public/500.html
|
90
121
|
- test/dummy/public/favicon.ico
|
122
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache
|
123
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/AH/AHxN7vtKVyL8j4UI4ZrC1RR_1wSy76UNWoZM0W9LbLI.cache
|
124
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/CX/CXdY9Dwg3C0xjOFfhcN1sKz0uILMnHbgVwWA5r2lzMk.cache
|
125
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/DS/DSOLSc6A5RVSmvM415eEWAWG_AgOvZcLZOXQjsXyWQA.cache
|
126
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/Dg/Dg0GtOMw9jZNHff8-441gvdzfMeZLeMDpl163Tder1s.cache
|
127
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/KH/KHfmTgXdnbr4E7Zte11WaEEehHLcFUqxbfIsT9Rz-yY.cache
|
128
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/KX/KXcHwosOdKhExA1gj7gALmwtSDNoCQqk0LLanqI122I.cache
|
129
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/NN/NN5h1NdGAAHqY6E0mEIhCpHlAAT55qeiY707aufK3nE.cache
|
130
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/Nt/Nt6Qrjk2UIXYu8zp4u2rkCtCuk8iklLbWfTVGw4rN6w.cache
|
131
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache
|
132
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/YJ/YJ5y81GJLRmvIKwbPoU6buOUhKFta6ZVKpq6vvS-h9k.cache
|
133
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/_W/_WOXhBzKrRcHSRQmm8vVMOqrsENVkv9IFiFBSR6YOlc.cache
|
134
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/fy/FylwaEio_ZRnuFDB0GBHkKTtgFu4OlD74YffKmZKLac.cache
|
135
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/fy/fyAZ2QG2RniEUpDAOGIs25zeoPY36CuN5t6TTUMuhSc.cache
|
136
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/gZ/gZp3uXMHuYQC4hzCr7bQfetKNdJAtbQmg3so2KpW1Dw.cache
|
137
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/gb/gbunrAFVOHPwl2npUgKv_C3f_qiJnZDd9zG5-h3jrpo.cache
|
138
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/hD/hDh4X6ghcaAbFowpVNfztOvwILfoE4XUef5_gXEDftU.cache
|
139
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/hQ/hQMCdO0hTr40UDVXPXODWLK0YiVTV1D3cWMvH2U4oNM.cache
|
140
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/hZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache
|
141
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/ju/juUC_l6BMYErsX2uaodvQCu1d_sJfzNmCrXi1ir_ymA.cache
|
142
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/kl/klBFcJUSOL_HCkUuj1_6jNmiZdufCJfsu6u0NAr6HfI.cache
|
143
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/mv/mvqN6PphkrOOC8zbUEhpC_9E_4ybdO25MRy_gG6dq3Y.cache
|
144
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/nf/nfygMuR4lKlk6aSznUYiSHsG7nP6d_rJVO6owxsnlf4.cache
|
145
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/nm/nmcUZlKAIwyJ_35Nm9P8pukLeRX5aApP6NFj5MpNPgc.cache
|
146
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache
|
147
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/q7/q7jFlQQUgfuqIQ54oeUZFUudMnJTetOC6FxdrxTcb5Q.cache
|
148
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/q_/q_IG2VMLnqfUoyZzM-XGGq_F1_ETCFvoKf7I2fOalBQ.cache
|
149
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/rP/rPoH_Dj3gusxHk7j2SCX64TR8szYWFeiv1-HT4P_SNM.cache
|
150
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/up/up7mFCd2a5lH99BgdzPXtd1oQqs7ZkOfUUaZKSUZ3EA.cache
|
151
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/xd/xdBKQyhEAlDIstGvXw945PWJoEWi23rKuY7elOcWqHc.cache
|
91
152
|
- test/missing_template_406_test.rb
|
92
153
|
- test/test_helper.rb
|
93
154
|
homepage: https://github.com/appfolio/missing_template_406
|
@@ -115,18 +176,20 @@ signing_key:
|
|
115
176
|
specification_version: 4
|
116
177
|
summary: Rails 4 plugin that responds with HTTP status 406 on MissingTemplate exceptions.
|
117
178
|
test_files:
|
179
|
+
- test/controller_test.rb
|
118
180
|
- test/dummy/app/assets/javascripts/application.js
|
119
181
|
- test/dummy/app/assets/stylesheets/application.css
|
120
182
|
- test/dummy/app/controllers/application_controller.rb
|
183
|
+
- test/dummy/app/controllers/welcome_controller.rb
|
121
184
|
- test/dummy/app/helpers/application_helper.rb
|
122
185
|
- test/dummy/app/views/layouts/application.html.erb
|
186
|
+
- test/dummy/app/views/welcome/index.html.erb
|
123
187
|
- test/dummy/bin/bundle
|
124
188
|
- test/dummy/bin/rails
|
125
189
|
- test/dummy/bin/rake
|
126
190
|
- test/dummy/bin/setup
|
127
191
|
- test/dummy/config/application.rb
|
128
192
|
- test/dummy/config/boot.rb
|
129
|
-
- test/dummy/config/database.yml
|
130
193
|
- test/dummy/config/environment.rb
|
131
194
|
- test/dummy/config/environments/development.rb
|
132
195
|
- test/dummy/config/environments/production.rb
|
@@ -141,9 +204,10 @@ test_files:
|
|
141
204
|
- test/dummy/config/initializers/wrap_parameters.rb
|
142
205
|
- test/dummy/config/locales/en.yml
|
143
206
|
- test/dummy/config/routes.rb
|
144
|
-
- test/dummy/config/secrets.yml
|
145
207
|
- test/dummy/config.ru
|
208
|
+
- test/dummy/db/development.sqlite3
|
146
209
|
- test/dummy/db/test.sqlite3
|
210
|
+
- test/dummy/log/development.log
|
147
211
|
- test/dummy/log/test.log
|
148
212
|
- test/dummy/public/404.html
|
149
213
|
- test/dummy/public/422.html
|
@@ -151,5 +215,35 @@ test_files:
|
|
151
215
|
- test/dummy/public/favicon.ico
|
152
216
|
- test/dummy/Rakefile
|
153
217
|
- test/dummy/README.rdoc
|
218
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache
|
219
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/_W/_WOXhBzKrRcHSRQmm8vVMOqrsENVkv9IFiFBSR6YOlc.cache
|
220
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/AH/AHxN7vtKVyL8j4UI4ZrC1RR_1wSy76UNWoZM0W9LbLI.cache
|
221
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/CX/CXdY9Dwg3C0xjOFfhcN1sKz0uILMnHbgVwWA5r2lzMk.cache
|
222
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/Dg/Dg0GtOMw9jZNHff8-441gvdzfMeZLeMDpl163Tder1s.cache
|
223
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/DS/DSOLSc6A5RVSmvM415eEWAWG_AgOvZcLZOXQjsXyWQA.cache
|
224
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/fy/fyAZ2QG2RniEUpDAOGIs25zeoPY36CuN5t6TTUMuhSc.cache
|
225
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/fy/FylwaEio_ZRnuFDB0GBHkKTtgFu4OlD74YffKmZKLac.cache
|
226
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/gb/gbunrAFVOHPwl2npUgKv_C3f_qiJnZDd9zG5-h3jrpo.cache
|
227
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/gZ/gZp3uXMHuYQC4hzCr7bQfetKNdJAtbQmg3so2KpW1Dw.cache
|
228
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/hD/hDh4X6ghcaAbFowpVNfztOvwILfoE4XUef5_gXEDftU.cache
|
229
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/hQ/hQMCdO0hTr40UDVXPXODWLK0YiVTV1D3cWMvH2U4oNM.cache
|
230
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/hZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache
|
231
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/ju/juUC_l6BMYErsX2uaodvQCu1d_sJfzNmCrXi1ir_ymA.cache
|
232
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/KH/KHfmTgXdnbr4E7Zte11WaEEehHLcFUqxbfIsT9Rz-yY.cache
|
233
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/kl/klBFcJUSOL_HCkUuj1_6jNmiZdufCJfsu6u0NAr6HfI.cache
|
234
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/KX/KXcHwosOdKhExA1gj7gALmwtSDNoCQqk0LLanqI122I.cache
|
235
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/mv/mvqN6PphkrOOC8zbUEhpC_9E_4ybdO25MRy_gG6dq3Y.cache
|
236
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/nf/nfygMuR4lKlk6aSznUYiSHsG7nP6d_rJVO6owxsnlf4.cache
|
237
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/nm/nmcUZlKAIwyJ_35Nm9P8pukLeRX5aApP6NFj5MpNPgc.cache
|
238
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/NN/NN5h1NdGAAHqY6E0mEIhCpHlAAT55qeiY707aufK3nE.cache
|
239
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/Nt/Nt6Qrjk2UIXYu8zp4u2rkCtCuk8iklLbWfTVGw4rN6w.cache
|
240
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache
|
241
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache
|
242
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/q7/q7jFlQQUgfuqIQ54oeUZFUudMnJTetOC6FxdrxTcb5Q.cache
|
243
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/q_/q_IG2VMLnqfUoyZzM-XGGq_F1_ETCFvoKf7I2fOalBQ.cache
|
244
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/rP/rPoH_Dj3gusxHk7j2SCX64TR8szYWFeiv1-HT4P_SNM.cache
|
245
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/up/up7mFCd2a5lH99BgdzPXtd1oQqs7ZkOfUUaZKSUZ3EA.cache
|
246
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/xd/xdBKQyhEAlDIstGvXw945PWJoEWi23rKuY7elOcWqHc.cache
|
247
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/YJ/YJ5y81GJLRmvIKwbPoU6buOUhKFta6ZVKpq6vvS-h9k.cache
|
154
248
|
- test/missing_template_406_test.rb
|
155
249
|
- test/test_helper.rb
|
data/README.rdoc
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
= MissingTemplate406
|
2
|
-
|
3
|
-
Modifies ``ActionController::Base`` such that, in production,
|
4
|
-
``ActionView::MissingTemplate`` exceptions are caught and an HTTP 406-Not
|
5
|
-
Acceptable response is rendered.
|
6
|
-
|
7
|
-
This gem should work with all Rails 4 versions.
|
8
|
-
|
9
|
-
Rails 5 raises a ``ActionController::UnknownFormat`` when attempting to request
|
10
|
-
a format that does not have a template. In production mode, this exception is
|
11
|
-
implicitly converted to a 406-Not Acceptable HTTP response. As a result of
|
12
|
-
Rails 5 having the desired behavior, the 406 response, this gem will raise an
|
13
|
-
exception on include.
|
@@ -1,25 +0,0 @@
|
|
1
|
-
# SQLite version 3.x
|
2
|
-
# gem install sqlite3
|
3
|
-
#
|
4
|
-
# Ensure the SQLite 3 gem is defined in your Gemfile
|
5
|
-
# gem 'sqlite3'
|
6
|
-
#
|
7
|
-
default: &default
|
8
|
-
adapter: sqlite3
|
9
|
-
pool: 5
|
10
|
-
timeout: 5000
|
11
|
-
|
12
|
-
development:
|
13
|
-
<<: *default
|
14
|
-
database: db/development.sqlite3
|
15
|
-
|
16
|
-
# Warning: The database defined as "test" will be erased and
|
17
|
-
# re-generated from your development database when you run "rake".
|
18
|
-
# Do not set this db to the same as development or production.
|
19
|
-
test:
|
20
|
-
<<: *default
|
21
|
-
database: db/test.sqlite3
|
22
|
-
|
23
|
-
production:
|
24
|
-
<<: *default
|
25
|
-
database: db/production.sqlite3
|
@@ -1,22 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# Your secret key is used for verifying the integrity of signed cookies.
|
4
|
-
# If you change this key, all old signed cookies will become invalid!
|
5
|
-
|
6
|
-
# Make sure the secret is at least 30 characters and all random,
|
7
|
-
# no regular words or you'll be exposed to dictionary attacks.
|
8
|
-
# You can use `rake secret` to generate a secure secret key.
|
9
|
-
|
10
|
-
# Make sure the secrets in this file are kept private
|
11
|
-
# if you're sharing your code publicly.
|
12
|
-
|
13
|
-
development:
|
14
|
-
secret_key_base: d9bc1af85eae2a675f2ac50306474b30f7ba425550a0d0a9f5c27b7819a5c9d4c1affbef119f5742b337a2d44c39f9dc118dc9e84b526b47c86be5f5c4073157
|
15
|
-
|
16
|
-
test:
|
17
|
-
secret_key_base: bdb66e8456f702db8146259dc13a2019bb0b00d36dd3637678b2f8e2113ccbfdd9c935f188ffbc56cf38259e723f6e4021256721c48c3b63c3396d167e5e8494
|
18
|
-
|
19
|
-
# Do not keep production secrets in the repository,
|
20
|
-
# instead read values from the environment.
|
21
|
-
production:
|
22
|
-
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|