kickoff 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -0
- data/.rspec +1 -0
- data/CHANGELOG +3 -0
- data/Gemfile +4 -0
- data/LICENSE +20 -0
- data/README.md +41 -0
- data/Rakefile +5 -0
- data/features/nifty_authentication.feature +80 -0
- data/features/nifty_config.feature +17 -0
- data/features/nifty_layout.feature +20 -0
- data/features/nifty_scaffold.feature +80 -0
- data/features/step_definitions/common_steps.rb +62 -0
- data/features/step_definitions/rails_setup_steps.rb +6 -0
- data/features/support/env.rb +6 -0
- data/features/support/matchers.rb +7 -0
- data/kickoff.gemspec +24 -0
- data/lib/generators/kickoff/authentication/USAGE +50 -0
- data/lib/generators/kickoff/authentication/authentication_generator.rb +154 -0
- data/lib/generators/kickoff/authentication/templates/authlogic_session.rb +2 -0
- data/lib/generators/kickoff/authentication/templates/controller_authentication.rb +60 -0
- data/lib/generators/kickoff/authentication/templates/fixtures.yml +24 -0
- data/lib/generators/kickoff/authentication/templates/migration.rb +20 -0
- data/lib/generators/kickoff/authentication/templates/sessions_controller.rb +41 -0
- data/lib/generators/kickoff/authentication/templates/sessions_helper.rb +2 -0
- data/lib/generators/kickoff/authentication/templates/tests/rspec/sessions_controller.rb +39 -0
- data/lib/generators/kickoff/authentication/templates/tests/rspec/user.rb +83 -0
- data/lib/generators/kickoff/authentication/templates/tests/rspec/users_controller.rb +56 -0
- data/lib/generators/kickoff/authentication/templates/tests/shoulda/sessions_controller.rb +40 -0
- data/lib/generators/kickoff/authentication/templates/tests/shoulda/user.rb +85 -0
- data/lib/generators/kickoff/authentication/templates/tests/shoulda/users_controller.rb +61 -0
- data/lib/generators/kickoff/authentication/templates/tests/testunit/sessions_controller.rb +36 -0
- data/lib/generators/kickoff/authentication/templates/tests/testunit/user.rb +88 -0
- data/lib/generators/kickoff/authentication/templates/tests/testunit/users_controller.rb +53 -0
- data/lib/generators/kickoff/authentication/templates/user.rb +38 -0
- data/lib/generators/kickoff/authentication/templates/users_controller.rb +32 -0
- data/lib/generators/kickoff/authentication/templates/users_helper.rb +2 -0
- data/lib/generators/kickoff/authentication/templates/views/erb/_form.html.erb +20 -0
- data/lib/generators/kickoff/authentication/templates/views/erb/edit.html.erb +3 -0
- data/lib/generators/kickoff/authentication/templates/views/erb/login.html.erb +30 -0
- data/lib/generators/kickoff/authentication/templates/views/erb/signup.html.erb +5 -0
- data/lib/generators/kickoff/authentication/templates/views/haml/_form.html.haml +16 -0
- data/lib/generators/kickoff/authentication/templates/views/haml/edit.html.haml +3 -0
- data/lib/generators/kickoff/authentication/templates/views/haml/login.html.haml +26 -0
- data/lib/generators/kickoff/authentication/templates/views/haml/signup.html.haml +5 -0
- data/lib/generators/kickoff/layout/USAGE +25 -0
- data/lib/generators/kickoff/layout/layout_generator.rb +38 -0
- data/lib/generators/kickoff/layout/templates/_forms.scss +417 -0
- data/lib/generators/kickoff/layout/templates/_mixins.scss +211 -0
- data/lib/generators/kickoff/layout/templates/_patterns.scss +960 -0
- data/lib/generators/kickoff/layout/templates/_reset.scss +141 -0
- data/lib/generators/kickoff/layout/templates/_scaffolding.scss +137 -0
- data/lib/generators/kickoff/layout/templates/_tables.scss +172 -0
- data/lib/generators/kickoff/layout/templates/_type.scss +185 -0
- data/lib/generators/kickoff/layout/templates/_variables.scss +50 -0
- data/lib/generators/kickoff/layout/templates/application.scss +21 -0
- data/lib/generators/kickoff/layout/templates/error_messages_helper.rb +23 -0
- data/lib/generators/kickoff/layout/templates/layout.html.erb +34 -0
- data/lib/generators/kickoff/layout/templates/layout.html.haml +21 -0
- data/lib/generators/kickoff/layout/templates/layout_helper.rb +22 -0
- data/lib/generators/kickoff/layout/templates/stylesheet.sass +73 -0
- data/lib/generators/kickoff/scaffold/USAGE +51 -0
- data/lib/generators/kickoff/scaffold/scaffold_generator.rb +318 -0
- data/lib/generators/kickoff/scaffold/templates/actions/create.rb +8 -0
- data/lib/generators/kickoff/scaffold/templates/actions/destroy.rb +5 -0
- data/lib/generators/kickoff/scaffold/templates/actions/edit.rb +3 -0
- data/lib/generators/kickoff/scaffold/templates/actions/index.rb +3 -0
- data/lib/generators/kickoff/scaffold/templates/actions/new.rb +3 -0
- data/lib/generators/kickoff/scaffold/templates/actions/show.rb +3 -0
- data/lib/generators/kickoff/scaffold/templates/actions/update.rb +8 -0
- data/lib/generators/kickoff/scaffold/templates/controller.rb +3 -0
- data/lib/generators/kickoff/scaffold/templates/fixtures.yml +9 -0
- data/lib/generators/kickoff/scaffold/templates/helper.rb +2 -0
- data/lib/generators/kickoff/scaffold/templates/migration.rb +16 -0
- data/lib/generators/kickoff/scaffold/templates/model.rb +4 -0
- data/lib/generators/kickoff/scaffold/templates/tests/rspec/actions/create.rb +11 -0
- data/lib/generators/kickoff/scaffold/templates/tests/rspec/actions/destroy.rb +6 -0
- data/lib/generators/kickoff/scaffold/templates/tests/rspec/actions/edit.rb +4 -0
- data/lib/generators/kickoff/scaffold/templates/tests/rspec/actions/index.rb +4 -0
- data/lib/generators/kickoff/scaffold/templates/tests/rspec/actions/new.rb +4 -0
- data/lib/generators/kickoff/scaffold/templates/tests/rspec/actions/show.rb +4 -0
- data/lib/generators/kickoff/scaffold/templates/tests/rspec/actions/update.rb +11 -0
- data/lib/generators/kickoff/scaffold/templates/tests/rspec/controller.rb +8 -0
- data/lib/generators/kickoff/scaffold/templates/tests/rspec/model.rb +7 -0
- data/lib/generators/kickoff/scaffold/templates/tests/shoulda/actions/create.rb +13 -0
- data/lib/generators/kickoff/scaffold/templates/tests/shoulda/actions/destroy.rb +8 -0
- data/lib/generators/kickoff/scaffold/templates/tests/shoulda/actions/edit.rb +6 -0
- data/lib/generators/kickoff/scaffold/templates/tests/shoulda/actions/index.rb +6 -0
- data/lib/generators/kickoff/scaffold/templates/tests/shoulda/actions/new.rb +6 -0
- data/lib/generators/kickoff/scaffold/templates/tests/shoulda/actions/show.rb +6 -0
- data/lib/generators/kickoff/scaffold/templates/tests/shoulda/actions/update.rb +13 -0
- data/lib/generators/kickoff/scaffold/templates/tests/shoulda/controller.rb +5 -0
- data/lib/generators/kickoff/scaffold/templates/tests/shoulda/model.rb +7 -0
- data/lib/generators/kickoff/scaffold/templates/tests/testunit/actions/create.rb +11 -0
- data/lib/generators/kickoff/scaffold/templates/tests/testunit/actions/destroy.rb +6 -0
- data/lib/generators/kickoff/scaffold/templates/tests/testunit/actions/edit.rb +4 -0
- data/lib/generators/kickoff/scaffold/templates/tests/testunit/actions/index.rb +4 -0
- data/lib/generators/kickoff/scaffold/templates/tests/testunit/actions/new.rb +4 -0
- data/lib/generators/kickoff/scaffold/templates/tests/testunit/actions/show.rb +4 -0
- data/lib/generators/kickoff/scaffold/templates/tests/testunit/actions/update.rb +11 -0
- data/lib/generators/kickoff/scaffold/templates/tests/testunit/controller.rb +5 -0
- data/lib/generators/kickoff/scaffold/templates/tests/testunit/model.rb +7 -0
- data/lib/generators/kickoff/scaffold/templates/views/erb/_form.html.erb +10 -0
- data/lib/generators/kickoff/scaffold/templates/views/erb/edit.html.erb +14 -0
- data/lib/generators/kickoff/scaffold/templates/views/erb/index.html.erb +29 -0
- data/lib/generators/kickoff/scaffold/templates/views/erb/new.html.erb +7 -0
- data/lib/generators/kickoff/scaffold/templates/views/erb/show.html.erb +20 -0
- data/lib/generators/kickoff/scaffold/templates/views/haml/_form.html.haml +9 -0
- data/lib/generators/kickoff/scaffold/templates/views/haml/edit.html.haml +14 -0
- data/lib/generators/kickoff/scaffold/templates/views/haml/index.html.haml +25 -0
- data/lib/generators/kickoff/scaffold/templates/views/haml/new.html.haml +7 -0
- data/lib/generators/kickoff/scaffold/templates/views/haml/show.html.haml +20 -0
- data/lib/generators/kickoff/version.rb +3 -0
- data/lib/generators/kickoff.rb +29 -0
- data/spec/spec_helper.rb +1 -0
- metadata +179 -0
@@ -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,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,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 <%= 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,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,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 -%>
|
@@ -0,0 +1,29 @@
|
|
1
|
+
require 'generators/kickoff/version'
|
2
|
+
require 'rails/generators/base'
|
3
|
+
|
4
|
+
module Kickoff
|
5
|
+
module Generators
|
6
|
+
class Base < Rails::Generators::Base
|
7
|
+
def self.source_root
|
8
|
+
@_kickoff_source_root ||= File.expand_path(File.join(File.dirname(__FILE__), 'kickoff', generator_name, 'templates'))
|
9
|
+
end
|
10
|
+
|
11
|
+
def self.banner
|
12
|
+
"rails generate kickoff:#{generator_name} #{self.arguments.map{ |a| a.usage }.join(' ')} [options]"
|
13
|
+
end
|
14
|
+
|
15
|
+
private
|
16
|
+
|
17
|
+
def add_gem(name, options = {})
|
18
|
+
gemfile_content = File.read(destination_path("Gemfile"))
|
19
|
+
File.open(destination_path("Gemfile"), 'a') { |f| f.write("\n") } unless gemfile_content =~ /\n\Z/
|
20
|
+
gem name, options unless gemfile_content.include? name
|
21
|
+
end
|
22
|
+
|
23
|
+
def print_usage
|
24
|
+
self.class.help(Thor::Base.shell.new)
|
25
|
+
exit
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require 'kickoff'
|
metadata
ADDED
@@ -0,0 +1,179 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: kickoff
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Loki Meyburg
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-02-01 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rspec
|
16
|
+
requirement: &2154392020 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *2154392020
|
25
|
+
description: Kickoff is what every Rails project should start with
|
26
|
+
email:
|
27
|
+
- loki@aristolabs.com
|
28
|
+
executables: []
|
29
|
+
extensions: []
|
30
|
+
extra_rdoc_files: []
|
31
|
+
files:
|
32
|
+
- .gitignore
|
33
|
+
- .rspec
|
34
|
+
- CHANGELOG
|
35
|
+
- Gemfile
|
36
|
+
- LICENSE
|
37
|
+
- README.md
|
38
|
+
- Rakefile
|
39
|
+
- features/nifty_authentication.feature
|
40
|
+
- features/nifty_config.feature
|
41
|
+
- features/nifty_layout.feature
|
42
|
+
- features/nifty_scaffold.feature
|
43
|
+
- features/step_definitions/common_steps.rb
|
44
|
+
- features/step_definitions/rails_setup_steps.rb
|
45
|
+
- features/support/env.rb
|
46
|
+
- features/support/matchers.rb
|
47
|
+
- kickoff.gemspec
|
48
|
+
- lib/generators/kickoff.rb
|
49
|
+
- lib/generators/kickoff/authentication/USAGE
|
50
|
+
- lib/generators/kickoff/authentication/authentication_generator.rb
|
51
|
+
- lib/generators/kickoff/authentication/templates/authlogic_session.rb
|
52
|
+
- lib/generators/kickoff/authentication/templates/controller_authentication.rb
|
53
|
+
- lib/generators/kickoff/authentication/templates/fixtures.yml
|
54
|
+
- lib/generators/kickoff/authentication/templates/migration.rb
|
55
|
+
- lib/generators/kickoff/authentication/templates/sessions_controller.rb
|
56
|
+
- lib/generators/kickoff/authentication/templates/sessions_helper.rb
|
57
|
+
- lib/generators/kickoff/authentication/templates/tests/rspec/sessions_controller.rb
|
58
|
+
- lib/generators/kickoff/authentication/templates/tests/rspec/user.rb
|
59
|
+
- lib/generators/kickoff/authentication/templates/tests/rspec/users_controller.rb
|
60
|
+
- lib/generators/kickoff/authentication/templates/tests/shoulda/sessions_controller.rb
|
61
|
+
- lib/generators/kickoff/authentication/templates/tests/shoulda/user.rb
|
62
|
+
- lib/generators/kickoff/authentication/templates/tests/shoulda/users_controller.rb
|
63
|
+
- lib/generators/kickoff/authentication/templates/tests/testunit/sessions_controller.rb
|
64
|
+
- lib/generators/kickoff/authentication/templates/tests/testunit/user.rb
|
65
|
+
- lib/generators/kickoff/authentication/templates/tests/testunit/users_controller.rb
|
66
|
+
- lib/generators/kickoff/authentication/templates/user.rb
|
67
|
+
- lib/generators/kickoff/authentication/templates/users_controller.rb
|
68
|
+
- lib/generators/kickoff/authentication/templates/users_helper.rb
|
69
|
+
- lib/generators/kickoff/authentication/templates/views/erb/_form.html.erb
|
70
|
+
- lib/generators/kickoff/authentication/templates/views/erb/edit.html.erb
|
71
|
+
- lib/generators/kickoff/authentication/templates/views/erb/login.html.erb
|
72
|
+
- lib/generators/kickoff/authentication/templates/views/erb/signup.html.erb
|
73
|
+
- lib/generators/kickoff/authentication/templates/views/haml/_form.html.haml
|
74
|
+
- lib/generators/kickoff/authentication/templates/views/haml/edit.html.haml
|
75
|
+
- lib/generators/kickoff/authentication/templates/views/haml/login.html.haml
|
76
|
+
- lib/generators/kickoff/authentication/templates/views/haml/signup.html.haml
|
77
|
+
- lib/generators/kickoff/layout/USAGE
|
78
|
+
- lib/generators/kickoff/layout/layout_generator.rb
|
79
|
+
- lib/generators/kickoff/layout/templates/_forms.scss
|
80
|
+
- lib/generators/kickoff/layout/templates/_mixins.scss
|
81
|
+
- lib/generators/kickoff/layout/templates/_patterns.scss
|
82
|
+
- lib/generators/kickoff/layout/templates/_reset.scss
|
83
|
+
- lib/generators/kickoff/layout/templates/_scaffolding.scss
|
84
|
+
- lib/generators/kickoff/layout/templates/_tables.scss
|
85
|
+
- lib/generators/kickoff/layout/templates/_type.scss
|
86
|
+
- lib/generators/kickoff/layout/templates/_variables.scss
|
87
|
+
- lib/generators/kickoff/layout/templates/application.scss
|
88
|
+
- lib/generators/kickoff/layout/templates/error_messages_helper.rb
|
89
|
+
- lib/generators/kickoff/layout/templates/layout.html.erb
|
90
|
+
- lib/generators/kickoff/layout/templates/layout.html.haml
|
91
|
+
- lib/generators/kickoff/layout/templates/layout_helper.rb
|
92
|
+
- lib/generators/kickoff/layout/templates/stylesheet.sass
|
93
|
+
- lib/generators/kickoff/scaffold/USAGE
|
94
|
+
- lib/generators/kickoff/scaffold/scaffold_generator.rb
|
95
|
+
- lib/generators/kickoff/scaffold/templates/actions/create.rb
|
96
|
+
- lib/generators/kickoff/scaffold/templates/actions/destroy.rb
|
97
|
+
- lib/generators/kickoff/scaffold/templates/actions/edit.rb
|
98
|
+
- lib/generators/kickoff/scaffold/templates/actions/index.rb
|
99
|
+
- lib/generators/kickoff/scaffold/templates/actions/new.rb
|
100
|
+
- lib/generators/kickoff/scaffold/templates/actions/show.rb
|
101
|
+
- lib/generators/kickoff/scaffold/templates/actions/update.rb
|
102
|
+
- lib/generators/kickoff/scaffold/templates/controller.rb
|
103
|
+
- lib/generators/kickoff/scaffold/templates/fixtures.yml
|
104
|
+
- lib/generators/kickoff/scaffold/templates/helper.rb
|
105
|
+
- lib/generators/kickoff/scaffold/templates/migration.rb
|
106
|
+
- lib/generators/kickoff/scaffold/templates/model.rb
|
107
|
+
- lib/generators/kickoff/scaffold/templates/tests/rspec/actions/create.rb
|
108
|
+
- lib/generators/kickoff/scaffold/templates/tests/rspec/actions/destroy.rb
|
109
|
+
- lib/generators/kickoff/scaffold/templates/tests/rspec/actions/edit.rb
|
110
|
+
- lib/generators/kickoff/scaffold/templates/tests/rspec/actions/index.rb
|
111
|
+
- lib/generators/kickoff/scaffold/templates/tests/rspec/actions/new.rb
|
112
|
+
- lib/generators/kickoff/scaffold/templates/tests/rspec/actions/show.rb
|
113
|
+
- lib/generators/kickoff/scaffold/templates/tests/rspec/actions/update.rb
|
114
|
+
- lib/generators/kickoff/scaffold/templates/tests/rspec/controller.rb
|
115
|
+
- lib/generators/kickoff/scaffold/templates/tests/rspec/model.rb
|
116
|
+
- lib/generators/kickoff/scaffold/templates/tests/shoulda/actions/create.rb
|
117
|
+
- lib/generators/kickoff/scaffold/templates/tests/shoulda/actions/destroy.rb
|
118
|
+
- lib/generators/kickoff/scaffold/templates/tests/shoulda/actions/edit.rb
|
119
|
+
- lib/generators/kickoff/scaffold/templates/tests/shoulda/actions/index.rb
|
120
|
+
- lib/generators/kickoff/scaffold/templates/tests/shoulda/actions/new.rb
|
121
|
+
- lib/generators/kickoff/scaffold/templates/tests/shoulda/actions/show.rb
|
122
|
+
- lib/generators/kickoff/scaffold/templates/tests/shoulda/actions/update.rb
|
123
|
+
- lib/generators/kickoff/scaffold/templates/tests/shoulda/controller.rb
|
124
|
+
- lib/generators/kickoff/scaffold/templates/tests/shoulda/model.rb
|
125
|
+
- lib/generators/kickoff/scaffold/templates/tests/testunit/actions/create.rb
|
126
|
+
- lib/generators/kickoff/scaffold/templates/tests/testunit/actions/destroy.rb
|
127
|
+
- lib/generators/kickoff/scaffold/templates/tests/testunit/actions/edit.rb
|
128
|
+
- lib/generators/kickoff/scaffold/templates/tests/testunit/actions/index.rb
|
129
|
+
- lib/generators/kickoff/scaffold/templates/tests/testunit/actions/new.rb
|
130
|
+
- lib/generators/kickoff/scaffold/templates/tests/testunit/actions/show.rb
|
131
|
+
- lib/generators/kickoff/scaffold/templates/tests/testunit/actions/update.rb
|
132
|
+
- lib/generators/kickoff/scaffold/templates/tests/testunit/controller.rb
|
133
|
+
- lib/generators/kickoff/scaffold/templates/tests/testunit/model.rb
|
134
|
+
- lib/generators/kickoff/scaffold/templates/views/erb/_form.html.erb
|
135
|
+
- lib/generators/kickoff/scaffold/templates/views/erb/edit.html.erb
|
136
|
+
- lib/generators/kickoff/scaffold/templates/views/erb/index.html.erb
|
137
|
+
- lib/generators/kickoff/scaffold/templates/views/erb/new.html.erb
|
138
|
+
- lib/generators/kickoff/scaffold/templates/views/erb/show.html.erb
|
139
|
+
- lib/generators/kickoff/scaffold/templates/views/haml/_form.html.haml
|
140
|
+
- lib/generators/kickoff/scaffold/templates/views/haml/edit.html.haml
|
141
|
+
- lib/generators/kickoff/scaffold/templates/views/haml/index.html.haml
|
142
|
+
- lib/generators/kickoff/scaffold/templates/views/haml/new.html.haml
|
143
|
+
- lib/generators/kickoff/scaffold/templates/views/haml/show.html.haml
|
144
|
+
- lib/generators/kickoff/version.rb
|
145
|
+
- spec/spec_helper.rb
|
146
|
+
homepage: https://github.com/jannus/kickoff
|
147
|
+
licenses: []
|
148
|
+
post_install_message:
|
149
|
+
rdoc_options: []
|
150
|
+
require_paths:
|
151
|
+
- lib
|
152
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - ! '>='
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '0'
|
158
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
159
|
+
none: false
|
160
|
+
requirements:
|
161
|
+
- - ! '>='
|
162
|
+
- !ruby/object:Gem::Version
|
163
|
+
version: '0'
|
164
|
+
requirements: []
|
165
|
+
rubyforge_project: kickoff
|
166
|
+
rubygems_version: 1.8.5
|
167
|
+
signing_key:
|
168
|
+
specification_version: 3
|
169
|
+
summary: A collection of useful Rails generator scripts
|
170
|
+
test_files:
|
171
|
+
- features/nifty_authentication.feature
|
172
|
+
- features/nifty_config.feature
|
173
|
+
- features/nifty_layout.feature
|
174
|
+
- features/nifty_scaffold.feature
|
175
|
+
- features/step_definitions/common_steps.rb
|
176
|
+
- features/step_definitions/rails_setup_steps.rb
|
177
|
+
- features/support/env.rb
|
178
|
+
- features/support/matchers.rb
|
179
|
+
- spec/spec_helper.rb
|