bravo-generators 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. data/.gitignore +17 -0
  2. data/.rvmrc +1 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE +22 -0
  5. data/README.md +23 -0
  6. data/Rakefile +2 -0
  7. data/bravo-generators.gemspec +17 -0
  8. data/lib/generators/bravo.rb +28 -0
  9. data/lib/generators/bravo/config/USAGE +23 -0
  10. data/lib/generators/bravo/config/config_generator.rb +24 -0
  11. data/lib/generators/bravo/config/templates/config.yml +8 -0
  12. data/lib/generators/bravo/config/templates/load_config.rb +2 -0
  13. data/lib/generators/bravo/layout/USAGE +25 -0
  14. data/lib/generators/bravo/layout/layout_generator.rb +29 -0
  15. data/lib/generators/bravo/layout/templates/error_messages_helper.rb +23 -0
  16. data/lib/generators/bravo/layout/templates/layout.html.erb +19 -0
  17. data/lib/generators/bravo/layout/templates/layout.html.haml +21 -0
  18. data/lib/generators/bravo/layout/templates/layout_helper.rb +22 -0
  19. data/lib/generators/bravo/layout/templates/stylesheet.css +83 -0
  20. data/lib/generators/bravo/layout/templates/stylesheet.sass +73 -0
  21. data/lib/generators/bravo/scaffold/USAGE +51 -0
  22. data/lib/generators/bravo/scaffold/scaffold_generator.rb +318 -0
  23. data/lib/generators/bravo/scaffold/templates/actions/create.rb +8 -0
  24. data/lib/generators/bravo/scaffold/templates/actions/destroy.rb +5 -0
  25. data/lib/generators/bravo/scaffold/templates/actions/edit.rb +3 -0
  26. data/lib/generators/bravo/scaffold/templates/actions/index.rb +3 -0
  27. data/lib/generators/bravo/scaffold/templates/actions/new.rb +3 -0
  28. data/lib/generators/bravo/scaffold/templates/actions/show.rb +3 -0
  29. data/lib/generators/bravo/scaffold/templates/actions/update.rb +8 -0
  30. data/lib/generators/bravo/scaffold/templates/controller.rb +3 -0
  31. data/lib/generators/bravo/scaffold/templates/fixtures.yml +9 -0
  32. data/lib/generators/bravo/scaffold/templates/helper.rb +2 -0
  33. data/lib/generators/bravo/scaffold/templates/migration.rb +16 -0
  34. data/lib/generators/bravo/scaffold/templates/model.rb +4 -0
  35. data/lib/generators/bravo/scaffold/templates/tests/rspec/actions/create.rb +11 -0
  36. data/lib/generators/bravo/scaffold/templates/tests/rspec/actions/destroy.rb +6 -0
  37. data/lib/generators/bravo/scaffold/templates/tests/rspec/actions/edit.rb +4 -0
  38. data/lib/generators/bravo/scaffold/templates/tests/rspec/actions/index.rb +4 -0
  39. data/lib/generators/bravo/scaffold/templates/tests/rspec/actions/new.rb +4 -0
  40. data/lib/generators/bravo/scaffold/templates/tests/rspec/actions/show.rb +4 -0
  41. data/lib/generators/bravo/scaffold/templates/tests/rspec/actions/update.rb +11 -0
  42. data/lib/generators/bravo/scaffold/templates/tests/rspec/controller.rb +8 -0
  43. data/lib/generators/bravo/scaffold/templates/tests/rspec/model.rb +7 -0
  44. data/lib/generators/bravo/scaffold/templates/tests/shoulda/actions/create.rb +13 -0
  45. data/lib/generators/bravo/scaffold/templates/tests/shoulda/actions/destroy.rb +8 -0
  46. data/lib/generators/bravo/scaffold/templates/tests/shoulda/actions/edit.rb +6 -0
  47. data/lib/generators/bravo/scaffold/templates/tests/shoulda/actions/index.rb +6 -0
  48. data/lib/generators/bravo/scaffold/templates/tests/shoulda/actions/new.rb +6 -0
  49. data/lib/generators/bravo/scaffold/templates/tests/shoulda/actions/show.rb +6 -0
  50. data/lib/generators/bravo/scaffold/templates/tests/shoulda/actions/update.rb +13 -0
  51. data/lib/generators/bravo/scaffold/templates/tests/shoulda/controller.rb +5 -0
  52. data/lib/generators/bravo/scaffold/templates/tests/shoulda/model.rb +7 -0
  53. data/lib/generators/bravo/scaffold/templates/tests/testunit/actions/create.rb +11 -0
  54. data/lib/generators/bravo/scaffold/templates/tests/testunit/actions/destroy.rb +6 -0
  55. data/lib/generators/bravo/scaffold/templates/tests/testunit/actions/edit.rb +4 -0
  56. data/lib/generators/bravo/scaffold/templates/tests/testunit/actions/index.rb +4 -0
  57. data/lib/generators/bravo/scaffold/templates/tests/testunit/actions/new.rb +4 -0
  58. data/lib/generators/bravo/scaffold/templates/tests/testunit/actions/show.rb +4 -0
  59. data/lib/generators/bravo/scaffold/templates/tests/testunit/actions/update.rb +11 -0
  60. data/lib/generators/bravo/scaffold/templates/tests/testunit/controller.rb +5 -0
  61. data/lib/generators/bravo/scaffold/templates/tests/testunit/model.rb +7 -0
  62. data/lib/generators/bravo/scaffold/templates/views/erb/_form.html.erb +10 -0
  63. data/lib/generators/bravo/scaffold/templates/views/erb/edit.html.erb +14 -0
  64. data/lib/generators/bravo/scaffold/templates/views/erb/index.html.erb +29 -0
  65. data/lib/generators/bravo/scaffold/templates/views/erb/new.html.erb +7 -0
  66. data/lib/generators/bravo/scaffold/templates/views/erb/show.html.erb +20 -0
  67. data/lib/generators/bravo/scaffold/templates/views/haml/_form.html.haml +9 -0
  68. data/lib/generators/bravo/scaffold/templates/views/haml/edit.html.haml +14 -0
  69. data/lib/generators/bravo/scaffold/templates/views/haml/index.html.haml +25 -0
  70. data/lib/generators/bravo/scaffold/templates/views/haml/new.html.haml +7 -0
  71. data/lib/generators/bravo/scaffold/templates/views/haml/show.html.haml +20 -0
  72. metadata +128 -0
@@ -0,0 +1,4 @@
1
+ class <%= class_name %> < ActiveRecord::Base
2
+ <%= " set_table_name :#{table_name}\n" if table_name -%>
3
+ attr_accessible <%= model_attributes.map { |a| ":#{a.name}" }.join(", ") %>
4
+ end
@@ -0,0 +1,11 @@
1
+ it "create action should render new template when model is invalid" do
2
+ <%= class_name %>.any_instance.stubs(:valid?).returns(false)
3
+ post :create
4
+ response.should render_template(:new)
5
+ end
6
+
7
+ it "create action should redirect when model is valid" do
8
+ <%= class_name %>.any_instance.stubs(:valid?).returns(true)
9
+ post :create
10
+ response.should redirect_to(<%= item_path_for_spec('url') %>)
11
+ end
@@ -0,0 +1,6 @@
1
+ it "destroy action should destroy model and redirect to index action" do
2
+ <%= instance_name %> = <%= class_name %>.first
3
+ delete :destroy, :id => <%= instance_name %>
4
+ response.should redirect_to(<%= items_url %>)
5
+ <%= class_name %>.exists?(<%= instance_name %>.id).should be_false
6
+ end
@@ -0,0 +1,4 @@
1
+ it "edit action should render edit template" do
2
+ get :edit, :id => <%= class_name %>.first
3
+ response.should render_template(:edit)
4
+ end
@@ -0,0 +1,4 @@
1
+ it "index action should render index template" do
2
+ get :index
3
+ response.should render_template(:index)
4
+ end
@@ -0,0 +1,4 @@
1
+ it "new action should render new template" do
2
+ get :new
3
+ response.should render_template(:new)
4
+ end
@@ -0,0 +1,4 @@
1
+ it "show action should render show template" do
2
+ get :show, :id => <%= class_name %>.first
3
+ response.should render_template(:show)
4
+ end
@@ -0,0 +1,11 @@
1
+ it "update action should render edit template when model is invalid" do
2
+ <%= class_name %>.any_instance.stubs(:valid?).returns(false)
3
+ put :update, :id => <%= class_name %>.first
4
+ response.should render_template(:edit)
5
+ end
6
+
7
+ it "update action should redirect when model is valid" do
8
+ <%= class_name %>.any_instance.stubs(:valid?).returns(true)
9
+ put :update, :id => <%= class_name %>.first
10
+ response.should redirect_to(<%= item_path_for_spec('url') %>)
11
+ end
@@ -0,0 +1,8 @@
1
+ require File.dirname(__FILE__) + '/../spec_helper'
2
+
3
+ describe <%= plural_class_name %>Controller do
4
+ fixtures :all
5
+ render_views
6
+
7
+ <%= controller_methods 'tests/rspec/actions' %>
8
+ end
@@ -0,0 +1,7 @@
1
+ require File.dirname(__FILE__) + '/../spec_helper'
2
+
3
+ describe <%= class_name %> do
4
+ it "should be valid" do
5
+ <%= class_name %>.new.should be_valid
6
+ end
7
+ end
@@ -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
+ <%= instance_name %> = <%= class_name %>.first
4
+ delete :destroy, :id => <%= instance_name %>
5
+ assert_redirected_to <%= items_url %>
6
+ assert !<%= class_name %>.exists?(<%= instance_name %>.id)
7
+ end
8
+ end
@@ -0,0 +1,6 @@
1
+ context "edit action" do
2
+ should "render edit template" do
3
+ get :edit, :id => <%= class_name %>.first
4
+ assert_template 'edit'
5
+ end
6
+ end
@@ -0,0 +1,6 @@
1
+ context "index action" do
2
+ should "render index template" do
3
+ get :index
4
+ assert_template 'index'
5
+ end
6
+ end
@@ -0,0 +1,6 @@
1
+ context "new action" do
2
+ should "render new template" do
3
+ get :new
4
+ assert_template 'new'
5
+ end
6
+ end
@@ -0,0 +1,6 @@
1
+ context "show action" do
2
+ should "render show template" do
3
+ get :show, :id => <%= class_name %>.first
4
+ assert_template 'show'
5
+ end
6
+ 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,5 @@
1
+ require 'test_helper'
2
+
3
+ class <%= plural_class_name %>ControllerTest < ActionController::TestCase
4
+ <%= controller_methods 'tests/shoulda/actions' %>
5
+ end
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class <%= class_name %>Test < ActiveSupport::TestCase
4
+ should "be valid" do
5
+ assert <%= class_name %>.new.valid?
6
+ end
7
+ 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,6 @@
1
+ def test_destroy
2
+ <%= instance_name %> = <%= class_name %>.first
3
+ delete :destroy, :id => <%= instance_name %>
4
+ assert_redirected_to <%= items_url %>
5
+ assert !<%= class_name %>.exists?(<%= instance_name %>.id)
6
+ end
@@ -0,0 +1,4 @@
1
+ def test_edit
2
+ get :edit, :id => <%= class_name %>.first
3
+ assert_template 'edit'
4
+ end
@@ -0,0 +1,4 @@
1
+ def test_index
2
+ get :index
3
+ assert_template 'index'
4
+ end
@@ -0,0 +1,4 @@
1
+ def test_new
2
+ get :new
3
+ assert_template 'new'
4
+ end
@@ -0,0 +1,4 @@
1
+ def test_show
2
+ get :show, :id => <%= class_name %>.first
3
+ assert_template 'show'
4
+ 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,5 @@
1
+ require 'test_helper'
2
+
3
+ class <%= plural_class_name %>ControllerTest < ActionController::TestCase
4
+ <%= controller_methods 'tests/testunit/actions' %>
5
+ end
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class <%= class_name %>Test < ActiveSupport::TestCase
4
+ def test_should_be_valid
5
+ assert <%= class_name %>.new.valid?
6
+ end
7
+ end
@@ -0,0 +1,10 @@
1
+ <%%= form_for <%= item_path :instance_variable => true %> do |f| %>
2
+ <%%= f.error_messages %>
3
+ <%- for attribute in model_attributes -%>
4
+ <div class="field">
5
+ <%%= f.label :<%= attribute.name %> %>
6
+ <%%= f.<%= attribute.field_type %> :<%= attribute.name %> %>
7
+ </div>
8
+ <%- end -%>
9
+ <div class="actions"><%%= f.submit %></div>
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", <%= item_path :instance_variable => true %> %> |
9
+ <%- end -%>
10
+ <%- if action? :index -%>
11
+ <%%= link_to "View All", <%= items_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 model_attributes -%>
6
+ <th><%= attribute.human_name.titleize %></th>
7
+ <%- end -%>
8
+ </tr>
9
+ <%% for <%= instance_name %> in @<%= instances_name %> %>
10
+ <tr>
11
+ <%- for attribute in model_attributes -%>
12
+ <td><%%= <%= instance_name %>.<%= attribute.name %> %></td>
13
+ <%- end -%>
14
+ <%- if action? :show -%>
15
+ <td><%%= link_to "Show", <%= item_path %> %></td>
16
+ <%- end -%>
17
+ <%- if action? :edit -%>
18
+ <td><%%= link_to "Edit", <%= item_path :action => :edit %> %></td>
19
+ <%- end -%>
20
+ <%- if action? :destroy -%>
21
+ <td><%%= link_to "Destroy", <%= item_path %>, :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 %>", <%= item_path :action => :new %> %></p>
29
+ <%- 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", <%= items_path %> %></p>
7
+ <%- end -%>
@@ -0,0 +1,20 @@
1
+ <%% title "<%= singular_name.titleize %>" %>
2
+
3
+ <%- for attribute in model_attributes -%>
4
+ <p>
5
+ <strong><%= attribute.human_name.titleize %>:</strong>
6
+ <%%= @<%= instance_name %>.<%= attribute.name %> %>
7
+ </p>
8
+ <%- end -%>
9
+
10
+ <p>
11
+ <%- if action? :edit -%>
12
+ <%%= link_to "Edit", <%= item_path :action => :edit, :instance_variable => true %> %> |
13
+ <%- end -%>
14
+ <%- if action? :destroy -%>
15
+ <%%= link_to "Destroy", <%= item_path :instance_variable => true %>, :confirm => 'Are you sure?', :method => :delete %> |
16
+ <%- end -%>
17
+ <%- if action? :index -%>
18
+ <%%= link_to "View All", <%= items_path %> %>
19
+ <%- end -%>
20
+ </p>
@@ -0,0 +1,9 @@
1
+ = form_for <%= item_path :instance_variable => true %> do |f|
2
+ = f.error_messages
3
+ <%- for attribute in model_attributes -%>
4
+ .field
5
+ = f.label :<%= attribute.name %>
6
+ = f.<%= attribute.field_type %> :<%= attribute.name %>
7
+ <%- end -%>
8
+ .actions
9
+ = f.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", <%= item_path :instance_variable => true %>
9
+ |
10
+ <%- end -%>
11
+ <%- if action? :index -%>
12
+ = link_to "View All", <%= items_path %>
13
+ <%- end -%>
14
+ <%- end -%>
@@ -0,0 +1,25 @@
1
+ - title "<%= plural_name.titleize %>"
2
+
3
+ %table
4
+ %tr
5
+ <%- for attribute in model_attributes -%>
6
+ %th <%= attribute.human_name %>
7
+ <%- end -%>
8
+ - for <%= instance_name %> in @<%= instances_name %>
9
+ %tr
10
+ <%- for attribute in model_attributes -%>
11
+ %td= <%= instance_name %>.<%= attribute.name %>
12
+ <%- end -%>
13
+ <%- if action? :show -%>
14
+ %td= link_to 'Show', <%= item_path %>
15
+ <%- end -%>
16
+ <%- if action? :edit -%>
17
+ %td= link_to 'Edit', <%= item_path :action => :edit %>
18
+ <%- end -%>
19
+ <%- if action? :destroy -%>
20
+ %td= link_to 'Destroy', <%= item_path %>, :confirm => 'Are you sure?', :method => :delete
21
+ <%- end -%>
22
+
23
+ <%- if actions? :new -%>
24
+ %p= link_to "New <%= singular_name.titleize %>", <%= item_path :action => :new %>
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", <%= items_path %>
7
+ <%- end -%>
@@ -0,0 +1,20 @@
1
+ - title "<%= singular_name.titleize %>"
2
+
3
+ <%- for attribute in model_attributes -%>
4
+ %p
5
+ %strong <%= attribute.human_name.titleize %>:
6
+ = @<%= instance_name %>.<%= attribute.name %>
7
+ <%- end -%>
8
+
9
+ %p
10
+ <%- if action? :edit -%>
11
+ = link_to "Edit", <%= item_path :action => :edit, :instance_variable => true %>
12
+ |
13
+ <%- end -%>
14
+ <%- if action? :destroy -%>
15
+ = link_to "Destroy", <%= item_path :instance_variable => true %>, :confirm => 'Are you sure?', :method => :delete
16
+ |
17
+ <%- end -%>
18
+ <%- if action? :index -%>
19
+ = link_to "View All", <%= items_path %>
20
+ <%- end -%>
metadata ADDED
@@ -0,0 +1,128 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bravo-generators
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Camel Song
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-03-20 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: &8165100 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '3.1'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: *8165100
25
+ description: A collection of useful Rails generator scripts for scaffolding, layout
26
+ files, and more.
27
+ email:
28
+ - neosoyn@gmail.com
29
+ executables: []
30
+ extensions: []
31
+ extra_rdoc_files: []
32
+ files:
33
+ - .gitignore
34
+ - .rvmrc
35
+ - Gemfile
36
+ - LICENSE
37
+ - README.md
38
+ - Rakefile
39
+ - bravo-generators.gemspec
40
+ - lib/generators/bravo.rb
41
+ - lib/generators/bravo/config/USAGE
42
+ - lib/generators/bravo/config/config_generator.rb
43
+ - lib/generators/bravo/config/templates/config.yml
44
+ - lib/generators/bravo/config/templates/load_config.rb
45
+ - lib/generators/bravo/layout/USAGE
46
+ - lib/generators/bravo/layout/layout_generator.rb
47
+ - lib/generators/bravo/layout/templates/error_messages_helper.rb
48
+ - lib/generators/bravo/layout/templates/layout.html.erb
49
+ - lib/generators/bravo/layout/templates/layout.html.haml
50
+ - lib/generators/bravo/layout/templates/layout_helper.rb
51
+ - lib/generators/bravo/layout/templates/stylesheet.css
52
+ - lib/generators/bravo/layout/templates/stylesheet.sass
53
+ - lib/generators/bravo/scaffold/USAGE
54
+ - lib/generators/bravo/scaffold/scaffold_generator.rb
55
+ - lib/generators/bravo/scaffold/templates/actions/create.rb
56
+ - lib/generators/bravo/scaffold/templates/actions/destroy.rb
57
+ - lib/generators/bravo/scaffold/templates/actions/edit.rb
58
+ - lib/generators/bravo/scaffold/templates/actions/index.rb
59
+ - lib/generators/bravo/scaffold/templates/actions/new.rb
60
+ - lib/generators/bravo/scaffold/templates/actions/show.rb
61
+ - lib/generators/bravo/scaffold/templates/actions/update.rb
62
+ - lib/generators/bravo/scaffold/templates/controller.rb
63
+ - lib/generators/bravo/scaffold/templates/fixtures.yml
64
+ - lib/generators/bravo/scaffold/templates/helper.rb
65
+ - lib/generators/bravo/scaffold/templates/migration.rb
66
+ - lib/generators/bravo/scaffold/templates/model.rb
67
+ - lib/generators/bravo/scaffold/templates/tests/rspec/actions/create.rb
68
+ - lib/generators/bravo/scaffold/templates/tests/rspec/actions/destroy.rb
69
+ - lib/generators/bravo/scaffold/templates/tests/rspec/actions/edit.rb
70
+ - lib/generators/bravo/scaffold/templates/tests/rspec/actions/index.rb
71
+ - lib/generators/bravo/scaffold/templates/tests/rspec/actions/new.rb
72
+ - lib/generators/bravo/scaffold/templates/tests/rspec/actions/show.rb
73
+ - lib/generators/bravo/scaffold/templates/tests/rspec/actions/update.rb
74
+ - lib/generators/bravo/scaffold/templates/tests/rspec/controller.rb
75
+ - lib/generators/bravo/scaffold/templates/tests/rspec/model.rb
76
+ - lib/generators/bravo/scaffold/templates/tests/shoulda/actions/create.rb
77
+ - lib/generators/bravo/scaffold/templates/tests/shoulda/actions/destroy.rb
78
+ - lib/generators/bravo/scaffold/templates/tests/shoulda/actions/edit.rb
79
+ - lib/generators/bravo/scaffold/templates/tests/shoulda/actions/index.rb
80
+ - lib/generators/bravo/scaffold/templates/tests/shoulda/actions/new.rb
81
+ - lib/generators/bravo/scaffold/templates/tests/shoulda/actions/show.rb
82
+ - lib/generators/bravo/scaffold/templates/tests/shoulda/actions/update.rb
83
+ - lib/generators/bravo/scaffold/templates/tests/shoulda/controller.rb
84
+ - lib/generators/bravo/scaffold/templates/tests/shoulda/model.rb
85
+ - lib/generators/bravo/scaffold/templates/tests/testunit/actions/create.rb
86
+ - lib/generators/bravo/scaffold/templates/tests/testunit/actions/destroy.rb
87
+ - lib/generators/bravo/scaffold/templates/tests/testunit/actions/edit.rb
88
+ - lib/generators/bravo/scaffold/templates/tests/testunit/actions/index.rb
89
+ - lib/generators/bravo/scaffold/templates/tests/testunit/actions/new.rb
90
+ - lib/generators/bravo/scaffold/templates/tests/testunit/actions/show.rb
91
+ - lib/generators/bravo/scaffold/templates/tests/testunit/actions/update.rb
92
+ - lib/generators/bravo/scaffold/templates/tests/testunit/controller.rb
93
+ - lib/generators/bravo/scaffold/templates/tests/testunit/model.rb
94
+ - lib/generators/bravo/scaffold/templates/views/erb/_form.html.erb
95
+ - lib/generators/bravo/scaffold/templates/views/erb/edit.html.erb
96
+ - lib/generators/bravo/scaffold/templates/views/erb/index.html.erb
97
+ - lib/generators/bravo/scaffold/templates/views/erb/new.html.erb
98
+ - lib/generators/bravo/scaffold/templates/views/erb/show.html.erb
99
+ - lib/generators/bravo/scaffold/templates/views/haml/_form.html.haml
100
+ - lib/generators/bravo/scaffold/templates/views/haml/edit.html.haml
101
+ - lib/generators/bravo/scaffold/templates/views/haml/index.html.haml
102
+ - lib/generators/bravo/scaffold/templates/views/haml/new.html.haml
103
+ - lib/generators/bravo/scaffold/templates/views/haml/show.html.haml
104
+ homepage: https://github.com/camelsong/bravo-generators
105
+ licenses: []
106
+ post_install_message:
107
+ rdoc_options: []
108
+ require_paths:
109
+ - lib
110
+ required_ruby_version: !ruby/object:Gem::Requirement
111
+ none: false
112
+ requirements:
113
+ - - ! '>='
114
+ - !ruby/object:Gem::Version
115
+ version: '0'
116
+ required_rubygems_version: !ruby/object:Gem::Requirement
117
+ none: false
118
+ requirements:
119
+ - - ! '>='
120
+ - !ruby/object:Gem::Version
121
+ version: '0'
122
+ requirements: []
123
+ rubyforge_project:
124
+ rubygems_version: 1.8.17
125
+ signing_key:
126
+ specification_version: 3
127
+ summary: A collection of useful Rails generator scripts
128
+ test_files: []