my_wiki_generator 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. data/my_wiki/grep.txt +238 -0
  2. data/my_wiki/my_wiki_generator.rb +248 -0
  3. data/my_wiki/templates/POST_GENERATION_REMINDER +1 -0
  4. data/my_wiki/templates/app/controllers/application.rb +75 -0
  5. data/my_wiki/templates/app/controllers/content_history_controller.rb +49 -0
  6. data/my_wiki/templates/app/controllers/login_controller.rb +93 -0
  7. data/my_wiki/templates/app/controllers/my_wiki_admin_controller.rb +26 -0
  8. data/my_wiki/templates/app/controllers/my_wiki_controller.rb +250 -0
  9. data/my_wiki/templates/app/controllers/page_admin_controller.rb +51 -0
  10. data/my_wiki/templates/app/controllers/user_admin_controller.rb +34 -0
  11. data/my_wiki/templates/app/helpers/application_helper.rb +3 -0
  12. data/my_wiki/templates/app/helpers/content_history_helper.rb +2 -0
  13. data/my_wiki/templates/app/helpers/login_helper.rb +2 -0
  14. data/my_wiki/templates/app/helpers/my_wiki_admin_helper.rb +2 -0
  15. data/my_wiki/templates/app/helpers/my_wiki_helper.rb +94 -0
  16. data/my_wiki/templates/app/helpers/page_admin_helper.rb +2 -0
  17. data/my_wiki/templates/app/helpers/user_admin_helper.rb +2 -0
  18. data/my_wiki/templates/app/models/attachment.rb +55 -0
  19. data/my_wiki/templates/app/models/content.rb +32 -0
  20. data/my_wiki/templates/app/models/content_history.rb +49 -0
  21. data/my_wiki/templates/app/models/content_sweeper.rb +7 -0
  22. data/my_wiki/templates/app/models/my_wiki_mailer.rb +29 -0
  23. data/my_wiki/templates/app/models/role.rb +18 -0
  24. data/my_wiki/templates/app/models/setting.rb +7 -0
  25. data/my_wiki/templates/app/models/user.rb +60 -0
  26. data/my_wiki/templates/app/views/content_history/_form.rhtml +19 -0
  27. data/my_wiki/templates/app/views/content_history/edit.rhtml +9 -0
  28. data/my_wiki/templates/app/views/content_history/list.rhtml +27 -0
  29. data/my_wiki/templates/app/views/content_history/new.rhtml +8 -0
  30. data/my_wiki/templates/app/views/content_history/show.rhtml +21 -0
  31. data/my_wiki/templates/app/views/layouts/my_wiki.rhtml +105 -0
  32. data/my_wiki/templates/app/views/login/edit.rhtml +25 -0
  33. data/my_wiki/templates/app/views/login/login.rhtml +23 -0
  34. data/my_wiki/templates/app/views/login/logout.rhtml +10 -0
  35. data/my_wiki/templates/app/views/login/signup.rhtml +23 -0
  36. data/my_wiki/templates/app/views/login/welcome.rhtml +13 -0
  37. data/my_wiki/templates/app/views/my_wiki/_form.rhtml +11 -0
  38. data/my_wiki/templates/app/views/my_wiki/css.rhtml +224 -0
  39. data/my_wiki/templates/app/views/my_wiki/diff.rhtml +4 -0
  40. data/my_wiki/templates/app/views/my_wiki/edit.rhtml +34 -0
  41. data/my_wiki/templates/app/views/my_wiki/fileinfo.rhtml +22 -0
  42. data/my_wiki/templates/app/views/my_wiki/list.rhtml +1 -0
  43. data/my_wiki/templates/app/views/my_wiki/mails.rhtml +1 -0
  44. data/my_wiki/templates/app/views/my_wiki/new.rhtml +6 -0
  45. data/my_wiki/templates/app/views/my_wiki/recent.rhtml +3 -0
  46. data/my_wiki/templates/app/views/my_wiki/search.rhtml +5 -0
  47. data/my_wiki/templates/app/views/my_wiki/search_result.rhtml +10 -0
  48. data/my_wiki/templates/app/views/my_wiki/show.rhtml +31 -0
  49. data/my_wiki/templates/app/views/my_wiki_admin/index.rhtml +5 -0
  50. data/my_wiki/templates/app/views/my_wiki_admin/setting.rhtml +64 -0
  51. data/my_wiki/templates/app/views/my_wiki_mailer/inform.rhtml +3 -0
  52. data/my_wiki/templates/app/views/page_admin/_form.rhtml +22 -0
  53. data/my_wiki/templates/app/views/page_admin/edit.rhtml +9 -0
  54. data/my_wiki/templates/app/views/page_admin/list.rhtml +55 -0
  55. data/my_wiki/templates/app/views/page_admin/new.rhtml +8 -0
  56. data/my_wiki/templates/app/views/page_admin/show.rhtml +8 -0
  57. data/my_wiki/templates/app/views/user_admin/_form.rhtml +10 -0
  58. data/my_wiki/templates/app/views/user_admin/change_password.rhtml +9 -0
  59. data/my_wiki/templates/app/views/user_admin/list.rhtml +25 -0
  60. data/my_wiki/templates/app/views/user_admin/signup.rhtml +20 -0
  61. data/my_wiki/templates/components/admin/menu/menu.rhtml +5 -0
  62. data/my_wiki/templates/components/admin/menu_controller.rb +3 -0
  63. data/my_wiki/templates/components/list/list/list.rhtml +11 -0
  64. data/my_wiki/templates/components/list/list_controller.rb +11 -0
  65. data/my_wiki/templates/components/sidebar/sidebar/show.rhtml +7 -0
  66. data/my_wiki/templates/components/sidebar/sidebar_controller.rb +9 -0
  67. data/my_wiki/templates/config/routes.rb +35 -0
  68. data/my_wiki/templates/db/migrate/001_my_wiki_migration.rb +75 -0
  69. data/my_wiki/templates/lib/diff/lcs.rb +1105 -0
  70. data/my_wiki/templates/lib/diff/lcs/array.rb +21 -0
  71. data/my_wiki/templates/lib/diff/lcs/block.rb +51 -0
  72. data/my_wiki/templates/lib/diff/lcs/callbacks.rb +322 -0
  73. data/my_wiki/templates/lib/diff/lcs/change.rb +169 -0
  74. data/my_wiki/templates/lib/diff/lcs/hunk.rb +257 -0
  75. data/my_wiki/templates/lib/diff/lcs/ldiff.rb +226 -0
  76. data/my_wiki/templates/lib/diff/lcs/string.rb +19 -0
  77. data/my_wiki/templates/lib/login_system.rb +87 -0
  78. data/my_wiki/templates/lib/markup/simple_markup.rb +489 -0
  79. data/my_wiki/templates/lib/markup/simple_markup/fragments.rb +329 -0
  80. data/my_wiki/templates/lib/markup/simple_markup/inline.rb +338 -0
  81. data/my_wiki/templates/lib/markup/simple_markup/lines.rb +151 -0
  82. data/my_wiki/templates/lib/markup/simple_markup/preprocess.rb +68 -0
  83. data/my_wiki/templates/lib/markup/simple_markup/to_flow.rb +188 -0
  84. data/my_wiki/templates/lib/markup/simple_markup/to_html.rb +302 -0
  85. data/my_wiki/templates/lib/markup/simple_markup/to_latex.rb +333 -0
  86. data/my_wiki/templates/lib/my_wiki_plugin.rb +60 -0
  87. data/my_wiki/templates/lib/my_wiki_plugins/christel.rb +5 -0
  88. data/my_wiki/templates/lib/my_wiki_plugins/join.rb +3 -0
  89. data/my_wiki/templates/lib/my_wiki_plugins/link_to_attach.rb +17 -0
  90. data/my_wiki/templates/lib/my_wiki_plugins/recent.rb +8 -0
  91. data/my_wiki/templates/public/javascripts/my_wiki.js +8 -0
  92. data/my_wiki/templates/public/stylesheets/my_wiki/back.jpg +0 -0
  93. data/my_wiki/templates/public/stylesheets/my_wiki/back1.jpg +0 -0
  94. data/my_wiki/templates/public/stylesheets/my_wiki/back2.jpg +0 -0
  95. data/my_wiki/templates/public/stylesheets/my_wiki/foot.jpg +0 -0
  96. data/my_wiki/templates/public/stylesheets/my_wiki/h1.gif +0 -0
  97. data/my_wiki/templates/public/stylesheets/my_wiki/h1.jpg +0 -0
  98. data/my_wiki/templates/public/stylesheets/my_wiki/menu.jpg +0 -0
  99. data/my_wiki/templates/public/stylesheets/my_wiki/menu2.jpg +0 -0
  100. data/my_wiki/templates/public/stylesheets/my_wiki/menu_c.jpg +0 -0
  101. data/my_wiki/templates/public/stylesheets/my_wiki/my_wiki.css +336 -0
  102. data/my_wiki/templates/public/stylesheets/my_wiki/title.jpg +0 -0
  103. metadata +181 -0
data/my_wiki/grep.txt ADDED
@@ -0,0 +1,238 @@
1
+ m.template "app/controllers/application.rb",
2
+ "app/controllers/application.rb"
3
+ m.template "app/controllers/content_history_controller.rb",
4
+ "app/controllers/content_history_controller.rb"
5
+ m.template "app/controllers/login_controller.rb",
6
+ "app/controllers/login_controller.rb"
7
+ m.template "app/controllers/#{file_name}_admin_controller.rb",
8
+ "app/controllers/#{file_name}_admin_controller.rb"
9
+ m.template "app/controllers/#{file_name}_controller.rb",
10
+ "app/controllers/#{file_name}_controller.rb"
11
+ m.template "app/controllers/page_admin_controller.rb",
12
+ "app/controllers/page_admin_controller.rb"
13
+ m.template "app/controllers/user_admin_controller.rb",
14
+ "app/controllers/user_admin_controller.rb"
15
+
16
+ m.template "app/helpers/application_helper.rb",
17
+ "app/helpers/application_helper.rb"
18
+ m.template "app/helpers/content_history_helper.rb",
19
+ "app/helpers/content_history_helper.rb"
20
+ m.template "app/helpers/login_helper.rb",
21
+ "app/helpers/login_helper.rb"
22
+ m.template "app/helpers/#{file_name}_admin_helper.rb",
23
+ "app/helpers/#{file_name}_admin_helper.rb"
24
+ m.template "app/helpers/#{file_name}_helper.rb",
25
+ "app/helpers/#{file_name}_helper.rb"
26
+ m.template "app/helpers/page_admin_helper.rb",
27
+ "app/helpers/page_admin_helper.rb"
28
+ m.template "app/helpers/user_admin_helper.rb",
29
+ "app/helpers/user_admin_helper.rb"
30
+
31
+ m.template "app/models/attachment.rb",
32
+ "app/models/attachment.rb"
33
+ m.template "app/models/content.rb",
34
+ "app/models/content.rb"
35
+ m.template "app/models/content_history.rb",
36
+ "app/models/content_history.rb"
37
+ m.template "app/models/content_sweeper.rb",
38
+ "app/models/content_sweeper.rb"
39
+ m.template "app/models/#{file_name}_mailer.rb",
40
+ "app/models/#{file_name}_mailer.rb"
41
+ m.template "app/models/role.rb",
42
+ "app/models/role.rb"
43
+ m.template "app/models/setting.rb",
44
+ "app/models/setting.rb"
45
+ m.template "app/models/user.rb",
46
+ "app/models/user.rb"
47
+
48
+ m.directory "app/views/content_history"
49
+ m.template "app/views/content_history/edit.rhtml",
50
+ "app/views/content_history/edit.rhtml"
51
+ m.template "app/views/content_history/list.rhtml",
52
+ "app/views/content_history/list.rhtml"
53
+ m.template "app/views/content_history/new.rhtml",
54
+ "app/views/content_history/new.rhtml"
55
+ m.template "app/views/content_history/show.rhtml",
56
+ "app/views/content_history/show.rhtml"
57
+ m.template "app/views/content_history/_form.rhtml",
58
+ "app/views/content_history/_form.rhtml"
59
+
60
+ m.template "app/views/layouts/#{file_name}.rhtml",
61
+ "app/views/layouts/#{file_name}.rhtml"
62
+
63
+ m.directory "app/views/login"
64
+ m.template "app/views/login/edit.rhtml",
65
+ "app/views/login/edit.rhtml"
66
+ m.template "app/views/login/login.rhtml",
67
+ "app/views/login/login.rhtml"
68
+ m.template "app/views/login/logout.rhtml",
69
+ "app/views/login/logout.rhtml"
70
+ m.template "app/views/login/signup.rhtml",
71
+ "app/views/login/signup.rhtml"
72
+ m.template "app/views/login/welcome.rhtml",
73
+ "app/views/login/welcome.rhtml"
74
+
75
+ m.directory "app/views/#{file_name}"
76
+ m.template "app/views/#{file_name}/css.rhtml",
77
+ "app/views/#{file_name}/css.rhtml"
78
+ m.template "app/views/#{file_name}/diff.rhtml",
79
+ "app/views/#{file_name}/diff.rhtml"
80
+ m.template "app/views/#{file_name}/edit.rhtml",
81
+ "app/views/#{file_name}/edit.rhtml"
82
+ m.template "app/views/#{file_name}/fileinfo.rhtml",
83
+ "app/views/#{file_name}/fileinfo.rhtml"
84
+ m.template "app/views/#{file_name}/list.rhtml",
85
+ "app/views/#{file_name}/list.rhtml"
86
+ m.template "app/views/#{file_name}/mails.rhtml",
87
+ "app/views/#{file_name}/mails.rhtml"
88
+ m.template "app/views/#{file_name}/new.rhtml",
89
+ "app/views/#{file_name}/new.rhtml"
90
+ m.template "app/views/#{file_name}/recent.rhtml",
91
+ "app/views/#{file_name}/recent.rhtml"
92
+ m.template "app/views/#{file_name}/search.rhtml",
93
+ "app/views/#{file_name}/search.rhtml"
94
+ m.template "app/views/#{file_name}/search_result.rhtml",
95
+ "app/views/#{file_name}/search_result.rhtml"
96
+ m.template "app/views/#{file_name}/show.rhtml",
97
+ "app/views/#{file_name}/show.rhtml"
98
+ m.template "app/views/#{file_name}/_form.rhtml",
99
+ "app/views/#{file_name}/_form.rhtml"
100
+
101
+ m.directory "app/views/#{file_name}_admin"
102
+ m.template "app/views/#{file_name}_admin/index.rhtml",
103
+ "app/views/#{file_name}_admin/index.rhtml"
104
+ m.template "app/views/#{file_name}_admin/setting.rhtml",
105
+ "app/views/#{file_name}_admin/setting.rhtml"
106
+
107
+ m.directory "app/views/#{file_name}_mailer"
108
+ m.template "app/views/#{file_name}_mailer/inform.rhtml",
109
+ "app/views/#{file_name}_mailer/inform.rhtml"
110
+
111
+ m.directory "app/views/page_admin"
112
+ m.template "app/views/page_admin/edit.rhtml",
113
+ "app/views/page_admin/edit.rhtml"
114
+ m.template "app/views/page_admin/list.rhtml",
115
+ "app/views/page_admin/list.rhtml"
116
+ m.template "app/views/page_admin/new.rhtml",
117
+ "app/views/page_admin/new.rhtml"
118
+ m.template "app/views/page_admin/show.rhtml",
119
+ "app/views/page_admin/show.rhtml"
120
+ m.template "app/views/page_admin/_form.rhtml",
121
+ "app/views/page_admin/_form.rhtml"
122
+
123
+ m.directory "app/views/user_admin"
124
+ m.template "app/views/user_admin/change_password.rhtml",
125
+ "app/views/user_admin/change_password.rhtml"
126
+ m.template "app/views/user_admin/list.rhtml",
127
+ "app/views/user_admin/list.rhtml"
128
+ m.template "app/views/user_admin/signup.rhtml",
129
+ "app/views/user_admin/signup.rhtml"
130
+ m.template "app/views/user_admin/_form.rhtml",
131
+ "app/views/user_admin/_form.rhtml"
132
+
133
+ m.directory "components/admin"
134
+ m.directory "components/admin/menu"
135
+ m.template "components/admin/menu/menu.rhtml",
136
+ "components/admin/menu/menu.rhtml"
137
+ m.template "components/admin/menu_controller.rb",
138
+ "components/admin/menu_controller.rb"
139
+
140
+ m.directory "components/list"
141
+ m.directory "components/list/list"
142
+ m.template "components/list/list/list.rhtml",
143
+ "components/list/list/list.rhtml"
144
+ m.template "components/list/list_controller.rb",
145
+ "components/list/list_controller.rb"
146
+
147
+ m.directory "components/sidebar"
148
+ m.directory "components/sidebar/sidebar"
149
+ m.template "components/sidebar/sidebar/show.rhtml",
150
+ "components/sidebar/sidebar/show.rhtml"
151
+ m.template "components/sidebar/sidebar_controller.rb",
152
+ "components/sidebar/sidebar_controller.rb"
153
+
154
+ m.template "config/routes.rb",
155
+ "config/routes.rb"
156
+
157
+ m.template "db/migrate/001_#{file_name}_migration.rb",
158
+ "db/migrate/001_#{file_name}_migration.rb"
159
+
160
+ m.directory "lib/diff"
161
+ m.directory "lib/diff/lcs"
162
+ m.template "lib/diff/lcs/array.rb",
163
+ "lib/diff/lcs/array.rb"
164
+ m.template "lib/diff/lcs/block.rb",
165
+ "lib/diff/lcs/block.rb"
166
+ m.template "lib/diff/lcs/callbacks.rb",
167
+ "lib/diff/lcs/callbacks.rb"
168
+ m.template "lib/diff/lcs/change.rb",
169
+ "lib/diff/lcs/change.rb"
170
+ m.template "lib/diff/lcs/hunk.rb",
171
+ "lib/diff/lcs/hunk.rb"
172
+ m.template "lib/diff/lcs/ldiff.rb",
173
+ "lib/diff/lcs/ldiff.rb"
174
+ m.template "lib/diff/lcs/string.rb",
175
+ "lib/diff/lcs/string.rb"
176
+ m.template "lib/diff/lcs.rb",
177
+ "lib/diff/lcs.rb"
178
+
179
+ m.template "lib/login_system.rb",
180
+ "lib/login_system.rb"
181
+
182
+ m.directory "lib/markup"
183
+ m.directory "lib/simple_markup"
184
+ m.template "lib/markup/simple_markup/fragments.rb",
185
+ "lib/markup/simple_markup/fragments.rb"
186
+ m.template "lib/markup/simple_markup/inline.rb",
187
+ "lib/markup/simple_markup/inline.rb"
188
+ m.template "lib/markup/simple_markup/lines.rb",
189
+ "lib/markup/simple_markup/lines.rb"
190
+ m.template "lib/markup/simple_markup/preprocess.rb",
191
+ "lib/markup/simple_markup/preprocess.rb"
192
+ m.template "lib/markup/simple_markup/to_flow.rb",
193
+ "lib/markup/simple_markup/to_flow.rb"
194
+ m.template "lib/markup/simple_markup/to_html.rb",
195
+ "lib/markup/simple_markup/to_html.rb"
196
+ m.template "lib/markup/simple_markup/to_latex.rb",
197
+ "lib/markup/simple_markup/to_latex.rb"
198
+ m.template "lib/markup/simple_markup.rb",
199
+ "lib/markup/simple_markup.rb"
200
+
201
+ m.directory "lib/#{file_name}_plugins"
202
+ m.template "lib/#{file_name}_plugin.rb",
203
+ "lib/#{file_name}_plugin.rb"
204
+ m.template "lib/#{file_name}_plugins/christel.rb",
205
+ "lib/#{file_name}_plugins/christel.rb"
206
+ m.template "lib/#{file_name}_plugins/join.rb",
207
+ "lib/#{file_name}_plugins/join.rb"
208
+ m.template "lib/#{file_name}_plugins/link_to_attach.rb",
209
+ "lib/#{file_name}_plugins/link_to_attach.rb"
210
+ m.template "lib/#{file_name}_plugins/recent.rb",
211
+ "lib/#{file_name}_plugins/recent.rb"
212
+
213
+ m.template "public/javascripts/#{file_name}.js",
214
+ "public/javascripts/#{file_name}.js"
215
+
216
+ m.directory "public/stylesheets/#{file_name}"
217
+ m.template "public/stylesheets/#{file_name}/back.jpg",
218
+ "public/stylesheets/#{file_name}/back.jpg"
219
+ m.template "public/stylesheets/#{file_name}/back1.jpg",
220
+ "public/stylesheets/#{file_name}/back1.jpg"
221
+ m.template "public/stylesheets/#{file_name}/back2.jpg",
222
+ "public/stylesheets/#{file_name}/back2.jpg"
223
+ m.template "public/stylesheets/#{file_name}/foot.jpg",
224
+ "public/stylesheets/#{file_name}/foot.jpg"
225
+ m.template "public/stylesheets/#{file_name}/h1.gif",
226
+ "public/stylesheets/#{file_name}/h1.gif"
227
+ m.template "public/stylesheets/#{file_name}/h1.jpg",
228
+ "public/stylesheets/#{file_name}/h1.jpg"
229
+ m.template "public/stylesheets/#{file_name}/menu.jpg",
230
+ "public/stylesheets/#{file_name}/menu.jpg"
231
+ m.template "public/stylesheets/#{file_name}/menu2.jpg",
232
+ "public/stylesheets/#{file_name}/menu2.jpg"
233
+ m.template "public/stylesheets/#{file_name}/menu_c.jpg",
234
+ "public/stylesheets/#{file_name}/menu_c.jpg"
235
+ m.template "public/stylesheets/#{file_name}/#{file_name}.css",
236
+ "public/stylesheets/#{file_name}/#{file_name}.css"
237
+ m.template "public/stylesheets/#{file_name}/title.jpg",
238
+ "public/stylesheets/#{file_name}/title.jpg"
@@ -0,0 +1,248 @@
1
+ class MyWikiGenerator < Rails::Generator::NamedBase
2
+ def manifest
3
+ record do |m|
4
+ m.class_collisions class_name
5
+
6
+ m.template "app/controllers/application.rb",
7
+ "app/controllers/application.rb"
8
+ m.template "app/controllers/content_history_controller.rb",
9
+ "app/controllers/content_history_controller.rb"
10
+ m.template "app/controllers/login_controller.rb",
11
+ "app/controllers/login_controller.rb"
12
+ m.template "app/controllers/my_wiki_admin_controller.rb",
13
+ "app/controllers/#{file_name}_admin_controller.rb"
14
+ m.template "app/controllers/my_wiki_controller.rb",
15
+ "app/controllers/#{file_name}_controller.rb"
16
+ m.template "app/controllers/page_admin_controller.rb",
17
+ "app/controllers/page_admin_controller.rb"
18
+ m.template "app/controllers/user_admin_controller.rb",
19
+ "app/controllers/user_admin_controller.rb"
20
+
21
+ m.template "app/helpers/application_helper.rb",
22
+ "app/helpers/application_helper.rb"
23
+ m.template "app/helpers/content_history_helper.rb",
24
+ "app/helpers/content_history_helper.rb"
25
+ m.template "app/helpers/login_helper.rb",
26
+ "app/helpers/login_helper.rb"
27
+ m.template "app/helpers/my_wiki_admin_helper.rb",
28
+ "app/helpers/#{file_name}_admin_helper.rb"
29
+ m.template "app/helpers/my_wiki_helper.rb",
30
+ "app/helpers/#{file_name}_helper.rb"
31
+ m.template "app/helpers/page_admin_helper.rb",
32
+ "app/helpers/page_admin_helper.rb"
33
+ m.template "app/helpers/user_admin_helper.rb",
34
+ "app/helpers/user_admin_helper.rb"
35
+
36
+ m.template "app/models/attachment.rb",
37
+ "app/models/attachment.rb"
38
+ m.template "app/models/content.rb",
39
+ "app/models/content.rb"
40
+ m.template "app/models/content_history.rb",
41
+ "app/models/content_history.rb"
42
+ m.template "app/models/content_sweeper.rb",
43
+ "app/models/content_sweeper.rb"
44
+ m.template "app/models/my_wiki_mailer.rb",
45
+ "app/models/#{file_name}_mailer.rb"
46
+ m.template "app/models/role.rb",
47
+ "app/models/role.rb"
48
+ m.template "app/models/setting.rb",
49
+ "app/models/setting.rb"
50
+ m.template "app/models/user.rb",
51
+ "app/models/user.rb"
52
+
53
+ m.directory "app/views/content_history"
54
+ m.template "app/views/content_history/edit.rhtml",
55
+ "app/views/content_history/edit.rhtml"
56
+ m.template "app/views/content_history/list.rhtml",
57
+ "app/views/content_history/list.rhtml"
58
+ m.template "app/views/content_history/new.rhtml",
59
+ "app/views/content_history/new.rhtml"
60
+ m.template "app/views/content_history/show.rhtml",
61
+ "app/views/content_history/show.rhtml"
62
+ m.template "app/views/content_history/_form.rhtml",
63
+ "app/views/content_history/_form.rhtml"
64
+
65
+ m.template "app/views/layouts/my_wiki.rhtml",
66
+ "app/views/layouts/#{file_name}.rhtml"
67
+
68
+ m.directory "app/views/login"
69
+ m.template "app/views/login/edit.rhtml",
70
+ "app/views/login/edit.rhtml"
71
+ m.template "app/views/login/login.rhtml",
72
+ "app/views/login/login.rhtml"
73
+ m.template "app/views/login/logout.rhtml",
74
+ "app/views/login/logout.rhtml"
75
+ m.template "app/views/login/signup.rhtml",
76
+ "app/views/login/signup.rhtml"
77
+ m.template "app/views/login/welcome.rhtml",
78
+ "app/views/login/welcome.rhtml"
79
+
80
+ m.directory "app/views/#{file_name}"
81
+ m.template "app/views/my_wiki/css.rhtml",
82
+ "app/views/#{file_name}/css.rhtml"
83
+ m.template "app/views/my_wiki/diff.rhtml",
84
+ "app/views/#{file_name}/diff.rhtml"
85
+ m.template "app/views/my_wiki/edit.rhtml",
86
+ "app/views/#{file_name}/edit.rhtml"
87
+ m.template "app/views/my_wiki/fileinfo.rhtml",
88
+ "app/views/#{file_name}/fileinfo.rhtml"
89
+ m.template "app/views/my_wiki/list.rhtml",
90
+ "app/views/#{file_name}/list.rhtml"
91
+ m.template "app/views/my_wiki/mails.rhtml",
92
+ "app/views/#{file_name}/mails.rhtml"
93
+ m.template "app/views/my_wiki/new.rhtml",
94
+ "app/views/#{file_name}/new.rhtml"
95
+ m.template "app/views/my_wiki/recent.rhtml",
96
+ "app/views/#{file_name}/recent.rhtml"
97
+ m.template "app/views/my_wiki/search.rhtml",
98
+ "app/views/#{file_name}/search.rhtml"
99
+ m.template "app/views/my_wiki/search_result.rhtml",
100
+ "app/views/#{file_name}/search_result.rhtml"
101
+ m.template "app/views/my_wiki/show.rhtml",
102
+ "app/views/#{file_name}/show.rhtml"
103
+ m.template "app/views/my_wiki/_form.rhtml",
104
+ "app/views/#{file_name}/_form.rhtml"
105
+
106
+ m.directory "app/views/#{file_name}_admin"
107
+ m.template "app/views/my_wiki_admin/index.rhtml",
108
+ "app/views/#{file_name}_admin/index.rhtml"
109
+ m.template "app/views/my_wiki_admin/setting.rhtml",
110
+ "app/views/#{file_name}_admin/setting.rhtml"
111
+
112
+ m.directory "app/views/#{file_name}_mailer"
113
+ m.template "app/views/my_wiki_mailer/inform.rhtml",
114
+ "app/views/#{file_name}_mailer/inform.rhtml"
115
+
116
+ m.directory "app/views/page_admin"
117
+ m.template "app/views/page_admin/edit.rhtml",
118
+ "app/views/page_admin/edit.rhtml"
119
+ m.template "app/views/page_admin/list.rhtml",
120
+ "app/views/page_admin/list.rhtml"
121
+ m.template "app/views/page_admin/new.rhtml",
122
+ "app/views/page_admin/new.rhtml"
123
+ m.template "app/views/page_admin/show.rhtml",
124
+ "app/views/page_admin/show.rhtml"
125
+ m.template "app/views/page_admin/_form.rhtml",
126
+ "app/views/page_admin/_form.rhtml"
127
+
128
+ m.directory "app/views/user_admin"
129
+ m.template "app/views/user_admin/change_password.rhtml",
130
+ "app/views/user_admin/change_password.rhtml"
131
+ m.template "app/views/user_admin/list.rhtml",
132
+ "app/views/user_admin/list.rhtml"
133
+ m.template "app/views/user_admin/signup.rhtml",
134
+ "app/views/user_admin/signup.rhtml"
135
+ m.template "app/views/user_admin/_form.rhtml",
136
+ "app/views/user_admin/_form.rhtml"
137
+
138
+ m.directory "components/admin"
139
+ m.directory "components/admin/menu"
140
+ m.template "components/admin/menu/menu.rhtml",
141
+ "components/admin/menu/menu.rhtml"
142
+ m.template "components/admin/menu_controller.rb",
143
+ "components/admin/menu_controller.rb"
144
+
145
+ m.directory "components/list"
146
+ m.directory "components/list/list"
147
+ m.template "components/list/list/list.rhtml",
148
+ "components/list/list/list.rhtml"
149
+ m.template "components/list/list_controller.rb",
150
+ "components/list/list_controller.rb"
151
+
152
+ m.directory "components/sidebar"
153
+ m.directory "components/sidebar/sidebar"
154
+ m.template "components/sidebar/sidebar/show.rhtml",
155
+ "components/sidebar/sidebar/show.rhtml"
156
+ m.template "components/sidebar/sidebar_controller.rb",
157
+ "components/sidebar/sidebar_controller.rb"
158
+
159
+ m.template "config/routes.rb",
160
+ "config/routes.rb"
161
+
162
+ m.directory "db/migrate"
163
+ m.template "db/migrate/001_my_wiki_migration.rb",
164
+ "db/migrate/001_#{file_name}_migration.rb"
165
+
166
+ m.directory "lib/diff"
167
+ m.directory "lib/diff/lcs"
168
+ m.template "lib/diff/lcs/array.rb",
169
+ "lib/diff/lcs/array.rb"
170
+ m.template "lib/diff/lcs/block.rb",
171
+ "lib/diff/lcs/block.rb"
172
+ m.template "lib/diff/lcs/callbacks.rb",
173
+ "lib/diff/lcs/callbacks.rb"
174
+ m.template "lib/diff/lcs/change.rb",
175
+ "lib/diff/lcs/change.rb"
176
+ m.template "lib/diff/lcs/hunk.rb",
177
+ "lib/diff/lcs/hunk.rb"
178
+ m.template "lib/diff/lcs/ldiff.rb",
179
+ "lib/diff/lcs/ldiff.rb"
180
+ m.template "lib/diff/lcs/string.rb",
181
+ "lib/diff/lcs/string.rb"
182
+ m.template "lib/diff/lcs.rb",
183
+ "lib/diff/lcs.rb"
184
+
185
+ m.template "lib/login_system.rb",
186
+ "lib/login_system.rb"
187
+
188
+ m.directory "lib/markup"
189
+ m.directory "lib/markup/simple_markup"
190
+ m.template "lib/markup/simple_markup/fragments.rb",
191
+ "lib/markup/simple_markup/fragments.rb"
192
+ m.template "lib/markup/simple_markup/inline.rb",
193
+ "lib/markup/simple_markup/inline.rb"
194
+ m.template "lib/markup/simple_markup/lines.rb",
195
+ "lib/markup/simple_markup/lines.rb"
196
+ m.template "lib/markup/simple_markup/preprocess.rb",
197
+ "lib/markup/simple_markup/preprocess.rb"
198
+ m.template "lib/markup/simple_markup/to_flow.rb",
199
+ "lib/markup/simple_markup/to_flow.rb"
200
+ m.template "lib/markup/simple_markup/to_html.rb",
201
+ "lib/markup/simple_markup/to_html.rb"
202
+ m.template "lib/markup/simple_markup/to_latex.rb",
203
+ "lib/markup/simple_markup/to_latex.rb"
204
+ m.template "lib/markup/simple_markup.rb",
205
+ "lib/markup/simple_markup.rb"
206
+
207
+ m.directory "lib/#{file_name}_plugins"
208
+ m.template "lib/my_wiki_plugin.rb",
209
+ "lib/#{file_name}_plugin.rb"
210
+ m.template "lib/my_wiki_plugins/christel.rb",
211
+ "lib/#{file_name}_plugins/christel.rb"
212
+ m.template "lib/my_wiki_plugins/join.rb",
213
+ "lib/#{file_name}_plugins/join.rb"
214
+ m.template "lib/my_wiki_plugins/link_to_attach.rb",
215
+ "lib/#{file_name}_plugins/link_to_attach.rb"
216
+ m.template "lib/my_wiki_plugins/recent.rb",
217
+ "lib/#{file_name}_plugins/recent.rb"
218
+
219
+ m.template "public/javascripts/my_wiki.js",
220
+ "public/javascripts/#{file_name}.js"
221
+
222
+ m.directory "public/stylesheets/#{file_name}"
223
+ m.template "public/stylesheets/my_wiki/back.jpg",
224
+ "public/stylesheets/#{file_name}/back.jpg"
225
+ m.template "public/stylesheets/my_wiki/back1.jpg",
226
+ "public/stylesheets/#{file_name}/back1.jpg"
227
+ m.template "public/stylesheets/my_wiki/back2.jpg",
228
+ "public/stylesheets/#{file_name}/back2.jpg"
229
+ m.template "public/stylesheets/my_wiki/foot.jpg",
230
+ "public/stylesheets/#{file_name}/foot.jpg"
231
+ m.template "public/stylesheets/my_wiki/h1.gif",
232
+ "public/stylesheets/#{file_name}/h1.gif"
233
+ m.template "public/stylesheets/my_wiki/h1.jpg",
234
+ "public/stylesheets/#{file_name}/h1.jpg"
235
+ m.template "public/stylesheets/my_wiki/menu.jpg",
236
+ "public/stylesheets/#{file_name}/menu.jpg"
237
+ m.template "public/stylesheets/my_wiki/menu2.jpg",
238
+ "public/stylesheets/#{file_name}/menu2.jpg"
239
+ m.template "public/stylesheets/my_wiki/menu_c.jpg",
240
+ "public/stylesheets/#{file_name}/menu_c.jpg"
241
+ m.template "public/stylesheets/my_wiki/my_wiki.css",
242
+ "public/stylesheets/#{file_name}/#{file_name}.css"
243
+ m.template "public/stylesheets/my_wiki/title.jpg",
244
+ "public/stylesheets/#{file_name}/title.jpg"
245
+ m.readme "POST_GENERATION_REMINDER"
246
+ end
247
+ end
248
+ end