webby 0.9.2 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. data/History.txt +13 -0
  2. data/Manifest.txt +44 -33
  3. data/Rakefile +2 -2
  4. data/bin/webby +33 -0
  5. data/bin/webby-gen +33 -0
  6. data/examples/presentation/content/presentation/s5/bodybg.gif +0 -0
  7. data/examples/presentation/content/presentation/s5/print.css +25 -1
  8. data/examples/webby/content/release-notes/rel-0-9-3/index.txt +49 -0
  9. data/lib/webby.rb +3 -10
  10. data/lib/webby/apps/generator.rb +41 -48
  11. data/lib/webby/apps/main.rb +22 -0
  12. data/lib/webby/auto_builder.rb +78 -6
  13. data/lib/webby/builder.rb +9 -9
  14. data/lib/webby/core_ext/kernel.rb +5 -0
  15. data/lib/webby/filters/wiki_words.rb +14 -0
  16. data/lib/webby/helpers/url_helper.rb +6 -0
  17. data/lib/webby/journal.rb +126 -0
  18. data/lib/webby/renderer.rb +11 -6
  19. data/lib/webby/resources/meta_file.rb +8 -5
  20. data/lib/webby/stelan/paginator.rb +2 -2
  21. data/lib/webby/tasks/growl.rake +4 -3
  22. data/spec/data/outline/basic.out +81 -0
  23. data/spec/data/outline/basic.txt +25 -0
  24. data/spec/data/outline/no_clobber.out +86 -0
  25. data/spec/data/outline/numbering.out +81 -0
  26. data/spec/data/outline/numbering_only.out +21 -0
  27. data/spec/data/outline/toc_range_1.out +66 -0
  28. data/spec/data/outline/toc_range_2.out +55 -0
  29. data/spec/data/outline/toc_style.out +81 -0
  30. data/spec/data/{Sitefile → site/Sitefile} +0 -0
  31. data/spec/data/{content → site/content}/_partial.txt +0 -0
  32. data/spec/data/{content → site/content}/css/coderay.css +0 -0
  33. data/spec/data/{content → site/content}/css/site.css +0 -0
  34. data/spec/data/{content → site/content}/css/tumblog.css +0 -0
  35. data/spec/data/{content → site/content}/images/tumblog/permalink.gif +0 -0
  36. data/spec/data/{content → site/content}/images/tumblog/rss.gif +0 -0
  37. data/spec/data/{content → site/content}/index.txt +0 -0
  38. data/spec/data/{content → site/content}/photos.txt +0 -0
  39. data/spec/data/{content → site/content}/tumblog/200806/the-noble-chicken/index.txt +0 -0
  40. data/spec/data/{content → site/content}/tumblog/200807/historical-perspectives-on-the-classic-chicken-joke/index.txt +0 -0
  41. data/spec/data/{content → site/content}/tumblog/200807/mad-city-chickens/index.txt +0 -0
  42. data/spec/data/{content → site/content}/tumblog/200807/the-wisdom-of-the-dutch/index.txt +0 -0
  43. data/spec/data/{content → site/content}/tumblog/200807/up-a-tree/index.txt +0 -0
  44. data/spec/data/{content → site/content}/tumblog/index.txt +0 -0
  45. data/spec/data/{content → site/content}/tumblog/rss.txt +0 -0
  46. data/spec/data/{layouts → site/layouts}/default.txt +0 -0
  47. data/spec/data/{layouts → site/layouts}/tumblog/default.txt +0 -0
  48. data/spec/data/{layouts → site/layouts}/tumblog/post.txt +0 -0
  49. data/spec/data/{lib → site/lib}/breadcrumbs.rb +0 -0
  50. data/spec/data/{lib → site/lib}/tumblog_helper.rb +0 -0
  51. data/spec/data/{tasks → site/tasks}/tumblog.rake +0 -0
  52. data/spec/data/{templates → site/templates}/_partial.erb +0 -0
  53. data/spec/data/{templates → site/templates}/atom_feed.erb +0 -0
  54. data/spec/data/{templates → site/templates}/page.erb +0 -0
  55. data/{examples/website → spec/data/site}/templates/presentation.erb +0 -0
  56. data/spec/data/{templates → site/templates}/tumblog/conversation.erb +0 -0
  57. data/spec/data/{templates → site/templates}/tumblog/link.erb +0 -0
  58. data/spec/data/{templates → site/templates}/tumblog/photo.erb +0 -0
  59. data/spec/data/{templates → site/templates}/tumblog/post.erb +0 -0
  60. data/spec/data/{templates → site/templates}/tumblog/quote.erb +0 -0
  61. data/spec/spec_helper.rb +4 -4
  62. data/spec/webby/apps/generator_spec.rb +3 -2
  63. data/spec/webby/filters/basepath_spec.rb +167 -0
  64. data/spec/webby/filters/outline_spec.rb +92 -0
  65. data/spec/webby/renderer_spec.rb +1 -1
  66. data/spec/webby/resources/db_spec.rb +1 -1
  67. data/spec/webby/resources/layout_spec.rb +1 -1
  68. data/spec/webby/resources/meta_file_spec.rb +27 -13
  69. data/spec/webby/resources/page_spec.rb +1 -1
  70. data/spec/webby/resources/resource_spec.rb +1 -1
  71. data/spec/webby/resources_spec.rb +1 -1
  72. data/tasks/gem.rake +93 -32
  73. data/tasks/manifest.rake +3 -4
  74. data/tasks/rubyforge.rake +2 -4
  75. metadata +67 -56
  76. data/lib/webby/tasks/heel.rake +0 -28
  77. data/spec/data/templates/presentation.erb +0 -40
@@ -7,7 +7,7 @@ describe Webby::Resources::DB do
7
7
 
8
8
  before :each do
9
9
  layout = Webby::Resources::Layout.
10
- new(Webby.datapath %w[layouts tumblog default.txt])
10
+ new(Webby.datapath %w[site layouts tumblog default.txt])
11
11
  Webby::Resources.stub!(:find_layout).and_return(layout)
12
12
 
13
13
  @db = Webby::Resources::DB.new
@@ -6,7 +6,7 @@ require File.expand_path(
6
6
  describe Webby::Resources::Layout do
7
7
  before :each do
8
8
  layout = Webby::Resources::Layout.
9
- new(Webby.datapath %w[layouts tumblog default.txt])
9
+ new(Webby.datapath %w[site layouts tumblog default.txt])
10
10
  Webby::Resources.stub!(:find_layout).and_return(layout)
11
11
 
12
12
  @default = File.join %w[layouts tumblog default.txt]
@@ -11,29 +11,43 @@ describe Webby::Resources::MetaFile do
11
11
  end
12
12
 
13
13
  it 'returns the number of meta-data blocks at the top of a file' do
14
- fn = Webby.datapath %w[content css coderay.css]
14
+ fn = Webby.datapath %w[site content css coderay.css]
15
15
  File.open(fn, 'r') do |fd|
16
16
  mf = Webby::Resources::MetaFile.new(fd)
17
17
  mf.meta_count.should == 0
18
18
  end
19
19
 
20
- fn = Webby.datapath %w[content index.txt]
20
+ fn = Webby.datapath %w[site content index.txt]
21
21
  File.open(fn, 'r') do |fd|
22
22
  mf = Webby::Resources::MetaFile.new(fd)
23
23
  mf.meta_count.should == 1
24
24
  end
25
25
 
26
- fn = Webby.datapath %w[content photos.txt]
26
+ fn = Webby.datapath %w[site content photos.txt]
27
27
  File.open(fn, 'r') do |fd|
28
28
  mf = Webby::Resources::MetaFile.new(fd)
29
29
  mf.meta_count.should == 3
30
30
  end
31
31
  end
32
32
 
33
+ it 'determines the end of the final meta-data block' do
34
+ fn = Webby.datapath %w[site content index.txt]
35
+ File.open(fn, 'r') do |fd|
36
+ mf = Webby::Resources::MetaFile.new(fd)
37
+ mf.meta_end.should == 7
38
+ end
39
+
40
+ fn = Webby.datapath %w[site content photos.txt]
41
+ File.open(fn, 'r') do |fd|
42
+ mf = Webby::Resources::MetaFile.new(fd)
43
+ mf.meta_end.should == 18
44
+ end
45
+ end
46
+
33
47
  # -----------------------------------------------------------------------
34
48
  describe '.each' do
35
49
  it 'yields each meta-data block' do
36
- fn = Webby.datapath %w[content photos.txt]
50
+ fn = Webby.datapath %w[site content photos.txt]
37
51
  output = []
38
52
  File.open(fn, 'r') do |fd|
39
53
  mf = Webby::Resources::MetaFile.new(fd)
@@ -51,7 +65,7 @@ describe Webby::Resources::MetaFile do
51
65
  end
52
66
 
53
67
  it 'yields a single meta-data block' do
54
- fn = Webby.datapath %w[content index.txt]
68
+ fn = Webby.datapath %w[site content index.txt]
55
69
  output = []
56
70
  File.open(fn, 'r') do |fd|
57
71
  mf = Webby::Resources::MetaFile.new(fd)
@@ -91,12 +105,12 @@ describe Webby::Resources::MetaFile do
91
105
  # -----------------------------------------------------------------------
92
106
  describe '#meta_data' do
93
107
  it 'returns nil for regular files' do
94
- fn = Webby.datapath %w[content css coderay.css]
108
+ fn = Webby.datapath %w[site content css coderay.css]
95
109
  Webby::Resources::MetaFile.meta_data(fn).should be_nil
96
110
  end
97
111
 
98
112
  it 'returns a hash for pages' do
99
- fn = Webby.datapath %w[content index.txt]
113
+ fn = Webby.datapath %w[site content index.txt]
100
114
  h = Webby::Resources::MetaFile.meta_data(fn)
101
115
 
102
116
  h.should be_instance_of(Hash)
@@ -104,7 +118,7 @@ describe Webby::Resources::MetaFile do
104
118
  end
105
119
 
106
120
  it 'returns a hash for layouts' do
107
- fn = Webby.datapath %w[layouts default.txt]
121
+ fn = Webby.datapath %w[site layouts default.txt]
108
122
  h = Webby::Resources::MetaFile.meta_data(fn)
109
123
 
110
124
  h.should be_instance_of(Hash)
@@ -118,12 +132,12 @@ describe Webby::Resources::MetaFile do
118
132
  # -----------------------------------------------------------------------
119
133
  describe "#meta_data?" do
120
134
  it 'returns true for files with meta-data' do
121
- fn = Webby.datapath %w[content index.txt]
135
+ fn = Webby.datapath %w[site content index.txt]
122
136
  Webby::Resources::MetaFile.meta_data?(fn).should == true
123
137
  end
124
138
 
125
139
  it 'returns false for files without meta-data' do
126
- fn = Webby.datapath %w[content css coderay.css]
140
+ fn = Webby.datapath %w[site content css coderay.css]
127
141
  Webby::Resources::MetaFile.meta_data?(fn).should == false
128
142
  end
129
143
  end
@@ -131,12 +145,12 @@ describe Webby::Resources::MetaFile do
131
145
  # -----------------------------------------------------------------------
132
146
  describe "#read" do
133
147
  it 'behaves the same as File#read for regular files' do
134
- fn = Webby.datapath %w[content css coderay.css]
148
+ fn = Webby.datapath %w[site content css coderay.css]
135
149
  Webby::Resources::MetaFile.read(fn).should == ::File.read(fn)
136
150
  end
137
151
 
138
152
  it 'returns only the content for pages' do
139
- fn = Webby.datapath %w[content index.txt]
153
+ fn = Webby.datapath %w[site content index.txt]
140
154
  lines = File.readlines(fn)
141
155
  lines = lines[7..-1].join
142
156
 
@@ -144,7 +158,7 @@ describe Webby::Resources::MetaFile do
144
158
  end
145
159
 
146
160
  it 'returns only the content for layouts' do
147
- fn = Webby.datapath %w[layouts default.txt]
161
+ fn = Webby.datapath %w[site layouts default.txt]
148
162
  lines = File.readlines(fn)
149
163
  lines = lines[4..-1].join
150
164
 
@@ -6,7 +6,7 @@ require File.expand_path(
6
6
  describe Webby::Resources::Page do
7
7
  before :each do
8
8
  layout = Webby::Resources::Layout.
9
- new(Webby.datapath %w[layouts default.txt])
9
+ new(Webby.datapath %w[site layouts default.txt])
10
10
  Webby::Resources.stub!(:find_layout).and_return(layout)
11
11
 
12
12
  @filename = File.join %w[content index.txt]
@@ -7,7 +7,7 @@ describe Webby::Resources::Resource do
7
7
 
8
8
  before :each do
9
9
  layout = Webby::Resources::Layout.
10
- new(Webby.datapath %w[layouts default.txt])
10
+ new(Webby.datapath %w[site layouts default.txt])
11
11
  Webby::Resources.stub!(:find_layout).and_return(layout)
12
12
 
13
13
  @filename = File.join %w[content index.txt]
@@ -47,7 +47,7 @@ describe Webby::Resources do
47
47
  describe "#new" do
48
48
  before :each do
49
49
  layout = Webby::Resources::Layout.
50
- new(Webby.datapath %w[layouts default.txt])
50
+ new(Webby.datapath %w[site layouts default.txt])
51
51
  Webby::Resources.stub!(:find_layout).and_return(layout)
52
52
  end
53
53
 
@@ -1,6 +1,63 @@
1
- # $Id$
2
1
 
3
- require 'rake/gempackagetask'
2
+ require 'find'
3
+ require 'rake/packagetask'
4
+ require 'rubygems/user_interaction'
5
+ require 'rubygems/builder'
6
+
7
+ class Bones::GemPackageTask < Rake::PackageTask
8
+ # Ruby GEM spec containing the metadata for this package. The
9
+ # name, version and package_files are automatically determined
10
+ # from the GEM spec and don't need to be explicitly provided.
11
+ #
12
+ attr_accessor :gem_spec
13
+
14
+ # Create a GEM Package task library. Automatically define the gem
15
+ # if a block is given. If no block is supplied, then +define+
16
+ # needs to be called to define the task.
17
+ #
18
+ def initialize(gem_spec)
19
+ init(gem_spec)
20
+ yield self if block_given?
21
+ define if block_given?
22
+ end
23
+
24
+ # Initialization tasks without the "yield self" or define
25
+ # operations.
26
+ #
27
+ def init(gem)
28
+ super(gem.name, gem.version)
29
+ @gem_spec = gem
30
+ @package_files += gem_spec.files if gem_spec.files
31
+ end
32
+
33
+ # Create the Rake tasks and actions specified by this
34
+ # GemPackageTask. (+define+ is automatically called if a block is
35
+ # given to +new+).
36
+ #
37
+ def define
38
+ super
39
+ task :prereqs
40
+ task :package => ['gem:prereqs', "#{package_dir_path}/#{gem_file}"]
41
+ file "#{package_dir_path}/#{gem_file}" => [package_dir_path] + package_files do
42
+ when_writing("Creating GEM") {
43
+ chdir(package_dir_path) do
44
+ Gem::Builder.new(gem_spec).build
45
+ verbose(true) {
46
+ mv gem_file, "../#{gem_file}"
47
+ }
48
+ end
49
+ }
50
+ end
51
+ end
52
+
53
+ def gem_file
54
+ if @gem_spec.platform == Gem::Platform::RUBY
55
+ "#{package_name}.gem"
56
+ else
57
+ "#{package_name}-#{@gem_spec.platform}.gem"
58
+ end
59
+ end
60
+ end # class Bones::GemPackageTask
4
61
 
5
62
  namespace :gem do
6
63
 
@@ -57,37 +114,14 @@ namespace :gem do
57
114
  end
58
115
  end # Gem::Specification.new
59
116
 
60
- # A prerequisites task that all other tasks depend upon
61
- task :prereqs
62
-
63
- desc 'Show information about the gem'
64
- task :debug => 'gem:prereqs' do
65
- puts PROJ.gem._spec.to_ruby
66
- end
67
-
68
- pkg = Rake::PackageTask.new(PROJ.name, PROJ.version) do |pkg|
117
+ Bones::GemPackageTask.new(PROJ.gem._spec) do |pkg|
69
118
  pkg.need_tar = PROJ.gem.need_tar
70
119
  pkg.need_zip = PROJ.gem.need_zip
71
- pkg.package_files += PROJ.gem._spec.files
72
120
  end
73
- Rake::Task['gem:package'].instance_variable_set(:@full_comment, nil)
74
121
 
75
- gem_file = if PROJ.gem._spec.platform == Gem::Platform::RUBY
76
- "#{pkg.package_name}.gem"
77
- else
78
- "#{pkg.package_name}-#{PROJ.gem._spec.platform}.gem"
79
- end
80
-
81
- desc "Build the gem file #{gem_file}"
82
- task :package => ['gem:prereqs', "#{pkg.package_dir}/#{gem_file}"]
83
-
84
- file "#{pkg.package_dir}/#{gem_file}" => [pkg.package_dir] + PROJ.gem._spec.files do
85
- when_writing("Creating GEM") {
86
- Gem::Builder.new(PROJ.gem._spec).build
87
- verbose(true) {
88
- mv gem_file, "#{pkg.package_dir}/#{gem_file}"
89
- }
90
- }
122
+ desc 'Show information about the gem'
123
+ task :debug => 'gem:prereqs' do
124
+ puts PROJ.gem._spec.to_ruby
91
125
  end
92
126
 
93
127
  desc 'Install the gem'
@@ -114,13 +148,40 @@ namespace :gem do
114
148
  sh "#{SUDO} #{GEM} cleanup #{PROJ.gem._spec.name}"
115
149
  end
116
150
 
151
+ namespace :mswin32 do
152
+ win32_spec = PROJ.gem._spec.dup
153
+ win32_spec.platform = 'x86-mswin32'
154
+
155
+ pkg = Bones::GemPackageTask.new(win32_spec)
156
+ class << pkg
157
+ def package_dir_path() "#{package_dir}/#{package_name}-x86-mswin32"; end
158
+ end
159
+ pkg.define
160
+
161
+ file "#{pkg.package_dir_path}/#{pkg.gem_file}" => :unix2dos
162
+
163
+ task :unix2dos do
164
+ reject = %w[.gif .jpg .jpeg]
165
+ Find.find(File.join(pkg.package_dir_path, 'examples')) do |fn|
166
+ next unless test(?f, fn)
167
+ next if reject.include?(File.extname(fn))
168
+ sh %{unix2dos #{fn}}
169
+ end
170
+ end
171
+ end # namespace :mswin32
117
172
  end # namespace :gem
118
173
 
174
+
119
175
  desc 'Alias to gem:package'
120
- task :gem => 'gem:package'
176
+ task :gem => ['gem:package', 'gem:mswin32:package']
121
177
 
122
- task :clobber => 'gem:clobber_package'
178
+ task :clobber => ['gem:clobber_package', 'gem:mswin32:clobber_package']
123
179
 
124
- remove_desc_for_task %w(gem:clobber_package)
180
+ %w[
181
+ gem:clobber_package
182
+ gem:mswin32:clobber_package
183
+ gem:mswin32:package
184
+ gem:mswin32:repackage
185
+ ].each {|name| remove_desc_for_task name}
125
186
 
126
187
  # EOF
@@ -1,4 +1,3 @@
1
- # $Id$
2
1
 
3
2
  require 'find'
4
3
 
@@ -15,9 +14,9 @@ namespace :manifest do
15
14
  lines.map! do |line|
16
15
  case line
17
16
  when %r/^(-{3}|\+{3})/; nil
18
- when %r/^@/; Console::ANSICode.blue line
19
- when %r/^\+/; Console::ANSICode.green line
20
- when %r/^\-/; Console::ANSICode.red line
17
+ when %r/^@/; ANSICode.blue line
18
+ when %r/^\+/; ANSICode.green line
19
+ when %r/^\-/; ANSICode.red line
21
20
  else line end
22
21
  end
23
22
  end
@@ -6,7 +6,7 @@ require 'rake/contrib/sshpublisher'
6
6
 
7
7
  namespace :gem do
8
8
  desc 'Package and upload to RubyForge'
9
- task :release => [:clobber, 'gem:package'] do |t|
9
+ task :release => [:clobber, 'gem'] do |t|
10
10
  v = ENV['VERSION'] or abort 'Must supply VERSION=x.y.z'
11
11
  abort "Versions don't match #{v} vs #{PROJ.version}" if v != PROJ.version
12
12
  pkg = "pkg/#{PROJ.gem._spec.full_name}"
@@ -26,9 +26,7 @@ namespace :gem do
26
26
  c['release_changes'] = PROJ.changes if PROJ.changes
27
27
  c['preformatted'] = true
28
28
 
29
- files = [(PROJ.gem.need_tar ? "#{pkg}.tgz" : nil),
30
- (PROJ.gem.need_zip ? "#{pkg}.zip" : nil),
31
- "#{pkg}.gem"].compact
29
+ files = Dir.glob("#{pkg}*.*")
32
30
 
33
31
  puts "Releasing #{PROJ.name} v. #{PROJ.version}"
34
32
  rf.add_release PROJ.rubyforge.name, PROJ.name, PROJ.version, *files
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Pease
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-09-11 00:00:00 -06:00
12
+ date: 2008-10-08 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -23,24 +23,24 @@ dependencies:
23
23
  version: 1.1.1
24
24
  version:
25
25
  - !ruby/object:Gem::Dependency
26
- name: heel
26
+ name: hpricot
27
27
  type: :runtime
28
28
  version_requirement:
29
29
  version_requirements: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "="
32
32
  - !ruby/object:Gem::Version
33
- version: 1.0.0
33
+ version: 0.6.0
34
34
  version:
35
35
  - !ruby/object:Gem::Dependency
36
- name: hpricot
36
+ name: launchy
37
37
  type: :runtime
38
38
  version_requirement:
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
- - - "="
41
+ - - ">="
42
42
  - !ruby/object:Gem::Version
43
- version: 0.6.0
43
+ version: 0.3.2
44
44
  version:
45
45
  - !ruby/object:Gem::Dependency
46
46
  name: logging
@@ -50,7 +50,7 @@ dependencies:
50
50
  requirements:
51
51
  - - ">="
52
52
  - !ruby/object:Gem::Version
53
- version: 0.9.3
53
+ version: 0.9.4
54
54
  version:
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
@@ -88,23 +88,23 @@ extra_rdoc_files:
88
88
  - lib/webby/tasks/create.rake
89
89
  - lib/webby/tasks/deploy.rake
90
90
  - lib/webby/tasks/growl.rake
91
- - lib/webby/tasks/heel.rake
92
91
  - lib/webby/tasks/validate.rake
93
- - spec/data/content/_partial.txt
94
- - spec/data/content/index.txt
95
- - spec/data/content/photos.txt
96
- - spec/data/content/tumblog/200806/the-noble-chicken/index.txt
97
- - spec/data/content/tumblog/200807/historical-perspectives-on-the-classic-chicken-joke/index.txt
98
- - spec/data/content/tumblog/200807/mad-city-chickens/index.txt
99
- - spec/data/content/tumblog/200807/the-wisdom-of-the-dutch/index.txt
100
- - spec/data/content/tumblog/200807/up-a-tree/index.txt
101
- - spec/data/content/tumblog/index.txt
102
- - spec/data/content/tumblog/rss.txt
103
92
  - spec/data/hooligans/bad_meta_data_1.txt
104
93
  - spec/data/hooligans/bad_meta_data_2.txt
105
- - spec/data/layouts/default.txt
106
- - spec/data/layouts/tumblog/default.txt
107
- - spec/data/layouts/tumblog/post.txt
94
+ - spec/data/outline/basic.txt
95
+ - spec/data/site/content/_partial.txt
96
+ - spec/data/site/content/index.txt
97
+ - spec/data/site/content/photos.txt
98
+ - spec/data/site/content/tumblog/200806/the-noble-chicken/index.txt
99
+ - spec/data/site/content/tumblog/200807/historical-perspectives-on-the-classic-chicken-joke/index.txt
100
+ - spec/data/site/content/tumblog/200807/mad-city-chickens/index.txt
101
+ - spec/data/site/content/tumblog/200807/the-wisdom-of-the-dutch/index.txt
102
+ - spec/data/site/content/tumblog/200807/up-a-tree/index.txt
103
+ - spec/data/site/content/tumblog/index.txt
104
+ - spec/data/site/content/tumblog/rss.txt
105
+ - spec/data/site/layouts/default.txt
106
+ - spec/data/site/layouts/tumblog/default.txt
107
+ - spec/data/site/layouts/tumblog/post.txt
108
108
  files:
109
109
  - History.txt
110
110
  - Manifest.txt
@@ -172,6 +172,7 @@ files:
172
172
  - examples/webby/content/release-notes/rel-0-9-0/index.txt
173
173
  - examples/webby/content/release-notes/rel-0-9-1/index.txt
174
174
  - examples/webby/content/release-notes/rel-0-9-2/index.txt
175
+ - examples/webby/content/release-notes/rel-0-9-3/index.txt
175
176
  - examples/webby/content/robots.txt
176
177
  - examples/webby/content/script/jquery.corner.js
177
178
  - examples/webby/content/script/jquery.js
@@ -211,7 +212,6 @@ files:
211
212
  - examples/website/lib/breadcrumbs.rb
212
213
  - examples/website/templates/_partial.erb
213
214
  - examples/website/templates/page.erb
214
- - examples/website/templates/presentation.erb
215
215
  - lib/webby.rb
216
216
  - lib/webby/apps.rb
217
217
  - lib/webby/apps/generator.rb
@@ -233,6 +233,7 @@ files:
233
233
  - lib/webby/filters/slides.rb
234
234
  - lib/webby/filters/textile.rb
235
235
  - lib/webby/filters/tidy.rb
236
+ - lib/webby/filters/wiki_words.rb
236
237
  - lib/webby/helpers.rb
237
238
  - lib/webby/helpers/capture_helper.rb
238
239
  - lib/webby/helpers/coderay_helper.rb
@@ -241,6 +242,7 @@ files:
241
242
  - lib/webby/helpers/tex_img_helper.rb
242
243
  - lib/webby/helpers/ultraviolet_helper.rb
243
244
  - lib/webby/helpers/url_helper.rb
245
+ - lib/webby/journal.rb
244
246
  - lib/webby/link_validator.rb
245
247
  - lib/webby/renderer.rb
246
248
  - lib/webby/resources.rb
@@ -258,48 +260,57 @@ files:
258
260
  - lib/webby/tasks/create.rake
259
261
  - lib/webby/tasks/deploy.rake
260
262
  - lib/webby/tasks/growl.rake
261
- - lib/webby/tasks/heel.rake
262
263
  - lib/webby/tasks/validate.rake
263
264
  - spec/core_ext/hash_spec.rb
264
265
  - spec/core_ext/string_spec.rb
265
266
  - spec/core_ext/time_spec.rb
266
- - spec/data/Sitefile
267
- - spec/data/content/_partial.txt
268
- - spec/data/content/css/coderay.css
269
- - spec/data/content/css/site.css
270
- - spec/data/content/css/tumblog.css
271
- - spec/data/content/images/tumblog/permalink.gif
272
- - spec/data/content/images/tumblog/rss.gif
273
- - spec/data/content/index.txt
274
- - spec/data/content/photos.txt
275
- - spec/data/content/tumblog/200806/the-noble-chicken/index.txt
276
- - spec/data/content/tumblog/200807/historical-perspectives-on-the-classic-chicken-joke/index.txt
277
- - spec/data/content/tumblog/200807/mad-city-chickens/index.txt
278
- - spec/data/content/tumblog/200807/the-wisdom-of-the-dutch/index.txt
279
- - spec/data/content/tumblog/200807/up-a-tree/index.txt
280
- - spec/data/content/tumblog/index.txt
281
- - spec/data/content/tumblog/rss.txt
282
267
  - spec/data/hooligans/bad_meta_data_1.txt
283
268
  - spec/data/hooligans/bad_meta_data_2.txt
284
- - spec/data/layouts/default.txt
285
- - spec/data/layouts/tumblog/default.txt
286
- - spec/data/layouts/tumblog/post.txt
287
- - spec/data/lib/breadcrumbs.rb
288
- - spec/data/lib/tumblog_helper.rb
289
- - spec/data/tasks/tumblog.rake
290
- - spec/data/templates/_partial.erb
291
- - spec/data/templates/atom_feed.erb
292
- - spec/data/templates/page.erb
293
- - spec/data/templates/presentation.erb
294
- - spec/data/templates/tumblog/conversation.erb
295
- - spec/data/templates/tumblog/link.erb
296
- - spec/data/templates/tumblog/photo.erb
297
- - spec/data/templates/tumblog/post.erb
298
- - spec/data/templates/tumblog/quote.erb
269
+ - spec/data/outline/basic.out
270
+ - spec/data/outline/basic.txt
271
+ - spec/data/outline/no_clobber.out
272
+ - spec/data/outline/numbering.out
273
+ - spec/data/outline/numbering_only.out
274
+ - spec/data/outline/toc_range_1.out
275
+ - spec/data/outline/toc_range_2.out
276
+ - spec/data/outline/toc_style.out
277
+ - spec/data/site/Sitefile
278
+ - spec/data/site/content/_partial.txt
279
+ - spec/data/site/content/css/coderay.css
280
+ - spec/data/site/content/css/site.css
281
+ - spec/data/site/content/css/tumblog.css
282
+ - spec/data/site/content/images/tumblog/permalink.gif
283
+ - spec/data/site/content/images/tumblog/rss.gif
284
+ - spec/data/site/content/index.txt
285
+ - spec/data/site/content/photos.txt
286
+ - spec/data/site/content/tumblog/200806/the-noble-chicken/index.txt
287
+ - spec/data/site/content/tumblog/200807/historical-perspectives-on-the-classic-chicken-joke/index.txt
288
+ - spec/data/site/content/tumblog/200807/mad-city-chickens/index.txt
289
+ - spec/data/site/content/tumblog/200807/the-wisdom-of-the-dutch/index.txt
290
+ - spec/data/site/content/tumblog/200807/up-a-tree/index.txt
291
+ - spec/data/site/content/tumblog/index.txt
292
+ - spec/data/site/content/tumblog/rss.txt
293
+ - spec/data/site/layouts/default.txt
294
+ - spec/data/site/layouts/tumblog/default.txt
295
+ - spec/data/site/layouts/tumblog/post.txt
296
+ - spec/data/site/lib/breadcrumbs.rb
297
+ - spec/data/site/lib/tumblog_helper.rb
298
+ - spec/data/site/tasks/tumblog.rake
299
+ - spec/data/site/templates/_partial.erb
300
+ - spec/data/site/templates/atom_feed.erb
301
+ - spec/data/site/templates/page.erb
302
+ - spec/data/site/templates/presentation.erb
303
+ - spec/data/site/templates/tumblog/conversation.erb
304
+ - spec/data/site/templates/tumblog/link.erb
305
+ - spec/data/site/templates/tumblog/photo.erb
306
+ - spec/data/site/templates/tumblog/post.erb
307
+ - spec/data/site/templates/tumblog/quote.erb
299
308
  - spec/spec.opts
300
309
  - spec/spec_helper.rb
301
310
  - spec/webby/apps/generator_spec.rb
302
311
  - spec/webby/apps/main_spec.rb
312
+ - spec/webby/filters/basepath_spec.rb
313
+ - spec/webby/filters/outline_spec.rb
303
314
  - spec/webby/filters/textile_spec.rb
304
315
  - spec/webby/helpers/capture_helper_spec.rb
305
316
  - spec/webby/renderer_spec.rb