vesper 0.8.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,26 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <title>Error 400 - Bad Request</title>
6
+ <style type="text/css" media="screen">
7
+ @import url(http://fonts.googleapis.com/css?family=The+Girl+Next+Door);
8
+ body {
9
+ text-align: center;
10
+ font-family: 'The Girl Next Door', cursive;
11
+ width: 320px;
12
+ margin: auto;
13
+ line-height: 100%;
14
+ }
15
+ </style>
16
+ </head>
17
+
18
+ <body>
19
+
20
+ <p><img src="http://i.imgur.com/bRvSj.png" /></p>
21
+ <h2>Error 400</h2>
22
+ <h1>Bad Request</h1>
23
+
24
+ </body>
25
+
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <title>Error 401 - Unauthorized</title>
6
+ <style type="text/css" media="screen">
7
+ @import url(http://fonts.googleapis.com/css?family=The+Girl+Next+Door);
8
+ body {
9
+ text-align: center;
10
+ font-family: 'The Girl Next Door', cursive;
11
+ width: 320px;
12
+ margin: auto;
13
+ line-height: 100%;
14
+ }
15
+ </style>
16
+ </head>
17
+
18
+ <body>
19
+
20
+ <p><img src="http://i.imgur.com/Ebmq5.png" /></p>
21
+ <h2>Error 401</h2>
22
+ <h1>Unauthorized</h1>
23
+
24
+ </body>
25
+
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <title>Error 403 - Forbidden</title>
6
+ <style type="text/css" media="screen">
7
+ @import url(http://fonts.googleapis.com/css?family=The+Girl+Next+Door);
8
+ body {
9
+ text-align: center;
10
+ font-family: 'The Girl Next Door', cursive;
11
+ width: 320px;
12
+ margin: auto;
13
+ line-height: 100%;
14
+ }
15
+ </style>
16
+ </head>
17
+
18
+ <body>
19
+
20
+ <p><img src="http://i.imgur.com/AotHL.png" /></p>
21
+ <h2>Error 403</h2>
22
+ <h1>Forbidden</h1>
23
+
24
+ </body>
25
+
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <title>Error 404 - Not Found</title>
6
+ <style type="text/css" media="screen">
7
+ @import url(http://fonts.googleapis.com/css?family=The+Girl+Next+Door);
8
+ body {
9
+ text-align: center;
10
+ font-family: 'The Girl Next Door', cursive;
11
+ width: 320px;
12
+ margin: auto;
13
+ line-height: 100%;
14
+ }
15
+ </style>
16
+ </head>
17
+
18
+ <body>
19
+
20
+ <p><img src="http://i.imgur.com/8eQpp.png" /></p>
21
+ <h2>Error 404</h2>
22
+ <h1>Not Found</h1>
23
+
24
+ </body>
25
+
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <title>Error 408 - Request Timeout</title>
6
+ <style type="text/css" media="screen">
7
+ @import url(http://fonts.googleapis.com/css?family=The+Girl+Next+Door);
8
+ body {
9
+ text-align: center;
10
+ font-family: 'The Girl Next Door', cursive;
11
+ width: 320px;
12
+ margin: auto;
13
+ line-height: 100%;
14
+ }
15
+ </style>
16
+ </head>
17
+
18
+ <body>
19
+
20
+ <p><img src="http://i.imgur.com/8xCCy.png" /></p>
21
+ <h2>Error 408</h2>
22
+ <h1>Request Timeout</h1>
23
+
24
+ </body>
25
+
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <title>Error 500 - Internal Server Error</title>
6
+ <style type="text/css" media="screen">
7
+ @import url(http://fonts.googleapis.com/css?family=The+Girl+Next+Door);
8
+ body {
9
+ text-align: center;
10
+ font-family: 'The Girl Next Door', cursive;
11
+ width: 320px;
12
+ margin: auto;
13
+ line-height: 100%;
14
+ }
15
+ </style>
16
+ </head>
17
+
18
+ <body>
19
+
20
+ <p><img src="http://i.imgur.com/pMb1l.png" /></p>
21
+ <h2>Error 500</h2>
22
+ <h1>Internal Server Error</h1>
23
+
24
+ </body>
25
+
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <title>Error 502 - Bad Gateway</title>
6
+ <style type="text/css" media="screen">
7
+ @import url(http://fonts.googleapis.com/css?family=The+Girl+Next+Door);
8
+ body {
9
+ text-align: center;
10
+ font-family: 'The Girl Next Door', cursive;
11
+ width: 320px;
12
+ margin: auto;
13
+ line-height: 100%;
14
+ }
15
+ </style>
16
+ </head>
17
+
18
+ <body>
19
+
20
+ <p><img src="http://i.imgur.com/YF23i.png" /></p>
21
+ <h2>Error 502</h2>
22
+ <h1>Bad Gateway</h1>
23
+
24
+ </body>
25
+
26
+ </html>
@@ -1,17 +1,36 @@
1
- /* Import fonts from Google */
2
- @import url(http://fonts.googleapis.com/css?family=Vollkorn:700italic,400italic,400,700);
3
- @import url(http://fonts.googleapis.com/css?family=Cabin+Condensed:400,700);
4
-
5
1
  body {
6
- color: #333;
7
- font-family: 'Vollkorn', serif;
8
2
  font-size: 16px;
9
3
  line-height: 1.5em;
10
- padding-top: 5%;
11
- text-align: center;
4
+ font-family: serif;
5
+ color: #333;
6
+ -webkit-text-size-adjust:none;
12
7
  }
13
-
14
- h1 {
8
+
9
+ a img { border: none; }
10
+
11
+ a { color: rgb(39, 177, 245); }
12
+
13
+ a:hover { text-decoration: none; }
14
+
15
+ h1, h2, h3, h4, h5, h6 {
16
+ font-family: sans-serif;
15
17
  color: black;
16
- font-family: 'Cabin Condensed', sans-serif;
18
+ }
19
+
20
+ h1 { font-size: 48px; }
21
+ h2 { font-size: 36px; }
22
+ h3 { font-size: 24px; }
23
+ h4 { font-size: 21px; }
24
+ h5 { font-size: 18px; }
25
+ h6 { font-size: 16px; }
26
+
27
+ h1 small,
28
+ h2 small,
29
+ h3 small,
30
+ h4 small,
31
+ h5 small,
32
+ h6 small {
33
+ color: silver;
34
+ font-weight: normal;
35
+ font-size: 67%;
17
36
  }
@@ -1,5 +1,5 @@
1
1
  META_DATA = {
2
- name: 'pony',
2
+ name: 'pony-emailer',
3
3
  version: '1.0.0',
4
4
  authors: ['Jarrod Taylor', 'Richard Rissanen'],
5
5
  homepage: 'https://github.com/vesper/pony',
@@ -1,8 +1,50 @@
1
1
  <!-- From /lib/hello_world.rb -->
2
2
 
3
3
 
4
- <p><img src="/img/fyeah.jpg" /></p>
4
+ <style type="text/css" media="screen">
5
+ /* Import fonts from Google */
6
+ @import url(http://fonts.googleapis.com/css?family=Vollkorn:700italic,400italic,400,700);
7
+ @import url(http://fonts.googleapis.com/css?family=Cabin+Condensed:400,700);
8
+ body {
9
+ color: #333;
10
+ font-family: 'Vollkorn', serif;
11
+ font-size: 16px;
12
+ line-height: 1.5em;
13
+ text-align: center;
14
+ padding-bottom: 33px;
15
+ }
16
+ fieldset {
17
+ border: 1px solid silver;
18
+ display: inline-block;
19
+ margin: auto;
20
+ -webkit-border-radius: 7px;
21
+ }
22
+ legend { font-family: 'Cabin Condensed', sans-serif; }
23
+ fieldset p {
24
+ margin: 11px;
25
+ }
26
+ code {
27
+ padding: 0 11px;
28
+ font-size: 11px;
29
+ display: block;
30
+ background-color: black;
31
+ color: white;
32
+ -webkit-border-radius: 2px;
33
+ }
34
+ </style>
5
35
 
6
- <h1>Hello World!</h1>
7
36
 
8
- <p>Your site appears to be running.</p>
37
+ <p><img src="/img/vesper.png" /></p>
38
+
39
+ <fieldset>
40
+ <legend>Getting Started</legend>
41
+
42
+ <p>Install a plugin from a git repo:<code>vesper install plugin git@github.com:vesper/mobile-request-router.git</code></p>
43
+ <p>Remove a plugin:<code>vesper remove plugin mobile-request-router</code></p>
44
+ <p>Run your tests:<code>vesper run tests</code></p>
45
+ <p>More commands:<code>vesper options</code></p>
46
+
47
+ </fieldset>
48
+
49
+ <p>Documentation can be found online at: <a href="http://vesperapps.com">http://vesperapps.com</a></p>
50
+ <p>Questions, comments and bugs should be send to: <a href="mailto:jarrod@vesperapps.com">jarrod@vesperapps.com</a></p>
@@ -1,3 +1,3 @@
1
1
  module Vesper
2
- VERSION = "0.8.0"
2
+ VERSION = "0.9.0"
3
3
  end
data/lib/vesper.rb CHANGED
@@ -18,5 +18,13 @@ module Vesper
18
18
  'application',
19
19
  'plugins/**/hooks/post-boot.rb'
20
20
  ].each {|dir| Dir["./#{dir}/**/*.rb"].each {|file| require file}}
21
-
21
+
22
+ error(400) { redirect '/400.html' }
23
+ error(401) { redirect '/401.html' }
24
+ error(403) { redirect '/403.html' }
25
+ error(404) { redirect '/404.html' }
26
+ error(408) { redirect '/408.html' }
27
+ error(500) { redirect '/500.html' }
28
+ error(502) { redirect '/502.html' }
29
+
22
30
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vesper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2011-12-31 00:00:00.000000000 Z
13
+ date: 2012-01-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: grit
17
- requirement: &70332863474220 !ruby/object:Gem::Requirement
17
+ requirement: &70213492791820 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 2.4.1
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70332863474220
25
+ version_requirements: *70213492791820
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: sinatra
28
- requirement: &70332863473740 !ruby/object:Gem::Requirement
28
+ requirement: &70213492790060 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ~>
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: 1.3.1
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *70332863473740
36
+ version_requirements: *70213492790060
37
37
  description:
38
38
  email: jarrod@vesperapps.com
39
39
  executables:
@@ -61,8 +61,15 @@ files:
61
61
  - lib/vesper/framework/plugins/core-extensions/application/number.rb
62
62
  - lib/vesper/framework/plugins/core-extensions/application/string.rb
63
63
  - lib/vesper/framework/plugins/core-extensions/meta_data.rb
64
+ - lib/vesper/framework/public/400.html
65
+ - lib/vesper/framework/public/401.html
66
+ - lib/vesper/framework/public/403.html
67
+ - lib/vesper/framework/public/404.html
68
+ - lib/vesper/framework/public/408.html
69
+ - lib/vesper/framework/public/500.html
70
+ - lib/vesper/framework/public/502.html
64
71
  - lib/vesper/framework/public/css/design.css
65
- - lib/vesper/framework/public/img/fyeah.jpg
72
+ - lib/vesper/framework/public/img/vesper.png
66
73
  - lib/vesper/framework/public/js/hide_addressbar.js
67
74
  - lib/vesper/framework/public/robots.txt
68
75
  - lib/vesper/framework/tasks/irb.rb
@@ -79,10 +86,10 @@ files:
79
86
  - lib/vesper/framework/tmp/plugins/hot-reloader/Readme.md
80
87
  - lib/vesper/framework/tmp/plugins/hot-reloader/config/hot-reloader.rb
81
88
  - lib/vesper/framework/tmp/plugins/hot-reloader/meta_data.rb
82
- - lib/vesper/framework/tmp/plugins/pony/Gemfile
83
- - lib/vesper/framework/tmp/plugins/pony/Readme.md
84
- - lib/vesper/framework/tmp/plugins/pony/config/pony.rb
85
- - lib/vesper/framework/tmp/plugins/pony/meta_data.rb
89
+ - lib/vesper/framework/tmp/plugins/pony-emailer/Gemfile
90
+ - lib/vesper/framework/tmp/plugins/pony-emailer/Readme.md
91
+ - lib/vesper/framework/tmp/plugins/pony-emailer/config/pony.rb
92
+ - lib/vesper/framework/tmp/plugins/pony-emailer/meta_data.rb
86
93
  - lib/vesper/framework/tmp/restart.txt
87
94
  - lib/vesper/framework/views/hello_world.html
88
95
  - lib/vesper/framework/views/layout.html