pakyow 0.8.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fde6fda13a099bb48f728a666effaeae95e20fc6
4
- data.tar.gz: 00c2ba2fb7ad00e1a42d9f221d60e2ade814a208
3
+ metadata.gz: 2d0c2adf1fe1eabb056f1103a17e9af619ead0e9
4
+ data.tar.gz: f70de89cacaef88ac55188b337ba332132b6245f
5
5
  SHA512:
6
- metadata.gz: ff230b69dfa8f2416eabc739255953f40d5bf2d5ae519e260b8eea11e2592c78f23b6b7875f12042a0db6dd671252fa6d754dc00ae659f372fe7827151bc264f
7
- data.tar.gz: ccc4e5a33bf9a8b6158c125174ebfb0334a36b6c1471f1615505188bb08dfabb17c8d604a38c77fcd66c17c3864055606a671a27496a8e77ce06039c6631c070
6
+ metadata.gz: 3353a1d496e3900e972c9fa9de22bea6a6d679e1844c257a1b59821de6e89aba9d7f17575ec7fb540db191320e074845473f7d75dd01acb23d3cf73718d01df1
7
+ data.tar.gz: 4e445bcf74c3e8db288278d909fbb78b36ccaa5370f24256b59427ceba0bb4cdd29c75e23aaedc5b0469dd2d1d75217e2f51d71c6614dbd2e957ded5d15d731b
@@ -8,14 +8,14 @@ else
8
8
  valid_args = true
9
9
  if port_arg = ARGV.index("-p")
10
10
  if ARGV[port_arg + 1] =~ /^\d{1,5}$/
11
- Pakyow::Config::Server.port = ARGV[port_arg + 1]
11
+ Pakyow::Config.server.port = ARGV[port_arg + 1]
12
12
  ARGV.delete_at(port_arg + 1)
13
13
  ARGV.delete_at(port_arg)
14
14
  else
15
15
  valid_args = false
16
16
  end
17
17
  elsif port_arg = ARGV.index {|a| a =~ /^--port=\d{1,5}$/}
18
- Pakyow::Config::Server.port = ARGV[port_arg].gsub(/--port=/, '')
18
+ Pakyow::Config.server.port = ARGV[port_arg].gsub(/--port=/, '')
19
19
  ARGV.delete_at(port_arg)
20
20
  end
21
21
 
@@ -38,7 +38,7 @@ module Pakyow
38
38
  end
39
39
 
40
40
  exec
41
- puts "Done!"
41
+ puts "Done! Run `cd #{@dest}; pakyow server` to get started!"
42
42
  end
43
43
 
44
44
  protected
@@ -50,8 +50,10 @@ module Pakyow
50
50
 
51
51
  # performs and other setup (e.g. bundle install)
52
52
  def exec
53
- puts "Running `bundle install`"
54
- `cd #{@dest} && bundle install`
53
+ FileUtils.cd(@dest) do
54
+ puts "Running `bundle install` in #{Dir.pwd}"
55
+ system("bundle install")
56
+ end
55
57
  end
56
58
  end
57
59
  end
@@ -1,6 +1,6 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- gem "pakyow", "0.8"
3
+ gem "pakyow", "0.9.0"
4
4
 
5
5
  # application server
6
6
  gem "puma"
@@ -1,20 +1,28 @@
1
- This app was generated for pakyow-0.8.
2
-
3
- ---
1
+ This is a Pakyow v0.9 app.
4
2
 
5
3
  # Getting Started
6
4
 
7
- Start the server:
5
+ Start the app server:
8
6
 
9
7
  `pakyow server`
10
8
 
11
- Fire up a console:
9
+ You'll find your app running at [http://localhost:3000](http://localhost:3000)!
10
+
11
+ Need to interact with your app? Fire up a console:
12
12
 
13
13
  `pakyow console`
14
14
 
15
- # Help
15
+ # Next Steps
16
+
17
+ The following resources might be handy:
18
+
19
+ - [Website](http://pakyow.com)
20
+ - [Warmup](http://pakyow.com/warmup)
21
+ - [Docs](http://pakyow.com/docs)
22
+ - [Code](http://github.com/metabahn/pakyow)
16
23
 
17
- Full documentation is available at [pakyow.com/docs](http://pakyow.com/docs).
24
+ Want to keep up with the latest development? Follow along:
18
25
 
19
- Having trouble? Find help on the [mailing list](http://groups.google.com/group/pakyow)
20
- or file an issue on [GitHub Issues](https://github.com/metabahn/pakyow/issues).
26
+ - [Blog](http://pakyow.com/blog)
27
+ - [Mailing List](http://groups.google.com/group/pakyow)
28
+ - [Twitter](http://twitter.com/pakyow)
@@ -0,0 +1,3 @@
1
+ require 'pakyow-rake'
2
+
3
+ # put your rake task here
@@ -5,6 +5,7 @@ require 'pakyow'
5
5
  Pakyow::App.define do
6
6
  configure :global do
7
7
  # put global config here and they'll be available across environments
8
+ app.name = 'Pakyow'
8
9
  end
9
10
 
10
11
  configure :development do
@@ -16,11 +17,11 @@ Pakyow::App.define do
16
17
  app.ignore_routes = true
17
18
  end
18
19
 
19
- configure :production do
20
- # suggested production configuration
21
- app.auto_reload = false
22
- app.errors_in_browser = false
20
+ configure :staging do
21
+ # put your staging config here
22
+ end
23
23
 
24
+ configure :production do
24
25
  # put your production config here
25
26
  end
26
27
  end
@@ -1,5 +1,5 @@
1
1
  require File.expand_path('../app', __FILE__)
2
2
 
3
3
  app = Pakyow::App
4
- app.builder.run(app.stage(ENV['RACK_ENV']))
4
+ app.builder.run(app.stage(ENV['APP_ENV'] || ENV['RACK_ENV']))
5
5
  run app.builder.to_app
@@ -1,3 +1,7 @@
1
+ = 0.1.1 / 2014-03-14
2
+
3
+ * REM sizing
4
+
1
5
  = 0.1 / 2013-06-12
2
6
 
3
7
  * Initial release with structure, style, and syntax
@@ -1 +1 @@
1
- 0.1
1
+ 0.1.1
@@ -3,6 +3,7 @@
3
3
  <head>
4
4
  <title>Pakyow CSS</title>
5
5
  <link rel="stylesheet" type="text/css" href="../structure.css">
6
+ <link rel="stylesheet" type="text/css" href="../style.css">
6
7
  <link rel="stylesheet" type="text/css" href="extension.css">
7
8
  </head>
8
9
 
@@ -3,6 +3,7 @@
3
3
  <head>
4
4
  <title>Pakyow CSS</title>
5
5
  <link rel="stylesheet" type="text/css" href="../structure.css">
6
+ <link rel="stylesheet" type="text/css" href="../style.css">
6
7
  <link rel="stylesheet" type="text/css" href="extension.css">
7
8
  </head>
8
9
 
@@ -2,7 +2,6 @@
2
2
  v2.0 | 20110126
3
3
  License: none (public domain)
4
4
  */
5
-
6
5
  html, body, div, span, applet, object, iframe,
7
6
  h1, h2, h3, h4, h5, h6, p, blockquote, pre,
8
7
  a, abbr, acronym, address, big, cite, code,
@@ -12,37 +11,36 @@ b, u, i, center,
12
11
  dl, dt, dd, ol, ul, li,
13
12
  fieldset, form, label, legend,
14
13
  table, caption, tbody, tfoot, thead, tr, th, td,
15
- article, aside, canvas, details, embed,
16
- figure, figcaption, footer, header, hgroup,
14
+ article, aside, canvas, details, embed,
15
+ figure, figcaption, footer, header, hgroup,
17
16
  menu, nav, output, ruby, section, summary,
18
17
  time, mark, audio, video {
19
- margin: 0;
20
- padding: 0;
21
- border: 0;
22
- font-size: 100%;
23
- font: inherit;
24
- vertical-align: baseline;
25
- }
18
+ margin: 0;
19
+ padding: 0;
20
+ border: 0;
21
+ font-size: 100%;
22
+ font: inherit;
23
+ vertical-align: baseline; }
24
+
26
25
  /* HTML5 display-role reset for older browsers */
27
- article, aside, details, figcaption, figure,
26
+ article, aside, details, figcaption, figure,
28
27
  footer, header, hgroup, menu, nav, section {
29
- display: block;
30
- }
28
+ display: block; }
29
+
31
30
  body {
32
- line-height: 1;
33
- }
31
+ line-height: 1; }
32
+
34
33
  ol, ul {
35
- list-style: none;
36
- }
34
+ list-style: none; }
35
+
37
36
  blockquote, q {
38
- quotes: none;
39
- }
37
+ quotes: none; }
38
+
40
39
  blockquote:before, blockquote:after,
41
40
  q:before, q:after {
42
- content: '';
43
- content: none;
44
- }
41
+ content: '';
42
+ content: none; }
43
+
45
44
  table {
46
- border-collapse: collapse;
47
- border-spacing: 0;
48
- }
45
+ border-collapse: collapse;
46
+ border-spacing: 0; }
@@ -1,264 +1,199 @@
1
1
  /*****************************
2
2
  Positioning
3
3
  *****************************/
4
-
5
4
  .float-right, .float-r {
6
- float: right;
7
- }
5
+ float: right; }
8
6
 
9
7
  .float-left, .float-l {
10
- float: left;
11
- }
8
+ float: left; }
12
9
 
13
10
  .align-right, .align-r {
14
- text-align: right;
15
- }
11
+ text-align: right; }
16
12
 
17
13
  .align-left, .align-l {
18
- text-align: left;
19
- }
14
+ text-align: left; }
20
15
 
21
16
  .align-center, .align-c {
22
- text-align:center;
23
- }
17
+ text-align: center; }
24
18
 
25
19
  .hidden {
26
- display: none;
27
- }
20
+ display: none; }
28
21
 
29
22
  .clear {
30
- clear: both;
31
- }
23
+ clear: both; }
32
24
 
33
25
  .clear-left, .clear-l {
34
- clear: left;
35
- }
26
+ clear: left; }
36
27
 
37
28
  .clear-right, .clear-r {
38
- clear: right;
39
- }
29
+ clear: right; }
40
30
 
41
31
  /*****************************
42
32
  Relational
43
33
  *****************************/
44
-
45
34
  .margin {
46
- margin:20px;
47
- }
35
+ margin: 20px; }
48
36
 
49
37
  .margin-t {
50
- margin-top:20px;
51
- }
38
+ margin-top: 20px; }
52
39
 
53
40
  .margin-b {
54
- margin-bottom:20px;
55
- }
41
+ margin-bottom: 20px; }
56
42
 
57
43
  .margin-r {
58
- margin-right:20px;
59
- }
44
+ margin-right: 20px; }
60
45
 
61
46
  .margin-l {
62
- margin-left:20px;
63
- }
47
+ margin-left: 20px; }
64
48
 
65
49
  /*****************************
66
50
  Structure
67
51
  *****************************/
68
-
69
52
  *[class*="container"] {
70
- width:940px;
71
- margin-left:auto;
72
- margin-right:auto;
73
- }
53
+ width: 940px;
54
+ margin-left: auto;
55
+ margin-right: auto; }
74
56
 
75
57
  *[class*="container"]:before, *[class*="container"]:after {
76
58
  display: table;
77
- content: "";
78
- }
59
+ content: ""; }
79
60
 
80
61
  *[class*="container"]:after {
81
- clear: both;
82
- }
62
+ clear: both; }
83
63
 
84
64
  *[class*="container"] .col, .container-1 .col {
85
- width:940px;
86
- }
65
+ width: 940px; }
87
66
 
88
67
  .container-2 [class*="col"] {
89
- width:460px;
90
- }
68
+ width: 460px; }
91
69
 
92
70
  .container-3 .col {
93
- width:300px;
94
- }
71
+ width: 300px; }
95
72
 
96
73
  .container-4 .col {
97
- width:220px;
98
- }
74
+ width: 220px; }
99
75
 
100
76
  .container-5 .col {
101
- width:172px;
102
- }
77
+ width: 172px; }
103
78
 
104
79
  *[class*="col"] {
105
- float:left;
106
- margin-left:20px;
107
- }
80
+ float: left;
81
+ margin-left: 20px; }
108
82
 
109
83
  *[class*="col"]:first-child {
110
- margin-left:0;
111
- }
84
+ margin-left: 0; }
112
85
 
113
86
  /* Resized Columns */
114
-
115
87
  .col.r-3-1 {
116
- width:300px;
117
- }
88
+ width: 300px; }
118
89
 
119
90
  .col.r-3-2 {
120
- width:620px;
121
- }
91
+ width: 620px; }
122
92
 
123
93
  .col.r-4-1 {
124
- width:220px;
125
- }
94
+ width: 220px; }
126
95
 
127
96
  .col.r-4-2 {
128
- width:460px;
129
- }
97
+ width: 460px; }
130
98
 
131
99
  .col.r-4-3 {
132
- width:700px;
133
- }
100
+ width: 700px; }
134
101
 
135
102
  .col.r-5-1 {
136
- width:172px;
137
- }
103
+ width: 172px; }
138
104
 
139
105
  .col.r-5-2 {
140
- width:364px;
141
- }
106
+ width: 364px; }
142
107
 
143
108
  .col.r-5-3 {
144
- width:556px;
145
- }
109
+ width: 556px; }
146
110
 
147
111
  .col.r-5-4 {
148
- width:748px;
149
- }
112
+ width: 748px; }
150
113
 
151
114
  /*****************************
152
115
  Fluid Structure
153
116
  *****************************/
154
-
155
117
  *[class*="container"].fluid, .fluid *[class*="container"] {
156
- width:auto;
157
- }
118
+ width: auto; }
158
119
 
159
120
  *[class*="container"].fluid {
160
- padding:0 20px;
161
- }
121
+ padding: 0 20px; }
162
122
 
163
123
  *[class*="container"].fluid *[class*="col"] {
164
- margin-left:1.94%;
165
- }
124
+ margin-left: 1.94%; }
166
125
 
167
126
  *[class*="container"].fluid *[class*="col"]:first-child {
168
- margin-left:0;
169
- float:left !important;
170
- }
127
+ margin-left: 0;
128
+ float: left !important; }
171
129
 
172
130
  /*
173
131
  Since percentage calculations aren't pixel-accurate, widths are always a little
174
132
  shy of correct. Aligning the last column to the right makes everything line up.
175
133
  */
176
134
  .fluid *[class*="col"]:last-child {
177
- float:right;
178
- }
135
+ float: right; }
179
136
 
180
137
  .container.fluid .col, .fluid .container .col {
181
- width:100%;
182
- }
138
+ width: 100%; }
183
139
 
184
140
  .container-1.fluid .col, .fluid .container-1 .col {
185
- width:100%;
186
- }
141
+ width: 100%; }
187
142
 
188
143
  .container-2.fluid .col, .fluid .container-2 .col {
189
- width:49.03%;
190
- }
144
+ width: 49.03%; }
191
145
 
192
146
  .container-3.fluid .col, .fluid .container-3 .col {
193
- width:32.02%;
194
- }
147
+ width: 32.02%; }
195
148
 
196
149
  .container-4.fluid .col, .fluid .container-4 .col {
197
- width:23.52%;
198
- }
150
+ width: 23.52%; }
199
151
 
200
152
  .container-5.fluid .col, .fluid .container-5 .col {
201
- width:18.43%;
202
- }
153
+ width: 18.43%; }
203
154
 
204
155
  /* Resized Columns */
205
-
206
156
  .fluid .col.r-3-1 {
207
- width:32.02%;
208
- }
157
+ width: 32.02%; }
209
158
 
210
159
  .fluid .col.r-3-2 {
211
- width:65.98%;
212
- }
160
+ width: 65.98%; }
213
161
 
214
162
  .fluid .col.r-4-1 {
215
- width:23.52%;
216
- }
163
+ width: 23.52%; }
217
164
 
218
165
  .fluid .col.r-4-2 {
219
- width:48.98%;
220
- }
166
+ width: 48.98%; }
221
167
 
222
168
  .fluid .col.r-4-3 {
223
- width:74.45%;
224
- }
169
+ width: 74.45%; }
225
170
 
226
171
  .fluid .col.r-5-1 {
227
- width:18.43%;
228
- }
172
+ width: 18.43%; }
229
173
 
230
174
  .fluid .col.r-5-2 {
231
- width:38.80%;
232
- }
175
+ width: 38.80%; }
233
176
 
234
177
  .fluid .col.r-5-3 {
235
- width:59.17%;
236
- }
178
+ width: 59.17%; }
237
179
 
238
180
  .fluid .col.r-5-4 {
239
- width:79.54%;
240
- }
181
+ width: 79.54%; }
241
182
 
242
183
  /*****************************
243
184
  Flows
244
185
  *****************************/
245
-
246
186
  .container.flow .col {
247
- width:auto;
248
- }
187
+ width: auto; }
249
188
 
250
189
  /*****************************
251
190
  Fixed Structure
252
191
  *****************************/
253
-
254
192
  .container.fixed {
255
- position:fixed;
256
- }
193
+ position: fixed; }
257
194
 
258
195
  .container.fixed.fluid {
259
- width:100%;
260
-
261
- -webkit-box-sizing:border-box;
262
- -moz-box-sizing:border-box;
263
- box-sizing:border-box;
264
- }
196
+ width: 100%;
197
+ -webkit-box-sizing: border-box;
198
+ -moz-box-sizing: border-box;
199
+ box-sizing: border-box; }