twilson63-nifty-generators 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('nifty-generators', '0.3.3') do |p|
5
+ Echoe.new('nifty-generators', '0.3.4') do |p|
6
6
  p.project = "forked-niftygenerators"
7
7
  p.description = "A collection of useful generator scripts for Rails."
8
8
  p.url = "http://github.com/twilson63/nifty-generators"
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{nifty-generators}
5
- s.version = "0.3.3"
5
+ s.version = "0.3.4"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Tom Wilson, Ryan Bates"]
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
10
10
  s.description = %q{A collection of useful generator scripts for Rails.}
11
11
  s.email = %q{ryan (at) railscasts (dot) com}
12
12
  s.extra_rdoc_files = ["CHANGELOG", "lib/nifty_generators.rb", "LICENSE", "README.rdoc", "tasks/deployment.rake", "TODO"]
13
- s.files = ["CHANGELOG", "lib/nifty_generators.rb", "LICENSE", "Manifest", "rails_generators/nifty_authentication/lib/insert_commands.rb", "rails_generators/nifty_authentication/nifty_authentication_generator.rb", "rails_generators/nifty_authentication/templates/authentication.rb", "rails_generators/nifty_authentication/templates/fixtures.yml", "rails_generators/nifty_authentication/templates/migration.rb", "rails_generators/nifty_authentication/templates/sessions_controller.rb", "rails_generators/nifty_authentication/templates/sessions_helper.rb", "rails_generators/nifty_authentication/templates/tests/rspec/sessions_controller.rb", "rails_generators/nifty_authentication/templates/tests/rspec/user.rb", "rails_generators/nifty_authentication/templates/tests/rspec/users_controller.rb", "rails_generators/nifty_authentication/templates/tests/shoulda/sessions_controller.rb", "rails_generators/nifty_authentication/templates/tests/shoulda/user.rb", "rails_generators/nifty_authentication/templates/tests/shoulda/users_controller.rb", "rails_generators/nifty_authentication/templates/tests/testunit/sessions_controller.rb", "rails_generators/nifty_authentication/templates/tests/testunit/user.rb", "rails_generators/nifty_authentication/templates/tests/testunit/users_controller.rb", "rails_generators/nifty_authentication/templates/user.rb", "rails_generators/nifty_authentication/templates/users_controller.rb", "rails_generators/nifty_authentication/templates/users_helper.rb", "rails_generators/nifty_authentication/templates/views/erb/login.html.erb", "rails_generators/nifty_authentication/templates/views/erb/signup.html.erb", "rails_generators/nifty_authentication/templates/views/haml/login.html.haml", "rails_generators/nifty_authentication/templates/views/haml/signup.html.haml", "rails_generators/nifty_authentication/USAGE", "rails_generators/nifty_config/nifty_config_generator.rb", "rails_generators/nifty_config/templates/config.yml", "rails_generators/nifty_config/templates/load_config.rb", "rails_generators/nifty_config/USAGE", "rails_generators/nifty_layout/nifty_layout_generator.rb", "rails_generators/nifty_layout/templates/_footer.html.haml", "rails_generators/nifty_layout/templates/_header.html.haml", "rails_generators/nifty_layout/templates/_javascripts.html.haml", "rails_generators/nifty_layout/templates/_navigation.html.haml", "rails_generators/nifty_layout/templates/_stylesheets.html.haml", "rails_generators/nifty_layout/templates/helper.rb", "rails_generators/nifty_layout/templates/javascript.js", "rails_generators/nifty_layout/templates/layout.html.erb", "rails_generators/nifty_layout/templates/layout.html.haml", "rails_generators/nifty_layout/templates/stylesheet.css", "rails_generators/nifty_layout/templates/stylesheet.sass", "rails_generators/nifty_layout/USAGE", "rails_generators/nifty_nested_scaffold/nifty_nested_scaffold_generator.rb", "rails_generators/nifty_nested_scaffold/templates/actions/create.rb", "rails_generators/nifty_nested_scaffold/templates/actions/destroy.rb", "rails_generators/nifty_nested_scaffold/templates/actions/edit.rb", "rails_generators/nifty_nested_scaffold/templates/actions/index.rb", "rails_generators/nifty_nested_scaffold/templates/actions/new.rb", "rails_generators/nifty_nested_scaffold/templates/actions/show.rb", "rails_generators/nifty_nested_scaffold/templates/actions/update.rb", "rails_generators/nifty_nested_scaffold/templates/controller.rb", "rails_generators/nifty_nested_scaffold/templates/fixtures.yml", "rails_generators/nifty_nested_scaffold/templates/helper.rb", "rails_generators/nifty_nested_scaffold/templates/migration.rb", "rails_generators/nifty_nested_scaffold/templates/model.rb", "rails_generators/nifty_nested_scaffold/templates/tests/rspec/actions/create.rb", "rails_generators/nifty_nested_scaffold/templates/tests/rspec/actions/destroy.rb", "rails_generators/nifty_nested_scaffold/templates/tests/rspec/actions/edit.rb", "rails_generators/nifty_nested_scaffold/templates/tests/rspec/actions/index.rb", "rails_generators/nifty_nested_scaffold/templates/tests/rspec/actions/new.rb", "rails_generators/nifty_nested_scaffold/templates/tests/rspec/actions/show.rb", "rails_generators/nifty_nested_scaffold/templates/tests/rspec/actions/update.rb", "rails_generators/nifty_nested_scaffold/templates/tests/rspec/controller.rb", "rails_generators/nifty_nested_scaffold/templates/tests/rspec/model.rb", "rails_generators/nifty_nested_scaffold/templates/tests/shoulda/actions/create.rb", "rails_generators/nifty_nested_scaffold/templates/tests/shoulda/actions/destroy.rb", "rails_generators/nifty_nested_scaffold/templates/tests/shoulda/actions/edit.rb", "rails_generators/nifty_nested_scaffold/templates/tests/shoulda/actions/index.rb", "rails_generators/nifty_nested_scaffold/templates/tests/shoulda/actions/new.rb", "rails_generators/nifty_nested_scaffold/templates/tests/shoulda/actions/show.rb", "rails_generators/nifty_nested_scaffold/templates/tests/shoulda/actions/update.rb", "rails_generators/nifty_nested_scaffold/templates/tests/shoulda/controller.rb", "rails_generators/nifty_nested_scaffold/templates/tests/shoulda/model.rb", "rails_generators/nifty_nested_scaffold/templates/tests/testunit/actions/create.rb", "rails_generators/nifty_nested_scaffold/templates/tests/testunit/actions/destroy.rb", "rails_generators/nifty_nested_scaffold/templates/tests/testunit/actions/edit.rb", "rails_generators/nifty_nested_scaffold/templates/tests/testunit/actions/index.rb", "rails_generators/nifty_nested_scaffold/templates/tests/testunit/actions/new.rb", "rails_generators/nifty_nested_scaffold/templates/tests/testunit/actions/show.rb", "rails_generators/nifty_nested_scaffold/templates/tests/testunit/actions/update.rb", "rails_generators/nifty_nested_scaffold/templates/tests/testunit/controller.rb", "rails_generators/nifty_nested_scaffold/templates/tests/testunit/model.rb", "rails_generators/nifty_nested_scaffold/templates/views/erb/_form.html.erb", "rails_generators/nifty_nested_scaffold/templates/views/erb/edit.html.erb", "rails_generators/nifty_nested_scaffold/templates/views/erb/index.html.erb", "rails_generators/nifty_nested_scaffold/templates/views/erb/new.html.erb", "rails_generators/nifty_nested_scaffold/templates/views/erb/show.html.erb", "rails_generators/nifty_nested_scaffold/templates/views/haml/_error.html.haml", "rails_generators/nifty_nested_scaffold/templates/views/haml/_form.html.haml", "rails_generators/nifty_nested_scaffold/templates/views/haml/_item.html.haml", "rails_generators/nifty_nested_scaffold/templates/views/haml/_items.html.haml", "rails_generators/nifty_nested_scaffold/templates/views/haml/create.rjs", "rails_generators/nifty_nested_scaffold/templates/views/haml/dialog.rjs", "rails_generators/nifty_nested_scaffold/templates/views/haml/edit.html.haml", "rails_generators/nifty_nested_scaffold/templates/views/haml/error.rjs", "rails_generators/nifty_nested_scaffold/templates/views/haml/index.html.haml", "rails_generators/nifty_nested_scaffold/templates/views/haml/new.html.haml", "rails_generators/nifty_nested_scaffold/templates/views/haml/show.html.haml", "rails_generators/nifty_nested_scaffold/templates/views/haml/update.rjs", "rails_generators/nifty_nested_scaffold/USAGE", "rails_generators/nifty_scaffold/nifty_scaffold_generator.rb", "rails_generators/nifty_scaffold/templates/actions/create.rb", "rails_generators/nifty_scaffold/templates/actions/destroy.rb", "rails_generators/nifty_scaffold/templates/actions/edit.rb", "rails_generators/nifty_scaffold/templates/actions/index.rb", "rails_generators/nifty_scaffold/templates/actions/new.rb", "rails_generators/nifty_scaffold/templates/actions/show.rb", "rails_generators/nifty_scaffold/templates/actions/update.rb", "rails_generators/nifty_scaffold/templates/controller.rb", "rails_generators/nifty_scaffold/templates/fixtures.yml", "rails_generators/nifty_scaffold/templates/helper.rb", "rails_generators/nifty_scaffold/templates/migration.rb", "rails_generators/nifty_scaffold/templates/model.rb", "rails_generators/nifty_scaffold/templates/tests/rspec/actions/create.rb", "rails_generators/nifty_scaffold/templates/tests/rspec/actions/destroy.rb", "rails_generators/nifty_scaffold/templates/tests/rspec/actions/edit.rb", "rails_generators/nifty_scaffold/templates/tests/rspec/actions/index.rb", "rails_generators/nifty_scaffold/templates/tests/rspec/actions/new.rb", "rails_generators/nifty_scaffold/templates/tests/rspec/actions/show.rb", "rails_generators/nifty_scaffold/templates/tests/rspec/actions/update.rb", "rails_generators/nifty_scaffold/templates/tests/rspec/controller.rb", "rails_generators/nifty_scaffold/templates/tests/rspec/model.rb", "rails_generators/nifty_scaffold/templates/tests/shoulda/actions/create.rb", "rails_generators/nifty_scaffold/templates/tests/shoulda/actions/destroy.rb", "rails_generators/nifty_scaffold/templates/tests/shoulda/actions/edit.rb", "rails_generators/nifty_scaffold/templates/tests/shoulda/actions/index.rb", "rails_generators/nifty_scaffold/templates/tests/shoulda/actions/new.rb", "rails_generators/nifty_scaffold/templates/tests/shoulda/actions/show.rb", "rails_generators/nifty_scaffold/templates/tests/shoulda/actions/update.rb", "rails_generators/nifty_scaffold/templates/tests/shoulda/controller.rb", "rails_generators/nifty_scaffold/templates/tests/shoulda/model.rb", "rails_generators/nifty_scaffold/templates/tests/testunit/actions/create.rb", "rails_generators/nifty_scaffold/templates/tests/testunit/actions/destroy.rb", "rails_generators/nifty_scaffold/templates/tests/testunit/actions/edit.rb", "rails_generators/nifty_scaffold/templates/tests/testunit/actions/index.rb", "rails_generators/nifty_scaffold/templates/tests/testunit/actions/new.rb", "rails_generators/nifty_scaffold/templates/tests/testunit/actions/show.rb", "rails_generators/nifty_scaffold/templates/tests/testunit/actions/update.rb", "rails_generators/nifty_scaffold/templates/tests/testunit/controller.rb", "rails_generators/nifty_scaffold/templates/tests/testunit/model.rb", "rails_generators/nifty_scaffold/templates/views/erb/_form.html.erb", "rails_generators/nifty_scaffold/templates/views/erb/edit.html.erb", "rails_generators/nifty_scaffold/templates/views/erb/index.html.erb", "rails_generators/nifty_scaffold/templates/views/erb/new.html.erb", "rails_generators/nifty_scaffold/templates/views/erb/show.html.erb", "rails_generators/nifty_scaffold/templates/views/haml/_error.html.haml", "rails_generators/nifty_scaffold/templates/views/haml/_form.html.haml", "rails_generators/nifty_scaffold/templates/views/haml/_item.html.haml", "rails_generators/nifty_scaffold/templates/views/haml/_items.html.haml", "rails_generators/nifty_scaffold/templates/views/haml/create.rjs", "rails_generators/nifty_scaffold/templates/views/haml/dialog.rjs", "rails_generators/nifty_scaffold/templates/views/haml/edit.html.haml", "rails_generators/nifty_scaffold/templates/views/haml/error.rjs", "rails_generators/nifty_scaffold/templates/views/haml/index.html.haml", "rails_generators/nifty_scaffold/templates/views/haml/new.html.haml", "rails_generators/nifty_scaffold/templates/views/haml/show.html.haml", "rails_generators/nifty_scaffold/templates/views/haml/update.rjs", "rails_generators/nifty_scaffold/USAGE", "Rakefile", "README.rdoc", "tasks/deployment.rake", "test/test_helper.rb", "test/test_nifty_authentication_generator.rb", "test/test_nifty_config_generator.rb", "test/test_nifty_layout_generator.rb", "test/test_nifty_scaffold_generator.rb", "TODO", "nifty-generators.gemspec"]
13
+ s.files = ["CHANGELOG", "lib/nifty_generators.rb", "LICENSE", "Manifest", "nifty-generators.gemspec", "rails_generators/nifty_authentication/lib/insert_commands.rb", "rails_generators/nifty_authentication/nifty_authentication_generator.rb", "rails_generators/nifty_authentication/templates/authentication.rb", "rails_generators/nifty_authentication/templates/fixtures.yml", "rails_generators/nifty_authentication/templates/migration.rb", "rails_generators/nifty_authentication/templates/sessions_controller.rb", "rails_generators/nifty_authentication/templates/sessions_helper.rb", "rails_generators/nifty_authentication/templates/tests/rspec/sessions_controller.rb", "rails_generators/nifty_authentication/templates/tests/rspec/user.rb", "rails_generators/nifty_authentication/templates/tests/rspec/users_controller.rb", "rails_generators/nifty_authentication/templates/tests/shoulda/sessions_controller.rb", "rails_generators/nifty_authentication/templates/tests/shoulda/user.rb", "rails_generators/nifty_authentication/templates/tests/shoulda/users_controller.rb", "rails_generators/nifty_authentication/templates/tests/testunit/sessions_controller.rb", "rails_generators/nifty_authentication/templates/tests/testunit/user.rb", "rails_generators/nifty_authentication/templates/tests/testunit/users_controller.rb", "rails_generators/nifty_authentication/templates/user.rb", "rails_generators/nifty_authentication/templates/users_controller.rb", "rails_generators/nifty_authentication/templates/users_helper.rb", "rails_generators/nifty_authentication/templates/views/erb/login.html.erb", "rails_generators/nifty_authentication/templates/views/erb/signup.html.erb", "rails_generators/nifty_authentication/templates/views/haml/login.html.haml", "rails_generators/nifty_authentication/templates/views/haml/signup.html.haml", "rails_generators/nifty_authentication/USAGE", "rails_generators/nifty_config/nifty_config_generator.rb", "rails_generators/nifty_config/templates/config.yml", "rails_generators/nifty_config/templates/load_config.rb", "rails_generators/nifty_config/USAGE", "rails_generators/nifty_layout/nifty_layout_generator.rb", "rails_generators/nifty_layout/templates/_footer.html.haml", "rails_generators/nifty_layout/templates/_header.html.haml", "rails_generators/nifty_layout/templates/_javascripts.html.haml", "rails_generators/nifty_layout/templates/_navigation.html.haml", "rails_generators/nifty_layout/templates/_stylesheets.html.haml", "rails_generators/nifty_layout/templates/helper.rb", "rails_generators/nifty_layout/templates/javascript.js", "rails_generators/nifty_layout/templates/layout.html.erb", "rails_generators/nifty_layout/templates/layout.html.haml", "rails_generators/nifty_layout/templates/stylesheet.css", "rails_generators/nifty_layout/templates/stylesheet.sass", "rails_generators/nifty_layout/USAGE", "rails_generators/nifty_nested_scaffold/nifty_nested_scaffold_generator.rb", "rails_generators/nifty_nested_scaffold/templates/actions/create.rb", "rails_generators/nifty_nested_scaffold/templates/actions/destroy.rb", "rails_generators/nifty_nested_scaffold/templates/actions/edit.rb", "rails_generators/nifty_nested_scaffold/templates/actions/index.rb", "rails_generators/nifty_nested_scaffold/templates/actions/new.rb", "rails_generators/nifty_nested_scaffold/templates/actions/show.rb", "rails_generators/nifty_nested_scaffold/templates/actions/update.rb", "rails_generators/nifty_nested_scaffold/templates/controller.rb", "rails_generators/nifty_nested_scaffold/templates/fixtures.yml", "rails_generators/nifty_nested_scaffold/templates/helper.rb", "rails_generators/nifty_nested_scaffold/templates/migration.rb", "rails_generators/nifty_nested_scaffold/templates/model.rb", "rails_generators/nifty_nested_scaffold/templates/tests/rspec/actions/create.rb", "rails_generators/nifty_nested_scaffold/templates/tests/rspec/actions/destroy.rb", "rails_generators/nifty_nested_scaffold/templates/tests/rspec/actions/edit.rb", "rails_generators/nifty_nested_scaffold/templates/tests/rspec/actions/index.rb", "rails_generators/nifty_nested_scaffold/templates/tests/rspec/actions/new.rb", "rails_generators/nifty_nested_scaffold/templates/tests/rspec/actions/show.rb", "rails_generators/nifty_nested_scaffold/templates/tests/rspec/actions/update.rb", "rails_generators/nifty_nested_scaffold/templates/tests/rspec/controller.rb", "rails_generators/nifty_nested_scaffold/templates/tests/rspec/model.rb", "rails_generators/nifty_nested_scaffold/templates/tests/shoulda/actions/create.rb", "rails_generators/nifty_nested_scaffold/templates/tests/shoulda/actions/destroy.rb", "rails_generators/nifty_nested_scaffold/templates/tests/shoulda/actions/edit.rb", "rails_generators/nifty_nested_scaffold/templates/tests/shoulda/actions/index.rb", "rails_generators/nifty_nested_scaffold/templates/tests/shoulda/actions/new.rb", "rails_generators/nifty_nested_scaffold/templates/tests/shoulda/actions/show.rb", "rails_generators/nifty_nested_scaffold/templates/tests/shoulda/actions/update.rb", "rails_generators/nifty_nested_scaffold/templates/tests/shoulda/controller.rb", "rails_generators/nifty_nested_scaffold/templates/tests/shoulda/model.rb", "rails_generators/nifty_nested_scaffold/templates/tests/testunit/actions/create.rb", "rails_generators/nifty_nested_scaffold/templates/tests/testunit/actions/destroy.rb", "rails_generators/nifty_nested_scaffold/templates/tests/testunit/actions/edit.rb", "rails_generators/nifty_nested_scaffold/templates/tests/testunit/actions/index.rb", "rails_generators/nifty_nested_scaffold/templates/tests/testunit/actions/new.rb", "rails_generators/nifty_nested_scaffold/templates/tests/testunit/actions/show.rb", "rails_generators/nifty_nested_scaffold/templates/tests/testunit/actions/update.rb", "rails_generators/nifty_nested_scaffold/templates/tests/testunit/controller.rb", "rails_generators/nifty_nested_scaffold/templates/tests/testunit/model.rb", "rails_generators/nifty_nested_scaffold/templates/views/erb/_form.html.erb", "rails_generators/nifty_nested_scaffold/templates/views/erb/edit.html.erb", "rails_generators/nifty_nested_scaffold/templates/views/erb/index.html.erb", "rails_generators/nifty_nested_scaffold/templates/views/erb/new.html.erb", "rails_generators/nifty_nested_scaffold/templates/views/erb/show.html.erb", "rails_generators/nifty_nested_scaffold/templates/views/haml/_error.html.haml", "rails_generators/nifty_nested_scaffold/templates/views/haml/_form.html.haml", "rails_generators/nifty_nested_scaffold/templates/views/haml/_item.html.haml", "rails_generators/nifty_nested_scaffold/templates/views/haml/_items.html.haml", "rails_generators/nifty_nested_scaffold/templates/views/haml/create.rjs", "rails_generators/nifty_nested_scaffold/templates/views/haml/dialog.rjs", "rails_generators/nifty_nested_scaffold/templates/views/haml/edit.html.haml", "rails_generators/nifty_nested_scaffold/templates/views/haml/error.rjs", "rails_generators/nifty_nested_scaffold/templates/views/haml/index.html.haml", "rails_generators/nifty_nested_scaffold/templates/views/haml/new.html.haml", "rails_generators/nifty_nested_scaffold/templates/views/haml/show.html.haml", "rails_generators/nifty_nested_scaffold/templates/views/haml/update.rjs", "rails_generators/nifty_nested_scaffold/USAGE", "rails_generators/nifty_scaffold/nifty_scaffold_generator.rb", "rails_generators/nifty_scaffold/templates/actions/create.rb", "rails_generators/nifty_scaffold/templates/actions/destroy.rb", "rails_generators/nifty_scaffold/templates/actions/edit.rb", "rails_generators/nifty_scaffold/templates/actions/index.rb", "rails_generators/nifty_scaffold/templates/actions/new.rb", "rails_generators/nifty_scaffold/templates/actions/show.rb", "rails_generators/nifty_scaffold/templates/actions/update.rb", "rails_generators/nifty_scaffold/templates/controller.rb", "rails_generators/nifty_scaffold/templates/fixtures.yml", "rails_generators/nifty_scaffold/templates/helper.rb", "rails_generators/nifty_scaffold/templates/migration.rb", "rails_generators/nifty_scaffold/templates/model.rb", "rails_generators/nifty_scaffold/templates/tests/cucumber/factories.rb", "rails_generators/nifty_scaffold/templates/tests/cucumber/manage_item.feature", "rails_generators/nifty_scaffold/templates/tests/cucumber/step_definitions/items_steps.rb", "rails_generators/nifty_scaffold/templates/tests/rspec/actions/create.rb", "rails_generators/nifty_scaffold/templates/tests/rspec/actions/destroy.rb", "rails_generators/nifty_scaffold/templates/tests/rspec/actions/edit.rb", "rails_generators/nifty_scaffold/templates/tests/rspec/actions/index.rb", "rails_generators/nifty_scaffold/templates/tests/rspec/actions/new.rb", "rails_generators/nifty_scaffold/templates/tests/rspec/actions/show.rb", "rails_generators/nifty_scaffold/templates/tests/rspec/actions/update.rb", "rails_generators/nifty_scaffold/templates/tests/rspec/controller.rb", "rails_generators/nifty_scaffold/templates/tests/rspec/model.rb", "rails_generators/nifty_scaffold/templates/tests/shoulda/actions/create.rb", "rails_generators/nifty_scaffold/templates/tests/shoulda/actions/destroy.rb", "rails_generators/nifty_scaffold/templates/tests/shoulda/actions/edit.rb", "rails_generators/nifty_scaffold/templates/tests/shoulda/actions/index.rb", "rails_generators/nifty_scaffold/templates/tests/shoulda/actions/new.rb", "rails_generators/nifty_scaffold/templates/tests/shoulda/actions/show.rb", "rails_generators/nifty_scaffold/templates/tests/shoulda/actions/update.rb", "rails_generators/nifty_scaffold/templates/tests/shoulda/controller.rb", "rails_generators/nifty_scaffold/templates/tests/shoulda/model.rb", "rails_generators/nifty_scaffold/templates/tests/testunit/actions/create.rb", "rails_generators/nifty_scaffold/templates/tests/testunit/actions/destroy.rb", "rails_generators/nifty_scaffold/templates/tests/testunit/actions/edit.rb", "rails_generators/nifty_scaffold/templates/tests/testunit/actions/index.rb", "rails_generators/nifty_scaffold/templates/tests/testunit/actions/new.rb", "rails_generators/nifty_scaffold/templates/tests/testunit/actions/show.rb", "rails_generators/nifty_scaffold/templates/tests/testunit/actions/update.rb", "rails_generators/nifty_scaffold/templates/tests/testunit/controller.rb", "rails_generators/nifty_scaffold/templates/tests/testunit/model.rb", "rails_generators/nifty_scaffold/templates/views/erb/_form.html.erb", "rails_generators/nifty_scaffold/templates/views/erb/edit.html.erb", "rails_generators/nifty_scaffold/templates/views/erb/index.html.erb", "rails_generators/nifty_scaffold/templates/views/erb/new.html.erb", "rails_generators/nifty_scaffold/templates/views/erb/show.html.erb", "rails_generators/nifty_scaffold/templates/views/haml/_error.html.haml", "rails_generators/nifty_scaffold/templates/views/haml/_form.html.haml", "rails_generators/nifty_scaffold/templates/views/haml/_item.html.haml", "rails_generators/nifty_scaffold/templates/views/haml/_items.html.haml", "rails_generators/nifty_scaffold/templates/views/haml/create.rjs", "rails_generators/nifty_scaffold/templates/views/haml/dialog.rjs", "rails_generators/nifty_scaffold/templates/views/haml/edit.html.haml", "rails_generators/nifty_scaffold/templates/views/haml/error.rjs", "rails_generators/nifty_scaffold/templates/views/haml/index.html.haml", "rails_generators/nifty_scaffold/templates/views/haml/new.html.haml", "rails_generators/nifty_scaffold/templates/views/haml/show.html.haml", "rails_generators/nifty_scaffold/templates/views/haml/update.rjs", "rails_generators/nifty_scaffold/USAGE", "Rakefile", "README.rdoc", "tasks/deployment.rake", "test/test_helper.rb", "test/test_nifty_authentication_generator.rb", "test/test_nifty_config_generator.rb", "test/test_nifty_layout_generator.rb", "test/test_nifty_scaffold_generator.rb", "TODO"]
14
14
  s.has_rdoc = true
15
15
  s.homepage = %q{http://github.com/twilson63/nifty-generators}
16
16
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Nifty-generators", "--main", "README.rdoc"]
@@ -12,7 +12,7 @@
12
12
  = yield(:head)
13
13
 
14
14
  %body
15
- #container
15
+ #container.clearfix
16
16
  - flash.each do |name, msg|
17
17
  = content_tag :div, msg, :id => "flash_#{name}"
18
18
 
@@ -3,9 +3,9 @@
3
3
  %td= h <%= singular_name %>.<%= attribute.name %>
4
4
  <%- end -%>
5
5
  <%- if action? :edit -%>
6
- %td= link_to 'Edit', edit_<%= singular_name %>_path(@<%= parent_singular_name %>, <%= singular_name %>), :class => "<%= options[:ajaxify] ? 'dialog_link' : '' %>"
6
+ %td= link_to 'Edit', edit_<%= parent_singular_name %>_<%= singular_name %>_path(@<%= parent_singular_name %>, <%= singular_name %>), :class => "<%= options[:ajaxify] ? 'dialog_link' : '' %>"
7
7
  <%- end -%>
8
8
  <%- if action? :destroy -%>
9
- %td= link_to 'Remove', <%= singular_name %>_path(@<%= parent_singular_name %>, <%= singular_name %>), :confirm => 'Are you sure?', :method => :delete
9
+ %td= link_to 'Remove', <%= parent_singular_name %>_<%= singular_name %>_path(@<%= parent_singular_name %>, <%= singular_name %>), :confirm => 'Are you sure?', :method => :delete
10
10
  <%- end -%>
11
11
 
@@ -8,6 +8,6 @@
8
8
  = render :partial => "<%= singular_name %>", :collection => <%= plural_name %>
9
9
 
10
10
  <%- if actions? :new -%>
11
- %p= link_to "New <%= singular_name.titleize %>", new_<%= singular_name %>_path(@<%= parent_singular_name %>), :class => "button <%= options[:ajaxify] ? 'dialog_link' : '' %>"
11
+ %p= link_to "New <%= singular_name.titleize %>", new_<%= parent_singular_name %>_<%= singular_name %>_path(@<%= parent_singular_name %>), :class => "button <%= options[:ajaxify] ? 'dialog_link' : '' %>"
12
12
 
13
13
  <%- end -%>
@@ -0,0 +1,42 @@
1
+ Feature: Manage <%= plural_class_name %>
2
+ In order to manage <%= plural_name %>
3
+ As a user
4
+ I want to list, create, update, and show <%= plural_name %>
5
+
6
+ Scenario: List <%= plural_class_name %>
7
+ Given I have <%= plural_name %> titled <%= singular_class_name %>1, <%= singular_class_name %>2
8
+ When I go to the list of <%= plural_name %>
9
+ Then I should see 2 <%= plural_name %>
10
+ And I should see "<%= singular_class_name %>1"
11
+ And I should see "<%= singular_class_name %>2"
12
+
13
+ Scenario: Create New <%= singular_class_name %>
14
+ Given I have no <%= plural_name %>
15
+ And I go to the list of <%= plural_name %>
16
+ And I follow "New <%= singular_class_name %>"
17
+ And I fill in "Subject" with "Hello World"
18
+ And I fill in "Body" with "This is a new <%= singular_name %> message."
19
+ When I press "Create <%= singular_class_name %>"
20
+ Then I should see 1 <%= singular_name %>
21
+ And I should see "Successfully created <%= singular_name %>."
22
+ And I should see "Hello World"
23
+ And I should see "This is a new <%= singular_name %> message."
24
+
25
+ Scenario: Edit <%= singular_class_name %>
26
+ Given I have <%= singular_name %> titled <%= singular_class_name %>1
27
+ And I go to the list of <%= plural_name %>
28
+ And I follow "Edit"
29
+ And I fill in "Subject" with "Hello World"
30
+ And I fill in "Body" with "This is a edit post message."
31
+ When I press "Update <%= singular_class_name %>"
32
+ And I should see "Successfully updated <%= singular_name %>."
33
+ And I should see "Hello World"
34
+ And I should see "This is a edit <%= singular_name %> message."
35
+
36
+
37
+ Scenario: Delete <%= singular_class_name %>
38
+ Given I have <%= singular_name %> titled <%= singular_class_name %>1
39
+ And I go to the list of <%= plural_name %>
40
+ When I follow "Remove"
41
+ Then I have no <%= plural_name %>
42
+ And I should see "Successfully removed <%= singular_name %>."
@@ -0,0 +1,14 @@
1
+ Given /^I have <%= plural_name %>? titled (.*)$/ do |<%= plural_name %>|
2
+ <%= plural_name %>.split(', ').each do |<%= singular_name %>|
3
+ Factory(:<%= singular_name %>, :subject => <%= singular_name %>)
4
+ end
5
+
6
+ end
7
+
8
+ Then /^I should see (.*) <%= plural_name %>?$/ do |count|
9
+ <%= class_name %>.count.should == count.to_i
10
+ end
11
+
12
+ Given /^I have no <%= plural_name %>$/ do
13
+ <%= class_name %>.delete_all
14
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twilson63-nifty-generators
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Wilson, Ryan Bates
@@ -31,6 +31,7 @@ files:
31
31
  - lib/nifty_generators.rb
32
32
  - LICENSE
33
33
  - Manifest
34
+ - nifty-generators.gemspec
34
35
  - rails_generators/nifty_authentication/lib/insert_commands.rb
35
36
  - rails_generators/nifty_authentication/nifty_authentication_generator.rb
36
37
  - rails_generators/nifty_authentication/templates/authentication.rb
@@ -143,6 +144,9 @@ files:
143
144
  - rails_generators/nifty_scaffold/templates/helper.rb
144
145
  - rails_generators/nifty_scaffold/templates/migration.rb
145
146
  - rails_generators/nifty_scaffold/templates/model.rb
147
+ - rails_generators/nifty_scaffold/templates/tests/cucumber/factories.rb
148
+ - rails_generators/nifty_scaffold/templates/tests/cucumber/manage_item.feature
149
+ - rails_generators/nifty_scaffold/templates/tests/cucumber/step_definitions/items_steps.rb
146
150
  - rails_generators/nifty_scaffold/templates/tests/rspec/actions/create.rb
147
151
  - rails_generators/nifty_scaffold/templates/tests/rspec/actions/destroy.rb
148
152
  - rails_generators/nifty_scaffold/templates/tests/rspec/actions/edit.rb
@@ -197,7 +201,6 @@ files:
197
201
  - test/test_nifty_layout_generator.rb
198
202
  - test/test_nifty_scaffold_generator.rb
199
203
  - TODO
200
- - nifty-generators.gemspec
201
204
  has_rdoc: true
202
205
  homepage: http://github.com/twilson63/nifty-generators
203
206
  post_install_message: