search for: rdoc_fil

Displaying 12 results from an estimated 12 matches for "rdoc_fil".

Did you mean: rdoc_files
2006 Feb 15
6
Problem creating appdoc documentation
...e documentation for the application" Rake::RDocTask.new("appdoc") { |rdoc| rdoc.rdoc_dir = ''doc/app'' rdoc.title = "NCC Application Documentation" rdoc.options << ''--line-numbers --inline-source -c iso-8859-2'' rdoc.rdoc_files.include(''doc/README_FOR_APP'') rdoc.rdoc_files.include(''app/**/*.rb'') rdoc.rdoc_files.include(''doc/*.rd'') rdoc.rdoc_files.include(''*.rd'') } -- Radek Hnilica <Radek at Hnilica dot CZ> http://www.hnilica.cz...
2006 Jun 07
0
revised rake doc:app executes twice
...;< ''--all'' #<< ''--inline-source'' if ENV[''template''] puts "using template: #{ENV[''template'']}" rdoc.options << "--template=#{ENV[''template'']}" end rdoc.rdoc_files.include(''doc/README_FOR_APP'') rdoc.rdoc_files.include(''app/**/*.rb'') rdoc.rdoc_files.include(''lib/**/*.rb'') rdoc.rdoc_files.include(''vendor/plugins/**/*.rb'') rdoc.rdoc_files.include(''test/**/*.rb'...
2011 Nov 29
1
[PATCH] out of tree build: ruby (second take)
...ODULE => [ MAKEFILE, HIVEX_SRC ] do |t| - Dir::chdir(File::dirname(EXT_CONF)) do + Dir::chdir("@builddir@/ext/hivex") do unless sh "make" $stderr.puts "make failed" break @@ -61,19 +61,19 @@ end task :test => :build RDOC_FILES = FileList[ - "README.rdoc", - "lib/**/*.rb", - "ext/**/*.[ch]" + "@srcdir@/README.rdoc", + "@srcdir@/lib/**/*.rb", + "@srcdir@/ext/**/*.[ch]" ] Rake::RDocTask.new do |rd| - rd.main = "README.rdoc" +...
2011 Nov 21
2
[PATCH] out of tree build: ruby
...ODULE => [ MAKEFILE, HIVEX_SRC ] do |t| - Dir::chdir(File::dirname(EXT_CONF)) do + Dir::chdir("@builddir@/ext/hivex") do unless sh "make" $stderr.puts "make failed" break @@ -61,19 +61,19 @@ end task :test => :build RDOC_FILES = FileList[ - "README.rdoc", - "lib/**/*.rb", - "ext/**/*.[ch]" + "@srcdir@/README.rdoc", + "@srcdir@/lib/**/*.rb", + "@srcdir@/ext/**/*.[ch]" ] Rake::RDocTask.new do |rd| - rd.main = "README.rdoc" +...
2011 Nov 20
1
[PATCH] out-of-tree build: ruby
...E => [ MAKEFILE, GUESTFS_SRC ] do |t| - Dir::chdir(File::dirname(EXT_CONF)) do + Dir::chdir("@builddir@/ext/guestfs") do unless sh "make" $stderr.puts "make failed" break @@ -61,19 +61,19 @@ end task :test => :build RDOC_FILES = FileList[ - "README.rdoc", - "lib/**/*.rb", - "ext/**/*.[ch]" + "@srcdir@/README.rdoc", + "@srcdir@/lib/**/*.rb", + "@srcdir@/ext/**/*.[ch]" ] Rake::RDocTask.new do |rd| - rd.main = "README.rdoc" +...
2006 Apr 18
0
extend doc:app rake task to Include lib/*?
...#39;'t seem to figure out the proper way to do it short of changing the lib/tasks/documentation.rake in the rails distribution. After poking around in the rails tasks, I tried creating an extended_docapp.rake in my lib/tasks that contains this: namespace :doc do task :app do |rdoc| rdoc.rdoc_files.include(''lib/*.rb'') end end But when I run rake doc:app I get this error: rake aborted! undefined method `rdoc_files'' for #<Rake::Task:0x2299c00> I guess I''m not referencing the task correctly? I don''t want to overwrite the task, just want...
2005 Dec 20
0
Patch lovin'' for #2018? ("rake appdoc fails on Windows systems")
...c "Generate documentation for the application" -Rake::RDocTask.new("appdoc") { |rdoc| - rdoc.rdoc_dir = ''doc/app'' - rdoc.title = "Rails Application Documentation" - rdoc.options << ''--line-numbers --inline-source'' - rdoc.rdoc_files.include(''doc/README_FOR_APP'') - rdoc.rdoc_files.include(''app/**/*.rb'') -} +task :appdoc do + require ''rdoc/rdoc'' + opt = [''-odoc/app'', ''--line-numbers'', ''--inline-source'', ''-Tht...
2006 Dec 14
1
Patch: make rdoc of lib/mocha/object.rb instead of lib/stubba/object.rb
...============================ --- Rakefile (revision 73) +++ Rakefile (working copy) @@ -23,7 +23,7 @@ task.rdoc_dir = ''doc'' task.template = "html_with_google_analytics" task.options << "--line-numbers" << "--inline-source" - task.rdoc_files.include(''README'', ''RELEASE'', ''COPYING'', ''MIT-LICENSE'', ''agiledox.txt'', ''lib/mocha/auto_verify.rb'', ''lib/mocha/mock_methods.rb'', ''lib/mocha/expectation.rb''...
2011 Jan 05
0
Fwd: Review of libguestfs ruby bindings
...t of the tasks I would care about. One additional task that might be worthwhile is an 'ri' task for generating interactive help: Rake::RDocTask.new(:ri) do |rd| rd.main = "README.rdoc" rd.rdoc_dir = "doc/ri" rd.options << "--ri-system" rd.rdoc_files.include(RDOC_FILES) end Full disclosure, though; I haven't yet figured out how to include that interactive help in an RPM. extconf.rb file - looks reasonable enough. _guestfs.c - lots of code here (auto-generated), so I won't do a line-by-line review. I'll point out a few things t...
2006 Feb 02
4
rails-1.0.0 gem rdoc problem
...ns << ''--line-numbers --inline-source --accessor cattr_accessor=object'' + rdoc.options += %w(--line-numbers --inline-source --accessor cattr_accessor=object) rdoc.template = "#{ENV[''template'']}.rb" if ENV[''template''] rdoc.rdoc_files.include(''README'', ''CHANGELOG'') This fixes the doc generation problem, but I still had to manually copy the doc directory to the gems doc directory. Any reason why I had to do this? Thanks -- Jim Freeze
2009 Sep 28
5
Multi-databases support
Hi, While I was hacking ovirt-server, I have found that it's currently restricted to Postgres DB. Even if I like postgres for serious work on a server, I really prefer to hack/dev locally on a Sqlite or MySQL DB. I have googled on rails in order to find a good answer for the "foreign key problem" which forces OVirt to stay on pg. I have found a plugin on this particular
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply to this email, as some of the replaced lines are too long, so git won't let me send the email. However, there is nothing wrong with that patch, and it should be applied in the sequence listed below. Note also that I assume this will be tested on a clean f11 install, rather than an upgrade of an existing ovirt server