Permalink
Browse files

simplified the shit out of the gemspec

  • Loading branch information...
justinfrench committed Sep 24, 2010
1 parent 0f9066e commit 791b4773589b1d760c438a6da1291ca1708b0043
Showing with 8 additions and 122 deletions.
  1. +8 −122 formtastic.gemspec
View
@@ -6,69 +6,10 @@ Gem::Specification.new do |s|
s.authors = ["Justin French"]
s.date = %q{2010-09-08}
s.description = %q{A Rails form builder plugin/gem with semantically rich and accessible markup}
+ s.summary = %q{A Rails form builder plugin/gem with semantically rich and accessible markup}
s.email = %q{justin@indent.com.au}
- s.extra_rdoc_files = [
- "README.textile"
- ]
- s.files = [
- "MIT-LICENSE",
- "README.textile",
- "Rakefile",
- "generators/form/USAGE",
- "generators/form/form_generator.rb",
- "generators/form/templates/view__form.html.erb",
- "generators/form/templates/view__form.html.haml",
- "generators/formtastic/formtastic_generator.rb",
- "generators/formtastic/templates/formtastic.css",
- "generators/formtastic/templates/formtastic.rb",
- "generators/formtastic/templates/formtastic_changes.css",
- "generators/formtastic_stylesheets/formtastic_stylesheets_generator.rb",
- "init.rb",
- "lib/formtastic.rb",
- "lib/formtastic/i18n.rb",
- "lib/formtastic/layout_helper.rb",
- "lib/formtastic/railtie.rb",
- "lib/formtastic/util.rb",
- "lib/generators/formtastic/form/form_generator.rb",
- "lib/generators/formtastic/install/install_generator.rb",
- "lib/locale/en.yml",
- "rails/init.rb",
- "spec/buttons_spec.rb",
- "spec/commit_button_spec.rb",
- "spec/custom_builder_spec.rb",
- "spec/defaults_spec.rb",
- "spec/error_proc_spec.rb",
- "spec/errors_spec.rb",
- "spec/form_helper_spec.rb",
- "spec/helpers/layout_helper_spec.rb",
- "spec/i18n_spec.rb",
- "spec/include_blank_spec.rb",
- "spec/input_spec.rb",
- "spec/inputs/boolean_input_spec.rb",
- "spec/inputs/check_boxes_input_spec.rb",
- "spec/inputs/country_input_spec.rb",
- "spec/inputs/date_input_spec.rb",
- "spec/inputs/datetime_input_spec.rb",
- "spec/inputs/file_input_spec.rb",
- "spec/inputs/hidden_input_spec.rb",
- "spec/inputs/numeric_input_spec.rb",
- "spec/inputs/password_input_spec.rb",
- "spec/inputs/radio_input_spec.rb",
- "spec/inputs/select_input_spec.rb",
- "spec/inputs/string_input_spec.rb",
- "spec/inputs/text_input_spec.rb",
- "spec/inputs/time_input_spec.rb",
- "spec/inputs/time_zone_input_spec.rb",
- "spec/inputs_spec.rb",
- "spec/label_spec.rb",
- "spec/semantic_errors_spec.rb",
- "spec/semantic_fields_for_spec.rb",
- "spec/spec.opts",
- "spec/spec_helper.rb",
- "spec/support/custom_macros.rb",
- "spec/support/output_buffer.rb",
- "spec/support/test_environment.rb"
- ]
+ s.extra_rdoc_files = ["README.textile"]
+ s.files = Dir.glob("lib/**/*") + %w(MIT-LICENSE README.textile)
s.homepage = %q{http://github.com/justinfrench/formtastic/tree/master}
s.post_install_message = %q{
========================================================================
@@ -91,67 +32,12 @@ Gem::Specification.new do |s|
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.6}
- s.summary = %q{A Rails form builder plugin/gem with semantically rich and accessible markup}
- s.test_files = [
- "spec/buttons_spec.rb",
- "spec/commit_button_spec.rb",
- "spec/custom_builder_spec.rb",
- "spec/defaults_spec.rb",
- "spec/error_proc_spec.rb",
- "spec/errors_spec.rb",
- "spec/form_helper_spec.rb",
- "spec/helpers/layout_helper_spec.rb",
- "spec/i18n_spec.rb",
- "spec/include_blank_spec.rb",
- "spec/input_spec.rb",
- "spec/inputs/boolean_input_spec.rb",
- "spec/inputs/check_boxes_input_spec.rb",
- "spec/inputs/country_input_spec.rb",
- "spec/inputs/date_input_spec.rb",
- "spec/inputs/datetime_input_spec.rb",
- "spec/inputs/file_input_spec.rb",
- "spec/inputs/hidden_input_spec.rb",
- "spec/inputs/numeric_input_spec.rb",
- "spec/inputs/password_input_spec.rb",
- "spec/inputs/radio_input_spec.rb",
- "spec/inputs/select_input_spec.rb",
- "spec/inputs/string_input_spec.rb",
- "spec/inputs/text_input_spec.rb",
- "spec/inputs/time_input_spec.rb",
- "spec/inputs/time_zone_input_spec.rb",
- "spec/inputs_spec.rb",
- "spec/label_spec.rb",
- "spec/semantic_errors_spec.rb",
- "spec/semantic_fields_for_spec.rb",
- "spec/spec_helper.rb",
- "spec/support/custom_macros.rb",
- "spec/support/output_buffer.rb",
- "spec/support/test_environment.rb"
- ]
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 3
+ s.add_dependency(%q<activesupport>, [">= 2.3.0"])
+ s.add_dependency(%q<actionpack>, [">= 2.3.0"])
+ s.add_dependency(%q<i18n>, [">= 0.4.0"])
+ s.add_development_dependency(%q<rspec-rails>, [">= 1.2.6"])
+ s.add_development_dependency(%q<rspec_tag_matchers>, [">= 1.0.0"])
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<activesupport>, [">= 2.3.0"])
- s.add_runtime_dependency(%q<actionpack>, [">= 2.3.0"])
- s.add_runtime_dependency(%q<i18n>, [">= 0.4.0"])
- s.add_development_dependency(%q<rspec-rails>, [">= 1.2.6"])
- s.add_development_dependency(%q<rspec_tag_matchers>, [">= 1.0.0"])
- else
- s.add_dependency(%q<activesupport>, [">= 2.3.0"])
- s.add_dependency(%q<actionpack>, [">= 2.3.0"])
- s.add_dependency(%q<i18n>, [">= 0.4.0"])
- s.add_dependency(%q<rspec-rails>, [">= 1.2.6"])
- s.add_dependency(%q<rspec_tag_matchers>, [">= 1.0.0"])
- end
- else
- s.add_dependency(%q<activesupport>, [">= 2.3.0"])
- s.add_dependency(%q<actionpack>, [">= 2.3.0"])
- s.add_dependency(%q<i18n>, [">= 0.4.0"])
- s.add_dependency(%q<rspec-rails>, [">= 1.2.6"])
- s.add_dependency(%q<rspec_tag_matchers>, [">= 1.0.0"])
- end
end

0 comments on commit 791b477

Please sign in to comment.