pakyow 0.8rc1 → 0.8.rc4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +7 -0
  2. data/bin/pakyow +18 -0
  3. data/lib/commands/USAGE +9 -0
  4. data/lib/commands/USAGE-CONSOLE +12 -0
  5. data/lib/commands/USAGE-NEW +11 -0
  6. data/lib/commands/USAGE-SERVER +16 -0
  7. data/lib/commands/console.rb +17 -0
  8. data/lib/commands/server.rb +27 -0
  9. data/lib/generators/pakyow/app/app_generator.rb +58 -0
  10. data/lib/generators/pakyow/app/templates/Gemfile +8 -0
  11. data/lib/generators/pakyow/app/templates/README.md +20 -0
  12. data/lib/generators/pakyow/app/templates/app.rb +26 -0
  13. data/lib/generators/pakyow/app/templates/app/lib/bindings.rb +3 -0
  14. data/lib/generators/pakyow/app/templates/app/lib/helpers.rb +3 -0
  15. data/lib/generators/pakyow/app/templates/app/lib/routes.rb +8 -0
  16. data/lib/generators/pakyow/app/templates/app/views/_templates/pakyow.html +17 -0
  17. data/lib/generators/pakyow/app/templates/config.ru +5 -0
  18. data/lib/generators/pakyow/app/templates/public/favicon.ico +0 -0
  19. data/lib/generators/pakyow/app/templates/public/pakyow-css/CHANGES +3 -0
  20. data/lib/generators/pakyow/app/templates/public/pakyow-css/README.md +3 -0
  21. data/lib/generators/pakyow/app/templates/public/pakyow-css/VERSION +1 -0
  22. data/lib/generators/pakyow/app/templates/public/pakyow-css/examples/extension.css +7 -0
  23. data/lib/generators/pakyow/app/templates/public/pakyow-css/examples/structure-fluid.html +150 -0
  24. data/lib/generators/pakyow/app/templates/public/pakyow-css/examples/structure.html +156 -0
  25. data/lib/generators/pakyow/app/templates/public/pakyow-css/examples/styled.html +114 -0
  26. data/lib/generators/pakyow/app/templates/public/pakyow-css/reset.css +48 -0
  27. data/lib/generators/pakyow/app/templates/public/pakyow-css/structure.css +264 -0
  28. data/lib/generators/pakyow/app/templates/public/pakyow-css/style.css +219 -0
  29. data/lib/generators/pakyow/app/templates/public/pakyow-css/syntax.css +90 -0
  30. data/lib/generators/pakyow/app/templates/rakefile +4 -0
  31. metadata +66 -27
@@ -0,0 +1,219 @@
1
+ @import url("reset.css");
2
+
3
+ body {
4
+ background:#fff;
5
+
6
+ color:#333;
7
+ font:13px "Helvetica Neue", Helvetica, sans-serif;
8
+ }
9
+
10
+ code {
11
+ font:0.9em Menlo, monospace;
12
+ }
13
+
14
+ h1, h2, h3, h4 {
15
+ font-weight:bold;
16
+ }
17
+
18
+ h1 {
19
+ font-size:2.4em;
20
+ line-height:2em;
21
+ }
22
+
23
+ h2 {
24
+ font-size:1.8em;
25
+ line-height:2em;
26
+ }
27
+
28
+ h3 {
29
+ font-size:1.4em;
30
+ line-height:2em;
31
+ }
32
+
33
+ h4 {
34
+ font-size:1.1em;
35
+ line-height:1.5em;
36
+ }
37
+
38
+ h5 {
39
+ font-size:1em;
40
+ line-height:1.5em;
41
+ }
42
+
43
+ hr {
44
+ border:0;
45
+ height:1px;
46
+ background:#DEDEDE;
47
+ margin-top:30px;
48
+ }
49
+
50
+ p {
51
+ font-size:1em;
52
+ line-height:1.4em;
53
+ margin: 0 0 9px;
54
+ }
55
+
56
+ strong {
57
+ font-weight:bold;
58
+ }
59
+
60
+ em {
61
+ font-style:italic;
62
+ }
63
+
64
+ a {
65
+ color:#206cb1;
66
+ text-decoration:none;
67
+ }
68
+
69
+ a:hover {
70
+ text-decoration:underline;
71
+ color:#185286;
72
+ }
73
+
74
+ ul, ol {
75
+ font-size:1.3em;
76
+ margin: 0 0 9px 25px;
77
+ }
78
+
79
+ ul ul, ol ol {
80
+ font-size:1em;
81
+ margin-bottom:0;
82
+ }
83
+
84
+ ul {
85
+ list-style:disc;
86
+ }
87
+
88
+ ul li {
89
+ }
90
+
91
+ ol {
92
+ list-style:decimal;
93
+ }
94
+
95
+ li {
96
+ line-height:1.6em;
97
+ }
98
+
99
+ /*****************************
100
+ Utility Classes
101
+ *****************************/
102
+
103
+ .secondary {
104
+ font-size:1.1em;
105
+ color:#777;
106
+ }
107
+
108
+ .underline {
109
+ border-bottom:1px solid #ccc;
110
+ padding-bottom:5px;
111
+ }
112
+
113
+ /*****************************
114
+ Forms
115
+ *****************************/
116
+
117
+ label {
118
+ display:block;
119
+ font-weight:bold;
120
+ line-height:1em;
121
+ }
122
+
123
+ label.inline {
124
+ display:inline;
125
+ }
126
+
127
+ fieldset {
128
+ margin-bottom:20px;
129
+ }
130
+
131
+ fieldset > ul {
132
+ margin-left:0;
133
+ list-style:none;
134
+ }
135
+
136
+ fieldset > ul > li {
137
+ margin-bottom:10px;
138
+ }
139
+
140
+ fieldset > ul > li > label {
141
+ padding-bottom:5px;
142
+ }
143
+
144
+ input, textarea, select {
145
+ outline:none;
146
+ }
147
+
148
+ input, textarea {
149
+ padding:3px;
150
+ font-size:0.9em;
151
+ }
152
+
153
+ input[type='text'], input[type='password'], textarea {
154
+ border-radius: 2px;
155
+ border:1px solid #ccc;
156
+ padding:5px;
157
+ }
158
+
159
+ input[type='text']:focus, input[type='password']:focus, textarea:focus {
160
+ border-color:#8dabd4;
161
+ }
162
+
163
+ input[type='submit'], input[type='button'], button, .button {
164
+ font:0.9em "Helvetica Neue", Helvetica, sans-serif;
165
+ color:#000;
166
+
167
+ cursor:pointer;
168
+
169
+ border-radius:2px;
170
+ border:1px solid #adadad;
171
+ padding:6px 5px 5px;
172
+
173
+ background: #ffffff; /* Old browsers */
174
+ background: -moz-linear-gradient(top, #ffffff 0%, #f3f3f3 100%); /* FF3.6+ */
175
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f3f3f3)); /* Chrome,Safari4+ */
176
+ background: -webkit-linear-gradient(top, #ffffff 0%,#f3f3f3 100%); /* Chrome10+,Safari5.1+ */
177
+ background: -o-linear-gradient(top, #ffffff 0%,#f3f3f3 100%); /* Opera 11.10+ */
178
+ background: -ms-linear-gradient(top, #ffffff 0%,#f3f3f3 100%); /* IE10+ */
179
+ background: linear-gradient(top, #ffffff 0%,#f3f3f3 100%); /* W3C */
180
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f3f3f3',GradientType=0 ); /* IE6-9 */
181
+ }
182
+
183
+ input[type='submit']:hover, input[type='button']:hover, button:hover, .button:hover {
184
+ text-decoration:none;
185
+ background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 100%); /* Chrome10+,Safari5.1+ */
186
+ border-color:#ccc;
187
+ color:#777;
188
+ }
189
+
190
+ input.error {
191
+ background:#FEFBFB;
192
+ border-color:#FBA8A4;
193
+ }
194
+
195
+ input.error:focus {
196
+ border-color:#F4635D;
197
+ }
198
+
199
+ /*****************************
200
+ Composable Styles
201
+ *****************************/
202
+
203
+ ul.horizontal, ol.horizontal {
204
+ margin: 0;
205
+ display: inline;
206
+ }
207
+
208
+ ul.horizontal li, ol.horizontal li {
209
+ display: inline;
210
+ }
211
+
212
+ ul.plain, ol.plain {
213
+ margin: 5px;
214
+ padding: 0;
215
+ }
216
+
217
+ ul.plain li, ol.plain li {
218
+ list-style: none;
219
+ }
@@ -0,0 +1,90 @@
1
+ code, div.code {
2
+ font-family:monospace;
3
+ font-size:12px;
4
+ display:block;
5
+ background:#fff;
6
+ padding:5px 10px;
7
+ border-radius:2px;
8
+ margin:10px 0;
9
+ margin-bottom:20px;
10
+ border:1px solid #cbcbcb;
11
+ overflow:auto;
12
+ }
13
+
14
+ p code {
15
+ display:inline;
16
+ padding:2px 3px;
17
+ }
18
+
19
+ div.code {
20
+ margin-top:-10px;
21
+ }
22
+
23
+ code.console:before {
24
+ content: '$ ';
25
+ }
26
+
27
+ code.console .highlight, code.console pre {
28
+ display:inline;
29
+ }
30
+
31
+ .highlight { background: #ffffff; }
32
+ .highlight .c { color: #999988; font-style: italic } /* Comment */
33
+ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
34
+ .highlight .k { font-weight: bold } /* Keyword */
35
+ .highlight .o { font-weight: bold } /* Operator */
36
+ .highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
37
+ .highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
38
+ .highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
39
+ .highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
40
+ .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
41
+ .highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
42
+ .highlight .ge { font-style: italic } /* Generic.Emph */
43
+ .highlight .gr { color: #aa0000 } /* Generic.Error */
44
+ .highlight .gh { color: #999999 } /* Generic.Heading */
45
+ .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
46
+ .highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
47
+ .highlight .go { color: #888888 } /* Generic.Output */
48
+ .highlight .gp { color: #555555 } /* Generic.Prompt */
49
+ .highlight .gs { font-weight: bold } /* Generic.Strong */
50
+ .highlight .gu { color: #aaaaaa } /* Generic.Subheading */
51
+ .highlight .gt { color: #aa0000 } /* Generic.Traceback */
52
+ .highlight .kc { font-weight: bold } /* Keyword.Constant */
53
+ .highlight .kd { font-weight: bold } /* Keyword.Declaration */
54
+ .highlight .kp { font-weight: bold } /* Keyword.Pseudo */
55
+ .highlight .kr { font-weight: bold } /* Keyword.Reserved */
56
+ .highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
57
+ .highlight .m { color: #009999 } /* Literal.Number */
58
+ .highlight .s { color: #d14 } /* Literal.String */
59
+ .highlight .na { color: #008080 } /* Name.Attribute */
60
+ .highlight .nb { color: #0086B3 } /* Name.Builtin */
61
+ .highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
62
+ .highlight .no { color: #008080 } /* Name.Constant */
63
+ .highlight .ni { color: #800080 } /* Name.Entity */
64
+ .highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
65
+ .highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
66
+ .highlight .nn { color: #555555 } /* Name.Namespace */
67
+ .highlight .nt { color: #000080 } /* Name.Tag */
68
+ .highlight .nv { color: #008080 } /* Name.Variable */
69
+ .highlight .ow { font-weight: bold } /* Operator.Word */
70
+ .highlight .w { color: #bbbbbb } /* Text.Whitespace */
71
+ .highlight .mf { color: #009999 } /* Literal.Number.Float */
72
+ .highlight .mh { color: #009999 } /* Literal.Number.Hex */
73
+ .highlight .mi { color: #009999 } /* Literal.Number.Integer */
74
+ .highlight .mo { color: #009999 } /* Literal.Number.Oct */
75
+ .highlight .sb { color: #d14 } /* Literal.String.Backtick */
76
+ .highlight .sc { color: #d14 } /* Literal.String.Char */
77
+ .highlight .sd { color: #d14 } /* Literal.String.Doc */
78
+ .highlight .s2 { color: #d14 } /* Literal.String.Double */
79
+ .highlight .se { color: #d14 } /* Literal.String.Escape */
80
+ .highlight .sh { color: #d14 } /* Literal.String.Heredoc */
81
+ .highlight .si { color: #d14 } /* Literal.String.Interpol */
82
+ .highlight .sx { color: #d14 } /* Literal.String.Other */
83
+ .highlight .sr { color: #009926 } /* Literal.String.Regex */
84
+ .highlight .s1 { color: #d14 } /* Literal.String.Single */
85
+ .highlight .ss { color: #990073 } /* Literal.String.Symbol */
86
+ .highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
87
+ .highlight .vc { color: #008080 } /* Name.Variable.Class */
88
+ .highlight .vg { color: #008080 } /* Name.Variable.Global */
89
+ .highlight .vi { color: #008080 } /* Name.Variable.Instance */
90
+ .highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
@@ -0,0 +1,4 @@
1
+ require File.expand_path('../app', __FILE__)
2
+ Pakyow::App.stage(ENV['ENV'])
3
+
4
+ # put your rake task here
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pakyow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8rc1
5
- prerelease: 3
4
+ version: 0.8.rc4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Bryan Powell
@@ -10,86 +9,126 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2013-02-11 00:00:00.000000000 Z
12
+ date: 2013-10-26 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: pakyow-core
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
18
  - - '='
21
19
  - !ruby/object:Gem::Version
22
- version: 0.8rc1
20
+ version: 0.8.rc4
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
25
  - - '='
29
26
  - !ruby/object:Gem::Version
30
- version: 0.8rc1
27
+ version: 0.8.rc4
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: pakyow-presenter
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
32
  - - '='
37
33
  - !ruby/object:Gem::Version
38
- version: 0.8rc1
34
+ version: 0.8.rc4
39
35
  type: :runtime
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
39
  - - '='
45
40
  - !ruby/object:Gem::Version
46
- version: 0.8rc1
41
+ version: 0.8.rc4
47
42
  - !ruby/object:Gem::Dependency
48
43
  name: pakyow-mailer
49
44
  requirement: !ruby/object:Gem::Requirement
50
- none: false
51
45
  requirements:
52
46
  - - '='
53
47
  - !ruby/object:Gem::Version
54
- version: 0.8rc1
48
+ version: 0.8.rc4
55
49
  type: :runtime
56
50
  prerelease: false
57
51
  version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
52
  requirements:
60
53
  - - '='
61
54
  - !ruby/object:Gem::Version
62
- version: 0.8rc1
63
- description: ''
55
+ version: 0.8.rc4
56
+ - !ruby/object:Gem::Dependency
57
+ name: bundler
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - '>='
61
+ - !ruby/object:Gem::Version
62
+ version: 1.3.0
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - '>='
68
+ - !ruby/object:Gem::Version
69
+ version: 1.3.0
70
+ description: Pakyow is an open-source framework for building apps that embrace the
71
+ web and encourages a development process that's friendly to both designers and developers.
72
+ It's built for getting along.
64
73
  email: bryan@metabahn.com
65
- executables: []
74
+ executables:
75
+ - pakyow
66
76
  extensions: []
67
77
  extra_rdoc_files: []
68
78
  files:
69
79
  - MIT-LICENSE
80
+ - lib/commands/console.rb
81
+ - lib/commands/server.rb
82
+ - lib/commands/USAGE
83
+ - lib/commands/USAGE-CONSOLE
84
+ - lib/commands/USAGE-NEW
85
+ - lib/commands/USAGE-SERVER
86
+ - lib/generators/pakyow/app/app_generator.rb
87
+ - lib/generators/pakyow/app/templates/app/lib/bindings.rb
88
+ - lib/generators/pakyow/app/templates/app/lib/helpers.rb
89
+ - lib/generators/pakyow/app/templates/app/lib/routes.rb
90
+ - lib/generators/pakyow/app/templates/app/views/_templates/pakyow.html
91
+ - lib/generators/pakyow/app/templates/app.rb
92
+ - lib/generators/pakyow/app/templates/config.ru
93
+ - lib/generators/pakyow/app/templates/Gemfile
94
+ - lib/generators/pakyow/app/templates/public/favicon.ico
95
+ - lib/generators/pakyow/app/templates/public/pakyow-css/CHANGES
96
+ - lib/generators/pakyow/app/templates/public/pakyow-css/examples/extension.css
97
+ - lib/generators/pakyow/app/templates/public/pakyow-css/examples/structure-fluid.html
98
+ - lib/generators/pakyow/app/templates/public/pakyow-css/examples/structure.html
99
+ - lib/generators/pakyow/app/templates/public/pakyow-css/examples/styled.html
100
+ - lib/generators/pakyow/app/templates/public/pakyow-css/README.md
101
+ - lib/generators/pakyow/app/templates/public/pakyow-css/reset.css
102
+ - lib/generators/pakyow/app/templates/public/pakyow-css/structure.css
103
+ - lib/generators/pakyow/app/templates/public/pakyow-css/style.css
104
+ - lib/generators/pakyow/app/templates/public/pakyow-css/syntax.css
105
+ - lib/generators/pakyow/app/templates/public/pakyow-css/VERSION
106
+ - lib/generators/pakyow/app/templates/rakefile
107
+ - lib/generators/pakyow/app/templates/README.md
70
108
  - lib/pakyow.rb
109
+ - bin/pakyow
71
110
  homepage: http://pakyow.com
72
- licenses: []
111
+ licenses:
112
+ - MIT
113
+ metadata: {}
73
114
  post_install_message:
74
115
  rdoc_options: []
75
116
  require_paths:
76
117
  - lib
77
118
  required_ruby_version: !ruby/object:Gem::Requirement
78
- none: false
79
119
  requirements:
80
- - - ! '>='
120
+ - - '>='
81
121
  - !ruby/object:Gem::Version
82
- version: 1.8.7
122
+ version: 1.9.3
83
123
  required_rubygems_version: !ruby/object:Gem::Requirement
84
- none: false
85
124
  requirements:
86
- - - ! '>='
125
+ - - '>='
87
126
  - !ruby/object:Gem::Version
88
- version: 1.3.6
127
+ version: 1.8.11
89
128
  requirements: []
90
129
  rubyforge_project: pakyow
91
- rubygems_version: 1.8.23
130
+ rubygems_version: 2.0.0
92
131
  signing_key:
93
- specification_version: 3
94
- summary: Punch packing application framework.
132
+ specification_version: 4
133
+ summary: Web application framework.
95
134
  test_files: []