nifty-generators 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +5 -0
- data/Rakefile +12 -2
- data/rails_generators/nifty_authentication/USAGE +50 -0
- data/rails_generators/nifty_authentication/lib/insert_commands.rb +74 -0
- data/rails_generators/nifty_authentication/nifty_authentication_generator.rb +128 -0
- data/rails_generators/nifty_authentication/templates/authentication.rb +61 -0
- data/rails_generators/nifty_authentication/templates/authlogic_session.rb +2 -0
- data/rails_generators/nifty_authentication/templates/fixtures.yml +24 -0
- data/rails_generators/nifty_authentication/templates/migration.rb +20 -0
- data/rails_generators/nifty_authentication/templates/sessions_controller.rb +45 -0
- data/rails_generators/nifty_authentication/templates/sessions_helper.rb +2 -0
- data/rails_generators/nifty_authentication/templates/tests/rspec/sessions_controller.rb +39 -0
- data/rails_generators/nifty_authentication/templates/tests/rspec/user.rb +83 -0
- data/rails_generators/nifty_authentication/templates/tests/rspec/users_controller.rb +26 -0
- data/rails_generators/nifty_authentication/templates/tests/shoulda/sessions_controller.rb +40 -0
- data/rails_generators/nifty_authentication/templates/tests/shoulda/user.rb +85 -0
- data/rails_generators/nifty_authentication/templates/tests/shoulda/users_controller.rb +27 -0
- data/rails_generators/nifty_authentication/templates/tests/testunit/sessions_controller.rb +36 -0
- data/rails_generators/nifty_authentication/templates/tests/testunit/user.rb +88 -0
- data/rails_generators/nifty_authentication/templates/tests/testunit/users_controller.rb +23 -0
- data/rails_generators/nifty_authentication/templates/user.rb +42 -0
- data/rails_generators/nifty_authentication/templates/users_controller.rb +18 -0
- data/rails_generators/nifty_authentication/templates/users_helper.rb +2 -0
- data/rails_generators/nifty_authentication/templates/views/erb/login.html.erb +30 -0
- data/rails_generators/nifty_authentication/templates/views/erb/signup.html.erb +24 -0
- data/rails_generators/nifty_authentication/templates/views/haml/login.html.haml +30 -0
- data/rails_generators/nifty_authentication/templates/views/haml/signup.html.haml +24 -0
- data/rails_generators/nifty_config/USAGE +23 -0
- data/rails_generators/nifty_config/nifty_config_generator.rb +32 -0
- data/rails_generators/nifty_config/templates/config.yml +8 -0
- data/rails_generators/nifty_config/templates/load_config.rb +2 -0
- data/rails_generators/nifty_layout/USAGE +25 -0
- data/rails_generators/nifty_layout/nifty_layout_generator.rb +44 -0
- data/rails_generators/nifty_layout/templates/helper.rb +22 -0
- data/rails_generators/nifty_layout/templates/layout.html.erb +22 -0
- data/rails_generators/nifty_layout/templates/layout.html.haml +19 -0
- data/rails_generators/nifty_layout/templates/stylesheet.css +81 -0
- data/rails_generators/nifty_layout/templates/stylesheet.sass +67 -0
- data/rails_generators/nifty_scaffold/USAGE +51 -0
- data/rails_generators/nifty_scaffold/nifty_scaffold_generator.rb +232 -0
- data/rails_generators/nifty_scaffold/templates/actions/create.rb +9 -0
- data/rails_generators/nifty_scaffold/templates/actions/destroy.rb +6 -0
- data/rails_generators/nifty_scaffold/templates/actions/edit.rb +3 -0
- data/rails_generators/nifty_scaffold/templates/actions/index.rb +3 -0
- data/rails_generators/nifty_scaffold/templates/actions/new.rb +3 -0
- data/rails_generators/nifty_scaffold/templates/actions/show.rb +3 -0
- data/rails_generators/nifty_scaffold/templates/actions/update.rb +9 -0
- data/rails_generators/nifty_scaffold/templates/controller.rb +3 -0
- data/rails_generators/nifty_scaffold/templates/fixtures.yml +9 -0
- data/rails_generators/nifty_scaffold/templates/helper.rb +2 -0
- data/rails_generators/nifty_scaffold/templates/migration.rb +16 -0
- data/rails_generators/nifty_scaffold/templates/model.rb +3 -0
- data/rails_generators/nifty_scaffold/templates/tests/rspec/actions/create.rb +11 -0
- data/rails_generators/nifty_scaffold/templates/tests/rspec/actions/destroy.rb +6 -0
- data/rails_generators/nifty_scaffold/templates/tests/rspec/actions/edit.rb +4 -0
- data/rails_generators/nifty_scaffold/templates/tests/rspec/actions/index.rb +4 -0
- data/rails_generators/nifty_scaffold/templates/tests/rspec/actions/new.rb +4 -0
- data/rails_generators/nifty_scaffold/templates/tests/rspec/actions/show.rb +4 -0
- data/rails_generators/nifty_scaffold/templates/tests/rspec/actions/update.rb +11 -0
- data/rails_generators/nifty_scaffold/templates/tests/rspec/controller.rb +8 -0
- data/rails_generators/nifty_scaffold/templates/tests/rspec/model.rb +7 -0
- data/rails_generators/nifty_scaffold/templates/tests/shoulda/actions/create.rb +13 -0
- data/rails_generators/nifty_scaffold/templates/tests/shoulda/actions/destroy.rb +8 -0
- data/rails_generators/nifty_scaffold/templates/tests/shoulda/actions/edit.rb +6 -0
- data/rails_generators/nifty_scaffold/templates/tests/shoulda/actions/index.rb +6 -0
- data/rails_generators/nifty_scaffold/templates/tests/shoulda/actions/new.rb +6 -0
- data/rails_generators/nifty_scaffold/templates/tests/shoulda/actions/show.rb +6 -0
- data/rails_generators/nifty_scaffold/templates/tests/shoulda/actions/update.rb +13 -0
- data/rails_generators/nifty_scaffold/templates/tests/shoulda/controller.rb +5 -0
- data/rails_generators/nifty_scaffold/templates/tests/shoulda/model.rb +7 -0
- data/rails_generators/nifty_scaffold/templates/tests/testunit/actions/create.rb +11 -0
- data/rails_generators/nifty_scaffold/templates/tests/testunit/actions/destroy.rb +6 -0
- data/rails_generators/nifty_scaffold/templates/tests/testunit/actions/edit.rb +4 -0
- data/rails_generators/nifty_scaffold/templates/tests/testunit/actions/index.rb +4 -0
- data/rails_generators/nifty_scaffold/templates/tests/testunit/actions/new.rb +4 -0
- data/rails_generators/nifty_scaffold/templates/tests/testunit/actions/show.rb +4 -0
- data/rails_generators/nifty_scaffold/templates/tests/testunit/actions/update.rb +11 -0
- data/rails_generators/nifty_scaffold/templates/tests/testunit/controller.rb +5 -0
- data/rails_generators/nifty_scaffold/templates/tests/testunit/model.rb +7 -0
- data/rails_generators/nifty_scaffold/templates/views/erb/_form.html.erb +10 -0
- data/rails_generators/nifty_scaffold/templates/views/erb/edit.html.erb +14 -0
- data/rails_generators/nifty_scaffold/templates/views/erb/index.html.erb +29 -0
- data/rails_generators/nifty_scaffold/templates/views/erb/new.html.erb +7 -0
- data/rails_generators/nifty_scaffold/templates/views/erb/show.html.erb +20 -0
- data/rails_generators/nifty_scaffold/templates/views/haml/_form.html.haml +10 -0
- data/rails_generators/nifty_scaffold/templates/views/haml/edit.html.haml +14 -0
- data/rails_generators/nifty_scaffold/templates/views/haml/index.html.haml +25 -0
- data/rails_generators/nifty_scaffold/templates/views/haml/new.html.haml +7 -0
- data/rails_generators/nifty_scaffold/templates/views/haml/show.html.haml +20 -0
- metadata +88 -1
@@ -0,0 +1,13 @@
|
|
1
|
+
context "create action" do
|
2
|
+
should "render new template when model is invalid" do
|
3
|
+
<%= class_name %>.any_instance.stubs(:valid?).returns(false)
|
4
|
+
post :create
|
5
|
+
assert_template 'new'
|
6
|
+
end
|
7
|
+
|
8
|
+
should "redirect when model is valid" do
|
9
|
+
<%= class_name %>.any_instance.stubs(:valid?).returns(true)
|
10
|
+
post :create
|
11
|
+
assert_redirected_to <%= item_path_for_test('url') %>
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
context "destroy action" do
|
2
|
+
should "destroy model and redirect to index action" do
|
3
|
+
<%= singular_name %> = <%= class_name %>.first
|
4
|
+
delete :destroy, :id => <%= singular_name %>
|
5
|
+
assert_redirected_to <%= items_path('url') %>
|
6
|
+
assert !<%= class_name %>.exists?(<%= singular_name %>.id)
|
7
|
+
end
|
8
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
context "update action" do
|
2
|
+
should "render edit template when model is invalid" do
|
3
|
+
<%= class_name %>.any_instance.stubs(:valid?).returns(false)
|
4
|
+
put :update, :id => <%= class_name %>.first
|
5
|
+
assert_template 'edit'
|
6
|
+
end
|
7
|
+
|
8
|
+
should "redirect when model is valid" do
|
9
|
+
<%= class_name %>.any_instance.stubs(:valid?).returns(true)
|
10
|
+
put :update, :id => <%= class_name %>.first
|
11
|
+
assert_redirected_to <%= item_path_for_test('url') %>
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
def test_create_invalid
|
2
|
+
<%= class_name %>.any_instance.stubs(:valid?).returns(false)
|
3
|
+
post :create
|
4
|
+
assert_template 'new'
|
5
|
+
end
|
6
|
+
|
7
|
+
def test_create_valid
|
8
|
+
<%= class_name %>.any_instance.stubs(:valid?).returns(true)
|
9
|
+
post :create
|
10
|
+
assert_redirected_to <%= item_path_for_test('url') %>
|
11
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
def test_update_invalid
|
2
|
+
<%= class_name %>.any_instance.stubs(:valid?).returns(false)
|
3
|
+
put :update, :id => <%= class_name %>.first
|
4
|
+
assert_template 'edit'
|
5
|
+
end
|
6
|
+
|
7
|
+
def test_update_valid
|
8
|
+
<%= class_name %>.any_instance.stubs(:valid?).returns(true)
|
9
|
+
put :update, :id => <%= class_name %>.first
|
10
|
+
assert_redirected_to <%= item_path_for_test('url') %>
|
11
|
+
end
|
@@ -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 %> %><br />
|
6
|
+
<%%= f.<%= attribute.field_type %> :<%= attribute.name %> %>
|
7
|
+
</p>
|
8
|
+
<%- end -%>
|
9
|
+
<p><%%= f.submit "Submit" %></p>
|
10
|
+
<%% end %>
|
@@ -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 %> %> |
|
9
|
+
<%- end -%>
|
10
|
+
<%- if action? :index -%>
|
11
|
+
<%%= link_to "View All", <%= plural_name %>_path %>
|
12
|
+
<%- end -%>
|
13
|
+
</p>
|
14
|
+
<%- end -%>
|
@@ -0,0 +1,29 @@
|
|
1
|
+
<%% title "<%= plural_name.titleize %>" %>
|
2
|
+
|
3
|
+
<table>
|
4
|
+
<tr>
|
5
|
+
<%- for attribute in attributes -%>
|
6
|
+
<th><%= attribute.column.human_name.titleize %></th>
|
7
|
+
<%- end -%>
|
8
|
+
</tr>
|
9
|
+
<%% for <%= singular_name %> in @<%= plural_name %> %>
|
10
|
+
<tr>
|
11
|
+
<%- for attribute in attributes -%>
|
12
|
+
<td><%%=h <%= singular_name %>.<%= attribute.name %> %></td>
|
13
|
+
<%- end -%>
|
14
|
+
<%- if action? :show -%>
|
15
|
+
<td><%%= link_to "Show", <%= singular_name %> %></td>
|
16
|
+
<%- end -%>
|
17
|
+
<%- if action? :edit -%>
|
18
|
+
<td><%%= link_to "Edit", edit_<%= singular_name %>_path(<%= singular_name %>) %></td>
|
19
|
+
<%- end -%>
|
20
|
+
<%- if action? :destroy -%>
|
21
|
+
<td><%%= link_to "Destroy", <%= singular_name %>, :confirm => 'Are you sure?', :method => :delete %></td>
|
22
|
+
<%- end -%>
|
23
|
+
</tr>
|
24
|
+
<%% end %>
|
25
|
+
</table>
|
26
|
+
|
27
|
+
<%- if action? :new -%>
|
28
|
+
<p><%%= link_to "New <%= singular_name.titleize %>", new_<%= singular_name %>_path %></p>
|
29
|
+
<%- 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 %>:</strong>
|
6
|
+
<%%=h @<%= singular_name %>.<%= attribute.name %> %>
|
7
|
+
</p>
|
8
|
+
<%- end -%>
|
9
|
+
|
10
|
+
<p>
|
11
|
+
<%- if action? :edit -%>
|
12
|
+
<%%= link_to "Edit", edit_<%= singular_name %>_path(@<%= singular_name %>) %> |
|
13
|
+
<%- end -%>
|
14
|
+
<%- if action? :destroy -%>
|
15
|
+
<%%= link_to "Destroy", @<%= singular_name %>, :confirm => 'Are you sure?', :method => :delete %> |
|
16
|
+
<%- end -%>
|
17
|
+
<%- if action? :index -%>
|
18
|
+
<%%= link_to "View All", <%= plural_name %>_path %>
|
19
|
+
<%- end -%>
|
20
|
+
</p>
|
@@ -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,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 -%>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nifty-generators
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Bates
|
@@ -30,6 +30,93 @@ files:
|
|
30
30
|
- test/test_nifty_config_generator.rb
|
31
31
|
- test/test_nifty_layout_generator.rb
|
32
32
|
- test/test_nifty_scaffold_generator.rb
|
33
|
+
- rails_generators/nifty_authentication/lib/insert_commands.rb
|
34
|
+
- rails_generators/nifty_authentication/nifty_authentication_generator.rb
|
35
|
+
- rails_generators/nifty_authentication/templates/authentication.rb
|
36
|
+
- rails_generators/nifty_authentication/templates/authlogic_session.rb
|
37
|
+
- rails_generators/nifty_authentication/templates/fixtures.yml
|
38
|
+
- rails_generators/nifty_authentication/templates/migration.rb
|
39
|
+
- rails_generators/nifty_authentication/templates/sessions_controller.rb
|
40
|
+
- rails_generators/nifty_authentication/templates/sessions_helper.rb
|
41
|
+
- rails_generators/nifty_authentication/templates/tests/rspec/sessions_controller.rb
|
42
|
+
- rails_generators/nifty_authentication/templates/tests/rspec/user.rb
|
43
|
+
- rails_generators/nifty_authentication/templates/tests/rspec/users_controller.rb
|
44
|
+
- rails_generators/nifty_authentication/templates/tests/shoulda/sessions_controller.rb
|
45
|
+
- rails_generators/nifty_authentication/templates/tests/shoulda/user.rb
|
46
|
+
- rails_generators/nifty_authentication/templates/tests/shoulda/users_controller.rb
|
47
|
+
- rails_generators/nifty_authentication/templates/tests/testunit/sessions_controller.rb
|
48
|
+
- rails_generators/nifty_authentication/templates/tests/testunit/user.rb
|
49
|
+
- rails_generators/nifty_authentication/templates/tests/testunit/users_controller.rb
|
50
|
+
- rails_generators/nifty_authentication/templates/user.rb
|
51
|
+
- rails_generators/nifty_authentication/templates/users_controller.rb
|
52
|
+
- rails_generators/nifty_authentication/templates/users_helper.rb
|
53
|
+
- rails_generators/nifty_authentication/templates/views/erb/login.html.erb
|
54
|
+
- rails_generators/nifty_authentication/templates/views/erb/signup.html.erb
|
55
|
+
- rails_generators/nifty_authentication/templates/views/haml/login.html.haml
|
56
|
+
- rails_generators/nifty_authentication/templates/views/haml/signup.html.haml
|
57
|
+
- rails_generators/nifty_authentication/USAGE
|
58
|
+
- rails_generators/nifty_config/nifty_config_generator.rb
|
59
|
+
- rails_generators/nifty_config/templates/config.yml
|
60
|
+
- rails_generators/nifty_config/templates/load_config.rb
|
61
|
+
- rails_generators/nifty_config/USAGE
|
62
|
+
- rails_generators/nifty_layout/nifty_layout_generator.rb
|
63
|
+
- rails_generators/nifty_layout/templates/helper.rb
|
64
|
+
- rails_generators/nifty_layout/templates/layout.html.erb
|
65
|
+
- rails_generators/nifty_layout/templates/layout.html.haml
|
66
|
+
- rails_generators/nifty_layout/templates/stylesheet.css
|
67
|
+
- rails_generators/nifty_layout/templates/stylesheet.sass
|
68
|
+
- rails_generators/nifty_layout/USAGE
|
69
|
+
- rails_generators/nifty_scaffold/nifty_scaffold_generator.rb
|
70
|
+
- rails_generators/nifty_scaffold/templates/actions/create.rb
|
71
|
+
- rails_generators/nifty_scaffold/templates/actions/destroy.rb
|
72
|
+
- rails_generators/nifty_scaffold/templates/actions/edit.rb
|
73
|
+
- rails_generators/nifty_scaffold/templates/actions/index.rb
|
74
|
+
- rails_generators/nifty_scaffold/templates/actions/new.rb
|
75
|
+
- rails_generators/nifty_scaffold/templates/actions/show.rb
|
76
|
+
- rails_generators/nifty_scaffold/templates/actions/update.rb
|
77
|
+
- rails_generators/nifty_scaffold/templates/controller.rb
|
78
|
+
- rails_generators/nifty_scaffold/templates/fixtures.yml
|
79
|
+
- rails_generators/nifty_scaffold/templates/helper.rb
|
80
|
+
- rails_generators/nifty_scaffold/templates/migration.rb
|
81
|
+
- rails_generators/nifty_scaffold/templates/model.rb
|
82
|
+
- rails_generators/nifty_scaffold/templates/tests/rspec/actions/create.rb
|
83
|
+
- rails_generators/nifty_scaffold/templates/tests/rspec/actions/destroy.rb
|
84
|
+
- rails_generators/nifty_scaffold/templates/tests/rspec/actions/edit.rb
|
85
|
+
- rails_generators/nifty_scaffold/templates/tests/rspec/actions/index.rb
|
86
|
+
- rails_generators/nifty_scaffold/templates/tests/rspec/actions/new.rb
|
87
|
+
- rails_generators/nifty_scaffold/templates/tests/rspec/actions/show.rb
|
88
|
+
- rails_generators/nifty_scaffold/templates/tests/rspec/actions/update.rb
|
89
|
+
- rails_generators/nifty_scaffold/templates/tests/rspec/controller.rb
|
90
|
+
- rails_generators/nifty_scaffold/templates/tests/rspec/model.rb
|
91
|
+
- rails_generators/nifty_scaffold/templates/tests/shoulda/actions/create.rb
|
92
|
+
- rails_generators/nifty_scaffold/templates/tests/shoulda/actions/destroy.rb
|
93
|
+
- rails_generators/nifty_scaffold/templates/tests/shoulda/actions/edit.rb
|
94
|
+
- rails_generators/nifty_scaffold/templates/tests/shoulda/actions/index.rb
|
95
|
+
- rails_generators/nifty_scaffold/templates/tests/shoulda/actions/new.rb
|
96
|
+
- rails_generators/nifty_scaffold/templates/tests/shoulda/actions/show.rb
|
97
|
+
- rails_generators/nifty_scaffold/templates/tests/shoulda/actions/update.rb
|
98
|
+
- rails_generators/nifty_scaffold/templates/tests/shoulda/controller.rb
|
99
|
+
- rails_generators/nifty_scaffold/templates/tests/shoulda/model.rb
|
100
|
+
- rails_generators/nifty_scaffold/templates/tests/testunit/actions/create.rb
|
101
|
+
- rails_generators/nifty_scaffold/templates/tests/testunit/actions/destroy.rb
|
102
|
+
- rails_generators/nifty_scaffold/templates/tests/testunit/actions/edit.rb
|
103
|
+
- rails_generators/nifty_scaffold/templates/tests/testunit/actions/index.rb
|
104
|
+
- rails_generators/nifty_scaffold/templates/tests/testunit/actions/new.rb
|
105
|
+
- rails_generators/nifty_scaffold/templates/tests/testunit/actions/show.rb
|
106
|
+
- rails_generators/nifty_scaffold/templates/tests/testunit/actions/update.rb
|
107
|
+
- rails_generators/nifty_scaffold/templates/tests/testunit/controller.rb
|
108
|
+
- rails_generators/nifty_scaffold/templates/tests/testunit/model.rb
|
109
|
+
- rails_generators/nifty_scaffold/templates/views/erb/_form.html.erb
|
110
|
+
- rails_generators/nifty_scaffold/templates/views/erb/edit.html.erb
|
111
|
+
- rails_generators/nifty_scaffold/templates/views/erb/index.html.erb
|
112
|
+
- rails_generators/nifty_scaffold/templates/views/erb/new.html.erb
|
113
|
+
- rails_generators/nifty_scaffold/templates/views/erb/show.html.erb
|
114
|
+
- rails_generators/nifty_scaffold/templates/views/haml/_form.html.haml
|
115
|
+
- rails_generators/nifty_scaffold/templates/views/haml/edit.html.haml
|
116
|
+
- rails_generators/nifty_scaffold/templates/views/haml/index.html.haml
|
117
|
+
- rails_generators/nifty_scaffold/templates/views/haml/new.html.haml
|
118
|
+
- rails_generators/nifty_scaffold/templates/views/haml/show.html.haml
|
119
|
+
- rails_generators/nifty_scaffold/USAGE
|
33
120
|
- LICENSE
|
34
121
|
- README.rdoc
|
35
122
|
- Rakefile
|