rotten-generators 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. data/.document +5 -0
  2. data/.gitignore +5 -0
  3. data/LICENSE +20 -0
  4. data/README.rdoc +10 -0
  5. data/Rakefile +56 -0
  6. data/VERSION +1 -0
  7. data/cucumber.yml +1 -0
  8. data/features/rotten.feature +9 -0
  9. data/features/step_definitions/rotten_steps.rb +0 -0
  10. data/features/support/env.rb +4 -0
  11. data/generators.gemspec +126 -0
  12. data/lib/rotten_generators.rb +3 -0
  13. data/rails_generators/rotten_authentication/lib/insert_commands.rb +74 -0
  14. data/rails_generators/rotten_authentication/rotten_authentication_generator.rb +102 -0
  15. data/rails_generators/rotten_authentication/templates/authentication.rb +37 -0
  16. data/rails_generators/rotten_authentication/templates/fixtures.yml +12 -0
  17. data/rails_generators/rotten_authentication/templates/migration.rb +15 -0
  18. data/rails_generators/rotten_authentication/templates/sessions_controller.rb +22 -0
  19. data/rails_generators/rotten_authentication/templates/sessions_helper.rb +2 -0
  20. data/rails_generators/rotten_authentication/templates/tests/rspec/sessions_controller.rb +25 -0
  21. data/rails_generators/rotten_authentication/templates/tests/rspec/user.rb +81 -0
  22. data/rails_generators/rotten_authentication/templates/tests/rspec/users_controller.rb +24 -0
  23. data/rails_generators/rotten_authentication/templates/user.rb +38 -0
  24. data/rails_generators/rotten_authentication/templates/users_controller.rb +16 -0
  25. data/rails_generators/rotten_authentication/templates/users_helper.rb +2 -0
  26. data/rails_generators/rotten_authentication/templates/views/haml/login.html.haml +15 -0
  27. data/rails_generators/rotten_authentication/templates/views/haml/signup.html.haml +24 -0
  28. data/rails_generators/rotten_controller/rotten_controller_generator.rb +52 -0
  29. data/rails_generators/rotten_controller/templates/controller.rb +38 -0
  30. data/rails_generators/rotten_controller/templates/controller_spec.rb +25 -0
  31. data/rails_generators/rotten_controller/templates/helper.rb +2 -0
  32. data/rails_generators/rotten_controller/templates/helper_spec.rb +11 -0
  33. data/rails_generators/rotten_controller/templates/view.html.haml +2 -0
  34. data/rails_generators/rotten_controller/templates/view_spec.rb +12 -0
  35. data/rails_generators/rotten_layout/USAGE +1 -0
  36. data/rails_generators/rotten_layout/rotten_layout_generator.rb +63 -0
  37. data/rails_generators/rotten_layout/templates/helper.rb +30 -0
  38. data/rails_generators/rotten_layout/templates/js/jquery-1.3.2.min.js +19 -0
  39. data/rails_generators/rotten_layout/templates/js/jquery-ui-1.7.2.min.js +298 -0
  40. data/rails_generators/rotten_layout/templates/layout.html.haml +45 -0
  41. data/rails_generators/rotten_layout/templates/one_column.html.haml +11 -0
  42. data/rails_generators/rotten_layout/templates/sass/colour.sass +1 -0
  43. data/rails_generators/rotten_layout/templates/sass/form.sass +1 -0
  44. data/rails_generators/rotten_layout/templates/sass/handheld.sass +1 -0
  45. data/rails_generators/rotten_layout/templates/sass/ie.sass +1 -0
  46. data/rails_generators/rotten_layout/templates/sass/layout.sass +1 -0
  47. data/rails_generators/rotten_layout/templates/sass/print.sass +1 -0
  48. data/rails_generators/rotten_layout/templates/sass/reset.sass +137 -0
  49. data/rails_generators/rotten_layout/templates/sass/screen.sass +5 -0
  50. data/rails_generators/rotten_layout/templates/sass/type.sass +1 -0
  51. data/rails_generators/rotten_layout/templates/shared_analytics.html.haml +10 -0
  52. data/rails_generators/rotten_layout/templates/shared_flash_messages.html.haml +12 -0
  53. data/rails_generators/rotten_layout/templates/shared_footer.html.haml +15 -0
  54. data/rails_generators/rotten_layout/templates/shared_header.html.haml +5 -0
  55. data/rails_generators/rotten_layout/templates/shared_navigation.html.haml +3 -0
  56. data/rails_generators/rotten_layout/templates/shared_sidebar.html.haml +13 -0
  57. data/rails_generators/rotten_layout/templates/two_column_left.html.haml +15 -0
  58. data/rails_generators/rotten_layout/templates/two_column_right.html.haml +14 -0
  59. data/rails_generators/rotten_scaffold/USAGE +48 -0
  60. data/rails_generators/rotten_scaffold/rotten_scaffold_generator.rb +204 -0
  61. data/rails_generators/rotten_scaffold/templates/actions/create.rb +9 -0
  62. data/rails_generators/rotten_scaffold/templates/actions/destroy.rb +6 -0
  63. data/rails_generators/rotten_scaffold/templates/actions/edit.rb +3 -0
  64. data/rails_generators/rotten_scaffold/templates/actions/index.rb +3 -0
  65. data/rails_generators/rotten_scaffold/templates/actions/new.rb +3 -0
  66. data/rails_generators/rotten_scaffold/templates/actions/show.rb +3 -0
  67. data/rails_generators/rotten_scaffold/templates/actions/update.rb +9 -0
  68. data/rails_generators/rotten_scaffold/templates/controller.rb +3 -0
  69. data/rails_generators/rotten_scaffold/templates/fixtures.yml +9 -0
  70. data/rails_generators/rotten_scaffold/templates/helper.rb +2 -0
  71. data/rails_generators/rotten_scaffold/templates/migration.rb +16 -0
  72. data/rails_generators/rotten_scaffold/templates/model.rb +2 -0
  73. data/rails_generators/rotten_scaffold/templates/tests/rspec/actions/create.rb +11 -0
  74. data/rails_generators/rotten_scaffold/templates/tests/rspec/actions/destroy.rb +6 -0
  75. data/rails_generators/rotten_scaffold/templates/tests/rspec/actions/edit.rb +4 -0
  76. data/rails_generators/rotten_scaffold/templates/tests/rspec/actions/index.rb +4 -0
  77. data/rails_generators/rotten_scaffold/templates/tests/rspec/actions/new.rb +4 -0
  78. data/rails_generators/rotten_scaffold/templates/tests/rspec/actions/show.rb +4 -0
  79. data/rails_generators/rotten_scaffold/templates/tests/rspec/actions/update.rb +11 -0
  80. data/rails_generators/rotten_scaffold/templates/tests/rspec/controller.rb +8 -0
  81. data/rails_generators/rotten_scaffold/templates/tests/rspec/model.rb +7 -0
  82. data/rails_generators/rotten_scaffold/templates/views/haml/_form.html.haml +14 -0
  83. data/rails_generators/rotten_scaffold/templates/views/haml/edit.html.haml +14 -0
  84. data/rails_generators/rotten_scaffold/templates/views/haml/index.html.haml +25 -0
  85. data/rails_generators/rotten_scaffold/templates/views/haml/new.html.haml +7 -0
  86. data/rails_generators/rotten_scaffold/templates/views/haml/show.html.haml +20 -0
  87. data/spec/rotten_spec.rb +7 -0
  88. data/spec/spec.opts +3 -0
  89. data/spec/spec_helper.rb +9 -0
  90. metadata +143 -0
@@ -0,0 +1,9 @@
1
+ def create
2
+ @<%= singular_name %> = <%= class_name %>.new(params[:<%= singular_name %>])
3
+ if @<%= singular_name %>.save
4
+ flash[:notice] = "Successfully created <%= name.humanize.downcase %>."
5
+ redirect_to <%= item_path('url') %>
6
+ else
7
+ render :action => 'new'
8
+ end
9
+ end
@@ -0,0 +1,6 @@
1
+ def destroy
2
+ @<%= singular_name %> = <%= class_name %>.find(params[:id])
3
+ @<%= singular_name %>.destroy
4
+ flash[:notice] = "Successfully destroyed <%= name.humanize.downcase %>."
5
+ redirect_to <%= plural_name %>_url
6
+ end
@@ -0,0 +1,3 @@
1
+ def edit
2
+ @<%= singular_name %> = <%= class_name %>.find(params[:id])
3
+ end
@@ -0,0 +1,3 @@
1
+ def index
2
+ @<%= plural_name %> = <%= class_name %>.all
3
+ end
@@ -0,0 +1,3 @@
1
+ def new
2
+ @<%= singular_name %> = <%= class_name %>.new
3
+ end
@@ -0,0 +1,3 @@
1
+ def show
2
+ @<%= singular_name %> = <%= class_name %>.find(params[:id])
3
+ end
@@ -0,0 +1,9 @@
1
+ def update
2
+ @<%= singular_name %> = <%= class_name %>.find(params[:id])
3
+ if @<%= singular_name %>.update_attributes(params[:<%= singular_name %>])
4
+ flash[:notice] = "Successfully updated <%= name.humanize.downcase %>."
5
+ redirect_to <%= item_path('url') %>
6
+ else
7
+ render :action => 'edit'
8
+ end
9
+ end
@@ -0,0 +1,3 @@
1
+ class <%= plural_class_name %>Controller < ApplicationController
2
+ <%= controller_methods :actions %>
3
+ end
@@ -0,0 +1,9 @@
1
+ one:
2
+ <%- for attribute in attributes -%>
3
+ <%= attribute.name %>: <%= attribute.default %>
4
+ <%- end -%>
5
+
6
+ two:
7
+ <%- for attribute in attributes -%>
8
+ <%= attribute.name %>: <%= attribute.default %>
9
+ <%- end -%>
@@ -0,0 +1,2 @@
1
+ module <%= plural_class_name %>Helper
2
+ end
@@ -0,0 +1,16 @@
1
+ class Create<%= plural_class_name %> < ActiveRecord::Migration
2
+ def self.up
3
+ create_table :<%= plural_name %> do |t|
4
+ <%- for attribute in attributes -%>
5
+ t.<%= attribute.type %> :<%= attribute.name %>
6
+ <%- end -%>
7
+ <%- unless options[:skip_timestamps] -%>
8
+ t.timestamps
9
+ <%- end -%>
10
+ end
11
+ end
12
+
13
+ def self.down
14
+ drop_table :<%= plural_name %>
15
+ end
16
+ end
@@ -0,0 +1,2 @@
1
+ class <%= class_name %> < ActiveRecord::Base
2
+ 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
+ <%= singular_name %> = <%= class_name %>.first
3
+ delete :destroy, :id => <%= singular_name %>
4
+ response.should redirect_to(<%= plural_name %>_url)
5
+ <%= class_name %>.exists?(<%= singular_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
+ integrate_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,14 @@
1
+ - form_for @<%= singular_name %> do |f|
2
+ = f.error_messages
3
+ %fieldset
4
+ %dl
5
+ <%- for attribute in attributes -%>
6
+ %dt
7
+ = f.label :<%= attribute.name %>
8
+ %dd
9
+ = f.<%= attribute.field_type %> :<%= attribute.name %>
10
+ <%- end -%>
11
+
12
+ .actions
13
+ = f.submit "Submit"
14
+
@@ -0,0 +1,14 @@
1
+ %h2 "Edit <%= singular_name.titleize %>"
2
+
3
+ <%= render_form %>
4
+
5
+ <%- if actions? :show, :index -%>
6
+ %p
7
+ <%- if action? :show -%>
8
+ = link_to "Edit", edit_<%= 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
+ %h2 "<%= 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
+ %h2 "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
+ %h2 "<%= 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 -%>
@@ -0,0 +1,7 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
+
3
+ describe "Rotten" do
4
+ it "fails" do
5
+ fail "hey buddy, you should probably rename this file and start specing for real"
6
+ end
7
+ end
data/spec/spec.opts ADDED
@@ -0,0 +1,3 @@
1
+ --colour
2
+ --format specdoc
3
+ --format html:spec/spec_report.html
@@ -0,0 +1,9 @@
1
+ require 'spec'
2
+
3
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
4
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
5
+ require 'rotten_generators'
6
+
7
+ Spec::Runner.configure do |config|
8
+
9
+ end
metadata ADDED
@@ -0,0 +1,143 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rotten-generators
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.9.0
5
+ platform: ruby
6
+ authors:
7
+ - Peter Coulton
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-06-26 00:00:00 -07:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description:
17
+ email: peter@petercoulton.com
18
+ executables: []
19
+
20
+ extensions: []
21
+
22
+ extra_rdoc_files:
23
+ - LICENSE
24
+ - README.rdoc
25
+ files:
26
+ - .document
27
+ - .gitignore
28
+ - LICENSE
29
+ - README.rdoc
30
+ - Rakefile
31
+ - VERSION
32
+ - cucumber.yml
33
+ - features/rotten.feature
34
+ - features/step_definitions/rotten_steps.rb
35
+ - features/support/env.rb
36
+ - generators.gemspec
37
+ - lib/rotten_generators.rb
38
+ - rails_generators/rotten_authentication/lib/insert_commands.rb
39
+ - rails_generators/rotten_authentication/rotten_authentication_generator.rb
40
+ - rails_generators/rotten_authentication/templates/authentication.rb
41
+ - rails_generators/rotten_authentication/templates/fixtures.yml
42
+ - rails_generators/rotten_authentication/templates/migration.rb
43
+ - rails_generators/rotten_authentication/templates/sessions_controller.rb
44
+ - rails_generators/rotten_authentication/templates/sessions_helper.rb
45
+ - rails_generators/rotten_authentication/templates/tests/rspec/sessions_controller.rb
46
+ - rails_generators/rotten_authentication/templates/tests/rspec/user.rb
47
+ - rails_generators/rotten_authentication/templates/tests/rspec/users_controller.rb
48
+ - rails_generators/rotten_authentication/templates/user.rb
49
+ - rails_generators/rotten_authentication/templates/users_controller.rb
50
+ - rails_generators/rotten_authentication/templates/users_helper.rb
51
+ - rails_generators/rotten_authentication/templates/views/haml/login.html.haml
52
+ - rails_generators/rotten_authentication/templates/views/haml/signup.html.haml
53
+ - rails_generators/rotten_controller/rotten_controller_generator.rb
54
+ - rails_generators/rotten_controller/templates/controller.rb
55
+ - rails_generators/rotten_controller/templates/controller_spec.rb
56
+ - rails_generators/rotten_controller/templates/helper.rb
57
+ - rails_generators/rotten_controller/templates/helper_spec.rb
58
+ - rails_generators/rotten_controller/templates/view.html.haml
59
+ - rails_generators/rotten_controller/templates/view_spec.rb
60
+ - rails_generators/rotten_layout/USAGE
61
+ - rails_generators/rotten_layout/rotten_layout_generator.rb
62
+ - rails_generators/rotten_layout/templates/helper.rb
63
+ - rails_generators/rotten_layout/templates/js/jquery-1.3.2.min.js
64
+ - rails_generators/rotten_layout/templates/js/jquery-ui-1.7.2.min.js
65
+ - rails_generators/rotten_layout/templates/layout.html.haml
66
+ - rails_generators/rotten_layout/templates/one_column.html.haml
67
+ - rails_generators/rotten_layout/templates/sass/colour.sass
68
+ - rails_generators/rotten_layout/templates/sass/form.sass
69
+ - rails_generators/rotten_layout/templates/sass/handheld.sass
70
+ - rails_generators/rotten_layout/templates/sass/ie.sass
71
+ - rails_generators/rotten_layout/templates/sass/layout.sass
72
+ - rails_generators/rotten_layout/templates/sass/print.sass
73
+ - rails_generators/rotten_layout/templates/sass/reset.sass
74
+ - rails_generators/rotten_layout/templates/sass/screen.sass
75
+ - rails_generators/rotten_layout/templates/sass/type.sass
76
+ - rails_generators/rotten_layout/templates/shared_analytics.html.haml
77
+ - rails_generators/rotten_layout/templates/shared_flash_messages.html.haml
78
+ - rails_generators/rotten_layout/templates/shared_footer.html.haml
79
+ - rails_generators/rotten_layout/templates/shared_header.html.haml
80
+ - rails_generators/rotten_layout/templates/shared_navigation.html.haml
81
+ - rails_generators/rotten_layout/templates/shared_sidebar.html.haml
82
+ - rails_generators/rotten_layout/templates/two_column_left.html.haml
83
+ - rails_generators/rotten_layout/templates/two_column_right.html.haml
84
+ - rails_generators/rotten_scaffold/USAGE
85
+ - rails_generators/rotten_scaffold/rotten_scaffold_generator.rb
86
+ - rails_generators/rotten_scaffold/templates/actions/create.rb
87
+ - rails_generators/rotten_scaffold/templates/actions/destroy.rb
88
+ - rails_generators/rotten_scaffold/templates/actions/edit.rb
89
+ - rails_generators/rotten_scaffold/templates/actions/index.rb
90
+ - rails_generators/rotten_scaffold/templates/actions/new.rb
91
+ - rails_generators/rotten_scaffold/templates/actions/show.rb
92
+ - rails_generators/rotten_scaffold/templates/actions/update.rb
93
+ - rails_generators/rotten_scaffold/templates/controller.rb
94
+ - rails_generators/rotten_scaffold/templates/fixtures.yml
95
+ - rails_generators/rotten_scaffold/templates/helper.rb
96
+ - rails_generators/rotten_scaffold/templates/migration.rb
97
+ - rails_generators/rotten_scaffold/templates/model.rb
98
+ - rails_generators/rotten_scaffold/templates/tests/rspec/actions/create.rb
99
+ - rails_generators/rotten_scaffold/templates/tests/rspec/actions/destroy.rb
100
+ - rails_generators/rotten_scaffold/templates/tests/rspec/actions/edit.rb
101
+ - rails_generators/rotten_scaffold/templates/tests/rspec/actions/index.rb
102
+ - rails_generators/rotten_scaffold/templates/tests/rspec/actions/new.rb
103
+ - rails_generators/rotten_scaffold/templates/tests/rspec/actions/show.rb
104
+ - rails_generators/rotten_scaffold/templates/tests/rspec/actions/update.rb
105
+ - rails_generators/rotten_scaffold/templates/tests/rspec/controller.rb
106
+ - rails_generators/rotten_scaffold/templates/tests/rspec/model.rb
107
+ - rails_generators/rotten_scaffold/templates/views/haml/_form.html.haml
108
+ - rails_generators/rotten_scaffold/templates/views/haml/edit.html.haml
109
+ - rails_generators/rotten_scaffold/templates/views/haml/index.html.haml
110
+ - rails_generators/rotten_scaffold/templates/views/haml/new.html.haml
111
+ - rails_generators/rotten_scaffold/templates/views/haml/show.html.haml
112
+ - spec/rotten_spec.rb
113
+ - spec/spec.opts
114
+ - spec/spec_helper.rb
115
+ has_rdoc: true
116
+ homepage: http://github.com/rotten/generators
117
+ post_install_message:
118
+ rdoc_options:
119
+ - --charset=UTF-8
120
+ require_paths:
121
+ - lib
122
+ required_ruby_version: !ruby/object:Gem::Requirement
123
+ requirements:
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ version: "0"
127
+ version:
128
+ required_rubygems_version: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - ">="
131
+ - !ruby/object:Gem::Version
132
+ version: "0"
133
+ version:
134
+ requirements: []
135
+
136
+ rubyforge_project:
137
+ rubygems_version: 1.2.0
138
+ signing_key:
139
+ specification_version: 2
140
+ summary: Collection of rails generators
141
+ test_files:
142
+ - spec/rotten_spec.rb
143
+ - spec/spec_helper.rb