Changeset 103
- Timestamp:
- 05/21/2006 23:15:18 (2 years ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
Rakefile (modified) (2 diffs)
-
examples/campsh/campsh.rb (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Rakefile
r100 r103 7 7 8 8 NAME = "camping" 9 VERS = "1. 4.2"9 VERS = "1.5" 10 10 CLEAN.include ['**/.*.sw?', '*.gem', '.config'] 11 11 RDOC_OPTS = ['--quiet', '--title', "Camping, the Documentation", … … 60 60 61 61 s.add_dependency('activerecord', '>=1.14.2') 62 s.add_dependency('markaby', '>=0. 4')62 s.add_dependency('markaby', '>=0.5') 63 63 s.add_dependency('metaid') 64 64 s.required_ruby_version = '>= 1.8.2' -
trunk/examples/campsh/campsh.rb
r56 r103 7 7 8 8 module CampSh 9 NAME = 'Camp CampSh'9 NAME = 'CampSh' 10 10 DESCRIPTION = %{ 11 11 Script your own URL commands, then run these commands through … … 485 485 def _navigation 486 486 form :id => "navigationForm", :class => "navigation", :style => "font-size: 10px" do 487 a "Command List", :href => R(List), :title => "Alphabetical list of commands", :accesskey => "A" 488 text " | " 489 a "Recently Revised", :href => R(Recent), :title => "Pages sorted by when they were last changed", 490 :accesskey => "U" 491 text " | " 492 a "Authors", :href => R(Authors), :title => "Who wrote what" 493 text " | " 494 a "How To", :href => R(HowTo), :title => "How to use CampShell", :accesskey => "H" 487 [["Command List", R(List), "Alphabetical list of commands", "A"], 488 ["Recently Revised", R(Recent), "Pages sorted by when they were last changed", "U"], 489 ["Authors", R(Authors), "Who wrote what", "W"], 490 ["How To", R(HowTo), "How to use CampShell", "H"] 491 ].map do |txt, link, title, key| 492 a txt, :href => link, :title => title, :accesskey => key 493 end.join(" | ") 495 494 end 496 495 end … … 523 522 @authors.each do |author, cmds| 524 523 li do 525 strong author 526 text " worked on: " + 527 cmds.map { |cmd| 528 capture { a cmd.name, :href => R(Show, cmd.name) } 529 }.join(", ") 524 strong(author) + " worked on: " + 525 cmds.map { |cmd| a cmd.name, :href => R(Show, cmd.name) }.join(", ") 530 526 end 531 527 end
