flexi_generators 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (137) hide show
  1. data/README.textile +71 -0
  2. data/Rakefile +38 -0
  3. data/VERSION +1 -0
  4. data/flexi_generators.gemspec +176 -0
  5. data/flexi_template.rb +28 -0
  6. data/generators/flexi_authentication/USAGE +50 -0
  7. data/generators/flexi_authentication/flexi_authentication_generator.rb +127 -0
  8. data/generators/flexi_authentication/lib/insert_commands.rb +74 -0
  9. data/generators/flexi_authentication/templates/admin_users_controller.rb +60 -0
  10. data/generators/flexi_authentication/templates/authentication.rb +61 -0
  11. data/generators/flexi_authentication/templates/authlogic_session.rb +2 -0
  12. data/generators/flexi_authentication/templates/fixtures.yml +24 -0
  13. data/generators/flexi_authentication/templates/migration.rb +30 -0
  14. data/generators/flexi_authentication/templates/sessions_controller.rb +52 -0
  15. data/generators/flexi_authentication/templates/sessions_helper.rb +2 -0
  16. data/generators/flexi_authentication/templates/tests/rspec/sessions_controller.rb +39 -0
  17. data/generators/flexi_authentication/templates/tests/rspec/user.rb +83 -0
  18. data/generators/flexi_authentication/templates/tests/rspec/users_controller.rb +26 -0
  19. data/generators/flexi_authentication/templates/tests/shoulda/sessions_controller.rb +40 -0
  20. data/generators/flexi_authentication/templates/tests/shoulda/user.rb +85 -0
  21. data/generators/flexi_authentication/templates/tests/shoulda/users_controller.rb +27 -0
  22. data/generators/flexi_authentication/templates/tests/testunit/sessions_controller.rb +36 -0
  23. data/generators/flexi_authentication/templates/tests/testunit/user.rb +88 -0
  24. data/generators/flexi_authentication/templates/tests/testunit/users_controller.rb +23 -0
  25. data/generators/flexi_authentication/templates/user.rb +43 -0
  26. data/generators/flexi_authentication/templates/users_helper.rb +2 -0
  27. data/generators/flexi_authentication/templates/views/erb/admin_user_edit.html.erb +23 -0
  28. data/generators/flexi_authentication/templates/views/erb/admin_user_index.html.erb +33 -0
  29. data/generators/flexi_authentication/templates/views/erb/admin_user_new.html.erb +23 -0
  30. data/generators/flexi_authentication/templates/views/erb/login.html.erb +38 -0
  31. data/generators/flexi_layout/USAGE +18 -0
  32. data/generators/flexi_layout/flexi_layout_generator.rb +51 -0
  33. data/generators/flexi_layout/lib/insert_commands.rb +28 -0
  34. data/generators/flexi_layout/templates/add.png +0 -0
  35. data/generators/flexi_layout/templates/admin_home_controller.rb +6 -0
  36. data/generators/flexi_layout/templates/admin_home_index.html.erb +16 -0
  37. data/generators/flexi_layout/templates/bg.png +0 -0
  38. data/generators/flexi_layout/templates/custom_field_error.rb +12 -0
  39. data/generators/flexi_layout/templates/helper.rb +19 -0
  40. data/generators/flexi_layout/templates/home_controller.rb +9 -0
  41. data/generators/flexi_layout/templates/home_helper.rb +2 -0
  42. data/generators/flexi_layout/templates/home_index.html.erb +17 -0
  43. data/generators/flexi_layout/templates/inflector_portuguese.rb +62 -0
  44. data/generators/flexi_layout/templates/layout.html.erb +47 -0
  45. data/generators/flexi_layout/templates/layout_login.html.erb +27 -0
  46. data/generators/flexi_layout/templates/layout_site.html.erb +22 -0
  47. data/generators/flexi_layout/templates/logo.png +0 -0
  48. data/generators/flexi_layout/templates/pt-BR.yml +143 -0
  49. data/generators/flexi_layout/templates/stylesheet.css +132 -0
  50. data/generators/flexi_layout/templates/stylesheet_login.css +73 -0
  51. data/generators/flexi_layout/templates/stylesheet_site.css +63 -0
  52. data/generators/flexi_layout/templates/users.png +0 -0
  53. data/generators/flexi_resource_scaffold/USAGE +29 -0
  54. data/generators/flexi_resource_scaffold/flexi_resource_scaffold_generator.rb +179 -0
  55. data/generators/flexi_resource_scaffold/templates/controller.rb +29 -0
  56. data/generators/flexi_resource_scaffold/templates/fixtures.yml +10 -0
  57. data/generators/flexi_resource_scaffold/templates/functional_test.rb +57 -0
  58. data/generators/flexi_resource_scaffold/templates/helper.rb +2 -0
  59. data/generators/flexi_resource_scaffold/templates/migration.rb +15 -0
  60. data/generators/flexi_resource_scaffold/templates/model.rb +2 -0
  61. data/generators/flexi_resource_scaffold/templates/old_migration.rb +13 -0
  62. data/generators/flexi_resource_scaffold/templates/rspec/functional_spec.rb +255 -0
  63. data/generators/flexi_resource_scaffold/templates/rspec/helper_spec.rb +11 -0
  64. data/generators/flexi_resource_scaffold/templates/rspec/routing_spec.rb +61 -0
  65. data/generators/flexi_resource_scaffold/templates/rspec/unit_spec.rb +11 -0
  66. data/generators/flexi_resource_scaffold/templates/rspec/views/edit_spec.rb +28 -0
  67. data/generators/flexi_resource_scaffold/templates/rspec/views/index_spec.rb +26 -0
  68. data/generators/flexi_resource_scaffold/templates/rspec/views/new_spec.rb +30 -0
  69. data/generators/flexi_resource_scaffold/templates/rspec/views/show_spec.rb +25 -0
  70. data/generators/flexi_resource_scaffold/templates/shoulda_functional_test.rb +19 -0
  71. data/generators/flexi_resource_scaffold/templates/unit_test.rb +7 -0
  72. data/generators/flexi_resource_scaffold/templates/view__form.erb +6 -0
  73. data/generators/flexi_resource_scaffold/templates/view__form.haml +5 -0
  74. data/generators/flexi_resource_scaffold/templates/view_edit.erb +8 -0
  75. data/generators/flexi_resource_scaffold/templates/view_edit.haml +11 -0
  76. data/generators/flexi_resource_scaffold/templates/view_index.erb +27 -0
  77. data/generators/flexi_resource_scaffold/templates/view_index.haml +19 -0
  78. data/generators/flexi_resource_scaffold/templates/view_new.erb +9 -0
  79. data/generators/flexi_resource_scaffold/templates/view_new.haml +9 -0
  80. data/generators/flexi_resource_scaffold/templates/view_show.erb +10 -0
  81. data/generators/flexi_resource_scaffold/templates/view_show.haml +9 -0
  82. data/generators/flexi_scaffold/USAGE +51 -0
  83. data/generators/flexi_scaffold/flexi_scaffold_generator.rb +232 -0
  84. data/generators/flexi_scaffold/templates/actions/create.rb +9 -0
  85. data/generators/flexi_scaffold/templates/actions/destroy.rb +6 -0
  86. data/generators/flexi_scaffold/templates/actions/edit.rb +3 -0
  87. data/generators/flexi_scaffold/templates/actions/index.rb +4 -0
  88. data/generators/flexi_scaffold/templates/actions/new.rb +3 -0
  89. data/generators/flexi_scaffold/templates/actions/show.rb +3 -0
  90. data/generators/flexi_scaffold/templates/actions/update.rb +9 -0
  91. data/generators/flexi_scaffold/templates/controller.rb +5 -0
  92. data/generators/flexi_scaffold/templates/fixtures.yml +9 -0
  93. data/generators/flexi_scaffold/templates/helper.rb +2 -0
  94. data/generators/flexi_scaffold/templates/migration.rb +16 -0
  95. data/generators/flexi_scaffold/templates/model.rb +3 -0
  96. data/generators/flexi_scaffold/templates/tests/rspec/actions/create.rb +11 -0
  97. data/generators/flexi_scaffold/templates/tests/rspec/actions/destroy.rb +6 -0
  98. data/generators/flexi_scaffold/templates/tests/rspec/actions/edit.rb +4 -0
  99. data/generators/flexi_scaffold/templates/tests/rspec/actions/index.rb +4 -0
  100. data/generators/flexi_scaffold/templates/tests/rspec/actions/new.rb +4 -0
  101. data/generators/flexi_scaffold/templates/tests/rspec/actions/show.rb +4 -0
  102. data/generators/flexi_scaffold/templates/tests/rspec/actions/update.rb +11 -0
  103. data/generators/flexi_scaffold/templates/tests/rspec/controller.rb +8 -0
  104. data/generators/flexi_scaffold/templates/tests/rspec/model.rb +7 -0
  105. data/generators/flexi_scaffold/templates/tests/shoulda/actions/create.rb +13 -0
  106. data/generators/flexi_scaffold/templates/tests/shoulda/actions/destroy.rb +8 -0
  107. data/generators/flexi_scaffold/templates/tests/shoulda/actions/edit.rb +6 -0
  108. data/generators/flexi_scaffold/templates/tests/shoulda/actions/index.rb +6 -0
  109. data/generators/flexi_scaffold/templates/tests/shoulda/actions/new.rb +6 -0
  110. data/generators/flexi_scaffold/templates/tests/shoulda/actions/show.rb +6 -0
  111. data/generators/flexi_scaffold/templates/tests/shoulda/actions/update.rb +13 -0
  112. data/generators/flexi_scaffold/templates/tests/shoulda/controller.rb +5 -0
  113. data/generators/flexi_scaffold/templates/tests/shoulda/model.rb +7 -0
  114. data/generators/flexi_scaffold/templates/tests/testunit/actions/create.rb +11 -0
  115. data/generators/flexi_scaffold/templates/tests/testunit/actions/destroy.rb +6 -0
  116. data/generators/flexi_scaffold/templates/tests/testunit/actions/edit.rb +4 -0
  117. data/generators/flexi_scaffold/templates/tests/testunit/actions/index.rb +4 -0
  118. data/generators/flexi_scaffold/templates/tests/testunit/actions/new.rb +4 -0
  119. data/generators/flexi_scaffold/templates/tests/testunit/actions/show.rb +4 -0
  120. data/generators/flexi_scaffold/templates/tests/testunit/actions/update.rb +11 -0
  121. data/generators/flexi_scaffold/templates/tests/testunit/controller.rb +5 -0
  122. data/generators/flexi_scaffold/templates/tests/testunit/model.rb +7 -0
  123. data/generators/flexi_scaffold/templates/views/erb/_form.html.erb +6 -0
  124. data/generators/flexi_scaffold/templates/views/erb/edit.html.erb +8 -0
  125. data/generators/flexi_scaffold/templates/views/erb/index.html.erb +41 -0
  126. data/generators/flexi_scaffold/templates/views/erb/new.html.erb +10 -0
  127. data/generators/flexi_scaffold/templates/views/erb/show.html.erb +19 -0
  128. data/generators/flexi_scaffold/templates/views/haml/_form.html.haml +10 -0
  129. data/generators/flexi_scaffold/templates/views/haml/edit.html.haml +14 -0
  130. data/generators/flexi_scaffold/templates/views/haml/index.html.haml +25 -0
  131. data/generators/flexi_scaffold/templates/views/haml/new.html.haml +7 -0
  132. data/generators/flexi_scaffold/templates/views/haml/show.html.haml +20 -0
  133. data/init.rb +2 -0
  134. data/lib/flexi_generators.rb +4 -0
  135. data/test/flexi_generators_test.rb +8 -0
  136. data/test/test_helper.rb +3 -0
  137. metadata +203 -0
@@ -0,0 +1,41 @@
1
+ <%% title("<%= plural_name.titleize %>")%>
2
+
3
+ <%- if action? :new -%>
4
+ <div id="new_box">
5
+ <%%= link_to('Adicionar <%= singular_name.titleize %>', new_<%= singular_name %>_path, :class =>'new') %>
6
+ </div>
7
+ <%- end -%>
8
+
9
+ <table cellspacing="1" cellpadding="2">
10
+ <tr>
11
+ <%- for attribute in attributes -%>
12
+ <th><%= attribute.column.human_name.titleize %></th>
13
+ <%- end -%>
14
+ <%- if action? :show -%>
15
+ <th></th>
16
+ <%- end -%>
17
+ <%- if action? :edit -%>
18
+ <th></th>
19
+ <%- end -%>
20
+ <%- if action? :destroy -%>
21
+ <th></th>
22
+ <%- end -%>
23
+ </tr>
24
+ <%% for <%= singular_name %> in @<%= plural_name %> %>
25
+ <tr>
26
+ <%- for attribute in attributes -%>
27
+ <td><%%=h <%= singular_name %>.<%= attribute.name %> %></td>
28
+ <% end %>
29
+ <%- if action? :show -%>
30
+ <td width="6%" align="center"><%%= link_to "Ver", <%= singular_name %>, :class=>'view' %></td>
31
+ <%- end -%>
32
+ <%- if action? :edit -%>
33
+ <td width="6%" align="center"><%%= link_to "Editar", edit_<%= singular_name %>_path(<%= singular_name %>), :class=>'edit' %></td>
34
+ <%- end -%>
35
+ <%- if action? :destroy -%>
36
+ <td width="6%" align="center"><%%= link_to "Excluir", <%= singular_name %>, :class=>'delete', :confirm => 'Tem certeza que deseja excluir?', :method => :delete %></td>
37
+ <%- end -%>
38
+ </tr>
39
+ <%% end %>
40
+ </table>
41
+ <%%= will_paginate @<%= plural_name %>, :previous_label=>'&laquo; Anterior', :next_label=>'Próximo &raquo;' %>
@@ -0,0 +1,10 @@
1
+ <%% title("Nova <%= singular_name.titleize %>") %>
2
+
3
+ <%% form_for @<%= singular_name %> do |f| %>
4
+ <%= render_form %>
5
+ <div id="control_box">
6
+ <%%= submit_tag "Salvar" %> | <% if action? :index -%> <%%= link_to "Cancelar", <%= plural_name %>_path %> <% end %>
7
+ </div>
8
+ <%% end %>
9
+
10
+
@@ -0,0 +1,19 @@
1
+ <%% title "<%= singular_name.titleize %>" %>
2
+ <%- for attribute in attributes -%>
3
+ <p>
4
+ <strong><%= attribute.column.human_name.titleize %>:</strong>
5
+ <%%=h @<%= singular_name %>.<%= attribute.name %> %>
6
+ </p>
7
+ <%- end -%>
8
+
9
+ <div id="control_box">
10
+ <%- if action? :index -%>
11
+ <%%= link_to "Voltar", <%= plural_name %>_path, :class=>'back' %> |
12
+ <%- end -%>
13
+ <%- if action? :edit -%>
14
+ <%%= link_to "Editar", edit_<%= singular_name %>_path(@<%= singular_name %>), :class=>'edit' %> |
15
+ <%- end -%>
16
+ <%- if action? :destroy -%>
17
+ <%%= link_to "Excluir", @<%= singular_name %>, :confirm => 'Tem certeza que deseja excluir?', :class=>'delete', :method => :delete %>
18
+ <%- end -%>
19
+ </div>
@@ -0,0 +1,10 @@
1
+ - form_for @<%= singular_name %> do |f|
2
+ = f.error_messages
3
+ <%- for attribute in attributes -%>
4
+ %p
5
+ = f.label :<%= attribute.name %>
6
+ %br
7
+ = f.<%= attribute.field_type %> :<%= attribute.name %>
8
+ <%- end -%>
9
+ %p
10
+ = f.submit "Submit"
@@ -0,0 +1,14 @@
1
+ - title "Edit <%= singular_name.titleize %>"
2
+
3
+ <%= render_form %>
4
+
5
+ <%- if actions? :show, :index -%>
6
+ %p
7
+ <%- if action? :show -%>
8
+ = link_to "Show", <%= singular_name %>_path(@<%= singular_name %>)
9
+ |
10
+ <%- end -%>
11
+ <%- if action? :index -%>
12
+ = link_to "View All", <%= plural_name %>_path
13
+ <%- end -%>
14
+ <%- end -%>
@@ -0,0 +1,25 @@
1
+ - title "<%= plural_name.titleize %>"
2
+
3
+ %table
4
+ %tr
5
+ <%- for attribute in attributes -%>
6
+ %th <%= attribute.column.human_name %>
7
+ <%- end -%>
8
+ - for <%= singular_name %> in @<%= plural_name %>
9
+ %tr
10
+ <%- for attribute in attributes -%>
11
+ %td= h <%= singular_name %>.<%= attribute.name %>
12
+ <%- end -%>
13
+ <%- if action? :show -%>
14
+ %td= link_to 'Show', <%= singular_name %>
15
+ <%- end -%>
16
+ <%- if action? :edit -%>
17
+ %td= link_to 'Edit', edit_<%= singular_name %>_path(<%= singular_name %>)
18
+ <%- end -%>
19
+ <%- if action? :destroy -%>
20
+ %td= link_to 'Destroy', <%= singular_name %>, :confirm => 'Are you sure?', :method => :delete
21
+ <%- end -%>
22
+
23
+ <%- if actions? :new -%>
24
+ %p= link_to "New <%= singular_name.titleize %>", new_<%= singular_name %>_path
25
+ <%- end -%>
@@ -0,0 +1,7 @@
1
+ - title "New <%= singular_name.titleize %>"
2
+
3
+ <%= render_form %>
4
+
5
+ <%- if action? :index -%>
6
+ %p= link_to "Back to List", <%= plural_name %>_path
7
+ <%- end -%>
@@ -0,0 +1,20 @@
1
+ - title "<%= singular_name.titleize %>"
2
+
3
+ <%- for attribute in attributes -%>
4
+ %p
5
+ %strong <%= attribute.column.human_name.titleize %>:
6
+ =h @<%= singular_name %>.<%= attribute.name %>
7
+ <%- end -%>
8
+
9
+ %p
10
+ <%- if action? :edit -%>
11
+ = link_to "Edit", edit_<%= singular_name %>_path(@<%= singular_name %>)
12
+ |
13
+ <%- end -%>
14
+ <%- if action? :destroy -%>
15
+ = link_to "Destroy", @<%= singular_name %>, :confirm => 'Are you sure?', :method => :delete
16
+ |
17
+ <%- end -%>
18
+ <%- if action? :index -%>
19
+ = link_to "View All", <%= plural_name %>_path
20
+ <%- end -%>
data/init.rb ADDED
@@ -0,0 +1,2 @@
1
+ # Include hook code here
2
+ require 'flexi_generators'
@@ -0,0 +1,4 @@
1
+ # Flexi-generators
2
+ module FlexiGenerators
3
+ # nothing to see here, the real action is under generators
4
+ end
@@ -0,0 +1,8 @@
1
+ require 'test_helper'
2
+
3
+ class Flexi-generatorsTest < ActiveSupport::TestCase
4
+ # Replace this with your real tests.
5
+ test "the truth" do
6
+ assert true
7
+ end
8
+ end
@@ -0,0 +1,3 @@
1
+ require 'rubygems'
2
+ require 'active_support'
3
+ require 'active_support/test_case'
metadata ADDED
@@ -0,0 +1,203 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: flexi_generators
3
+ version: !ruby/object:Gem::Version
4
+ hash: 27
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 0
10
+ version: 0.1.0
11
+ platform: ruby
12
+ authors:
13
+ - Leandro de Oliveira
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-09-09 00:00:00 -03:00
19
+ default_executable:
20
+ dependencies: []
21
+
22
+ description: Generates authentication and custom scaffold templates.
23
+ email: ol.leandro@gmail.com
24
+ executables: []
25
+
26
+ extensions: []
27
+
28
+ extra_rdoc_files:
29
+ - README.textile
30
+ files:
31
+ - README.textile
32
+ - Rakefile
33
+ - VERSION
34
+ - flexi_generators.gemspec
35
+ - flexi_template.rb
36
+ - generators/flexi_authentication/USAGE
37
+ - generators/flexi_authentication/flexi_authentication_generator.rb
38
+ - generators/flexi_authentication/lib/insert_commands.rb
39
+ - generators/flexi_authentication/templates/admin_users_controller.rb
40
+ - generators/flexi_authentication/templates/authentication.rb
41
+ - generators/flexi_authentication/templates/authlogic_session.rb
42
+ - generators/flexi_authentication/templates/fixtures.yml
43
+ - generators/flexi_authentication/templates/migration.rb
44
+ - generators/flexi_authentication/templates/sessions_controller.rb
45
+ - generators/flexi_authentication/templates/sessions_helper.rb
46
+ - generators/flexi_authentication/templates/tests/rspec/sessions_controller.rb
47
+ - generators/flexi_authentication/templates/tests/rspec/user.rb
48
+ - generators/flexi_authentication/templates/tests/rspec/users_controller.rb
49
+ - generators/flexi_authentication/templates/tests/shoulda/sessions_controller.rb
50
+ - generators/flexi_authentication/templates/tests/shoulda/user.rb
51
+ - generators/flexi_authentication/templates/tests/shoulda/users_controller.rb
52
+ - generators/flexi_authentication/templates/tests/testunit/sessions_controller.rb
53
+ - generators/flexi_authentication/templates/tests/testunit/user.rb
54
+ - generators/flexi_authentication/templates/tests/testunit/users_controller.rb
55
+ - generators/flexi_authentication/templates/user.rb
56
+ - generators/flexi_authentication/templates/users_helper.rb
57
+ - generators/flexi_authentication/templates/views/erb/admin_user_edit.html.erb
58
+ - generators/flexi_authentication/templates/views/erb/admin_user_index.html.erb
59
+ - generators/flexi_authentication/templates/views/erb/admin_user_new.html.erb
60
+ - generators/flexi_authentication/templates/views/erb/login.html.erb
61
+ - generators/flexi_layout/USAGE
62
+ - generators/flexi_layout/flexi_layout_generator.rb
63
+ - generators/flexi_layout/lib/insert_commands.rb
64
+ - generators/flexi_layout/templates/add.png
65
+ - generators/flexi_layout/templates/admin_home_controller.rb
66
+ - generators/flexi_layout/templates/admin_home_index.html.erb
67
+ - generators/flexi_layout/templates/bg.png
68
+ - generators/flexi_layout/templates/custom_field_error.rb
69
+ - generators/flexi_layout/templates/helper.rb
70
+ - generators/flexi_layout/templates/home_controller.rb
71
+ - generators/flexi_layout/templates/home_helper.rb
72
+ - generators/flexi_layout/templates/home_index.html.erb
73
+ - generators/flexi_layout/templates/inflector_portuguese.rb
74
+ - generators/flexi_layout/templates/layout.html.erb
75
+ - generators/flexi_layout/templates/layout_login.html.erb
76
+ - generators/flexi_layout/templates/layout_site.html.erb
77
+ - generators/flexi_layout/templates/logo.png
78
+ - generators/flexi_layout/templates/pt-BR.yml
79
+ - generators/flexi_layout/templates/stylesheet.css
80
+ - generators/flexi_layout/templates/stylesheet_login.css
81
+ - generators/flexi_layout/templates/stylesheet_site.css
82
+ - generators/flexi_layout/templates/users.png
83
+ - generators/flexi_resource_scaffold/USAGE
84
+ - generators/flexi_resource_scaffold/flexi_resource_scaffold_generator.rb
85
+ - generators/flexi_resource_scaffold/templates/controller.rb
86
+ - generators/flexi_resource_scaffold/templates/fixtures.yml
87
+ - generators/flexi_resource_scaffold/templates/functional_test.rb
88
+ - generators/flexi_resource_scaffold/templates/helper.rb
89
+ - generators/flexi_resource_scaffold/templates/migration.rb
90
+ - generators/flexi_resource_scaffold/templates/model.rb
91
+ - generators/flexi_resource_scaffold/templates/old_migration.rb
92
+ - generators/flexi_resource_scaffold/templates/rspec/functional_spec.rb
93
+ - generators/flexi_resource_scaffold/templates/rspec/helper_spec.rb
94
+ - generators/flexi_resource_scaffold/templates/rspec/routing_spec.rb
95
+ - generators/flexi_resource_scaffold/templates/rspec/unit_spec.rb
96
+ - generators/flexi_resource_scaffold/templates/rspec/views/edit_spec.rb
97
+ - generators/flexi_resource_scaffold/templates/rspec/views/index_spec.rb
98
+ - generators/flexi_resource_scaffold/templates/rspec/views/new_spec.rb
99
+ - generators/flexi_resource_scaffold/templates/rspec/views/show_spec.rb
100
+ - generators/flexi_resource_scaffold/templates/shoulda_functional_test.rb
101
+ - generators/flexi_resource_scaffold/templates/unit_test.rb
102
+ - generators/flexi_resource_scaffold/templates/view__form.erb
103
+ - generators/flexi_resource_scaffold/templates/view__form.haml
104
+ - generators/flexi_resource_scaffold/templates/view_edit.erb
105
+ - generators/flexi_resource_scaffold/templates/view_edit.haml
106
+ - generators/flexi_resource_scaffold/templates/view_index.erb
107
+ - generators/flexi_resource_scaffold/templates/view_index.haml
108
+ - generators/flexi_resource_scaffold/templates/view_new.erb
109
+ - generators/flexi_resource_scaffold/templates/view_new.haml
110
+ - generators/flexi_resource_scaffold/templates/view_show.erb
111
+ - generators/flexi_resource_scaffold/templates/view_show.haml
112
+ - generators/flexi_scaffold/USAGE
113
+ - generators/flexi_scaffold/flexi_scaffold_generator.rb
114
+ - generators/flexi_scaffold/templates/actions/create.rb
115
+ - generators/flexi_scaffold/templates/actions/destroy.rb
116
+ - generators/flexi_scaffold/templates/actions/edit.rb
117
+ - generators/flexi_scaffold/templates/actions/index.rb
118
+ - generators/flexi_scaffold/templates/actions/new.rb
119
+ - generators/flexi_scaffold/templates/actions/show.rb
120
+ - generators/flexi_scaffold/templates/actions/update.rb
121
+ - generators/flexi_scaffold/templates/controller.rb
122
+ - generators/flexi_scaffold/templates/fixtures.yml
123
+ - generators/flexi_scaffold/templates/helper.rb
124
+ - generators/flexi_scaffold/templates/migration.rb
125
+ - generators/flexi_scaffold/templates/model.rb
126
+ - generators/flexi_scaffold/templates/tests/rspec/actions/create.rb
127
+ - generators/flexi_scaffold/templates/tests/rspec/actions/destroy.rb
128
+ - generators/flexi_scaffold/templates/tests/rspec/actions/edit.rb
129
+ - generators/flexi_scaffold/templates/tests/rspec/actions/index.rb
130
+ - generators/flexi_scaffold/templates/tests/rspec/actions/new.rb
131
+ - generators/flexi_scaffold/templates/tests/rspec/actions/show.rb
132
+ - generators/flexi_scaffold/templates/tests/rspec/actions/update.rb
133
+ - generators/flexi_scaffold/templates/tests/rspec/controller.rb
134
+ - generators/flexi_scaffold/templates/tests/rspec/model.rb
135
+ - generators/flexi_scaffold/templates/tests/shoulda/actions/create.rb
136
+ - generators/flexi_scaffold/templates/tests/shoulda/actions/destroy.rb
137
+ - generators/flexi_scaffold/templates/tests/shoulda/actions/edit.rb
138
+ - generators/flexi_scaffold/templates/tests/shoulda/actions/index.rb
139
+ - generators/flexi_scaffold/templates/tests/shoulda/actions/new.rb
140
+ - generators/flexi_scaffold/templates/tests/shoulda/actions/show.rb
141
+ - generators/flexi_scaffold/templates/tests/shoulda/actions/update.rb
142
+ - generators/flexi_scaffold/templates/tests/shoulda/controller.rb
143
+ - generators/flexi_scaffold/templates/tests/shoulda/model.rb
144
+ - generators/flexi_scaffold/templates/tests/testunit/actions/create.rb
145
+ - generators/flexi_scaffold/templates/tests/testunit/actions/destroy.rb
146
+ - generators/flexi_scaffold/templates/tests/testunit/actions/edit.rb
147
+ - generators/flexi_scaffold/templates/tests/testunit/actions/index.rb
148
+ - generators/flexi_scaffold/templates/tests/testunit/actions/new.rb
149
+ - generators/flexi_scaffold/templates/tests/testunit/actions/show.rb
150
+ - generators/flexi_scaffold/templates/tests/testunit/actions/update.rb
151
+ - generators/flexi_scaffold/templates/tests/testunit/controller.rb
152
+ - generators/flexi_scaffold/templates/tests/testunit/model.rb
153
+ - generators/flexi_scaffold/templates/views/erb/_form.html.erb
154
+ - generators/flexi_scaffold/templates/views/erb/edit.html.erb
155
+ - generators/flexi_scaffold/templates/views/erb/index.html.erb
156
+ - generators/flexi_scaffold/templates/views/erb/new.html.erb
157
+ - generators/flexi_scaffold/templates/views/erb/show.html.erb
158
+ - generators/flexi_scaffold/templates/views/haml/_form.html.haml
159
+ - generators/flexi_scaffold/templates/views/haml/edit.html.haml
160
+ - generators/flexi_scaffold/templates/views/haml/index.html.haml
161
+ - generators/flexi_scaffold/templates/views/haml/new.html.haml
162
+ - generators/flexi_scaffold/templates/views/haml/show.html.haml
163
+ - init.rb
164
+ - lib/flexi_generators.rb
165
+ - test/flexi_generators_test.rb
166
+ - test/test_helper.rb
167
+ has_rdoc: true
168
+ homepage: http://github.com/leandroo/flexi_generators
169
+ licenses: []
170
+
171
+ post_install_message:
172
+ rdoc_options:
173
+ - --charset=UTF-8
174
+ require_paths:
175
+ - lib
176
+ required_ruby_version: !ruby/object:Gem::Requirement
177
+ none: false
178
+ requirements:
179
+ - - ">="
180
+ - !ruby/object:Gem::Version
181
+ hash: 3
182
+ segments:
183
+ - 0
184
+ version: "0"
185
+ required_rubygems_version: !ruby/object:Gem::Requirement
186
+ none: false
187
+ requirements:
188
+ - - ">="
189
+ - !ruby/object:Gem::Version
190
+ hash: 3
191
+ segments:
192
+ - 0
193
+ version: "0"
194
+ requirements: []
195
+
196
+ rubyforge_project:
197
+ rubygems_version: 1.3.7
198
+ signing_key:
199
+ specification_version: 3
200
+ summary: My useful Rails generator scripts.
201
+ test_files:
202
+ - test/flexi_generators_test.rb
203
+ - test/test_helper.rb