forked from padrino/padrino-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Padrino Cache Doc [Thanks to Onethirtyfive]
- Loading branch information
Showing
13 changed files
with
143 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -119,7 +119,7 @@ desc "Generate documentation for the Padrino framework" | |
Rake::RDocTask.new do |rdoc| | ||
rdoc.rdoc_dir = 'doc' | ||
rdoc.options << '--fmt' << 'shtml' # explictly set shtml generator | ||
rdoc.title = "Padrino Framework Documentation" | ||
rdoc.title = "Padrino Framework Documentation - v. #{Padrino.version}" | ||
rdoc.main = 'padrino-core/README.rdoc' | ||
rdoc.rdoc_files.include('padrino-core/lib/{*.rb,padrino-core}/*.rb') | ||
rdoc.rdoc_files.include('padrino-core/lib/padrino-core/application/**/*.rb') | ||
|
@@ -134,9 +134,11 @@ Rake::RDocTask.new do |rdoc| | |
rdoc.rdoc_files.include('padrino-helpers/README.rdoc') | ||
rdoc.rdoc_files.include('padrino-mailer/lib/**/*.rb') | ||
rdoc.rdoc_files.include('padrino-mailer/README.rdoc') | ||
rdoc.rdoc_files.include('padrino-cache/lib/**/*.rb') | ||
rdoc.rdoc_files.include('padrino-cache/README.rdoc') | ||
end | ||
|
||
desc "Publish doc on padrino.github.com" | ||
desc "Publish doc on padrinorb.com/api" | ||
task :pdoc => :rdoc do | ||
puts "Publishing doc on padrinorb.com ..." | ||
Rake::SshDirPublisher.new("[email protected]", "/mnt/www/apps/padrino/public/api", "doc").upload | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,4 @@ module Store | |
autoload :Redis, 'padrino-cache/store/redis' | ||
end # Store | ||
end # Cache | ||
end # Padrino | ||
end # Padrino |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -116,4 +116,4 @@ def teardown | |
assert_equal nil, @cache.get('0') | ||
assert_equal '1', @cache.get('1') | ||
end | ||
end | ||
end |