exceptionally_beautiful 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +4 -0
  3. data/.rubocop.yml +39 -0
  4. data/.ruby-version +1 -0
  5. data/.travis.yml +10 -0
  6. data/CHANGELOG.md +5 -0
  7. data/Gemfile +14 -0
  8. data/Gemfile.lock +199 -0
  9. data/Guardfile +12 -0
  10. data/LICENSE +21 -0
  11. data/README.md +63 -0
  12. data/Rakefile +33 -0
  13. data/app/controllers/concerns/exceptionally_beautiful/error_handler.rb +16 -0
  14. data/app/controllers/exceptionally_beautiful/application_controller.rb +4 -0
  15. data/app/controllers/exceptionally_beautiful/errors_controller.rb +7 -0
  16. data/app/models/exceptionally_beautiful/error.rb +41 -0
  17. data/app/views/exceptionally_beautiful/errors/show.html.erb +2 -0
  18. data/app/views/layouts/exceptionally_beautiful/errors.html.erb +9 -0
  19. data/bin/rails +12 -0
  20. data/config/locales/en.yml +20 -0
  21. data/config/routes.rb +2 -0
  22. data/exceptionally_beautiful.gemspec +32 -0
  23. data/lib/exceptionally_beautiful/engine.rb +11 -0
  24. data/lib/exceptionally_beautiful/routes.rb +8 -0
  25. data/lib/exceptionally_beautiful/version.rb +3 -0
  26. data/lib/exceptionally_beautiful.rb +28 -0
  27. data/lib/generators/exceptionally_beautiful/install_generator.rb +22 -0
  28. data/lib/generators/templates/exceptionally_beautiful.rb +10 -0
  29. data/spec/features/exceptionally_beautiful_engine_spec.rb +22 -0
  30. data/spec/spec_helper.rb +14 -0
  31. data/spec/test_app/README.rdoc +28 -0
  32. data/spec/test_app/Rakefile +6 -0
  33. data/spec/test_app/app/assets/stylesheets/application.css +15 -0
  34. data/spec/test_app/app/controllers/application_controller.rb +5 -0
  35. data/spec/test_app/app/controllers/tests_controller.rb +9 -0
  36. data/spec/test_app/app/helpers/application_helper.rb +2 -0
  37. data/spec/test_app/app/views/layouts/application.html.erb +13 -0
  38. data/spec/test_app/bin/bundle +3 -0
  39. data/spec/test_app/bin/rails +4 -0
  40. data/spec/test_app/bin/rake +4 -0
  41. data/spec/test_app/bin/setup +29 -0
  42. data/spec/test_app/config/application.rb +33 -0
  43. data/spec/test_app/config/boot.rb +3 -0
  44. data/spec/test_app/config/environment.rb +5 -0
  45. data/spec/test_app/config/environments/development.rb +24 -0
  46. data/spec/test_app/config/environments/production.rb +63 -0
  47. data/spec/test_app/config/environments/test.rb +42 -0
  48. data/spec/test_app/config/initializers/backtrace_silencers.rb +7 -0
  49. data/spec/test_app/config/initializers/cookies_serializer.rb +3 -0
  50. data/spec/test_app/config/initializers/filter_parameter_logging.rb +4 -0
  51. data/spec/test_app/config/initializers/inflections.rb +16 -0
  52. data/spec/test_app/config/initializers/mime_types.rb +4 -0
  53. data/spec/test_app/config/initializers/session_store.rb +3 -0
  54. data/spec/test_app/config/initializers/wrap_parameters.rb +9 -0
  55. data/spec/test_app/config/locales/en.yml +23 -0
  56. data/spec/test_app/config/routes.rb +4 -0
  57. data/spec/test_app/config/secrets.yml +22 -0
  58. data/spec/test_app/config.ru +4 -0
  59. data/spec/test_app/db/seeds.rb +7 -0
  60. data/spec/test_app/public/404.html +67 -0
  61. data/spec/test_app/public/422.html +67 -0
  62. data/spec/test_app/public/500.html +66 -0
  63. data/spec/test_app/public/favicon.ico +0 -0
  64. data/spec/test_app/public/robots.txt +5 -0
  65. metadata +312 -0
@@ -0,0 +1,66 @@
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
@@ -0,0 +1,5 @@
1
+ # See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
2
+ #
3
+ # To ban all spiders from the entire site uncomment the next two lines:
4
+ # User-agent: *
5
+ # Disallow: /
metadata ADDED
@@ -0,0 +1,312 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: exceptionally_beautiful
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - PJ Kelly
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-01-21 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 4.2.0.beta1
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 4.2.0.beta1
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.3'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: pry
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rspec-rails
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: capybara
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rubocop
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: guard
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: guard-rspec
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: guard-rubocop
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: codeclimate-test-reporter
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ description: A Rails engine for handling error pages.
182
+ email:
183
+ - pj@crushlovely.com
184
+ executables: []
185
+ extensions: []
186
+ extra_rdoc_files: []
187
+ files:
188
+ - ".gitignore"
189
+ - ".rubocop.yml"
190
+ - ".ruby-version"
191
+ - ".travis.yml"
192
+ - CHANGELOG.md
193
+ - Gemfile
194
+ - Gemfile.lock
195
+ - Guardfile
196
+ - LICENSE
197
+ - README.md
198
+ - Rakefile
199
+ - app/controllers/concerns/exceptionally_beautiful/error_handler.rb
200
+ - app/controllers/exceptionally_beautiful/application_controller.rb
201
+ - app/controllers/exceptionally_beautiful/errors_controller.rb
202
+ - app/models/exceptionally_beautiful/error.rb
203
+ - app/views/exceptionally_beautiful/errors/show.html.erb
204
+ - app/views/layouts/exceptionally_beautiful/errors.html.erb
205
+ - bin/rails
206
+ - config/locales/en.yml
207
+ - config/routes.rb
208
+ - exceptionally_beautiful.gemspec
209
+ - lib/exceptionally_beautiful.rb
210
+ - lib/exceptionally_beautiful/engine.rb
211
+ - lib/exceptionally_beautiful/routes.rb
212
+ - lib/exceptionally_beautiful/version.rb
213
+ - lib/generators/exceptionally_beautiful/install_generator.rb
214
+ - lib/generators/templates/exceptionally_beautiful.rb
215
+ - spec/features/exceptionally_beautiful_engine_spec.rb
216
+ - spec/spec_helper.rb
217
+ - spec/test_app/README.rdoc
218
+ - spec/test_app/Rakefile
219
+ - spec/test_app/app/assets/stylesheets/application.css
220
+ - spec/test_app/app/controllers/application_controller.rb
221
+ - spec/test_app/app/controllers/tests_controller.rb
222
+ - spec/test_app/app/helpers/application_helper.rb
223
+ - spec/test_app/app/views/layouts/application.html.erb
224
+ - spec/test_app/bin/bundle
225
+ - spec/test_app/bin/rails
226
+ - spec/test_app/bin/rake
227
+ - spec/test_app/bin/setup
228
+ - spec/test_app/config.ru
229
+ - spec/test_app/config/application.rb
230
+ - spec/test_app/config/boot.rb
231
+ - spec/test_app/config/environment.rb
232
+ - spec/test_app/config/environments/development.rb
233
+ - spec/test_app/config/environments/production.rb
234
+ - spec/test_app/config/environments/test.rb
235
+ - spec/test_app/config/initializers/backtrace_silencers.rb
236
+ - spec/test_app/config/initializers/cookies_serializer.rb
237
+ - spec/test_app/config/initializers/filter_parameter_logging.rb
238
+ - spec/test_app/config/initializers/inflections.rb
239
+ - spec/test_app/config/initializers/mime_types.rb
240
+ - spec/test_app/config/initializers/session_store.rb
241
+ - spec/test_app/config/initializers/wrap_parameters.rb
242
+ - spec/test_app/config/locales/en.yml
243
+ - spec/test_app/config/routes.rb
244
+ - spec/test_app/config/secrets.yml
245
+ - spec/test_app/db/seeds.rb
246
+ - spec/test_app/public/404.html
247
+ - spec/test_app/public/422.html
248
+ - spec/test_app/public/500.html
249
+ - spec/test_app/public/favicon.ico
250
+ - spec/test_app/public/robots.txt
251
+ homepage: https://github.com/crushlovely/exceptionally_beautiful
252
+ licenses:
253
+ - MIT
254
+ metadata: {}
255
+ post_install_message:
256
+ rdoc_options: []
257
+ require_paths:
258
+ - lib
259
+ required_ruby_version: !ruby/object:Gem::Requirement
260
+ requirements:
261
+ - - ">="
262
+ - !ruby/object:Gem::Version
263
+ version: '0'
264
+ required_rubygems_version: !ruby/object:Gem::Requirement
265
+ requirements:
266
+ - - ">="
267
+ - !ruby/object:Gem::Version
268
+ version: '0'
269
+ requirements: []
270
+ rubyforge_project:
271
+ rubygems_version: 2.2.2
272
+ signing_key:
273
+ specification_version: 4
274
+ summary: A Rails engine for handling error pages.
275
+ test_files:
276
+ - spec/features/exceptionally_beautiful_engine_spec.rb
277
+ - spec/spec_helper.rb
278
+ - spec/test_app/README.rdoc
279
+ - spec/test_app/Rakefile
280
+ - spec/test_app/app/assets/stylesheets/application.css
281
+ - spec/test_app/app/controllers/application_controller.rb
282
+ - spec/test_app/app/controllers/tests_controller.rb
283
+ - spec/test_app/app/helpers/application_helper.rb
284
+ - spec/test_app/app/views/layouts/application.html.erb
285
+ - spec/test_app/bin/bundle
286
+ - spec/test_app/bin/rails
287
+ - spec/test_app/bin/rake
288
+ - spec/test_app/bin/setup
289
+ - spec/test_app/config.ru
290
+ - spec/test_app/config/application.rb
291
+ - spec/test_app/config/boot.rb
292
+ - spec/test_app/config/environment.rb
293
+ - spec/test_app/config/environments/development.rb
294
+ - spec/test_app/config/environments/production.rb
295
+ - spec/test_app/config/environments/test.rb
296
+ - spec/test_app/config/initializers/backtrace_silencers.rb
297
+ - spec/test_app/config/initializers/cookies_serializer.rb
298
+ - spec/test_app/config/initializers/filter_parameter_logging.rb
299
+ - spec/test_app/config/initializers/inflections.rb
300
+ - spec/test_app/config/initializers/mime_types.rb
301
+ - spec/test_app/config/initializers/session_store.rb
302
+ - spec/test_app/config/initializers/wrap_parameters.rb
303
+ - spec/test_app/config/locales/en.yml
304
+ - spec/test_app/config/routes.rb
305
+ - spec/test_app/config/secrets.yml
306
+ - spec/test_app/db/seeds.rb
307
+ - spec/test_app/public/404.html
308
+ - spec/test_app/public/422.html
309
+ - spec/test_app/public/500.html
310
+ - spec/test_app/public/favicon.ico
311
+ - spec/test_app/public/robots.txt
312
+ has_rdoc: