caboodle 0.2.18 → 0.2.19

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/README.textile CHANGED
@@ -1,4 +1,4 @@
1
- !http://posterous.com/getfile/files.posterous.com/temp-2010-08-17/JGcuaytyAkpyFrgqaioavulpEcdrfgCGeilGpHAEzvtgAfFnimzzEJarawqG/caboodle.png.scaled1000.png!
1
+ !http://img.skitch.com/20100905-fsdm4du28y6cpbbf8p3b187j18.png!
2
2
 
3
3
  h2. Caboodle is a quick and easy way to create a mashup website
4
4
 
@@ -20,7 +20,18 @@ myproject
20
20
  Please set a value for flickr_apikey
21
21
  b1789c432a78990b44d39ff
22
22
 
23
- caboodle deploy</pre>
23
+ caboodle kit:add tumblr
24
+
25
+ Please set a value for tumblr_username
26
+ myproject
27
+
28
+ caboodle kit:home tumblr
29
+
30
+ (Sets the Tumblr kit as the home page)
31
+
32
+ caboodle heroku:create myproject
33
+
34
+ caboodle heroku:deploy</pre>
24
35
 
25
36
  h2. "WIKI":http://wiki.github.com/steflewandowski/Caboodle/
26
37
 
data/Rakefile CHANGED
@@ -23,6 +23,8 @@ begin
23
23
  gem.add_dependency "tumblr-rb"
24
24
  gem.add_dependency "rack-geo"
25
25
  gem.add_dependency "maruku"
26
+ gem.add_dependency "youtube-g"
27
+ gem.add_dependency "feed-normalizer"
26
28
  end
27
29
  Jeweler::GemcutterTasks.new
28
30
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.18
1
+ 0.2.19
@@ -51,12 +51,17 @@ module Caboodle
51
51
  puts "The following kits are loaded"
52
52
  configure
53
53
  puts Caboodle::Site.kits.join("\n")
54
- when "deploy"
54
+ when "heroku:create"
55
+ gem 'heroku'
56
+ require 'heroku'
57
+ require 'heroku/command'
58
+ `heroku create #{args[0]}`
59
+ when "heroku:deploy"
55
60
  gem 'heroku'
56
61
  require 'heroku'
57
62
  require 'heroku/command'
58
63
 
59
- puts `git commit -m"deploy" -a`
64
+ puts `git commit -m"heroku:deploy" -a`
60
65
  puts `git push heroku master`
61
66
  else
62
67
  puts "Sorry, that command is not recognized" unless command == "help"
@@ -70,7 +75,8 @@ module Caboodle
70
75
  puts "caboodle config:list - shows the configuration variables"
71
76
  puts "caboodle config:set <variable name> <value> - sets a value for the configuration variable"
72
77
  puts "caboodle config:get <variable name> - shows the value of the configuration variable"
73
- puts "caboodle deploy - pushes the caboodle to Heroku"
78
+ puts "caboodle heroku:create - sets up a new Heroku instance"
79
+ puts "caboodle heroku:deploy - pushes the caboodle to Heroku"
74
80
  end
75
81
  end
76
82
  end
@@ -0,0 +1,2 @@
1
+ :feeds:
2
+ News: http://feeds.feedburner.com/github
@@ -0,0 +1,24 @@
1
+ require 'feed-normalizer'
2
+ require 'open-uri'
3
+
4
+ module Caboodle
5
+ class Feed < Caboodle::Kit
6
+ description "Displays multiple RSS/Atom feeds as sections of the site with menu items"
7
+
8
+ config_files ["feed.yml"]
9
+
10
+ add_sass ["feed"]
11
+
12
+ configure do
13
+ puts "Configure it"
14
+ puts Settings.feeds.inspect
15
+ Settings.feeds.each do |feed_name,feed_url|
16
+ menu feed_name do
17
+ @feed = FeedNormalizer::FeedNormalizer.parse open(feed_url)
18
+ @feed.clean!
19
+ haml :feed
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,7 @@
1
+ #feed.page.thin_page
2
+ %section.feed_posts
3
+ - @feed.entries.each do |post|
4
+ %article
5
+ %h2
6
+ = post.title
7
+ = post.content
File without changes
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: 51
4
+ hash: 49
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 18
10
- version: 0.2.18
9
+ - 19
10
+ version: 0.2.19
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-09-04 00:00:00 +01:00
18
+ date: 2010-09-05 00:00:00 +01:00
19
19
  default_executable: caboodle
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -219,6 +219,34 @@ dependencies:
219
219
  version: "0"
220
220
  type: :runtime
221
221
  version_requirements: *id013
222
+ - !ruby/object:Gem::Dependency
223
+ name: youtube-g
224
+ prerelease: false
225
+ requirement: &id014 !ruby/object:Gem::Requirement
226
+ none: false
227
+ requirements:
228
+ - - ">="
229
+ - !ruby/object:Gem::Version
230
+ hash: 3
231
+ segments:
232
+ - 0
233
+ version: "0"
234
+ type: :runtime
235
+ version_requirements: *id014
236
+ - !ruby/object:Gem::Dependency
237
+ name: feed-normalizer
238
+ prerelease: false
239
+ requirement: &id015 !ruby/object:Gem::Requirement
240
+ none: false
241
+ requirements:
242
+ - - ">="
243
+ - !ruby/object:Gem::Version
244
+ hash: 3
245
+ segments:
246
+ - 0
247
+ version: "0"
248
+ type: :runtime
249
+ version_requirements: *id015
222
250
  description: Caboodle is a Rack and Sinatra-based framework for creating websites which combine information from various online services. There are Kits for many of the larger services, which provide a way to retrieve and display photos, videos, blog posts, status updates and so on. Caboodle normalises the display of all of these discrete Kits so that you can create a website which looks seamless but is made up of a variety of things from a variety of sources.
223
251
  email: stef@stef.io
224
252
  executables:
@@ -227,13 +255,11 @@ extensions: []
227
255
 
228
256
  extra_rdoc_files:
229
257
  - LICENSE
230
- - README.rdoc
231
258
  - README.textile
232
259
  files:
233
260
  - .document
234
261
  - .gitignore
235
262
  - LICENSE
236
- - README.rdoc
237
263
  - README.textile
238
264
  - Rakefile
239
265
  - VERSION
@@ -281,6 +307,10 @@ files:
281
307
  - lib/caboodle/kits/debugger/debugger.rb
282
308
  - lib/caboodle/kits/disqus/disqus.rb
283
309
  - lib/caboodle/kits/disqus/views/chat.haml
310
+ - lib/caboodle/kits/feed/config/feed.yml
311
+ - lib/caboodle/kits/feed/feed.rb
312
+ - lib/caboodle/kits/feed/views/feed.haml
313
+ - lib/caboodle/kits/feed/views/feed.scss
284
314
  - lib/caboodle/kits/flickr/flickr.rb
285
315
  - lib/caboodle/kits/flickr/public/galleria.noconflict.min.js
286
316
  - lib/caboodle/kits/flickr/views/photography.haml
data/README.rdoc DELETED
@@ -1,31 +0,0 @@
1
- http://posterous.com/getfile/files.posterous.com/temp-2010-08-17/JGcuaytyAkpyFrgqaioavulpEcdrfgCGeilGpHAEzvtgAfFnimzzEJarawqG/caboodle.png.scaled1000.png
2
-
3
- == Caboodle is a quick and easy way to create a mashup website
4
-
5
- A quick demonstration if you are familiar with Ruby:
6
-
7
- > sudo gem install caboodle
8
- > caboodle create myproject
9
- Please set a value for title:
10
- > My brand new project
11
- Please set a value for description:
12
- > The full kit and Caboodle
13
- > cd myproject
14
- > caboodle kit:add flickr
15
- Please set a value for flickr_username
16
- > myproject
17
- Please set a value for flickr_apikey
18
- > b1789c432a78990b44d39ff
19
- > caboodle deploy
20
-
21
- == Documentation and instructions[http://wiki.github.com/steflewandowski/Caboodle/]
22
-
23
- This includes some pointers on how to use Caboodle without any knowledge of Ruby, Git or Heroku which Caboodle relies upon.
24
-
25
- == Questions
26
-
27
- Stef on Twitter[http://twitter.com/stef]
28
-
29
- == Copyright
30
-
31
- Copyright (c) 2010 Stef Lewandowski. See LICENSE for details.