rote 0.1.0 → 0.1.2

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 CHANGED
@@ -2,14 +2,13 @@
2
2
 
3
3
  == What is this?
4
4
 
5
- Rote is a simple page-based template system for your static website that was
6
- written to make it easier to author and maintain non-dynamic websites and
7
- offline documentation. Rote provides a simple commandline or
8
- Rake [http://rake.rubyforge.org] based build for your pages, with page
9
- rendering (optionally supporting Textile and Markdown with
10
- RedCloth [http://redcloth.rubyforge.org/] and ruby code with
11
- ERB [http://www.ruby-doc.org/stdlib/libdoc/erb/rdoc/classes/ERB.html]), layout,
12
- and general documentation / website build tasks.
5
+ Rote is a simple page-based template system that was written to make it
6
+ easier to author and maintain non-dynamic websites and offline documentation.
7
+ Rote provides a simple commandline or Rake [http://rake.rubyforge.org] based
8
+ build for your pages, with page rendering (optionally supporting Textile,
9
+ Markdown, and embedded Ruby code with RedCloth [http://redcloth.rubyforge.org/]
10
+ and ERB [http://www.ruby-doc.org/stdlib/libdoc/erb/rdoc/classes/ERB.html]),
11
+ layout, and general documentation / website build tasks.
13
12
 
14
13
  == Should I download it?
15
14
 
@@ -51,43 +50,53 @@ Rote uses the following (versions are as per my development environment,
51
50
  you may find you can use older versions, you may not).
52
51
 
53
52
  * Ruby 1.8.3 ('yum install ruby' on Fedora 4)
54
- * RubyGems 0.8.11 (http://rubyforge.org/frs/?group_id=126)
55
53
  * Rake 0.6.2 ('gem install rake')
56
54
  * RedCloth 3.0.4 ('gem install RedCloth')
57
55
 
58
- == How do I install it?
56
+ RubyGems (http://rubyforge.org/frs/?group_id=126) is *highly recommended*,
57
+ and makes for not only an easier install but a cleaner library path.
58
+ Rote is tested with Gems 0.8.11.
59
59
 
60
- Set it up somewhere warm. At the moment, the standard install.rb is broken,
61
- and so disabled - you will need to install Rote into it's own directory
62
- (I know, I know). DONT modify your path - it's what symlinks are for.
63
- If you use a symlink you'll probaby need to point ROTE_HOME to the install
64
- directory as well. With that done, you should be able to run
60
+ == How do I install it ...
65
61
 
66
- rote --version
62
+ === ... with RubyGems?
63
+
64
+ If you have RubyGems, you can install Rote by simply issuing the command:
65
+
66
+ gem install rote
67
+
68
+ Which should download the latest version and install it, including
69
+ the 'rote' wrapper script and man pages. If you experience problems,
70
+ or wish to perform an offline installation, then simply download the
71
+ .gem file from the FRS, and execute the gem command from within the same
72
+ directory.
73
+
74
+ === ... using install.rb?
75
+
76
+ If you don't have RubyGems, you can install from one of the tarball or zip
77
+ packages, using the following command:
78
+
79
+ ruby install.rb
67
80
 
68
- to verify that the command-line wrapper is working. If you wish to use the
69
- tasks in your own Rakefiles, you will need to modify the library load path.
70
- This can be done using the --libdir option to Rake, or alternatively by adding
71
- something like the following _before_ the +require+ '+rote+' line:
81
+ from the unpacked root directory. This will copy the libaries to the
82
+ appropriate place, and set up the rote wrapper script and so on.
83
+
84
+ === ... in my own way?
85
+
86
+ If you're one of those people who just has to be different, then you'll be
87
+ pleased to know you can carry on that tradition, and place the files
88
+ pretty much where you like. Simply point an environment variable,
89
+ ROTE_LIB, at the top-level lib directory (where rote.rb is found), and
90
+ ensure rote (or a symlink) is visible in your path.
72
91
 
73
- $: << "#{ENV['ROTE_HOME']}/lib"
92
+ === Did it work?
93
+
94
+ With that done, you should be able to run
95
+
96
+ rote --version
74
97
 
75
- This line does of course place restrictions on the build environment, in that
76
- Rote will have to be properly installed and configured with the ROTE_HOME
77
- environment variable.
78
-
79
- Obviously once we get into releases, Rote will of course be distributed via
80
- RubyGems, allowing much of this to be transparent for the user if you have
81
- Gems. Fixing the proper installation is a priority, and will come soon.
82
-
83
- *Note*: Currently, the +rote+ script supports usage with custom Rakefiles as
84
- well as the built-in command-line setup. If +rote+ is run from a directory
85
- that contains an existing Rakefile, it will use that instead of the built-in
86
- one. It will *not* search parent directories for a Rakefile.
87
-
88
- This feature exists to support custom Rakefiles without libpath twiddling,
89
- but should be considered a hack that will probably disappear from a (not
90
- too distant) future version.
98
+ to verify that the command-line wrapper is working. You should of course see
99
+ the version number of your Rote installation.
91
100
 
92
101
  == How do I use it?
93
102
 
@@ -137,7 +146,7 @@ Now try:
137
146
 
138
147
  rote --tasks
139
148
 
140
- to get a list of valid tasks, or
149
+ to get a list of valid tasks, or:
141
150
 
142
151
  rote --usage
143
152
 
@@ -151,7 +160,7 @@ your own (existing) +Rakefile+. Fortunately, this is very easy to do. Try
151
160
  something like:
152
161
 
153
162
  # Rakefile
154
- include 'rote'
163
+ require 'rote'
155
164
 
156
165
  ws = Rote::DocTask.new(:doc) { |site|
157
166
  site.site_dir = 'html'
data/Rakefile CHANGED
@@ -6,7 +6,7 @@
6
6
  # This Rakefile is heavily based on Rake's own Rakefile.
7
7
  # Portions copyright (c)2003, 2004 Jim Weirich (jim <AT> weirichhouse.org)
8
8
  #
9
- # $Id: Rakefile,v 1.3 2005/11/25 01:24:39 roscopeco Exp $
9
+ # $Id: Rakefile,v 1.4 2005/11/26 01:36:52 roscopeco Exp $
10
10
  #
11
11
 
12
12
  begin
@@ -25,6 +25,7 @@ require 'rote'
25
25
 
26
26
  CLEAN.include('testdata')
27
27
  CLOBBER.include('TAGS')
28
+ CLOBBER.include('html')
28
29
 
29
30
  def announce(msg='')
30
31
  STDERR.puts msg
@@ -110,9 +111,7 @@ rd = Rake::RDocTask.new("rdoc") { |rdoc|
110
111
  }
111
112
 
112
113
  # Create a task build the website / docs
113
- CLOBBER.include('html')
114
-
115
- ws = Rote::DocTask.new("doc") { |site|
114
+ ws = Rote::DocTask.new(:doc) { |site|
116
115
  site.output_dir = 'html'
117
116
  site.layout_dir = 'doc/layouts'
118
117
 
@@ -133,18 +132,20 @@ task :doc => [:rdoc]
133
132
  # Create a task that will package the Rote software into distributable
134
133
  # tar, zip and gem files.
135
134
 
135
+ # don't include rendered website and all that Jazz
136
136
  PKG_FILES = FileList[
137
137
  'install.rb',
138
138
  '[A-Z]*',
139
139
  'bin/**/*',
140
140
  'lib/**/*.rb',
141
- 'test/**/*.rb',
142
- 'test/**/*.rf',
143
- 'test/**/*.mf',
144
- 'test/**/Rakefile',
141
+ 'lib/rote/builtin.rf',
142
+ 'test/**/*',
145
143
  'doc/**/*'
146
144
  ]
147
145
 
146
+ # don't want GIMP originals
147
+ PKG_FILES.exclude('**/*.xcf')
148
+
148
149
  if ! defined?(Gem)
149
150
  puts "Package Target requires RubyGEMs"
150
151
  else
@@ -163,16 +164,16 @@ else
163
164
 
164
165
  #### Dependencies and requirements.
165
166
 
166
- #s.add_dependency('log4r', '> 1.0.4')
167
+ s.add_dependency('RedCloth', '> 3.0')
168
+ s.add_dependency('rake', '> 0.6')
167
169
  #s.requirements << ""
168
170
 
169
- #### Which files are to be included in this gem? Everything! (Except CVS directories.)
171
+ #### Which files are to be included in this gem?
170
172
 
171
173
  s.files = PKG_FILES.to_a
172
174
 
173
- #### C code extensions.
174
-
175
- #s.extensions << "ext/rmagic/extconf.rb"
175
+ #### Install Manpages (abuse C extension feature a bit)
176
+ #s.extensions << "post-install.rb"
176
177
 
177
178
  #### Load-time details: library and application (you will need one or both).
178
179
 
@@ -181,6 +182,8 @@ else
181
182
  s.bindir = "bin" # Use these for applications.
182
183
  s.executables = ["rote"]
183
184
  s.default_executable = "rote"
185
+
186
+ s.autorequire = 'rote'
184
187
 
185
188
  #### Documentation and testing.
186
189
 
@@ -190,7 +193,9 @@ else
190
193
  '--title' << 'Rote -- Template-based doc support for Rake' <<
191
194
  '--main' << 'README' <<
192
195
  '--line-numbers' <<
193
- '-o' << 'html/rdoc'
196
+ '--inline-source' <<
197
+ '--template' << 'doc/jamis.rb'
198
+ '-o' << 'html'
194
199
 
195
200
  #### Author and project details.
196
201
 
data/bin/rote CHANGED
@@ -1,14 +1,53 @@
1
- #!/usr/bin/ruby
2
1
  #
3
2
  # Commandline launcher for Rote, (c)2005 Ross Bamford
4
3
  #
5
- # This is a real mess, and next on the list for an overhaul.
6
- # I'll get proper install working, don't panic...
4
+ # Get set up with library paths, however we're installed.
7
5
 
8
- ROTE_HOME = ENV['ROTE_HOME'] || File.dirname(File.dirname($0))
9
- $: << "#{ROTE_HOME}/lib"
6
+ def croak
7
+ puts "Cannot locate Rote libraries - Do you need to set $ROTE_LIB ?"
8
+ exit(1)
9
+ end
10
10
 
11
- require 'rote'
12
- require 'rote/app'
11
+ begin
12
+ require 'rubygems'
13
+ require_gem 'rote'
14
+ rescue LoadError
15
+ # just ignore, don't use gems
16
+ end
17
+
18
+ fail = false
19
+ rote_lib = nil
20
+
21
+ begin
22
+ require 'rote'
23
+ require 'rote/app'
24
+
25
+ # find this later
26
+ rote_lib = nil
27
+ rescue LoadError
28
+ unless fail || !(rote_lib = ENV['ROTE_LIB'])
29
+ $: << rote_lib
30
+ # at least we can know this now...
31
+ builtin = File.join(rote_lib,'rote/builtin.rf')
32
+ fail = true # next time.
33
+ retry
34
+ else
35
+ puts "Cannot execute Rote - Do you need to set $ROTE_LIB ?"
36
+ exit(1)
37
+ end
38
+ end
39
+
40
+ # If we're loaded via RubyGems or some such we need to locate
41
+ # the builtin rakefile.
42
+ unless rote_lib
43
+ $:.each { |it|
44
+ if File.exists?(File.join(it,'rote/builtin.rf'))
45
+ rote_lib = it
46
+ break
47
+ end
48
+ }
49
+ end
50
+
51
+ croak unless rote_lib
13
52
 
14
- Rote::Application.new("#{ROTE_HOME}/bin","#{ROTE_HOME}/lib").run
53
+ Rote::Application.new(rote_lib).run
@@ -9,10 +9,12 @@ format_opts << :textile
9
9
  @navigation = [
10
10
  {:title => 'Home',
11
11
  :url => '/index.html'},
12
+ {:title => 'Download',
13
+ :url => 'http://rubyforge.org/frs/?group_id=1120'},
12
14
  {:title => 'RDoc',
13
15
  :url => 'rdoc/'},
14
16
  {:title => 'Project home',
15
17
  :url => 'http://rubyforge.org/projects/rote'},
16
18
  {:title => 'Browse CVS',
17
- :url => 'http://rubyforge.org/cgi-bin/viewcvs.cgi/?cvsroot=rote'}
19
+ :url => 'http://rubyforge.org/cgi-bin/viewcvs.cgi/?cvsroot=rote'}
18
20
  ]
@@ -1,7 +1,7 @@
1
1
  h2. Rote - A static website build tool for Ruby
2
2
 
3
- *Rote is a simple page-based template system for your static website that was
4
- written to make it easier to author and maintain non-dynamic websites and
3
+ *Rote is a simple page-based template system that was written to make it
4
+ easier to author and maintain non-dynamic websites and
5
5
  offline documentation.* Rote provides a simple commandline or
6
6
  "Rake":http://rake.rubyforge.org based build for your pages, with page
7
7
  rendering (optionally supporting Textile and Markdown with
@@ -9,6 +9,12 @@ rendering (optionally supporting Textile and Markdown with
9
9
  "ERB":http://www.ruby-doc.org/stdlib/libdoc/erb/rdoc/classes/ERB.html), layout,
10
10
  and general documentation / website build tasks.
11
11
 
12
+ Rote is somewhat similar to (though simpler than)
13
+ "WebGen":http://webgen.rubyforge.org , which provides a richer environment
14
+ geared more toward websites and content publishing (whereas Rote's
15
+ implementation as an extension to Rake reflects a bias toward software
16
+ documentation).
17
+
12
18
  h3. Features
13
19
 
14
20
  Rote offers the following major features:
data/install.rb CHANGED
@@ -1,11 +1,3 @@
1
- puts <<-EOM
2
- NOT YET SUPPORTED
3
-
4
- Please copy 'bin' and 'lib' to a new directory, and set ROTE_HOME to
5
- point there. Standard installation is not yet supported.
6
- EOM
7
-
8
- __END__
9
1
  require 'rbconfig'
10
2
  require 'find'
11
3
  require 'ftools'
@@ -17,7 +9,7 @@ $ruby = CONFIG['ruby_install_name']
17
9
  ##
18
10
  # Install a binary file. We patch in on the way through to
19
11
  # insert a #! line. If this is a Unix install, we name
20
- # the command (for example) 'rake' and let the shebang line
12
+ # the command (for example) 'rote' and let the shebang line
21
13
  # handle running it. Under windows, we add a '.rb' extension
22
14
  # and let file associations to their stuff
23
15
  #
@@ -39,7 +31,7 @@ def installBIN(from, opfile)
39
31
  File.open(from) do |ip|
40
32
  File.open(tmp_file, "w") do |op|
41
33
  ruby = File.join($realbindir, $ruby)
42
- op.puts "#!#{ruby} -w"
34
+ op.puts "#!#{ruby}"
43
35
  op.write ip.read
44
36
  end
45
37
  end
@@ -62,15 +54,18 @@ unless $sitedir
62
54
  end
63
55
 
64
56
  $bindir = CONFIG["bindir"]
65
-
57
+ $mandir = CONFIG['mandir']
66
58
  $realbindir = $bindir
59
+ $realmandir = $mandir
67
60
 
68
61
  bindir = CONFIG["bindir"]
69
62
  if (destdir = ENV['DESTDIR'])
70
63
  $bindir = destdir + $bindir
64
+ $mandir = destdir + $mandir
71
65
  $sitedir = destdir + $sitedir
72
66
 
73
67
  File::makedirs($bindir)
68
+ File::makedirs($mandir)
74
69
  File::makedirs($sitedir)
75
70
  end
76
71
 
@@ -80,8 +75,7 @@ File::chmod(0755, rote_dest)
80
75
 
81
76
  # The library files
82
77
 
83
- files = Dir.chdir('lib') { Dir['**/*.rb'] }
84
-
78
+ files = Dir.chdir('lib') { Dir['**/*.rb'] + Dir['**/*.rf'] }
85
79
  for fn in files
86
80
  fn_dir = File.dirname(fn)
87
81
  target_dir = File.join($sitedir, fn_dir)
@@ -92,5 +86,4 @@ for fn in files
92
86
  end
93
87
 
94
88
  # and the executable
95
-
96
89
  installBIN("bin/rote", "rote")
@@ -28,7 +28,7 @@ require_gem 'rake'
28
28
  require 'rote/rotetasks'
29
29
 
30
30
  # Master Rote version. Manage this from the Rake release support.
31
- ROTEVERSION = '0.1.0'
31
+ ROTEVERSION = '0.1.2'
32
32
 
33
33
  #####
34
34
  ## *Rote* is a Rake (http://rake.rubyforge.org) based build tool for page-based
@@ -4,7 +4,6 @@ module Rote
4
4
 
5
5
  # Command-line launcher for Rote.
6
6
  class Application
7
- attr_accessor :rote_bin
8
7
  attr_accessor :rote_lib
9
8
  attr_accessor :debug
10
9
  attr_accessor :tasks
@@ -18,17 +17,18 @@ module Rote
18
17
  # Create a new Application instance, processing command-line arguments,
19
18
  # optionally passing +self+ to the supplied block for further
20
19
  # configuration.
21
- def initialize(rote_bin, rote_lib) # :yield: self if block_given?
20
+ def initialize(rote_lib) # :yield: self if block_given?
22
21
  # init vars
23
- @rote_bin = rote_bin
24
- @rote_lib = rote_lib || rote_bin
22
+ @rote_lib = rote_lib
25
23
  @debug = false
26
24
  @tasks = false
27
25
  @trace = false
28
26
  @usage = false
29
27
  @version = false
30
28
 
31
- @rakefile = File.exists?('Rakefile') ? 'Rakefile' : "#{rote_lib}/builtin.rf"
29
+ @rakefile = "#{rote_lib}/rote/builtin.rf"
30
+ raise "Missing builtin.rf (expected at '#{@rakefile}')!" unless File.exists?(@rakefile)
31
+
32
32
  @rakeopts = ENV['RAKE_OPTS'] || ''
33
33
  @rake = ENV['RAKE_CMD'] || 'rake'
34
34
 
@@ -38,7 +38,7 @@ module Rote
38
38
  end
39
39
 
40
40
  # Run the application with the current options.
41
- def run
41
+ def run
42
42
  if @version
43
43
  print "rote, version #{ROTEVERSION}\n"
44
44
 
@@ -61,46 +61,17 @@ module Rote
61
61
 
62
62
  private
63
63
 
64
- # Display help text
65
- def show_usage
66
- print <<-EOM
67
- Usage: rote [options] [task1] .. [taskN]
68
-
69
- Where [taskN] is a valid task or target name for the current project.
70
- Rite generates targets for each page source, and also defines a number
71
- of top-level tasks for various things. Use the '--tasks' option to get
72
- a list of valid tasks.
73
-
74
- Recognised options are:
75
-
76
- --tasks -T Display a list of tasks in this project.
77
- --debug -d Enable debugging information.
78
- --trace -t Enables verbose debugging information.
79
- --usage -u Display this help message and quit
80
- --help -h Synonym for --usage
81
- --version -v Display Rote's version and quit
82
-
83
- The 'rote' command is implemented as a wrapper around Rake, and
84
- requires the 'rake' command be in your path. You can circumvent this
85
- by setting the RAKE_CMD environment variable appropriately.
86
- Additional options can be passed to Rake via the RAKE_OPTS variable.
87
-
88
- Depending on your environment, you may need to set ROTE_HOME to point
89
- to the installation directory.
90
- EOM
91
- end
92
-
93
64
  # Process commandline
94
65
  def process_args
95
66
  GetoptLong.new(
96
- [ "--debug", "-d", GetoptLong::NO_ARGUMENT ],
67
+ [ "--verbose", "-v", GetoptLong::NO_ARGUMENT ],
97
68
  [ "--tasks", "-T", GetoptLong::NO_ARGUMENT ],
98
- [ "--trace", "-x", GetoptLong::NO_ARGUMENT ],
69
+ [ "--trace", "-t", GetoptLong::NO_ARGUMENT ],
99
70
  [ "--usage", "-u", GetoptLong::NO_ARGUMENT ],
100
71
  [ "--help", "-h", GetoptLong::NO_ARGUMENT ],
101
- [ "--version", "-v", GetoptLong::NO_ARGUMENT ]
72
+ [ "--version", "-V", GetoptLong::NO_ARGUMENT ]
102
73
  ).each { |opt,arg|
103
- @debug = true if opt == '--debug'
74
+ @debug = true if opt == '--verbose'
104
75
  @trace = true if opt == '--trace'
105
76
  @tasks = true if opt == '--tasks'
106
77
  @usage = true if opt == '--usage' || opt == '--help'
@@ -108,5 +79,35 @@ module Rote
108
79
  }
109
80
  end
110
81
 
82
+ # Display help text
83
+ def show_usage
84
+ print <<-EOM
85
+ Usage: rote [options] [task1] .. [taskN]
86
+
87
+ Where [taskN] is a valid task or target name for the current project.
88
+ Rite generates targets for each page source, and also defines a number
89
+ of top-level tasks for various things. Use the '--tasks' option to get
90
+ a list of valid tasks.
91
+
92
+ Recognised options are:
93
+
94
+ --tasks -T Display a list of tasks in this project.
95
+ --verbose -v Enable verbose output.
96
+ --trace -t Enables trace-level output (debugging).
97
+ --usage -u Display this help message and quit
98
+ --help -h Synonym for --usage
99
+ --version -V Display Rote's version and quit
100
+
101
+ The 'rote' command is implemented as a wrapper around Rake, and
102
+ requires the 'rake' command be in your path. You can circumvent this
103
+ by setting the RAKE_CMD environment variable appropriately.
104
+ Additional options can be passed to Rake via the RAKE_OPTS variable.
105
+
106
+ In non-standard environments, it may be necessary to set the ROTE_LIB
107
+ variable to point to the location of Rote's libraries.
108
+
109
+ EOM
110
+ end
111
+
111
112
  end # Application
112
113
  end # Rote
@@ -0,0 +1,27 @@
1
+ #
2
+ # Built-in Rakefile for Rote, (c)2005 Ross Bamford
3
+
4
+ require 'rake'
5
+ require 'rake/clean'
6
+ require 'rote'
7
+
8
+ CLEAN.include('html')
9
+
10
+ # Create a task build the website / docs
11
+ ws = Rote::DocTask.new("doc") { |site|
12
+ site.output_dir = 'html'
13
+ site.layout_dir = 'doc/layouts'
14
+
15
+ site.pages.dir = 'doc/pages'
16
+ site.pages.include('**/*')
17
+
18
+ site.res.dir = 'doc/res/'
19
+ site.res.include('**/*.png')
20
+ site.res.include('**/*.gif')
21
+ site.res.include('**/*.jpg')
22
+ site.res.include('**/*.css')
23
+ }
24
+
25
+ task :default => [:doc]
26
+
27
+ import 'publish.rf' if File.exists?('publish.rf')
@@ -0,0 +1 @@
1
+ layout <%= @content_for_layout %> for a change.
@@ -0,0 +1 @@
1
+ layout <%= @content_for_layout %> for a change.
@@ -0,0 +1 @@
1
+ To err is human; to forgive, divine
@@ -0,0 +1 @@
1
+ Lay <%= @content_for_layout %> out.
@@ -0,0 +1,2 @@
1
+ <% layout 'withext.ext' %>
2
+ <%= @global %>
@@ -0,0 +1 @@
1
+ Just some text
@@ -0,0 +1,4 @@
1
+ <% format_opts << :markdown %>
2
+ *this* is a _test_
3
+ ==================
4
+
@@ -0,0 +1 @@
1
+ <%= @global %>
@@ -0,0 +1 @@
1
+ *This* is a _simple_ test of "Textile":http://www.textism.org/tools/textile formatting.
@@ -0,0 +1 @@
1
+ <%= @myvar %> and <%= @global %>
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: rote
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.1.0
7
- date: 2005-11-25 00:00:00 +00:00
6
+ version: 0.1.2
7
+ date: 2005-11-26 00:00:00 +00:00
8
8
  summary: Adds template-based doc support to Rake.
9
9
  require_paths:
10
10
  - lib
@@ -12,7 +12,7 @@ email: ross@roscopeco.co.uk
12
12
  homepage: http://rote.rubyforge.org
13
13
  rubyforge_project: rote
14
14
  description: Rote is a set of Rake task libraries and utilities that enable easy rendering of textual documentation formats (like HTML) for websites and offline documentation.
15
- autorequire:
15
+ autorequire: rote
16
16
  default_executable: rote
17
17
  bindir: bin
18
18
  has_rdoc: true
@@ -39,12 +39,25 @@ files:
39
39
  - lib/rote/page.rb
40
40
  - lib/rote/app.rb
41
41
  - lib/rote/dirfilelist.rb
42
+ - lib/rote/builtin.rf
42
43
  - test/test_page.rb
44
+ - test/pages
45
+ - test/layouts
46
+ - test/pages/samedir.txt
47
+ - test/pages/baselayout.txt
48
+ - test/pages/markdown.txt
43
49
  - test/pages/badlayout.rb
44
50
  - test/pages/samedir.rb
45
51
  - test/pages/COMMON.rb
46
52
  - test/pages/textile.rb
53
+ - test/pages/custext.txt
54
+ - test/pages/textile.txt
47
55
  - test/pages/withcode.rb
56
+ - test/pages/justtext.txt
57
+ - test/pages/badlayout.txt
58
+ - test/pages/withcode.txt
59
+ - test/layouts/withext.ext
60
+ - test/layouts/simple.txt
48
61
  - doc/res
49
62
  - doc/jamis.rb
50
63
  - doc/pages
@@ -60,10 +73,7 @@ files:
60
73
  - doc/res/images/go-home-med.png
61
74
  - doc/res/images/rpot-sml.png
62
75
  - doc/res/images/rote-med.png
63
- - doc/res/images/rpot-large-x.xcf
64
- - doc/res/images/rote-logo.xcf
65
76
  - doc/res/images/dialog-information-med.png
66
- - doc/res/images/rpot-large.xcf
67
77
  - doc/res/images/rpot-big.png
68
78
  - doc/res/stylesheets/normal.css
69
79
  - doc/pages/COMMON.rb
@@ -78,8 +88,9 @@ rdoc_options:
78
88
  - --main
79
89
  - README
80
90
  - --line-numbers
81
- - -o
82
- - html/rdoc
91
+ - --inline-source
92
+ - --template
93
+ - doc/jamis.rb
83
94
  extra_rdoc_files:
84
95
  - README
85
96
  - LICENSE
@@ -90,5 +101,22 @@ extensions: []
90
101
 
91
102
  requirements: []
92
103
 
93
- dependencies: []
94
-
104
+ dependencies:
105
+ - !ruby/object:Gem::Dependency
106
+ name: RedCloth
107
+ version_requirement:
108
+ version_requirements: !ruby/object:Gem::Version::Requirement
109
+ requirements:
110
+ - - ">"
111
+ - !ruby/object:Gem::Version
112
+ version: "3.0"
113
+ version:
114
+ - !ruby/object:Gem::Dependency
115
+ name: rake
116
+ version_requirement:
117
+ version_requirements: !ruby/object:Gem::Version::Requirement
118
+ requirements:
119
+ - - ">"
120
+ - !ruby/object:Gem::Version
121
+ version: "0.6"
122
+ version:
Binary file