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:
- 1822 Bytes
1 | require 'rubygems' |
2 | Gem::manage_gems |
3 | require 'rake/gempackagetask' |
4 | |
5 | require 'maruku_gem' |
6 | |
7 | task :default => [:package] |
8 | |
9 | Rake::GemPackageTask.new($spec) do |pkg| |
10 | pkg.need_zip = true |
11 | pkg.need_tar = true |
12 | end |
13 | |
14 | PKG_NAME = 'maruku' |
15 | PKG_FILE_NAME = "#{PKG_NAME}-#{MaRuKu::Version}" |
16 | RUBY_FORGE_PROJECT = PKG_NAME |
17 | RUBY_FORGE_USER = 'andrea' |
18 | |
19 | RELEASE_NAME = MaRuKu::Version |
20 | RUBY_FORGE_GROUPID = '2795' |
21 | RUBY_FORGE_PACKAGEID = '3292' |
22 | |
23 | desc "Publish the release files to RubyForge." |
24 | task :release => [:gem, :package] do |
25 | system("rubyforge login --username #{RUBY_FORGE_USER}") |
26 | |
27 | gem = "pkg/#{PKG_FILE_NAME}.gem" |
28 | # -n notes/#{Maruku::Version}.txt |
29 | cmd = "rubyforge add_release %s %s \"%s\" %s" % |
30 | [RUBY_FORGE_GROUPID, RUBY_FORGE_PACKAGEID, RELEASE_NAME, gem] |
31 | |
32 | puts cmd |
33 | system(cmd) |
34 | |
35 | files = ["gem", "tgz", "zip"].map { |ext| "pkg/#{PKG_FILE_NAME}.#{ext}" } |
36 | files.each do |file| |
37 | # system("rubyforge add_file %s %s %s %s" % |
38 | # [RUBY_FORGE_GROUPID, RUBY_FORGE_PACKAGEID, RELEASE_NAME, file]) |
39 | end |
40 | end |
41 | |
42 | task :test => [:markdown_span_tests, :markdown_block_tests] |
43 | |
44 | task :markdown_block_tests do |
45 | tests = Dir['tests/unittest/**/*.md'].join(' ') |
46 | puts "Executing tests #{tests}" |
47 | # ok = marutest(tests) |
48 | ok = system "ruby -Ilib bin/marutest #{tests}" |
49 | raise "Failed block unittest" if not ok |
50 | end |
51 | |
52 | task :markdown_span_tests do |
53 | ok = system( "ruby -Ilib lib/maruku/tests/new_parser.rb v b") |
54 | raise "Failed span unittest" if not ok |
55 | end |
56 | |
57 | require 'rake/rdoctask' |
58 | |
59 | Rake::RDocTask.new do |rdoc| |
60 | files = [#'README', 'LICENSE', 'COPYING', |
61 | 'lib/**/*.rb', |
62 | 'rdoc/*.rdoc'#, 'test/*.rb' |
63 | ] |
64 | rdoc.rdoc_files.add(files) |
65 | rdoc.main = "rdoc/main.rdoc" # page to start on |
66 | rdoc.title = "Maruku Documentation" |
67 | rdoc.template = "jamis.rb" |
68 | rdoc.rdoc_dir = 'doc' # rdoc output folder |
69 | rdoc.options << '--line-numbers' << '--inline-source' |
70 | end |
71 | |
72 | |
73 |