caboodle 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. data/.document +5 -0
  2. data/.gitignore +21 -0
  3. data/LICENSE +20 -0
  4. data/README.rdoc +21 -0
  5. data/Rakefile +64 -0
  6. data/VERSION +1 -0
  7. data/bin/caboodle +14 -0
  8. data/lib/.yardoc/checksums +2 -0
  9. data/lib/.yardoc/objects/Pago/App.dat +0 -0
  10. data/lib/.yardoc/objects/Pago/MenuItems.dat +0 -0
  11. data/lib/.yardoc/objects/Pago/Plugin/is_a_pago_plugin_c.dat +0 -0
  12. data/lib/.yardoc/objects/Pago/Plugin/load_all_c.dat +0 -0
  13. data/lib/.yardoc/objects/Pago/Plugin/menu_c.dat +0 -0
  14. data/lib/.yardoc/objects/Pago/Plugin/use_all_c.dat +0 -0
  15. data/lib/.yardoc/objects/Pago/Plugin.dat +0 -0
  16. data/lib/.yardoc/objects/Pago/Plugins.dat +0 -0
  17. data/lib/.yardoc/objects/Pago/Site.dat +0 -0
  18. data/lib/.yardoc/objects/Pago.dat +0 -0
  19. data/lib/.yardoc/objects/root.dat +0 -0
  20. data/lib/.yardoc/proxy_types +2 -0
  21. data/lib/caboodle/app/.gems +1 -0
  22. data/lib/caboodle/app/config/site.yml +4 -0
  23. data/lib/caboodle/app/config.ru +2 -0
  24. data/lib/caboodle/app/public/favicon.ico +0 -0
  25. data/lib/caboodle/app/public/images/favicon.ico +0 -0
  26. data/lib/caboodle/app/public/images/grid.png +0 -0
  27. data/lib/caboodle/app/public/js/application.js +0 -0
  28. data/lib/caboodle/app/public/stylesheets/ie.css +1 -0
  29. data/lib/caboodle/app/public/stylesheets/print.css +122 -0
  30. data/lib/caboodle/app/public/stylesheets/screen.css +196 -0
  31. data/lib/caboodle/app/stylesheets/_base.scss +49 -0
  32. data/lib/caboodle/app/stylesheets/_defaults.scss +257 -0
  33. data/lib/caboodle/app/stylesheets/ie.scss +10 -0
  34. data/lib/caboodle/app/stylesheets/print.scss +33 -0
  35. data/lib/caboodle/app/stylesheets/screen.scss +292 -0
  36. data/lib/caboodle/app/views/layout.haml +66 -0
  37. data/lib/caboodle/app.rb +35 -0
  38. data/lib/caboodle/command.rb +38 -0
  39. data/lib/caboodle/config.rb +12 -0
  40. data/lib/caboodle/kit.rb +148 -0
  41. data/lib/caboodle/kits/flickr/flickr.rb +65 -0
  42. data/lib/caboodle/kits/flickr/galleria.noconflict.min.js +18 -0
  43. data/lib/caboodle/kits/flickr/views/photography.haml +108 -0
  44. data/lib/caboodle/kits/github/github.rb +44 -0
  45. data/lib/caboodle/kits/github/views/_repo.haml +7 -0
  46. data/lib/caboodle/kits/github/views/github.haml +11 -0
  47. data/lib/caboodle/kits/identity/identity.rb +18 -0
  48. data/lib/caboodle/kits/identity/views/me.haml +22 -0
  49. data/lib/caboodle/kits/lazyload/lazyload.rb +6 -0
  50. data/lib/caboodle/kits/lazyload/public/jquery.lazyload.mini.js +12 -0
  51. data/lib/caboodle/kits/lazyload/public/lazyload.js +3 -0
  52. data/lib/caboodle/kits/linkedin/linkedin.rb +33 -0
  53. data/lib/caboodle/kits/linkedin/views/cv.haml +6 -0
  54. data/lib/caboodle/kits/onepage/card.html +220 -0
  55. data/lib/caboodle/kits/onepage/onepage.rb +16 -0
  56. data/lib/caboodle/kits/onepage/views/contact.haml +2 -0
  57. data/lib/caboodle/kits/page/page.rb +69 -0
  58. data/lib/caboodle/kits/page/views/page.haml +2 -0
  59. data/lib/caboodle/kits/portfolio/portfolio.rb +14 -0
  60. data/lib/caboodle/kits/portfolio/views/portfolio.haml +29 -0
  61. data/lib/caboodle/kits/posterous/posterous.rb +163 -0
  62. data/lib/caboodle/kits/posterous/views/_post.haml +29 -0
  63. data/lib/caboodle/kits/posterous/views/post.haml +14 -0
  64. data/lib/caboodle/kits/posterous/views/posts.haml +21 -0
  65. data/lib/caboodle/kits/soundcloud/soundcloud.rb +31 -0
  66. data/lib/caboodle/kits/soundcloud/views/soundcloud.haml +17 -0
  67. data/lib/caboodle/kits/twitter/public/images/ajax-loader.gif +0 -0
  68. data/lib/caboodle/kits/twitter/public/images/link.png +0 -0
  69. data/lib/caboodle/kits/twitter/twitter.rb +16 -0
  70. data/lib/caboodle/kits/twitter/views/twitter.haml +101 -0
  71. data/lib/caboodle/kits/typekit/public/typekit.js +1 -0
  72. data/lib/caboodle/kits/typekit/typekit.rb +10 -0
  73. data/lib/caboodle/scrape.rb +9 -0
  74. data/lib/caboodle.rb +3 -0
  75. data/test/helper.rb +10 -0
  76. data/test/test_caboodle.rb +7 -0
  77. metadata +348 -0
@@ -0,0 +1,257 @@
1
+ //** DEFAULT STYLES **//
2
+
3
+ // Based on the work of:
4
+ // Andy Clarke: http://forabeautifulweb.com/
5
+
6
+ // Imports --------------------------------------------------------------*/
7
+
8
+ @import "base";
9
+ @import "susy/reset";
10
+
11
+ /* Body --------------------------------------------------------------*/
12
+
13
+ body {
14
+ @include serif-family;
15
+ color: $base;
16
+ }
17
+
18
+ /* Links --------------------------------------------------------------*/
19
+
20
+ a {
21
+ &:link, &:visited {
22
+ color: $alt;
23
+ }
24
+ &:focus, &:hover, &:active {
25
+ color: darken($alt,5);
26
+ text-decoration: none;
27
+ }
28
+ img {
29
+ border: none;
30
+ }
31
+ }
32
+
33
+ /* Headings --------------------------------------------------------------*/
34
+
35
+ h1, h2, h3, h4, h5, h6 {
36
+ font-weight: normal;
37
+ img {
38
+ margin: 0;
39
+ }
40
+ }
41
+
42
+ h1 {
43
+ @include adjust-font-size-to(48px);
44
+ @include trailer(1,48px);
45
+ }
46
+
47
+ h2 {
48
+ @include adjust-font-size-to(32px);
49
+ @include trailer(1,32px);
50
+ }
51
+
52
+ h3 {
53
+ @include adjust-font-size-to(24px);
54
+ @include trailer(1,24px);
55
+ }
56
+
57
+ h4 {
58
+ @include adjust-font-size-to(18px);
59
+ @include trailer(1,18px);
60
+ }
61
+
62
+ h5, h6 {
63
+ @include trailer(1);
64
+ font-weight: bold;
65
+ }
66
+
67
+ /* Text --------------------------------------------------------------*/
68
+
69
+ cite, em, dfn {
70
+ font-style: italic;
71
+ }
72
+
73
+ strong, dfn {
74
+ font-weight: bold;
75
+ }
76
+
77
+ sup, sub {
78
+ line-height: 0;
79
+ }
80
+
81
+ abbr, acronym {
82
+ border-bottom: 1px dotted;
83
+ cursor: help;
84
+ }
85
+
86
+ address {
87
+ @include trailer;
88
+ font-style: italic;
89
+ }
90
+
91
+ ins {
92
+ text-decoration: underline;
93
+ }
94
+
95
+ del {
96
+ text-decoration: line-through;
97
+ }
98
+
99
+ pre, code, tt {
100
+ margin: $base-rhythm-unit {
101
+ left: -$base-rhythm-unit;
102
+ };
103
+ padding-left: $base-rhythm-unit;
104
+ border-left: 1px dotted;
105
+ @include monospace-family;
106
+ }
107
+
108
+ pre {
109
+ white-space: pre;
110
+ }
111
+
112
+ code {
113
+ display: block;
114
+ }
115
+
116
+ q {
117
+ font-style: italic;
118
+ em {
119
+ font-style: normal;
120
+ }
121
+ }
122
+
123
+ p {
124
+ @include trailer;
125
+ }
126
+
127
+ blockquote, q {
128
+ quotes : "" "";
129
+ }
130
+
131
+ blockquote {
132
+ margin: $base-rhythm-unit {
133
+ left: -$base-rhythm-unit;
134
+ };
135
+ padding-left: $base-rhythm-unit;
136
+ border-left: 1px solid;
137
+ @include serif-family;
138
+ font-style: italic;
139
+ }
140
+
141
+ blockquote, q {
142
+ &:before, &:after {
143
+ content: "";
144
+ }
145
+ }
146
+
147
+ /* Replaced --------------------------------------------------------------*/
148
+
149
+ img {
150
+ vertical-align: bottom;
151
+ }
152
+
153
+ /* Lists --------------------------------------------------------------*/
154
+
155
+ @mixin list-default($ol: false) {
156
+ margin: 0 $base-rhythm-unit $base-rhythm-unit 0;
157
+ @if $ol {
158
+ list-style: decimal;
159
+ } @else {
160
+ list-style: disc;
161
+ }
162
+ }
163
+
164
+ @mixin no-style-list {
165
+ @include no-bullets;
166
+ margin: 0;
167
+ padding: 0;
168
+ }
169
+
170
+ ol {
171
+ @include list-default(ol);
172
+ }
173
+
174
+ ul {
175
+ @include list-default;
176
+ }
177
+
178
+ li {
179
+ ul, ol {
180
+ list-style-type: circle;
181
+ margin: 0 $base-rhythm-unit $base-rhythm-unit*.5;
182
+ }
183
+ }
184
+
185
+ dl {
186
+ @include trailer;
187
+ @include leading-border(1px);
188
+ dt {
189
+ @include adjust-font-size-to(18px);
190
+ @include trailer(.5,18px);
191
+ }
192
+ }
193
+
194
+ dd {
195
+ @include trailer;
196
+ @include trailing-border(1px);
197
+ }
198
+
199
+ /* Tables --------------------------------------------------------------*/
200
+ /* tables still need 'cellspacing="0"' in the markup */
201
+
202
+ table {
203
+ @include trailer;
204
+ width: 100%;
205
+ border-collapse: separate;
206
+ border-spacing: 0;
207
+ }
208
+
209
+ table, td, th {
210
+ vertical-align: top;
211
+ }
212
+
213
+ th, thead th {
214
+ font-weight: bold;
215
+ }
216
+
217
+ th, td, caption {
218
+ padding: $base-rhythm-unit*.5;
219
+ text-align: left;
220
+ font-weight: normal;
221
+ }
222
+
223
+ th, td {
224
+ @include trailing-border(1px,.5);
225
+ }
226
+
227
+ tfoot {
228
+ @include adjust-font-size-to(14px);
229
+ }
230
+
231
+ caption {
232
+ @include adjust-font-size-to(24px);
233
+ @include trailer(1,24px);
234
+ }
235
+
236
+ /* Forms --------------------------------------------------------------*/
237
+
238
+ fieldset {
239
+ @include trailer;
240
+ @include rhythm-borders(1px);
241
+ }
242
+
243
+ legend {
244
+ @include adjust-font-size-to(18px);
245
+ font-weight: bold;
246
+ }
247
+
248
+ label {
249
+ font-weight: bold;
250
+ }
251
+
252
+ textarea, input:not([type="radio"]) {
253
+ // box-sizing will help us control the width of inputs
254
+ // which are otherwise very hard to manage in the grid.
255
+ @include box-sizing(border-box);
256
+ width: 100%;
257
+ }
@@ -0,0 +1,10 @@
1
+ /* Welcome to Susy. Use this file to write IE specific override styles.
2
+ * Import this file using the following HTML or equivalent:
3
+ * <!--[if IE]>
4
+ * <link href="/stylesheets/ie.css" media="screen, projection" rel="stylesheet" type="text/css" />
5
+ * <![endif]--> */
6
+
7
+ // Imports --------------------------------------------------------------*/
8
+
9
+ @import "base";
10
+
@@ -0,0 +1,33 @@
1
+ /* Welcome to Susy. Use this file to define print styles.
2
+ * Import this file using the following HTML or equivalent:
3
+ * <link href="/stylesheets/print.css" media="print" rel="stylesheet" type="text/css" /> */
4
+
5
+ // Imports --------------------------------------------------------------*/
6
+
7
+ @import "defaults";
8
+
9
+ /* Print Defaults --------------------------------------------------------------*/
10
+
11
+ @mixin print {
12
+ nav {
13
+ // no need to navigate on paper
14
+ display: none;
15
+ }
16
+ * {
17
+ // floated elements disappear when they overflow the page
18
+ float: none !important;
19
+ background: none;
20
+ }
21
+ body {
22
+ @include serif-family;
23
+ font-size: 12pt;
24
+ background: white;
25
+ color: black;
26
+ }
27
+ a:link:after, a:visited:after {
28
+ // print target URLs next to their links
29
+ content: " (" attr(href) ") ";
30
+ }
31
+ }
32
+
33
+ @include print;
@@ -0,0 +1,292 @@
1
+ /* Welcome to Susy. Use this file to define screen styles.
2
+ * Import this file using the following HTML or equivalent:
3
+ * <link href="/stylesheets/screen.css" media="screen" rel="stylesheet" type="text/css" /> */
4
+
5
+ // Imports --------------------------------------------------------------*/
6
+
7
+ @import "defaults";
8
+
9
+ /* Layout --------------------------------------------------------------*/
10
+
11
+ @include susy;
12
+
13
+ // change '#page' to match your HTML container element(s)
14
+ #page {
15
+ @include container;
16
+ //@include show-grid("grid.png");
17
+ @include sans-family;
18
+ }
19
+
20
+ // show-grid loads a 64+16x24 grid image by default
21
+ // For other grid settings, run `compass grid-img 30+10x20`
22
+ // Where 30 is the column width, 10 is the gutter width,
23
+ // and 20 is the (optional) line-height.
24
+
25
+ /* Styles --------------------------------------------------------------*/
26
+
27
+ header#site-header {
28
+ @include full;
29
+ @include leader(6,32px);
30
+ @include trailer(2,32px);
31
+ #logo {
32
+ @include columns(1,12);
33
+ @include prefix(1);
34
+ img {
35
+ width: 64px;
36
+ height: auto;
37
+
38
+ }
39
+ }
40
+ #site-title {
41
+ @include columns(5,12);
42
+ h1{
43
+ @include adjust-font-size-to(24px);
44
+ color: black;
45
+ }
46
+ }
47
+ #site-description {
48
+ @include columns(5,12);
49
+ h2 {
50
+ @include adjust-font-size-to(24px);
51
+ color: #ddd;
52
+ }
53
+ }
54
+ #access {
55
+ @include skip-link();
56
+ }
57
+ nav {
58
+ @include trailer(1,32px);
59
+ @include prefix(2);
60
+ ul {
61
+ @include inline-block-list(12px);
62
+ li {
63
+ @include slab-family;
64
+ }
65
+ }
66
+ }
67
+ }
68
+
69
+ section#main {
70
+ @include full;
71
+ header#page_title
72
+ {
73
+ h1, h2 {
74
+ @include adjust-font-size-to(48px);
75
+ color: #aaa;
76
+ @include prefix(2);
77
+ }
78
+ }
79
+ section#content {
80
+ min-height: 320px;
81
+ @include prefix(0);
82
+ @include columns(12,12);
83
+ @include leader(1,32px);
84
+ h1, h2 {
85
+ @include adjust-font-size-to(24px);
86
+ }
87
+ article {
88
+ @include trailer(2,32px);
89
+ aside {
90
+ color: #aaa;
91
+ a {
92
+ color: #999;
93
+ }
94
+ }
95
+ }
96
+ }
97
+ aside#sidebar {
98
+ @include columns(2,12);
99
+ ul {
100
+ @include no-style-list;
101
+ }
102
+ }
103
+ }
104
+
105
+ footer {
106
+ @include prefix(2);
107
+ @include full;
108
+ @include slab-family;
109
+ }
110
+
111
+ section.subsection {
112
+ @include columns(12,12);
113
+ aside.submenu {
114
+ @include columns(2,12);
115
+ ul {
116
+ @include no-style-list;
117
+ @include adjust-font-size-to(12px);
118
+ }
119
+ }
120
+
121
+ section.subpage {
122
+ @include columns(9,12);
123
+ }
124
+ }
125
+
126
+ #galleria_gallery {
127
+ @include columns(10,10);
128
+ #main_image {
129
+ @include trailer(2,32px);
130
+ min-height: 320px;
131
+ min-width: 532px;
132
+ background-color: #f6f6f6;
133
+ text-align: center;
134
+ padding: 16px;
135
+ img {
136
+ vertical-align: middle;
137
+ @include box-shadow(0px, 0px, 32px, #aaaaaa);
138
+ }
139
+ }
140
+ #gallery.gallery {
141
+ @include columns(10,10);
142
+ ul {
143
+ @include no-style-list;
144
+ li {
145
+ display: inline-block;
146
+ }
147
+ }
148
+ }
149
+ }
150
+
151
+ .posterous, .page {
152
+ @include prefix(2);
153
+ }
154
+
155
+ .posterous {
156
+ #pagination {
157
+ @include leader(3,32px);
158
+ @include trailer(3,32px);
159
+ font-weight: bold;
160
+ }
161
+ @include columns(6,10);
162
+ article {
163
+ h2 > a {
164
+ display: none;
165
+ }
166
+ h2.entry-title a {
167
+ display: inline !important;
168
+ }
169
+ }
170
+ }
171
+
172
+ .linkedin{
173
+ #additional-information{
174
+ h2 + h3 {
175
+ display: none;
176
+ }
177
+ }
178
+
179
+ #additional-information {
180
+ .websites {
181
+ display: none;
182
+ }
183
+ }
184
+ #contact-settings, .affiliation {
185
+ display :none;
186
+ }
187
+ @include adjust-font-size-to(14px);
188
+ .showhide-link, .connections, .recommended, hr {
189
+ display: none;
190
+ }
191
+ h2 {
192
+ @include adjust-font-size-to(32px);
193
+ @include leader(2,32px);
194
+ @include trailing-border(2px,1,32px, solid);
195
+ }
196
+
197
+ h3, dt {
198
+ @include adjust-font-size-to(24px);
199
+ @include slab-family;
200
+ }
201
+
202
+ ul.vcalendar {
203
+ padding-left: 32px;
204
+ background-color: #eee;
205
+ @include padding-leader(1,32px);
206
+ @include padding-trailer(1,32px);
207
+ }
208
+
209
+ #summary {
210
+
211
+ }
212
+ #overview {
213
+ @include trailer(2,32px);
214
+ @include columns(8,8);
215
+ -moz-column-count: 2;
216
+ -moz-column-gap: 32px;
217
+ -webkit-column-count: 2;
218
+ -webkit-column-gap: 32px;
219
+ column-count: 2;
220
+ column-gap: 32px;
221
+ dl {
222
+ dt {
223
+
224
+ }
225
+ dd {
226
+
227
+ }
228
+ }
229
+ }
230
+
231
+ }
232
+
233
+ #portfolio {
234
+ dl {
235
+ @include no-style-list;
236
+ border: 0px !important;
237
+ dt {
238
+ @include adjust-font-size-to(24px);
239
+ @include slab-family;
240
+ @include columns(1,6);
241
+ border: 0px !important;
242
+ }
243
+ dd {
244
+ @include columns(4,6);
245
+ border: 0px !important;
246
+ .awards {
247
+ @include adjust-font-size-to(12px);
248
+ }
249
+ }
250
+ }
251
+ }
252
+
253
+ #twitter {
254
+ #tweets {
255
+ background-color: #eee;
256
+ @include padding-leader(1,32px);
257
+ @include padding-trailer(1,32px);
258
+ @include trailer(2,32px);
259
+ @include pad(1,1);
260
+ .tweet {
261
+ display: block;
262
+ background-color: #fff;
263
+ @include box-shadow(0px, 0px, 16px, #aaaaaa);
264
+ @include padding-leader(1,32px);
265
+ @include padding-trailer(1,32px);
266
+ @include pad(1,1);
267
+ a.status_link {
268
+ display: block;
269
+ position: relative;
270
+ z-index: 2;
271
+ left: -32px;
272
+ }
273
+ }
274
+ }
275
+ #overlay {
276
+ img {
277
+ @include trailer(1,32px);
278
+ }
279
+ }
280
+
281
+ }
282
+
283
+ #onepage {
284
+ iframe {
285
+ width: 580px;
286
+ height: 580px;
287
+ background-color: #eee;
288
+ padding: 32px;
289
+ overflow: hidden;
290
+ scroll: none;
291
+ }
292
+ }
@@ -0,0 +1,66 @@
1
+ !!!
2
+ %html{:dir => "ltr", :lang => "en-US", :xmlns => "http://www.w3.org/1999/xhtml"}
3
+ %head{:profile => "http://gmpg.org/xfn/11"}
4
+ %meta{:content => "text/html; charset=utf-8", "http-equiv" => "content-type"}/
5
+ %meta{:content => "index,follow", :name => "robots"}/
6
+
7
+ %title= @title || Caboodle::Site.title
8
+ %link{:href => "/stylesheets/screen.css", :rel => "stylesheet", :type => "text/css"}/
9
+
10
+ - Caboodle::Stylesheets.each do |css|
11
+ %link{:rel => "stylesheet", :rel => css, :type => "text/css"}
12
+
13
+ %link{:href => Caboodle::Site.url_base, :rel => "index", :title => Caboodle::Site.title}/
14
+
15
+ %script{:charset => "utf-8", :src => "http://ajax.googleapis.com/ajax/libs/jquery/#{Caboodle::Site.jquery_version || "1.4.2"}/jquery.min.js", :type => "text/javascript"}
16
+ %script{:charset => "utf-8", :src => "/js/application.js", :type => "text/javascript"}
17
+
18
+ - Caboodle::Javascripts.each do |js|
19
+ %script{:charset => "utf-8", :src => js, :type => "text/javascript"}
20
+
21
+ / - content_for :javascripts do
22
+ /
23
+ /
24
+ / = yield_content :some_key
25
+
26
+
27
+ %body.sinatra.ruby
28
+ #page.hfeed
29
+ %header#site-header
30
+ #logo
31
+ %a{:href => "/", :rel => "home", :title => Caboodle::Site.title }
32
+ %img{:src=>Caboodle::Site.logo_url, :width=>"64", :height=>"64"}
33
+ #site-title
34
+ %h1
35
+ %a{:href => "/", :rel => "home", :title => Caboodle::Site.title }
36
+ = Caboodle::Site.title
37
+ #site-description
38
+ %h2= Caboodle::Site.description
39
+ #access
40
+ .skip-link
41
+ %a{:href => "#content", :title => "Skip navigation to the content"} Skip to content
42
+ %nav
43
+ %ul
44
+ %li
45
+ %a{:href=>"/"}
46
+ = Caboodle::Site.home_title
47
+ - Caboodle::MenuItems.each do |p|
48
+ %li
49
+ %a{:href=>p[:link]}
50
+ = p[:display]
51
+
52
+ %section#main
53
+ - if @title
54
+ %header#page_title
55
+ %h1
56
+ = @title
57
+ %section#content
58
+ = yield
59
+ %footer#footer
60
+ %p
61
+ \&copy;
62
+ = Caboodle::Site.author
63
+ |
64
+ Powered by
65
+ %a{:href=>"http://github.com/steflewandowski/caboodle"}
66
+ Caboodle
@@ -0,0 +1,35 @@
1
+ module Caboodle
2
+
3
+ class App < Sinatra::Base
4
+ register Sinatra::Compass
5
+
6
+ set :app_file, __FILE__
7
+ set :logging, true
8
+ set :root, File.expand_path(".")
9
+ set :views, Proc.new { File.join(root, "views") }
10
+ set :public, Proc.new { File.join(root, "public") }
11
+ #disable :run, :reload
12
+ # set :compass, :sass_dir => File.join(root, "stylesheets")
13
+ #
14
+ # get_compass("/css/:name.css") do
15
+ # compass :one_stylesheet
16
+ # end
17
+
18
+ helpers Sinatra::ContentFor
19
+
20
+ configure do
21
+ config_path = File.expand_path(File.join(root,"config","site.yml"))
22
+ if File.exists?(config_path)
23
+ Caboodle::Kit.load_config(config_path)
24
+ Caboodle::Kit.setup
25
+ end
26
+
27
+ puts Caboodle::Site.inspect
28
+ end
29
+ # get '/:kit/stylesheet.css' do
30
+ # header 'Content-Type' => 'text/css; charset=utf-8'
31
+ # sass :stylesheet
32
+ # end
33
+
34
+ end
35
+ end