media_embed 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +0 -6
  3. data/lib/media_embed/handler.rb +20 -20
  4. data/lib/media_embed/podcast.rb +1 -1
  5. data/lib/media_embed/version.rb +1 -1
  6. data/lib/media_embed/video.rb +3 -3
  7. data/test/media_embed/handler_test.rb +27 -27
  8. data/test/media_embed/podcast_test.rb +14 -0
  9. data/test/media_embed/video_test.rb +25 -0
  10. data/test/test_helper.rb +3 -16
  11. metadata +9 -171
  12. data/test/dummy/README.rdoc +0 -28
  13. data/test/dummy/Rakefile +0 -6
  14. data/test/dummy/app/assets/javascripts/application.js +0 -13
  15. data/test/dummy/app/assets/javascripts/home.js +0 -2
  16. data/test/dummy/app/assets/stylesheets/application.css +0 -15
  17. data/test/dummy/app/assets/stylesheets/home.css +0 -4
  18. data/test/dummy/app/controllers/application_controller.rb +0 -5
  19. data/test/dummy/app/controllers/home_controller.rb +0 -4
  20. data/test/dummy/app/helpers/application_helper.rb +0 -2
  21. data/test/dummy/app/helpers/home_helper.rb +0 -2
  22. data/test/dummy/app/views/home/index.html.erb +0 -68
  23. data/test/dummy/app/views/layouts/application.html.erb +0 -14
  24. data/test/dummy/bin/bundle +0 -3
  25. data/test/dummy/bin/rails +0 -4
  26. data/test/dummy/bin/rake +0 -4
  27. data/test/dummy/bin/setup +0 -29
  28. data/test/dummy/config.ru +0 -4
  29. data/test/dummy/config/application.rb +0 -26
  30. data/test/dummy/config/boot.rb +0 -5
  31. data/test/dummy/config/database.yml +0 -25
  32. data/test/dummy/config/environment.rb +0 -5
  33. data/test/dummy/config/environments/development.rb +0 -41
  34. data/test/dummy/config/environments/production.rb +0 -79
  35. data/test/dummy/config/environments/test.rb +0 -42
  36. data/test/dummy/config/initializers/assets.rb +0 -11
  37. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
  38. data/test/dummy/config/initializers/cookies_serializer.rb +0 -3
  39. data/test/dummy/config/initializers/filter_parameter_logging.rb +0 -4
  40. data/test/dummy/config/initializers/inflections.rb +0 -16
  41. data/test/dummy/config/initializers/mime_types.rb +0 -4
  42. data/test/dummy/config/initializers/session_store.rb +0 -3
  43. data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
  44. data/test/dummy/config/locales/en.yml +0 -23
  45. data/test/dummy/config/routes.rb +0 -4
  46. data/test/dummy/config/secrets.yml +0 -22
  47. data/test/dummy/db/development.sqlite3 +0 -0
  48. data/test/dummy/db/test.sqlite3 +0 -0
  49. data/test/dummy/log/development.log +0 -642
  50. data/test/dummy/log/test.log +0 -230
  51. data/test/dummy/public/404.html +0 -67
  52. data/test/dummy/public/422.html +0 -67
  53. data/test/dummy/public/500.html +0 -66
  54. data/test/dummy/public/favicon.ico +0 -0
  55. data/test/dummy/test/controllers/home_controller_test.rb +0 -7
  56. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +0 -2
  57. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5Q/5QKO5_wh9WWzBY7U_HkwBrMsmoT4GN1TwF3j4i3wKDk.cache +0 -0
  58. data/test/dummy/tmp/cache/assets/sprockets/v3.0/78/78j08qqtmv-JUdkCWJDsNYi7yzDbzQCU2S7L6AOLuvs.cache +0 -0
  59. data/test/dummy/tmp/cache/assets/sprockets/v3.0/DM/DMAJ3KDpacWbGmN1Cnq4PksEZZJwApG5ssuM3xsHqD8.cache +0 -2
  60. data/test/dummy/tmp/cache/assets/sprockets/v3.0/DS/DSOLSc6A5RVSmvM415eEWAWG_AgOvZcLZOXQjsXyWQA.cache +0 -2
  61. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Lq/Lq2C_BTRZxc5UhovyGcuDniBSLgXJ6iXzNPTHz218N4.cache +0 -1
  62. data/test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +0 -2
  63. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Oe/OeCtrqtSGPVeMDxJIKfaJbuLZPzBZV4lfPKUuEgH2II.cache +0 -1
  64. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Q8/Q84NQ59ORq5u4K-Nyw6uPayOn-VCdceVXQ7aGt3ygoM.cache +0 -1
  65. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Q8/q8M9NJXXFO0wJXrSI72sLXloRAfZqV2__5k_fRRBvDc.cache +0 -1
  66. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Qj/Qj0ia-J1N9Y-J_dwZPjd4fK3EOx4yj25ZUzLIAPZ1Y0.cache +0 -1
  67. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Tr/Tr6FQPpaiJ0m5Uy-742ZKxfqwdLoaivs0u709PWrJnI.cache +0 -1
  68. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Zx/Zx_pY8rr1nkaxuaXAyawN22ouXmPuf7ju8gMSZAuLME.cache +0 -0
  69. data/test/dummy/tmp/cache/assets/sprockets/v3.0/_9/_9A2uJkTbXCY-byELZxtnz9J7DlP9cDTf3iDC49xuXY.cache +0 -1
  70. data/test/dummy/tmp/cache/assets/sprockets/v3.0/b1/b1c9KFtx0FgHD9sk4rnwytFaubTXmq3wOsq4IEt_kZk.cache +0 -1
  71. data/test/dummy/tmp/cache/assets/sprockets/v3.0/eD/eDjrmZq57MKXV15QCoYh0AryvyBrzVI6uloOivalMGA.cache +0 -0
  72. data/test/dummy/tmp/cache/assets/sprockets/v3.0/eH/eH-T_w27bGgX2U1WQX1SoPaBw8NJ_jtOwHtfyeK-8OE.cache +0 -1
  73. data/test/dummy/tmp/cache/assets/sprockets/v3.0/gZ/gZp3uXMHuYQC4hzCr7bQfetKNdJAtbQmg3so2KpW1Dw.cache +0 -2
  74. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hG/hG-rDmyd73DilpsuEZej17NJrk0lfcD4HO493ENl1nw.cache +0 -0
  75. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hQ/hQ-Q1U-4i58pSG74SoUGKzNKc1Uck9AnOiw8smXC8Ic.cache +0 -1
  76. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache +0 -2
  77. data/test/dummy/tmp/cache/assets/sprockets/v3.0/iz/izUTL63DNdovMkVITSoAZ5LvYaBVDW7AzIccJ6qsUvQ.cache +0 -0
  78. data/test/dummy/tmp/cache/assets/sprockets/v3.0/jo/jor-MCwFJHsYxGBjtsXux9i-qClvAH0JiC8JsV0QsXQ.cache +0 -1
  79. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache +0 -2
  80. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pn/pnW3u_1AN48ig6ngefI89y96xoSlvnJurx-e3J-leoE.cache +0 -3
  81. data/test/dummy/tmp/cache/assets/sprockets/v3.0/rH/rH0XF9hlEBaHEN2-fmB9i_eJyZQL7pYTDLCfJ4hooy4.cache +0 -0
  82. data/test/dummy/tmp/cache/assets/sprockets/v3.0/rX/rXh9_pElA8n-GpShfVjGuwEr4BLbuARTyndl5rEz9Nc.cache +0 -1
  83. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ss/ssS2x0Wl67rwXHaVHsh6CO7ayn9fQ5saIwATKN6O-nI.cache +0 -3
  84. data/test/dummy/tmp/cache/assets/sprockets/v3.0/xt/xtXpwJn_zdX4IYipCeokPBOCp4guNpM9V_ybPdFSDFA.cache +0 -0
  85. data/test/dummy/tmp/cache/assets/sprockets/v3.0/yi/yilpDoLbllD_EjIKIfMFuMgcFT-ypWu98nAxyNQ5xKc.cache +0 -1
  86. data/test/dummy/tmp/pids/server.pid +0 -1
  87. data/test/media_embed_test.rb +0 -11
@@ -1,230 +0,0 @@
1
-  (0.1ms) begin transaction
2
- --------------------------------------------
3
- MediaEmbedTest: test_it_has_a_version_number
4
- --------------------------------------------
5
-  (0.0ms) rollback transaction
6
-  (0.1ms) begin transaction
7
- --------------------------
8
- MediaEmbedTest: test_truth
9
- --------------------------
10
-  (0.0ms) rollback transaction
11
-  (0.0ms) begin transaction
12
- ------------------------------------------------------------
13
- HandlerTest: test_it_extracts_code_from_all_vimeo_structures
14
- ------------------------------------------------------------
15
-  (0.0ms) rollback transaction
16
-  (0.1ms) begin transaction
17
- ---------------------------------------------------------------
18
- HandlerTest: test_it_extracts_codes_from_all_youtube_structures
19
- ---------------------------------------------------------------
20
-  (0.0ms) rollback transaction
21
-  (0.1ms) begin transaction
22
- --------------------------
23
- MediaEmbedTest: test_truth
24
- --------------------------
25
-  (0.0ms) rollback transaction
26
-  (0.1ms) begin transaction
27
- --------------------------------------------
28
- MediaEmbedTest: test_it_has_a_version_number
29
- --------------------------------------------
30
-  (0.0ms) rollback transaction
31
-  (0.0ms) begin transaction
32
- ------------------------------------------------------------
33
- HandlerTest: test_it_extracts_code_from_all_vimeo_structures
34
- ------------------------------------------------------------
35
-  (0.0ms) rollback transaction
36
-  (0.1ms) begin transaction
37
- ---------------------------------------------------------------
38
- HandlerTest: test_it_extracts_codes_from_all_youtube_structures
39
- ---------------------------------------------------------------
40
-  (0.0ms) rollback transaction
41
-  (0.2ms) begin transaction
42
- --------------------------------------------
43
- MediaEmbedTest: test_it_has_a_version_number
44
- --------------------------------------------
45
-  (0.1ms) rollback transaction
46
-  (0.1ms) begin transaction
47
- --------------------------
48
- MediaEmbedTest: test_truth
49
- --------------------------
50
-  (0.0ms) rollback transaction
51
-  (0.1ms) begin transaction
52
- ---------------------------------------------------------------
53
- HandlerTest: test_it_extracts_codes_from_all_youtube_structures
54
- ---------------------------------------------------------------
55
-  (0.1ms) rollback transaction
56
-  (0.1ms) begin transaction
57
- ------------------------------------------------------------
58
- HandlerTest: test_it_extracts_code_from_all_vimeo_structures
59
- ------------------------------------------------------------
60
-  (0.0ms) rollback transaction
61
-  (0.1ms) begin transaction
62
- ------------------------------------------------------------
63
- HandlerTest: test_it_extracts_code_from_all_vimeo_structures
64
- ------------------------------------------------------------
65
-  (0.0ms) rollback transaction
66
-  (0.1ms) begin transaction
67
- ---------------------------------------------------------------
68
- HandlerTest: test_it_extracts_codes_from_all_youtube_structures
69
- ---------------------------------------------------------------
70
-  (0.0ms) rollback transaction
71
-  (0.0ms) begin transaction
72
- --------------------------------------------
73
- MediaEmbedTest: test_it_has_a_version_number
74
- --------------------------------------------
75
-  (0.0ms) rollback transaction
76
-  (0.0ms) begin transaction
77
- --------------------------
78
- MediaEmbedTest: test_truth
79
- --------------------------
80
-  (0.0ms) rollback transaction
81
-  (0.1ms) begin transaction
82
- --------------------------------------------
83
- MediaEmbedTest: test_it_has_a_version_number
84
- --------------------------------------------
85
-  (0.0ms) rollback transaction
86
-  (0.1ms) begin transaction
87
- --------------------------
88
- MediaEmbedTest: test_truth
89
- --------------------------
90
-  (0.1ms) rollback transaction
91
-  (0.1ms) begin transaction
92
- ------------------------------------------------------------
93
- HandlerTest: test_it_extracts_code_from_all_vimeo_structures
94
- ------------------------------------------------------------
95
-  (0.0ms) rollback transaction
96
-  (0.1ms) begin transaction
97
- ---------------------------------------------------------------
98
- HandlerTest: test_it_extracts_codes_from_all_youtube_structures
99
- ---------------------------------------------------------------
100
-  (0.0ms) rollback transaction
101
-  (0.1ms) begin transaction
102
- -----------------------------------------------------------
103
- HandlerTest: test_it_extracts_code_for_soundcloud_structure
104
- -----------------------------------------------------------
105
-  (0.0ms) rollback transaction
106
-  (0.1ms) begin transaction
107
- -----------------------------------------------------------
108
- HandlerTest: test_it_extracts_code_for_soundcloud_structure
109
- -----------------------------------------------------------
110
-  (0.1ms) rollback transaction
111
-  (0.1ms) begin transaction
112
- ------------------------------------------------------------
113
- HandlerTest: test_it_extracts_code_from_all_vimeo_structures
114
- ------------------------------------------------------------
115
-  (0.0ms) rollback transaction
116
-  (0.1ms) begin transaction
117
- ---------------------------------------------------------------
118
- HandlerTest: test_it_extracts_codes_from_all_youtube_structures
119
- ---------------------------------------------------------------
120
-  (0.0ms) rollback transaction
121
-  (0.1ms) begin transaction
122
- --------------------------------------------
123
- MediaEmbedTest: test_it_has_a_version_number
124
- --------------------------------------------
125
-  (0.0ms) rollback transaction
126
-  (0.0ms) begin transaction
127
- --------------------------
128
- MediaEmbedTest: test_truth
129
- --------------------------
130
-  (0.0ms) rollback transaction
131
-  (0.2ms) begin transaction
132
- ---------------------------------------------------------------
133
- HandlerTest: test_it_extracts_codes_from_all_youtube_structures
134
- ---------------------------------------------------------------
135
-  (0.1ms) rollback transaction
136
-  (0.1ms) begin transaction
137
- ------------------------------------------------------------
138
- HandlerTest: test_it_extracts_code_from_all_vimeo_structures
139
- ------------------------------------------------------------
140
-  (0.0ms) rollback transaction
141
-  (0.2ms) begin transaction
142
- -----------------------------------------------------------
143
- HandlerTest: test_it_extracts_code_for_soundcloud_structure
144
- -----------------------------------------------------------
145
-  (0.0ms) rollback transaction
146
-  (0.0ms) begin transaction
147
- --------------------------
148
- MediaEmbedTest: test_truth
149
- --------------------------
150
-  (0.0ms) rollback transaction
151
-  (0.2ms) begin transaction
152
- --------------------------------------------
153
- MediaEmbedTest: test_it_has_a_version_number
154
- --------------------------------------------
155
-  (0.1ms) rollback transaction
156
-  (0.1ms) begin transaction
157
- -----------------------------------------------------------
158
- HandlerTest: test_it_extracts_code_for_soundcloud_structure
159
- -----------------------------------------------------------
160
-  (0.1ms) rollback transaction
161
-  (0.1ms) begin transaction
162
- ------------------------------------------------------------
163
- HandlerTest: test_it_extracts_code_from_all_vimeo_structures
164
- ------------------------------------------------------------
165
-  (0.0ms) rollback transaction
166
-  (0.1ms) begin transaction
167
- ---------------------------------------------------------------
168
- HandlerTest: test_it_extracts_codes_from_all_youtube_structures
169
- ---------------------------------------------------------------
170
-  (0.0ms) rollback transaction
171
-  (0.0ms) begin transaction
172
- --------------------------------------------
173
- MediaEmbedTest: test_it_has_a_version_number
174
- --------------------------------------------
175
-  (0.1ms) rollback transaction
176
-  (0.2ms) begin transaction
177
- --------------------------
178
- MediaEmbedTest: test_truth
179
- --------------------------
180
-  (0.1ms) rollback transaction
181
-  (0.1ms) begin transaction
182
- ------------------------------------------------------------
183
- HandlerTest: test_it_extracts_code_from_all_vimeo_structures
184
- ------------------------------------------------------------
185
-  (0.0ms) rollback transaction
186
-  (0.1ms) begin transaction
187
- -----------------------------------------------------------
188
- HandlerTest: test_it_extracts_code_for_soundcloud_structure
189
- -----------------------------------------------------------
190
-  (0.0ms) rollback transaction
191
-  (0.1ms) begin transaction
192
- ---------------------------------------------------------------
193
- HandlerTest: test_it_extracts_codes_from_all_youtube_structures
194
- ---------------------------------------------------------------
195
-  (0.0ms) rollback transaction
196
-  (0.0ms) begin transaction
197
- --------------------------------------------
198
- MediaEmbedTest: test_it_has_a_version_number
199
- --------------------------------------------
200
-  (0.1ms) rollback transaction
201
-  (0.1ms) begin transaction
202
- --------------------------
203
- MediaEmbedTest: test_truth
204
- --------------------------
205
-  (0.0ms) rollback transaction
206
-  (0.1ms) begin transaction
207
- --------------------------------------------
208
- MediaEmbedTest: test_it_has_a_version_number
209
- --------------------------------------------
210
-  (0.1ms) rollback transaction
211
-  (0.1ms) begin transaction
212
- --------------------------
213
- MediaEmbedTest: test_truth
214
- --------------------------
215
-  (0.0ms) rollback transaction
216
-  (0.0ms) begin transaction
217
- ---------------------------------------------------------------
218
- HandlerTest: test_it_extracts_codes_from_all_youtube_structures
219
- ---------------------------------------------------------------
220
-  (0.0ms) rollback transaction
221
-  (0.1ms) begin transaction
222
- ------------------------------------------------------------
223
- HandlerTest: test_it_extracts_code_from_all_vimeo_structures
224
- ------------------------------------------------------------
225
-  (0.0ms) rollback transaction
226
-  (0.1ms) begin transaction
227
- -----------------------------------------------------------
228
- HandlerTest: test_it_extracts_code_for_soundcloud_structure
229
- -----------------------------------------------------------
230
-  (0.0ms) rollback transaction
@@ -1,67 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>The page you were looking for doesn't exist (404)</title>
5
- <meta name="viewport" content="width=device-width,initial-scale=1">
6
- <style>
7
- body {
8
- background-color: #EFEFEF;
9
- color: #2E2F30;
10
- text-align: center;
11
- font-family: arial, sans-serif;
12
- margin: 0;
13
- }
14
-
15
- div.dialog {
16
- width: 95%;
17
- max-width: 33em;
18
- margin: 4em auto 0;
19
- }
20
-
21
- div.dialog > div {
22
- border: 1px solid #CCC;
23
- border-right-color: #999;
24
- border-left-color: #999;
25
- border-bottom-color: #BBB;
26
- border-top: #B00100 solid 4px;
27
- border-top-left-radius: 9px;
28
- border-top-right-radius: 9px;
29
- background-color: white;
30
- padding: 7px 12% 0;
31
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
- }
33
-
34
- h1 {
35
- font-size: 100%;
36
- color: #730E15;
37
- line-height: 1.5em;
38
- }
39
-
40
- div.dialog > p {
41
- margin: 0 0 1em;
42
- padding: 1em;
43
- background-color: #F7F7F7;
44
- border: 1px solid #CCC;
45
- border-right-color: #999;
46
- border-left-color: #999;
47
- border-bottom-color: #999;
48
- border-bottom-left-radius: 4px;
49
- border-bottom-right-radius: 4px;
50
- border-top-color: #DADADA;
51
- color: #666;
52
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
- }
54
- </style>
55
- </head>
56
-
57
- <body>
58
- <!-- This file lives in public/404.html -->
59
- <div class="dialog">
60
- <div>
61
- <h1>The page you were looking for doesn't exist.</h1>
62
- <p>You may have mistyped the address or the page may have moved.</p>
63
- </div>
64
- <p>If you are the application owner check the logs for more information.</p>
65
- </div>
66
- </body>
67
- </html>
@@ -1,67 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>The change you wanted was rejected (422)</title>
5
- <meta name="viewport" content="width=device-width,initial-scale=1">
6
- <style>
7
- body {
8
- background-color: #EFEFEF;
9
- color: #2E2F30;
10
- text-align: center;
11
- font-family: arial, sans-serif;
12
- margin: 0;
13
- }
14
-
15
- div.dialog {
16
- width: 95%;
17
- max-width: 33em;
18
- margin: 4em auto 0;
19
- }
20
-
21
- div.dialog > div {
22
- border: 1px solid #CCC;
23
- border-right-color: #999;
24
- border-left-color: #999;
25
- border-bottom-color: #BBB;
26
- border-top: #B00100 solid 4px;
27
- border-top-left-radius: 9px;
28
- border-top-right-radius: 9px;
29
- background-color: white;
30
- padding: 7px 12% 0;
31
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
- }
33
-
34
- h1 {
35
- font-size: 100%;
36
- color: #730E15;
37
- line-height: 1.5em;
38
- }
39
-
40
- div.dialog > p {
41
- margin: 0 0 1em;
42
- padding: 1em;
43
- background-color: #F7F7F7;
44
- border: 1px solid #CCC;
45
- border-right-color: #999;
46
- border-left-color: #999;
47
- border-bottom-color: #999;
48
- border-bottom-left-radius: 4px;
49
- border-bottom-right-radius: 4px;
50
- border-top-color: #DADADA;
51
- color: #666;
52
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
- }
54
- </style>
55
- </head>
56
-
57
- <body>
58
- <!-- This file lives in public/422.html -->
59
- <div class="dialog">
60
- <div>
61
- <h1>The change you wanted was rejected.</h1>
62
- <p>Maybe you tried to change something you didn't have access to.</p>
63
- </div>
64
- <p>If you are the application owner check the logs for more information.</p>
65
- </div>
66
- </body>
67
- </html>
@@ -1,66 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>We're sorry, but something went wrong (500)</title>
5
- <meta name="viewport" content="width=device-width,initial-scale=1">
6
- <style>
7
- body {
8
- background-color: #EFEFEF;
9
- color: #2E2F30;
10
- text-align: center;
11
- font-family: arial, sans-serif;
12
- margin: 0;
13
- }
14
-
15
- div.dialog {
16
- width: 95%;
17
- max-width: 33em;
18
- margin: 4em auto 0;
19
- }
20
-
21
- div.dialog > div {
22
- border: 1px solid #CCC;
23
- border-right-color: #999;
24
- border-left-color: #999;
25
- border-bottom-color: #BBB;
26
- border-top: #B00100 solid 4px;
27
- border-top-left-radius: 9px;
28
- border-top-right-radius: 9px;
29
- background-color: white;
30
- padding: 7px 12% 0;
31
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
- }
33
-
34
- h1 {
35
- font-size: 100%;
36
- color: #730E15;
37
- line-height: 1.5em;
38
- }
39
-
40
- div.dialog > p {
41
- margin: 0 0 1em;
42
- padding: 1em;
43
- background-color: #F7F7F7;
44
- border: 1px solid #CCC;
45
- border-right-color: #999;
46
- border-left-color: #999;
47
- border-bottom-color: #999;
48
- border-bottom-left-radius: 4px;
49
- border-bottom-right-radius: 4px;
50
- border-top-color: #DADADA;
51
- color: #666;
52
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
- }
54
- </style>
55
- </head>
56
-
57
- <body>
58
- <!-- This file lives in public/500.html -->
59
- <div class="dialog">
60
- <div>
61
- <h1>We're sorry, but something went wrong.</h1>
62
- </div>
63
- <p>If you are the application owner check the logs for more information.</p>
64
- </div>
65
- </body>
66
- </html>
File without changes
@@ -1,7 +0,0 @@
1
- require 'test_helper'
2
-
3
- class HomeControllerTest < ActionController::TestCase
4
- # test "the truth" do
5
- # assert true
6
- # end
7
- end