Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 193
- Log:
First stage commit of Typo 4.1, modified for the ROOL site.
Includes all local modifications but a final pass needs to be
made to delete any files left over from earlier Typo versions
that shouldn't be here anymore. See the 'tags' section of the
repository for a clean Typo 4.1 tree.Note that symlinks to shared files in the RISC OS Open theme
directory have been deliberately included this time around; I
decided that on balance it was better to leave them in as
placeholders, since unlike symlinks in app/views/shared, the
Typo theme structure is not a standard Rails concept.
- Author:
- rool
- Date:
- Wed Apr 04 18:51:02 +0100 2007
- Size:
- 711 Bytes
1 | class SidebarGenerator < Rails::Generator::NamedBase |
2 | attr_reader :plugin_path |
3 | |
4 | def initialize(runtime_args, runtime_options = { }) |
5 | super |
6 | @plugin_path = "vendor/plugins/#{file_name}" |
7 | end |
8 | |
9 | def manifest |
10 | record do |m| |
11 | m.directory "#{plugin_path}/lib" |
12 | m.directory "#{plugin_path}/test" |
13 | m.directory "#{plugin_path}/views" |
14 | |
15 | m.template 'init.rb', "#{plugin_path}/init.rb" |
16 | m.template 'sidebar.rb', "#{plugin_path}/lib/#{file_name}.rb" |
17 | m.template 'unit_test.rb', "#{plugin_path}/test/#{file_name}_test.rb" |
18 | m.template 'Rakefile', "#{plugin_path}/Rakefile" |
19 | m.template 'content.rhtml', "#{plugin_path}/views/content.rhtml" |
20 | end |
21 | end |
22 | end |