webby 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. data/History.txt +13 -1
  2. data/Manifest.txt +36 -27
  3. data/README.txt +21 -1
  4. data/Rakefile +12 -8
  5. data/bin/webby +2 -10
  6. data/data/Rakefile +1 -0
  7. data/data/tasks/create.rake +1 -0
  8. data/data/tasks/deploy.rake +1 -0
  9. data/data/tasks/growl.rake +13 -12
  10. data/data/tasks/heel.rake +29 -32
  11. data/data/tasks/setup.rb +4 -9
  12. data/{website → examples/webby}/Rakefile +0 -0
  13. data/{website → examples/webby}/content/css/blueprint/lib/buttons.css +0 -0
  14. data/{website → examples/webby}/content/css/blueprint/lib/compressed.css +0 -0
  15. data/{website → examples/webby}/content/css/blueprint/lib/grid.css +0 -0
  16. data/{website → examples/webby}/content/css/blueprint/lib/img/grid.png +0 -0
  17. data/{website → examples/webby}/content/css/blueprint/lib/img/icons/cross.png +0 -0
  18. data/{website → examples/webby}/content/css/blueprint/lib/img/icons/textfield_key.png +0 -0
  19. data/{website → examples/webby}/content/css/blueprint/lib/img/icons/tick.png +0 -0
  20. data/{website → examples/webby}/content/css/blueprint/lib/reset.css +0 -0
  21. data/{website → examples/webby}/content/css/blueprint/lib/typography.css +0 -0
  22. data/{website → examples/webby}/content/css/blueprint/print.css +0 -0
  23. data/{website → examples/webby}/content/css/blueprint/screen.css +0 -0
  24. data/{website → examples/webby}/content/css/coderay.css +0 -0
  25. data/{website → examples/webby}/content/css/site.css +0 -0
  26. data/{website → examples/webby}/content/download.txt +0 -0
  27. data/{website → examples/webby}/content/index.txt +0 -0
  28. data/examples/webby/content/manual.txt +24 -0
  29. data/{website → examples/webby}/content/robots.txt +0 -0
  30. data/{website → examples/webby}/content/tips_and_tricks.txt +0 -0
  31. data/{website → examples/webby}/content/tutorial.txt +6 -6
  32. data/{website → examples/webby}/layouts/default.rhtml +0 -0
  33. data/{website → examples/webby}/tasks/create.rake +0 -0
  34. data/{website → examples/webby}/tasks/deploy.rake +0 -0
  35. data/{website → examples/webby}/tasks/growl.rake +12 -12
  36. data/{website → examples/webby}/tasks/heel.rake +28 -32
  37. data/{website → examples/webby}/tasks/setup.rb +3 -9
  38. data/{website → examples/webby}/templates/page.erb +0 -0
  39. data/lib/webby/file.rb +33 -1
  40. data/lib/webby/filters/coderay.rb +8 -2
  41. data/lib/webby/filters/erb.rb +11 -0
  42. data/lib/webby/filters/graphviz.rb +22 -8
  43. data/lib/webby/filters/haml.rb +16 -0
  44. data/lib/webby/filters/markdown.rb +10 -0
  45. data/lib/webby/filters/sass.rb +11 -0
  46. data/lib/webby/filters/textile.rb +10 -0
  47. data/lib/webby/filters/tidy.rb +8 -1
  48. data/lib/webby/filters.rb +90 -0
  49. data/lib/webby/helpers/tag_helper.rb +61 -0
  50. data/lib/webby/helpers/url_helper.rb +162 -0
  51. data/lib/webby/pages_db.rb +8 -9
  52. data/lib/webby/renderer.rb +20 -113
  53. data/lib/webby/resource.rb +13 -6
  54. data/lib/webby/utils.rb +13 -1
  55. data/lib/webby/webby_task.rb +7 -1
  56. data/lib/webby.rb +21 -17
  57. data/spec/spec_helper.rb +3 -9
  58. data/tasks/annotations.rake +30 -0
  59. data/tasks/doc.rake +7 -1
  60. data/tasks/gem.rake +6 -2
  61. data/tasks/manifest.rake +6 -4
  62. data/tasks/rubyforge.rake +1 -1
  63. data/tasks/setup.rb +29 -7
  64. data/tasks/spec.rake +8 -5
  65. data/tasks/website.rake +2 -2
  66. metadata +123 -116
  67. data/website/content/manual.txt +0 -60
@@ -1,4 +1,4 @@
1
- # $Id: resource.rb 61 2007-12-04 05:48:23Z tim_pease $
1
+ # $Id: resource.rb 86 2008-01-01 22:14:55Z tim_pease $
2
2
 
3
3
  module Webby
4
4
 
@@ -21,6 +21,11 @@ module Webby
21
21
  #
22
22
  class Resource
23
23
 
24
+ instance_methods.each do |m|
25
+ undef_method(m) unless m =~ %r/\A__/ ||
26
+ m == 'class'
27
+ end
28
+
24
29
  class << self
25
30
  # Returns the pages hash object.
26
31
  def pages
@@ -64,9 +69,9 @@ class Resource
64
69
  #
65
70
  def initialize( fn )
66
71
  @path = fn.sub(%r/\A(?:\.\/|\/)/o, '').freeze
67
- @dir = ::File.dirname(@path).sub(%r/\A[^\/]+\/?/o, '')
68
- @filename = ::File.basename(@path).sub(%r/\.\w+\z/o, '')
69
- @ext = ::File.extname(@path).sub(%r/\A\.?/o, '')
72
+ @dir = Webby::File.dirname(@path)
73
+ @filename = Webby::File.basename(@path)
74
+ @ext = Webby::File.extname(@path)
70
75
  @mtime = ::File.mtime @path
71
76
 
72
77
  @number = nil
@@ -124,10 +129,11 @@ class Resource
124
129
 
125
130
  if @mdata.has_key? 'layout'
126
131
  lyt = self.class.layouts.find :filename => @mdata['layout']
127
- return lyt.extension if lyt
132
+ ext = lyt ? lyt.extension : nil
133
+ return ext if ext
128
134
  end
129
135
 
130
- @ext
136
+ return (is_layout? ? nil : @ext)
131
137
  end
132
138
 
133
139
  # call-seq:
@@ -165,6 +171,7 @@ class Resource
165
171
  return @url if defined? @url and @url
166
172
 
167
173
  @url = destination.sub(::Webby.site.output_dir, '')
174
+ @url = File.dirname(@url) if filename == 'index'
168
175
  @url
169
176
  end
170
177
 
data/lib/webby/utils.rb CHANGED
@@ -1,4 +1,4 @@
1
- # $Id: utils.rb 51 2007-11-29 06:01:26Z tim_pease $
1
+ # $Id: utils.rb 67 2007-12-09 00:49:26Z tim_pease $
2
2
 
3
3
  module Enumerable
4
4
  def injecting( initial )
@@ -19,6 +19,18 @@ class Hash
19
19
  end
20
20
  self.replace h
21
21
  end
22
+
23
+ def stringify_keys
24
+ h = {}
25
+ self.each {|k,v| h[k.to_s] = v}
26
+ return h
27
+ end
28
+
29
+ def symbolize_keys
30
+ h = {}
31
+ self.each {|k,v| h[k.to_sym] = v}
32
+ return h
33
+ end
22
34
  end
23
35
 
24
36
  # EOF
@@ -1,4 +1,4 @@
1
- # $Id: webby_task.rb 60 2007-12-04 05:05:50Z tim_pease $
1
+ # $Id: webby_task.rb 86 2008-01-01 22:14:55Z tim_pease $
2
2
 
3
3
  begin
4
4
  require 'rake'
@@ -68,6 +68,12 @@ class WebbyTask < TaskLib
68
68
  task :autobuild do |t|
69
69
  ::Webby::AutoBuilder.run
70
70
  end
71
+
72
+ desc "delete the website"
73
+ task :clobber do |t|
74
+ rm_rf ::Webby.site.output_dir
75
+ mkdir ::Webby.site.output_dir
76
+ end
71
77
  end
72
78
 
73
79
  # Scans the templates directory for any files, and creats a corresponding
data/lib/webby.rb CHANGED
@@ -1,20 +1,20 @@
1
- # $Id: webby.rb 60 2007-12-04 05:05:50Z tim_pease $
1
+ # $Id: webby.rb 86 2008-01-01 22:14:55Z tim_pease $
2
2
 
3
3
  require 'logging'
4
4
  require 'ostruct'
5
5
 
6
6
  # Configure Webby to log to STDOUT at the 'info' level
7
+ Logging::Logger['Webby'].level = :info
8
+ Logging::Logger['Webby'].add(Logging::Appender.stdout)
7
9
  Logging::Appender.stdout.layout = Logging::Layouts::Pattern.new(
8
10
  :pattern => "[%d] %5l: %m\n", # [date] LEVEL: message
9
11
  :date_pattern => "%H:%M:%S" # date == HH:MM:SS
10
12
  )
11
- Logging::Logger['Webby'].add(Logging::Appender.stdout)
12
- Logging::Logger['Webby'].level = :info
13
13
 
14
14
 
15
15
  module Webby
16
16
 
17
- VERSION = '0.6.0' # :nodoc:
17
+ VERSION = '0.7.0' # :nodoc:
18
18
 
19
19
  # Path to the Webby package
20
20
  PATH = ::File.expand_path(::File.join(::File.dirname(__FILE__), '..'))
@@ -46,19 +46,23 @@ module Webby
46
46
  #
47
47
  def self.site
48
48
  return @site if defined? @site
49
-
50
- @site = OpenStruct.new
51
- @site.output_dir = 'output'
52
- @site.content_dir = 'content'
53
- @site.layout_dir = 'layouts'
54
- @site.template_dir = 'templates'
55
- @site.exclude = %w(tmp$ bak$ ~$ CVS \.svn)
56
- @site.page_defaults = {
57
- 'extension' => 'html',
58
- 'layout' => 'default'
59
- }
60
-
61
- @site
49
+ @site = OpenStruct.new(
50
+ :output_dir => 'output',
51
+ :content_dir => 'content',
52
+ :layout_dir => 'layouts',
53
+ :template_dir => 'templates',
54
+ :exclude => %w(tmp$ bak$ ~$ CVS \.svn),
55
+ :page_defaults => {
56
+ 'layout' => 'default'
57
+ },
58
+ :find_by => 'title',
59
+ # Items used to deploy the webiste
60
+ :host => 'user@hostname.tld',
61
+ :remote_dir => '/not/a/valid/dir',
62
+ :rsync_args => %w(-av --delete),
63
+ # Options passed to the 'tidy' program when the tidy filter is used
64
+ :tidy_options => '-indent -wrap 80'
65
+ )
62
66
  end
63
67
 
64
68
  # call-seq
data/spec/spec_helper.rb CHANGED
@@ -1,12 +1,6 @@
1
- # $Id: spec_helper.rb 1 2007-08-18 21:39:50Z tim_pease $
1
+ # $Id: spec_helper.rb 83 2007-12-30 02:22:02Z tim_pease $
2
2
 
3
- begin
4
- require 'webby'
5
- rescue LoadError
6
- path = File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib'))
7
- raise if $:.include? path
8
- $: << path
9
- retry
10
- end
3
+ require File.expand_path(
4
+ File.join(File.dirname(__FILE__), '..', 'lib', 'webby'))
11
5
 
12
6
  # EOF
@@ -0,0 +1,30 @@
1
+ # $Id: annotations.rake 85 2008-01-01 20:37:31Z tim_pease $
2
+
3
+ if HAVE_BONES
4
+
5
+ desc "Enumerate all annotations"
6
+ task :notes do
7
+ Bones::AnnotationExtractor.enumerate(
8
+ PROJ, "OPTIMIZE|FIXME|TODO", :tag => true)
9
+ end
10
+
11
+ namespace :notes do
12
+ desc "Enumerate all OPTIMIZE annotations"
13
+ task :optimize do
14
+ Bones::AnnotationExtractor.enumerate(PROJ, "OPTIMIZE")
15
+ end
16
+
17
+ desc "Enumerate all FIXME annotations"
18
+ task :fixme do
19
+ Bones::AnnotationExtractor.enumerate(PROJ, "FIXME")
20
+ end
21
+
22
+ desc "Enumerate all TODO annotations"
23
+ task :todo do
24
+ Bones::AnnotationExtractor.enumerate(PROJ, "TODO")
25
+ end
26
+ end
27
+
28
+ end # if HAVE_BONES
29
+
30
+ # EOF
data/tasks/doc.rake CHANGED
@@ -1,4 +1,4 @@
1
- # $Id: doc.rake 51 2007-11-29 06:01:26Z tim_pease $
1
+ # $Id: doc.rake 85 2008-01-01 20:37:31Z tim_pease $
2
2
 
3
3
  require 'rake/rdoctask'
4
4
 
@@ -38,6 +38,12 @@ namespace :doc do
38
38
 
39
39
  end # namespace :doc
40
40
 
41
+ desc 'Alias to doc:rdoc'
42
+ task :doc => 'doc:rdoc'
43
+
44
+ desc 'Remove all build products'
41
45
  task :clobber => %w(doc:clobber_rdoc doc:clobber_ri)
42
46
 
47
+ remove_desc_for_task %w(doc:clobber_rdoc doc:clobber_ri)
48
+
43
49
  # EOF
data/tasks/gem.rake CHANGED
@@ -1,4 +1,4 @@
1
- # $Id: gem.rake 52 2007-11-29 18:51:26Z tim_pease $
1
+ # $Id: gem.rake 85 2008-01-01 20:37:31Z tim_pease $
2
2
 
3
3
  require 'rake/gempackagetask'
4
4
 
@@ -18,7 +18,6 @@ namespace :gem do
18
18
  PROJ.dependencies.each do |dep|
19
19
  s.add_dependency(*dep)
20
20
  end
21
- s.add_dependency('rake', ">= #{RAKEVERSION}")
22
21
 
23
22
  s.files = PROJ.files
24
23
  s.executables = PROJ.executables.map {|fn| File.basename(fn)}
@@ -80,6 +79,11 @@ namespace :gem do
80
79
 
81
80
  end # namespace :gem
82
81
 
82
+ desc 'Alias to gem:package'
83
+ task :gem => 'gem:package'
84
+
83
85
  task :clobber => 'gem:clobber_package'
84
86
 
87
+ remove_desc_for_task %w(gem:clobber_package)
88
+
85
89
  # EOF
data/tasks/manifest.rake CHANGED
@@ -1,18 +1,19 @@
1
- # $Id: manifest.rake 11 2007-08-23 15:45:16Z tim_pease $
1
+ # $Id: manifest.rake 85 2008-01-01 20:37:31Z tim_pease $
2
2
 
3
3
  require 'find'
4
4
 
5
5
  namespace :manifest do
6
6
 
7
- desc 'Verify the manfiest'
7
+ desc 'Verify the manifest'
8
8
  task :check do
9
9
  fn = 'Manifest.tmp'
10
10
  files = []
11
11
  exclude = Regexp.new(PROJ.exclude.join('|'))
12
12
  Find.find '.' do |path|
13
+ path.sub! %r/^(\.\/|\/)/o, ''
13
14
  next unless test ?f, path
14
15
  next if path =~ exclude
15
- files << path[2..-1]
16
+ files << path
16
17
  end
17
18
 
18
19
  File.open(fn, 'w') {|fp| fp.puts files.sort}
@@ -26,9 +27,10 @@ namespace :manifest do
26
27
  files = []
27
28
  exclude = Regexp.new(PROJ.exclude.join('|'))
28
29
  Find.find '.' do |path|
30
+ path.sub! %r/^(\.\/|\/)/o, ''
29
31
  next unless test ?f, path
30
32
  next if path =~ exclude
31
- files << path[2..-1]
33
+ files << path
32
34
  end
33
35
 
34
36
  files << fn unless test ?f, fn
data/tasks/rubyforge.rake CHANGED
@@ -1,4 +1,4 @@
1
- # $Id: rubyforge.rake 11 2007-08-23 15:45:16Z tim_pease $
1
+ # $Id$
2
2
 
3
3
  if PROJ.rubyforge_name && HAVE_RUBYFORGE
4
4
 
data/tasks/setup.rb CHANGED
@@ -1,4 +1,4 @@
1
- # $Id: setup.rb 26 2007-09-18 17:40:42Z tim_pease $
1
+ # $Id: setup.rb 85 2008-01-01 20:37:31Z tim_pease $
2
2
 
3
3
  require 'rubygems'
4
4
  require 'rake'
@@ -16,7 +16,7 @@ PROJ.email = nil
16
16
  PROJ.url = nil
17
17
  PROJ.version = ENV['VERSION'] || '0.0.0'
18
18
  PROJ.rubyforge_name = nil
19
- PROJ.exclude = %w(tmp$ bak$ ~$ CVS \.svn)
19
+ PROJ.exclude = %w(tmp$ bak$ ~$ CVS \.svn ^pkg ^doc)
20
20
 
21
21
  # Rspec
22
22
  PROJ.specs = FileList['spec/**/*_spec.rb']
@@ -56,8 +56,12 @@ PROJ.dependencies = []
56
56
  PROJ.need_tar = true
57
57
  PROJ.need_zip = false
58
58
 
59
- # Import the rake tasks
60
- FileList['tasks/*.rake'].each {|task| import task}
59
+ # File Annotations
60
+ PROJ.annotation_exclude = []
61
+ PROJ.annotation_extensions = %w(.txt .rb .erb) << ''
62
+
63
+ # Load the other rake files in the tasks folder
64
+ Dir.glob('tasks/*.rake').sort.each {|fn| import fn}
61
65
 
62
66
  # Setup some constants
63
67
  WIN32 = %r/win32/ =~ RUBY_PLATFORM unless defined? WIN32
@@ -89,12 +93,12 @@ SUDO = if WIN32 then ''
89
93
  RCOV = WIN32 ? 'rcov.cmd' : 'rcov'
90
94
  GEM = WIN32 ? 'gem.cmd' : 'gem'
91
95
 
92
- %w(rcov spec rubyforge).each do |lib|
96
+ %w(rcov spec/rake/spectask rubyforge bones).each do |lib|
93
97
  begin
94
98
  require lib
95
- Object.instance_eval {const_set "HAVE_#{lib.upcase}", true}
99
+ Object.instance_eval {const_set "HAVE_#{lib.tr('/','_').upcase}", true}
96
100
  rescue LoadError
97
- Object.instance_eval {const_set "HAVE_#{lib.upcase}", false}
101
+ Object.instance_eval {const_set "HAVE_#{lib.tr('/','_').upcase}", false}
98
102
  end
99
103
  end
100
104
 
@@ -119,4 +123,22 @@ def depend_on( name, version = nil )
119
123
  PROJ.dependencies << (version.nil? ? [name] : [name, ">= #{version}"])
120
124
  end
121
125
 
126
+ # Adds the given _path_ to the include path if it is not already there
127
+ #
128
+ def ensure_in_path( path )
129
+ path = File.expand_path(path)
130
+ $:.unshift(path) if test(?d, path) and not $:.include?(path)
131
+ end
132
+
133
+ # Find a rake task using the task name and remove any description text. This
134
+ # will prevent the task from being displayed in the list of available tasks.
135
+ #
136
+ def remove_desc_for_task( names )
137
+ Array(names).each do |task_name|
138
+ task = Rake.application.tasks.find {|t| t.name == task_name}
139
+ next if task.nil?
140
+ task.instance_variable_set :@comment, nil
141
+ end
142
+ end
143
+
122
144
  # EOF
data/tasks/spec.rake CHANGED
@@ -1,8 +1,6 @@
1
- # $Id: spec.rake 13 2007-08-23 22:18:00Z tim_pease $
1
+ # $Id: spec.rake 85 2008-01-01 20:37:31Z tim_pease $
2
2
 
3
- if HAVE_SPEC
4
-
5
- require 'spec/rake/spectask'
3
+ if HAVE_SPEC_RAKE_SPECTASK
6
4
 
7
5
  namespace :spec do
8
6
 
@@ -30,8 +28,13 @@ namespace :spec do
30
28
 
31
29
  end # namespace :spec
32
30
 
31
+ desc 'Alias to spec:run'
32
+ task :spec => 'spec:run'
33
+
33
34
  task :clobber => 'spec:clobber_rcov' if HAVE_RCOV
34
35
 
35
- end # if HAVE_SPEC
36
+ remove_desc_for_task %w(spec:clobber_rcov)
37
+
38
+ end # if HAVE_SPEC_RAKE_SPECTASK
36
39
 
37
40
  # EOF
data/tasks/website.rake CHANGED
@@ -1,4 +1,4 @@
1
- # $Id: website.rake 12 2007-08-23 16:43:11Z tim_pease $
1
+ # $Id: website.rake 81 2007-12-29 20:51:29Z tim_pease $
2
2
 
3
3
  namespace :website do
4
4
 
@@ -6,7 +6,7 @@ namespace :website do
6
6
  task :build do
7
7
  begin
8
8
  olddir = pwd
9
- chdir 'website'
9
+ chdir 'examples/webby'
10
10
  sh 'rake build'
11
11
  cp_r 'output/.', olddir + '/doc'
12
12
  ensure
metadata CHANGED
@@ -1,33 +1,72 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.4
3
- specification_version: 1
4
2
  name: webby
5
3
  version: !ruby/object:Gem::Version
6
- version: 0.6.0
7
- date: 2007-12-04 00:00:00 -07:00
8
- summary: static website creation and management
9
- require_paths:
10
- - lib
11
- email: tim.pease@gmail.com
12
- homepage: http://webby.rubyforge.org/
13
- rubyforge_project: webby
14
- description: Webby is a super fantastic little website management system. It would be called a _content management system_ if it were a bigger kid. But, it's just a runt with a special knack for transforming text. And that's really all it does - manages the legwork of turning text into something else, an *ASCII Alchemist* if you will.
15
- autorequire:
16
- default_executable:
17
- bindir: bin
18
- has_rdoc: true
19
- required_ruby_version: !ruby/object:Gem::Version::Requirement
20
- requirements:
21
- - - ">"
22
- - !ruby/object:Gem::Version
23
- version: 0.0.0
24
- version:
4
+ version: 0.7.0
25
5
  platform: ruby
26
- signing_key:
27
- cert_chain:
28
- post_install_message:
29
6
  authors:
30
7
  - Tim Pease
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2008-01-01 00:00:00 -07:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: directory_watcher
17
+ version_requirement:
18
+ version_requirements: !ruby/object:Gem::Requirement
19
+ requirements:
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 1.1.1
23
+ version:
24
+ - !ruby/object:Gem::Dependency
25
+ name: heel
26
+ version_requirement:
27
+ version_requirements: !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ version: 0.6.0
32
+ version:
33
+ - !ruby/object:Gem::Dependency
34
+ name: hpricot
35
+ version_requirement:
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: "0.6"
41
+ version:
42
+ - !ruby/object:Gem::Dependency
43
+ name: logging
44
+ version_requirement:
45
+ version_requirements: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: 0.6.1
50
+ version:
51
+ - !ruby/object:Gem::Dependency
52
+ name: rspec
53
+ version_requirement:
54
+ version_requirements: !ruby/object:Gem::Requirement
55
+ requirements:
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ version: 1.1.1
59
+ version:
60
+ description: Webby is a super fantastic little website management system. It would be called a _content management system_ if it were a bigger kid. But, it's just a runt with a special knack for transforming text. And that's really all it does - manages the legwork of turning text into something else, an *ASCII Alchemist* if you will.
61
+ email: tim.pease@gmail.com
62
+ executables:
63
+ - webby
64
+ extensions: []
65
+
66
+ extra_rdoc_files:
67
+ - History.txt
68
+ - README.txt
69
+ - bin/webby
31
70
  files:
32
71
  - History.txt
33
72
  - Manifest.txt
@@ -58,13 +97,48 @@ files:
58
97
  - data/tasks/heel.rake
59
98
  - data/tasks/setup.rb
60
99
  - data/templates/page.erb
100
+ - examples/webby/Rakefile
101
+ - examples/webby/content/css/blueprint/lib/buttons.css
102
+ - examples/webby/content/css/blueprint/lib/compressed.css
103
+ - examples/webby/content/css/blueprint/lib/grid.css
104
+ - examples/webby/content/css/blueprint/lib/img/grid.png
105
+ - examples/webby/content/css/blueprint/lib/img/icons/cross.png
106
+ - examples/webby/content/css/blueprint/lib/img/icons/textfield_key.png
107
+ - examples/webby/content/css/blueprint/lib/img/icons/tick.png
108
+ - examples/webby/content/css/blueprint/lib/reset.css
109
+ - examples/webby/content/css/blueprint/lib/typography.css
110
+ - examples/webby/content/css/blueprint/print.css
111
+ - examples/webby/content/css/blueprint/screen.css
112
+ - examples/webby/content/css/coderay.css
113
+ - examples/webby/content/css/site.css
114
+ - examples/webby/content/download.txt
115
+ - examples/webby/content/index.txt
116
+ - examples/webby/content/manual.txt
117
+ - examples/webby/content/robots.txt
118
+ - examples/webby/content/tips_and_tricks.txt
119
+ - examples/webby/content/tutorial.txt
120
+ - examples/webby/layouts/default.rhtml
121
+ - examples/webby/tasks/create.rake
122
+ - examples/webby/tasks/deploy.rake
123
+ - examples/webby/tasks/growl.rake
124
+ - examples/webby/tasks/heel.rake
125
+ - examples/webby/tasks/setup.rb
126
+ - examples/webby/templates/page.erb
61
127
  - lib/webby.rb
62
128
  - lib/webby/auto_builder.rb
63
129
  - lib/webby/builder.rb
64
130
  - lib/webby/file.rb
131
+ - lib/webby/filters.rb
65
132
  - lib/webby/filters/coderay.rb
133
+ - lib/webby/filters/erb.rb
66
134
  - lib/webby/filters/graphviz.rb
135
+ - lib/webby/filters/haml.rb
136
+ - lib/webby/filters/markdown.rb
137
+ - lib/webby/filters/sass.rb
138
+ - lib/webby/filters/textile.rb
67
139
  - lib/webby/filters/tidy.rb
140
+ - lib/webby/helpers/tag_helper.rb
141
+ - lib/webby/helpers/url_helper.rb
68
142
  - lib/webby/main.rb
69
143
  - lib/webby/pages_db.rb
70
144
  - lib/webby/renderer.rb
@@ -76,6 +150,7 @@ files:
76
150
  - spec/spec.opts
77
151
  - spec/spec_helper.rb
78
152
  - spec/webby/file_spec.rb
153
+ - tasks/annotations.rake
79
154
  - tasks/doc.rake
80
155
  - tasks/gem.rake
81
156
  - tasks/manifest.rake
@@ -83,100 +158,32 @@ files:
83
158
  - tasks/setup.rb
84
159
  - tasks/spec.rake
85
160
  - tasks/website.rake
86
- - website/Rakefile
87
- - website/content/css/blueprint/lib/buttons.css
88
- - website/content/css/blueprint/lib/compressed.css
89
- - website/content/css/blueprint/lib/grid.css
90
- - website/content/css/blueprint/lib/img/grid.png
91
- - website/content/css/blueprint/lib/img/icons/cross.png
92
- - website/content/css/blueprint/lib/img/icons/textfield_key.png
93
- - website/content/css/blueprint/lib/img/icons/tick.png
94
- - website/content/css/blueprint/lib/reset.css
95
- - website/content/css/blueprint/lib/typography.css
96
- - website/content/css/blueprint/print.css
97
- - website/content/css/blueprint/screen.css
98
- - website/content/css/coderay.css
99
- - website/content/css/site.css
100
- - website/content/download.txt
101
- - website/content/index.txt
102
- - website/content/manual.txt
103
- - website/content/robots.txt
104
- - website/content/tips_and_tricks.txt
105
- - website/content/tutorial.txt
106
- - website/layouts/default.rhtml
107
- - website/tasks/create.rake
108
- - website/tasks/deploy.rake
109
- - website/tasks/growl.rake
110
- - website/tasks/heel.rake
111
- - website/tasks/setup.rb
112
- - website/templates/page.erb
113
- test_files: []
114
-
161
+ has_rdoc: true
162
+ homepage: http://webby.rubyforge.org/
163
+ post_install_message:
115
164
  rdoc_options:
116
165
  - --main
117
166
  - README.txt
118
- extra_rdoc_files:
119
- - History.txt
120
- - README.txt
121
- - bin/webby
122
- executables:
123
- - webby
124
- extensions: []
125
-
167
+ require_paths:
168
+ - lib
169
+ required_ruby_version: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: "0"
174
+ version:
175
+ required_rubygems_version: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - ">="
178
+ - !ruby/object:Gem::Version
179
+ version: "0"
180
+ version:
126
181
  requirements: []
127
182
 
128
- dependencies:
129
- - !ruby/object:Gem::Dependency
130
- name: directory_watcher
131
- version_requirement:
132
- version_requirements: !ruby/object:Gem::Version::Requirement
133
- requirements:
134
- - - ">="
135
- - !ruby/object:Gem::Version
136
- version: 1.1.0
137
- version:
138
- - !ruby/object:Gem::Dependency
139
- name: heel
140
- version_requirement:
141
- version_requirements: !ruby/object:Gem::Version::Requirement
142
- requirements:
143
- - - ">="
144
- - !ruby/object:Gem::Version
145
- version: 0.6.0
146
- version:
147
- - !ruby/object:Gem::Dependency
148
- name: hpricot
149
- version_requirement:
150
- version_requirements: !ruby/object:Gem::Version::Requirement
151
- requirements:
152
- - - ">="
153
- - !ruby/object:Gem::Version
154
- version: "0.6"
155
- version:
156
- - !ruby/object:Gem::Dependency
157
- name: logging
158
- version_requirement:
159
- version_requirements: !ruby/object:Gem::Version::Requirement
160
- requirements:
161
- - - ">="
162
- - !ruby/object:Gem::Version
163
- version: 0.5.2
164
- version:
165
- - !ruby/object:Gem::Dependency
166
- name: rspec
167
- version_requirement:
168
- version_requirements: !ruby/object:Gem::Version::Requirement
169
- requirements:
170
- - - ">="
171
- - !ruby/object:Gem::Version
172
- version: 1.0.8
173
- version:
174
- - !ruby/object:Gem::Dependency
175
- name: rake
176
- version_requirement:
177
- version_requirements: !ruby/object:Gem::Version::Requirement
178
- requirements:
179
- - - ">="
180
- - !ruby/object:Gem::Version
181
- version: 0.7.3
182
- version:
183
+ rubyforge_project: webby
184
+ rubygems_version: 1.0.1
185
+ signing_key:
186
+ specification_version: 2
187
+ summary: static website creation and management
188
+ test_files: []
189
+