aboutsummaryrefslogtreecommitdiffstats
path: root/railties/doc/guides/creating_plugins/appendix.txt
diff options
context:
space:
mode:
authorHongli Lai (Phusion) <hongli@phusion.nl>2008-07-20 17:55:27 +0200
committerHongli Lai (Phusion) <hongli@phusion.nl>2008-07-20 17:55:27 +0200
commit90f8b192f70a3560f6f86e8eb73432011364ac5d (patch)
treedac4d280b839b18f94d9284bd93f9c30f7ed84ce /railties/doc/guides/creating_plugins/appendix.txt
parent48ab28299a20c00f8c216a335c8c338fd8c34f3c (diff)
downloadrails-90f8b192f70a3560f6f86e8eb73432011364ac5d.tar.gz
rails-90f8b192f70a3560f6f86e8eb73432011364ac5d.tar.bz2
rails-90f8b192f70a3560f6f86e8eb73432011364ac5d.zip
Convert 'creating plugins' guide to asciidoc format.
Diffstat (limited to 'railties/doc/guides/creating_plugins/appendix.txt')
-rw-r--r--railties/doc/guides/creating_plugins/appendix.txt46
1 files changed, 46 insertions, 0 deletions
diff --git a/railties/doc/guides/creating_plugins/appendix.txt b/railties/doc/guides/creating_plugins/appendix.txt
new file mode 100644
index 0000000000..a78890ccd5
--- /dev/null
+++ b/railties/doc/guides/creating_plugins/appendix.txt
@@ -0,0 +1,46 @@
+== Appendix ==
+
+=== References ===
+
+ * http://nubyonrails.com/articles/the-complete-guide-to-rails-plugins-part-i
+ * http://nubyonrails.com/articles/2006/05/09/the-complete-guide-to-rails-plugins-part-ii
+ * http://github.com/technoweenie/attachment_fu/tree/master
+ * http://daddy.platte.name/2007/05/rails-plugins-keep-initrb-thin.html
+
+=== Final plugin directory structure ===
+
+The final plugin should have a directory structure that looks something like this:
+
+------------------------------------------------
+ |-- MIT-LICENSE
+ |-- README
+ |-- Rakefile
+ |-- generators
+ | `-- yaffle
+ | |-- USAGE
+ | |-- templates
+ | | `-- definition.txt
+ | `-- yaffle_generator.rb
+ |-- init.rb
+ |-- install.rb
+ |-- lib
+ | |-- acts_as_yaffle.rb
+ | |-- commands.rb
+ | |-- core_ext.rb
+ | |-- routing.rb
+ | `-- view_helpers.rb
+ |-- tasks
+ | `-- yaffle_tasks.rake
+ |-- test
+ | |-- acts_as_yaffle_test.rb
+ | |-- core_ext_test.rb
+ | |-- database.yml
+ | |-- debug.log
+ | |-- routing_test.rb
+ | |-- schema.rb
+ | |-- test_helper.rb
+ | `-- view_helpers_test.rb
+ |-- uninstall.rb
+ `-- yaffle_plugin.sqlite3.db
+------------------------------------------------
+