technicalpickles / shoulda_generator

Rails generators which produce tests using shoulda instead of straight up Test::Unit. Other goodies as well.

shoulda_generator / shoulda_generator.gemspec
5fa7c797 » technicalpickles 2009-01-06 Regenerated gemspec for ver... 1 # -*- encoding: utf-8 -*-
2
a2b67dec » technicalpickles 2008-07-02 Now with github friendly ge... 3 Gem::Specification.new do |s|
4 s.name = %q{shoulda_generator}
5fa7c797 » technicalpickles 2009-01-06 Regenerated gemspec for ver... 5 s.version = "0.2.1"
a2b67dec » technicalpickles 2008-07-02 Now with github friendly ge... 6
fd25e250 » technicalpickles 2008-10-22 Start using jeweler. 7 s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
a2b67dec » technicalpickles 2008-07-02 Now with github friendly ge... 8 s.authors = ["Josh Nichols"]
5fa7c797 » technicalpickles 2009-01-06 Regenerated gemspec for ver... 9 s.date = %q{2009-01-06}
d92e98b8 » technicalpickles 2008-07-02 Supports should_be_restful ... 10 s.description = %q{Generators which create tests using shoulda}
a2b67dec » technicalpickles 2008-07-02 Now with github friendly ge... 11 s.email = %q{josh@technicalpickles.com}
5fa7c797 » technicalpickles 2009-01-06 Regenerated gemspec for ver... 12 s.files = ["LICENSE", "Manifest", "Rakefile", "README.markdown", "TODO", "VERSION.yml", "rails_generators/shoulda_model", "rails_generators/shoulda_model/shoulda_model_generator.rb", "rails_generators/shoulda_model/templates", "rails_generators/shoulda_model/templates/factory.rb", "rails_generators/shoulda_model/templates/fixtures.yml", "rails_generators/shoulda_model/templates/migration.rb", "rails_generators/shoulda_model/templates/model.rb", "rails_generators/shoulda_model/templates/unit_test.rb", "rails_generators/shoulda_model/USAGE", "rails_generators/shoulda_scaffold", "rails_generators/shoulda_scaffold/shoulda_scaffold_generator.rb", "rails_generators/shoulda_scaffold/templates", "rails_generators/shoulda_scaffold/templates/blueprint", "rails_generators/shoulda_scaffold/templates/blueprint/ie.css", "rails_generators/shoulda_scaffold/templates/blueprint/print.css", "rails_generators/shoulda_scaffold/templates/blueprint/screen.css", "rails_generators/shoulda_scaffold/templates/controller.rb", "rails_generators/shoulda_scaffold/templates/erb", "rails_generators/shoulda_scaffold/templates/erb/_form.html.erb", "rails_generators/shoulda_scaffold/templates/erb/edit.html.erb", "rails_generators/shoulda_scaffold/templates/erb/index.html.erb", "rails_generators/shoulda_scaffold/templates/erb/layout.html.erb", "rails_generators/shoulda_scaffold/templates/erb/new.html.erb", "rails_generators/shoulda_scaffold/templates/erb/show.html.erb", "rails_generators/shoulda_scaffold/templates/functional_test", "rails_generators/shoulda_scaffold/templates/functional_test/basic.rb", "rails_generators/shoulda_scaffold/templates/functional_test/should_be_restful.rb", "rails_generators/shoulda_scaffold/templates/haml", "rails_generators/shoulda_scaffold/templates/haml/_form.html.haml", "rails_generators/shoulda_scaffold/templates/haml/edit.html.haml", "rails_generators/shoulda_scaffold/templates/haml/index.html.haml", "rails_generators/shoulda_scaffold/templates/haml/layout.html.haml", "rails_generators/shoulda_scaffold/templates/haml/new.html.haml", "rails_generators/shoulda_scaffold/templates/haml/show.html.haml", "rails_generators/shoulda_scaffold/templates/helper.rb", "rails_generators/shoulda_scaffold/USAGE", "test/fixtures", "test/fixtures/about_yml_plugins", "test/fixtures/about_yml_plugins/bad_about_yml", "test/fixtures/about_yml_plugins/bad_about_yml/about.yml", "test/fixtures/about_yml_plugins/bad_about_yml/init.rb", "test/fixtures/about_yml_plugins/plugin_without_about_yml", "test/fixtures/about_yml_plugins/plugin_without_about_yml/init.rb", "test/fixtures/eager", "test/fixtures/eager/zoo", "test/fixtures/eager/zoo/reptile_house.rb", "test/fixtures/eager/zoo.rb", "test/fixtures/environment_with_constant.rb", "test/fixtures/lib", "test/fixtures/lib/generators", "test/fixtures/lib/generators/missing_class", "test/fixtures/lib/generators/missing_class/missing_class_generator.rb", "test/fixtures/lib/generators/missing_class/templates", "test/fixtures/lib/generators/missing_generator", "test/fixtures/lib/generators/missing_generator/templates", "test/fixtures/lib/generators/missing_templates", "test/fixtures/lib/generators/working", "test/fixtures/lib/generators/working/working_generator.rb", "test/fixtures/plugins", "test/fixtures/plugins/alternate", "test/fixtures/plugins/alternate/a", "test/fixtures/plugins/alternate/a/generators", "test/fixtures/plugins/alternate/a/generators/a_generator", "test/fixtures/plugins/alternate/a/generators/a_generator/a_generator.rb", "test/fixtures/plugins/alternate/a/lib", "test/fixtures/plugins/default", "test/fixtures/plugins/default/acts", "test/fixtures/plugins/default/acts/acts_as_chunky_bacon", "test/fixtures/plugins/default/acts/acts_as_chunky_bacon/lib", "test/fixtures/plugins/default/empty", "test/fixtures/plugins/default/gemlike", "test/fixtures/plugins/default/gemlike/init.rb", "test/fixtures/plugins/default/gemlike/lib", "test/fixtures/plugins/default/gemlike/lib/gemlike.rb", "test/fixtures/plugins/default/gemlike/rails", "test/fixtures/plugins/default/gemlike/rails/init.rb", "test/fixtures/plugins/default/plugin_with_no_lib_dir", "test/fixtures/plugins/default/plugin_with_no_lib_dir/init.rb", "test/fixtures/plugins/default/stubby", "test/fixtures/plugins/default/stubby/about.yml", "test/fixtures/plugins/default/stubby/generators", "test/fixtures/plugins/default/stubby/generators/stubby_generator", "test/fixtures/plugins/default/stubby/generators/stubby_generator/stubby_generator.rb", "test/fixtures/plugins/default/stubby/init.rb", "test/fixtures/plugins/default/stubby/lib", "test/fixtures/plugins/default/stubby/lib/stubby_mixin.rb", "test/rails_generators", "test/rails_generators/shoulda_model_generator_test.rb", "test/shoulda_macros", "test/shoulda_macros/generator_macros.rb", "test/stolen_from_railties.rb", "test/test_helper.rb"]
a2b67dec » technicalpickles 2008-07-02 Now with github friendly ge... 13 s.homepage = %q{http://github.com/technicalpickles/shoulda_generator}
14 s.require_paths = ["lib"]
5fa7c797 » technicalpickles 2009-01-06 Regenerated gemspec for ver... 15 s.rubygems_version = %q{1.3.1}
a2b67dec » technicalpickles 2008-07-02 Now with github friendly ge... 16 s.summary = %q{Generators which create tests using shoulda}
17
18 if s.respond_to? :specification_version then
19 current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
20 s.specification_version = 2
21
5fa7c797 » technicalpickles 2009-01-06 Regenerated gemspec for ver... 22 if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
a2b67dec » technicalpickles 2008-07-02 Now with github friendly ge... 23 else
24 end
25 else
26 end
27 end