Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 344
- Log:
Massive changeset which brings the old, ROOL customised Instiki
version up to date, but without any ROOL customisations in this
latest checked-in version (which is 0.19.1). This is deliberate,
so that it's easy to see the changes made for the ROOL version
in a subsequent changeset. The 'app/views/shared' directory is not
part of Instiki but is kept to maintain the change history with
updated ROOL customisations, some of which involve the same files
in that same directory.
- Author:
- rool
- Date:
- Sat Mar 19 19:52:13 +0000 2011
- Size:
- 651 Bytes
1 | #!/usr/bin/env ruby |
2 | |
3 | require 'maruku' |
4 | |
5 | # If we are given filenames, convert each file |
6 | if not ARGV.empty? |
7 | ARGV.each do |f| |
8 | puts "Opening #{f}" |
9 | |
10 | # read file content |
11 | input = File.open(f,'r').read |
12 | |
13 | # create Maruku |
14 | doc = Maruku.new(input, {:on_error=>:warning}) |
15 | # convert to a complete html document |
16 | output = doc.to_md |
17 | |
18 | # write to file |
19 | dir = File.dirname(f) |
20 | filename = File.basename(f, File.extname(f)) + ".txt" |
21 | |
22 | output = File.join(dir, filename) |
23 | File.open(output,'w') do |f| f.puts html end |
24 | end |
25 | else |
26 | # else, act as a filter |
27 | data = $stdin.read |
28 | puts Maruku.new(data, {:on_error=>:warning}).to_md |
29 | end |