caboodle 0.2.11 → 0.2.12

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.11
1
+ 0.2.12
@@ -108,7 +108,7 @@
108
108
  - if Caboodle::Site.has_caboodle_link
109
109
  |
110
110
  Powered by
111
- %a{:href=>"http://github.com/steflewandowski/caboodle"}
111
+ %a{:href=>"http://github.com/stefl/caboodle"}
112
112
  Caboodle
113
113
  = below_footer
114
114
  = after_footer
@@ -6,6 +6,7 @@ module Caboodle
6
6
  RSS = []
7
7
  SASS = []
8
8
  Errors = []
9
+ Debug = []
9
10
  Defaults = Hashie::Mash.new(Hashie::Mash.new(YAML.load_file(File.join(File.dirname(__FILE__), 'config','defaults.yml'))))
10
11
  RequiredSettings = Hashie::Mash.new()
11
12
  OptionalSettings = Hashie::Mash.new()
@@ -0,0 +1,8 @@
1
+ module Caboodle
2
+ class Beta < Caboodle::Kit
3
+ required [:beta_message]
4
+ add_sass ["beta"]
5
+ end
6
+ end
7
+
8
+ Caboodle::Layout.before_header = "<div id='beta'><p>#{Caboodle::Site.beta_message}</p></div>"
@@ -0,0 +1,8 @@
1
+ #beta {
2
+ background-color: #eee;
3
+ color: #999;
4
+ p {
5
+ @include adjust-font-size-to(9px);
6
+ padding: 0.2em;
7
+ }
8
+ }
@@ -0,0 +1,15 @@
1
+ module Caboodle
2
+ class Debugger < Caboodle::Kit
3
+
4
+ puts "Running debugger"
5
+ puts Caboodle::Debug.inspect
6
+ Caboodle::Debug.each do |debug|
7
+ Caboodle::Layout.after_footer = "<div id='debug'>"
8
+ Caboodle::Layout.after_footer << "<p>#{debug}</p>"
9
+ Caboodle::Layout.after_footer << "</div>"
10
+ end
11
+
12
+
13
+ end
14
+ end
15
+
@@ -16,20 +16,31 @@ module Caboodle
16
16
  content_type 'text/css', :charset => 'utf-8'
17
17
  sass_dir = File.expand_path(File.join(File.dirname(__FILE__),"views","susy"))
18
18
  load_paths = [Caboodle::App.root, File.join(Caboodle::App.root,"views"), File.join(Caboodle::App.root,"views","stylesheets"), sass_dir] + ::Compass.sass_engine_options[:load_paths]
19
+ Caboodle::Layout.after_footer ||= ""
19
20
  Caboodle::Kits.each do |name|
20
21
  kit_name = name.to_s.split("::").last || name
21
22
  kit_name = kit_name.downcase
22
- load_paths << File.expand_path(File.join(File.dirname(__FILE__),"..",kit_name,"views"))
23
+ path = File.expand_path(File.join(File.dirname(__FILE__),"..",kit_name,"views"))
24
+ load_paths << path
23
25
  end
24
26
 
25
27
  options = {:sass_dir => sass_dir, :syntax => :scss, :load_paths => load_paths}
26
28
  the_sass = open(File.join(File.dirname(__FILE__),"views","susy","screen.scss")).read
29
+ imported_files = []
27
30
  Caboodle::SASS.each do |s|
31
+ Caboodle::Layout.after_footer << "<p>#{s}</p>"
28
32
  the_sass << "\n"
29
33
  add_file = "@import \"#{s}\";"
34
+ imported_files << add_file
30
35
  the_sass << add_file
31
36
  end
32
37
 
38
+ the_sass << "\n/* Generated from:"
39
+ the_sass << load_paths.join("\n")
40
+ the_sass << "\n"
41
+ the_sass << imported_files.join("\n")
42
+ the_sass << "*/"
43
+
33
44
  opts = options.merge!(::Compass.sass_engine_options)
34
45
  opts[:load_paths] = load_paths
35
46
  sass the_sass, opts
@@ -123,114 +123,6 @@ section.subsection {
123
123
  }
124
124
  }
125
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
-
234
126
 
235
127
  .page {
236
128
  iframe {
@@ -0,0 +1,7 @@
1
+ #tumblr {
2
+ article {
3
+ aside {
4
+ display: none;
5
+ }
6
+ }
7
+ }
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboodle
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
4
+ hash: 15
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 11
10
- version: 0.2.11
9
+ - 12
10
+ version: 0.2.12
11
11
  platform: ruby
12
12
  authors:
13
13
  - Stef Lewandowski
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-08-27 00:00:00 +01:00
18
+ date: 2010-08-28 00:00:00 +01:00
19
19
  default_executable: caboodle
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -244,9 +244,12 @@ files:
244
244
  - lib/caboodle/helpers.rb
245
245
  - lib/caboodle/kit.rb
246
246
  - lib/caboodle/kits/analytics/analytics.rb
247
+ - lib/caboodle/kits/beta/beta.rb
248
+ - lib/caboodle/kits/beta/views/beta.scss
247
249
  - lib/caboodle/kits/broken/broken.rb
248
250
  - lib/caboodle/kits/carbonmade/carbonmade.rb
249
251
  - lib/caboodle/kits/carbonmade/views/carbonmade.haml
252
+ - lib/caboodle/kits/debugger/debugger.rb
250
253
  - lib/caboodle/kits/disqus/disqus.rb
251
254
  - lib/caboodle/kits/disqus/views/disqus.haml
252
255
  - lib/caboodle/kits/flickr/flickr.rb
@@ -301,6 +304,7 @@ files:
301
304
  - lib/caboodle/kits/tumblr/views/_regular.haml
302
305
  - lib/caboodle/kits/tumblr/views/_video.haml
303
306
  - lib/caboodle/kits/tumblr/views/tumblr.haml
307
+ - lib/caboodle/kits/tumblr/views/tumblr.scss
304
308
  - lib/caboodle/kits/twitter/public/images/ajax-loader.gif
305
309
  - lib/caboodle/kits/twitter/public/images/link.png
306
310
  - lib/caboodle/kits/twitter/twitter.rb