Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

plugin structure

  • Loading branch information...
commit 891d66acd10d76588b730c1f1c29eb25163f4809 1 parent 56c76c0
aledalgrande authored
Showing with 76 additions and 0 deletions.
  1. +20 −0 MIT-LICENSE
  2. +13 −0 README
  3. +23 −0 Rakefile
  4. 0  {templates → generators/authlogic_generator}/USAGE
  5. 0  { → generators/authlogic_generator}/authlogic_generator_generator.rb
  6. 0  {templates → generators/authlogic_generator}/lib/insert_routes.rb
  7. 0  { → generators/authlogic_generator/templates}/USAGE
  8. 0  { → generators/authlogic_generator}/templates/authlogic_generator.rb
  9. 0  { → generators/authlogic_generator}/templates/controllers/activations_controller.rb
  10. 0  { → generators/authlogic_generator}/templates/controllers/password_resets_controller.rb
  11. 0  { → generators/authlogic_generator}/templates/controllers/user_sessions_controller.rb
  12. 0  { → generators/authlogic_generator}/templates/controllers/users_controller.rb
  13. 0  { → generators/authlogic_generator}/templates/lib/authlogic_user.rb
  14. 0  { → generators/authlogic_generator/templates}/lib/insert_routes.rb
  15. 0  { → generators/authlogic_generator}/templates/migrate/create_users_and_sessions.rb
  16. 0  { → generators/authlogic_generator}/templates/models/notifier.rb
  17. 0  { → generators/authlogic_generator}/templates/models/user.rb
  18. 0  { → generators/authlogic_generator}/templates/models/user_session.rb
  19. 0  { → generators/authlogic_generator}/templates/views/activations/new.html.erb
  20. 0  { → generators/authlogic_generator}/templates/views/layouts/_usernav.html.erb
  21. 0  { → generators/authlogic_generator}/templates/views/notifier/activation_confirmation.text.html.erb
  22. 0  { → generators/authlogic_generator}/templates/views/notifier/activation_confirmation.text.plain.erb
  23. 0  { → generators/authlogic_generator}/templates/views/notifier/activation_instructions.text.html.erb
  24. 0  { → generators/authlogic_generator}/templates/views/notifier/activation_instructions.text.plain.erb
  25. 0  { → generators/authlogic_generator}/templates/views/notifier/password_reset_instructions.text.html.erb
  26. 0  { → generators/authlogic_generator}/templates/views/notifier/password_reset_instructions.text.plain.erb
  27. 0  { → generators/authlogic_generator}/templates/views/password_resets/activate.html.erb
  28. 0  { → generators/authlogic_generator}/templates/views/password_resets/index.html.erb
  29. 0  { → generators/authlogic_generator}/templates/views/password_resets/show.html.erb
  30. 0  { → generators/authlogic_generator}/templates/views/user_sessions/new.html.erb
  31. 0  { → generators/authlogic_generator}/templates/views/users/_form.html.erb
  32. 0  { → generators/authlogic_generator}/templates/views/users/edit.html.erb
  33. 0  { → generators/authlogic_generator}/templates/views/users/new.html.erb
  34. 0  { → generators/authlogic_generator}/templates/views/users/private.html.erb
  35. 0  { → generators/authlogic_generator}/templates/views/users/public.html.erb
  36. +1 −0  install.rb
  37. +2 −0  lib/authlogic_generator.rb
  38. +1 −0  rails/init.rb
  39. +4 −0 tasks/authlogic_generator_tasks.rake
  40. +8 −0 test/authlogic_generator_test.rb
  41. +3 −0  test/test_helper.rb
  42. +1 −0  uninstall.rb
View
20 MIT-LICENSE
@@ -0,0 +1,20 @@
+Copyright (c) 2009 [name of plugin creator]
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
13 README
@@ -0,0 +1,13 @@
+AuthlogicGenerator
+==================
+
+Introduction goes here.
+
+
+Example
+=======
+
+Example goes here.
+
+
+Copyright (c) 2009 [name of plugin creator], released under the MIT license
View
23 Rakefile
@@ -0,0 +1,23 @@
+require 'rake'
+require 'rake/testtask'
+require 'rake/rdoctask'
+
+desc 'Default: run unit tests.'
+task :default => :test
+
+desc 'Test the authlogic_generator plugin.'
+Rake::TestTask.new(:test) do |t|
+ t.libs << 'lib'
+ t.libs << 'test'
+ t.pattern = 'test/**/*_test.rb'
+ t.verbose = true
+end
+
+desc 'Generate documentation for the authlogic_generator plugin.'
+Rake::RDocTask.new(:rdoc) do |rdoc|
+ rdoc.rdoc_dir = 'rdoc'
+ rdoc.title = 'AuthlogicGenerator'
+ rdoc.options << '--line-numbers' << '--inline-source'
+ rdoc.rdoc_files.include('README')
+ rdoc.rdoc_files.include('lib/**/*.rb')
+end
View
0  templates/USAGE → generators/authlogic_generator/USAGE
File renamed without changes
View
0  authlogic_generator_generator.rb → ...hlogic_generator/authlogic_generator_generator.rb
File renamed without changes
View
0  templates/lib/insert_routes.rb → generators/authlogic_generator/lib/insert_routes.rb
File renamed without changes
View
0  USAGE → generators/authlogic_generator/templates/USAGE
File renamed without changes
View
0  templates/authlogic_generator.rb → ...hlogic_generator/templates/authlogic_generator.rb
File renamed without changes
View
0  templates/controllers/activations_controller.rb → ...r/templates/controllers/activations_controller.rb
File renamed without changes
View
0  templates/controllers/password_resets_controller.rb → ...mplates/controllers/password_resets_controller.rb
File renamed without changes
View
0  templates/controllers/user_sessions_controller.rb → ...templates/controllers/user_sessions_controller.rb
File renamed without changes
View
0  templates/controllers/users_controller.rb → ...nerator/templates/controllers/users_controller.rb
File renamed without changes
View
0  templates/lib/authlogic_user.rb → ...thlogic_generator/templates/lib/authlogic_user.rb
File renamed without changes
View
0  lib/insert_routes.rb → ...uthlogic_generator/templates/lib/insert_routes.rb
File renamed without changes
View
0  templates/migrate/create_users_and_sessions.rb → ...or/templates/migrate/create_users_and_sessions.rb
File renamed without changes
View
0  templates/models/notifier.rb → .../authlogic_generator/templates/models/notifier.rb
File renamed without changes
View
0  templates/models/user.rb → ...tors/authlogic_generator/templates/models/user.rb
File renamed without changes
View
0  templates/models/user_session.rb → ...hlogic_generator/templates/models/user_session.rb
File renamed without changes
View
0  templates/views/activations/new.html.erb → ...enerator/templates/views/activations/new.html.erb
File renamed without changes
View
0  templates/views/layouts/_usernav.html.erb → ...nerator/templates/views/layouts/_usernav.html.erb
File renamed without changes
View
0  ...ws/notifier/activation_confirmation.text.html.erb → ...ws/notifier/activation_confirmation.text.html.erb
File renamed without changes
View
0  ...s/notifier/activation_confirmation.text.plain.erb → ...s/notifier/activation_confirmation.text.plain.erb
File renamed without changes
View
0  ...ws/notifier/activation_instructions.text.html.erb → ...ws/notifier/activation_instructions.text.html.erb
File renamed without changes
View
0  ...s/notifier/activation_instructions.text.plain.erb → ...s/notifier/activation_instructions.text.plain.erb
File renamed without changes
View
0  ...otifier/password_reset_instructions.text.html.erb → ...otifier/password_reset_instructions.text.html.erb
File renamed without changes
View
0  ...tifier/password_reset_instructions.text.plain.erb → ...tifier/password_reset_instructions.text.plain.erb
File renamed without changes
View
0  templates/views/password_resets/activate.html.erb → ...templates/views/password_resets/activate.html.erb
File renamed without changes
View
0  templates/views/password_resets/index.html.erb → ...or/templates/views/password_resets/index.html.erb
File renamed without changes
View
0  templates/views/password_resets/show.html.erb → ...tor/templates/views/password_resets/show.html.erb
File renamed without changes
View
0  templates/views/user_sessions/new.html.erb → ...erator/templates/views/user_sessions/new.html.erb
File renamed without changes
View
0  templates/views/users/_form.html.erb → ...ic_generator/templates/views/users/_form.html.erb
File renamed without changes
View
0  templates/views/users/edit.html.erb → ...gic_generator/templates/views/users/edit.html.erb
File renamed without changes
View
0  templates/views/users/new.html.erb → ...ogic_generator/templates/views/users/new.html.erb
File renamed without changes
View
0  templates/views/users/private.html.erb → ..._generator/templates/views/users/private.html.erb
File renamed without changes
View
0  templates/views/users/public.html.erb → ...c_generator/templates/views/users/public.html.erb
File renamed without changes
View
1  install.rb
@@ -0,0 +1 @@
+# Install hook code here
View
2  lib/authlogic_generator.rb
@@ -0,0 +1,2 @@
+# AuthlogicGenerator
+require 'authlogic_generator'
View
1  rails/init.rb
@@ -0,0 +1 @@
+# Include hook code here
View
4 tasks/authlogic_generator_tasks.rake
@@ -0,0 +1,4 @@
+# desc "Explaining what the task does"
+# task :authlogic_generator do
+# # Task goes here
+# end
View
8 test/authlogic_generator_test.rb
@@ -0,0 +1,8 @@
+require 'test_helper'
+
+class AuthlogicGeneratorTest < ActiveSupport::TestCase
+ # Replace this with your real tests.
+ test "the truth" do
+ assert true
+ end
+end
View
3  test/test_helper.rb
@@ -0,0 +1,3 @@
+require 'rubygems'
+require 'active_support'
+require 'active_support/test_case'
View
1  uninstall.rb
@@ -0,0 +1 @@
+# Uninstall hook code here
Please sign in to comment.
Something went wrong with that request. Please try again.