lib/caramelize/caramel.rb in caramelize-0.1.2 vs lib/caramelize/caramel.rb in caramelize-0.2.0
- old
+ new
@@ -1,5 +1,6 @@
+#Encoding: UTF-8
require 'caramelize/wiki/wiki'
require 'caramelize/wiki/wikkawiki'
require 'caramelize/wiki/redmine_wiki'
## Example caramelize configuration file
@@ -35,11 +36,10 @@
:author_name => row["user"]})
@revisions << page
end
@titles.uniq!
@revisions
-
end
end
wiki
end
@@ -55,9 +55,11 @@
# :password => "root",
# :database => "wikka")
# For connection to a Redmine-Database use this Connector
+ # Additional options:
+ # :create_namespace_home => true/false (Default: true) - Creates a new wikipage at /home as root page for Gollum wiki
return Caramelize::RedmineWiki.new(:host => "localhost",
:username => "root",
:password => "root",
:database => "redmine_development")
end
\ No newline at end of file