Get rid of Jeweller.

This commit is contained in:
José Valim 2010-12-16 16:29:09 +01:00
parent 74f1a4a810
commit e99be85edd
2 changed files with 16 additions and 102 deletions

View File

@ -22,23 +22,4 @@ Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README')
rdoc.rdoc_files.include('lib/**/*.rb')
end
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "simple_form"
s.version = SimpleForm::VERSION.dup
s.summary = "Forms made easy!"
s.email = "contact@plataformatec.com.br"
s.homepage = "http://github.com/plataformatec/simple_form"
s.description = "Forms made easy!"
s.authors = ['José Valim', 'Carlos Antônio']
s.files = FileList["[A-Z]*(.rdoc)", "{generators,lib}/**/*", "init.rb"]
s.test_files.exclude("test/support/country_select")
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install jeweler"
end
end

View File

@ -1,89 +1,22 @@
# Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "simple_form/version"
Gem::Specification.new do |s|
s.name = %q{simple_form}
s.version = "1.3.0"
s.name = "simple_form"
s.version = SimpleForm::VERSION.dup
s.platform = Gem::Platform::RUBY
s.summary = "Forms made easy!"
s.email = "contact@plataformatec.com.br"
s.homepage = "http://github.com/plataformatec/simple_form"
s.description = "Forms made easy!"
s.authors = ['José Valim', 'Carlos Antônio']
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Jos\303\251 Valim", "Carlos Ant\303\264nio"]
s.date = %q{2010-12-08}
s.description = %q{Forms made easy!}
s.email = %q{contact@plataformatec.com.br}
s.extra_rdoc_files = [
"README.rdoc"
]
s.files = [
"init.rb",
"lib/generators/simple_form/USAGE",
"lib/generators/simple_form/install_generator.rb",
"lib/generators/simple_form/templates/_form.html.erb",
"lib/generators/simple_form/templates/_form.html.haml",
"lib/generators/simple_form/templates/en.yml",
"lib/generators/simple_form/templates/simple_form.rb",
"lib/simple_form.rb",
"lib/simple_form/action_view_extensions/builder.rb",
"lib/simple_form/action_view_extensions/form_helper.rb",
"lib/simple_form/components.rb",
"lib/simple_form/components/errors.rb",
"lib/simple_form/components/hints.rb",
"lib/simple_form/components/label_input.rb",
"lib/simple_form/components/labels.rb",
"lib/simple_form/components/placeholders.rb",
"lib/simple_form/components/wrapper.rb",
"lib/simple_form/error_notification.rb",
"lib/simple_form/form_builder.rb",
"lib/simple_form/has_errors.rb",
"lib/simple_form/i18n_cache.rb",
"lib/simple_form/inputs.rb",
"lib/simple_form/inputs/base.rb",
"lib/simple_form/inputs/block_input.rb",
"lib/simple_form/inputs/boolean_input.rb",
"lib/simple_form/inputs/collection_input.rb",
"lib/simple_form/inputs/date_time_input.rb",
"lib/simple_form/inputs/hidden_input.rb",
"lib/simple_form/inputs/mapping_input.rb",
"lib/simple_form/inputs/numeric_input.rb",
"lib/simple_form/inputs/priority_input.rb",
"lib/simple_form/inputs/string_input.rb",
"lib/simple_form/map_type.rb",
"lib/simple_form/version.rb"
]
s.homepage = %q{http://github.com/plataformatec/simple_form}
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.test_files -= Dir["test/support/country_select/**/*"]
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.7}
s.summary = %q{Forms made easy!}
s.test_files = [
"test/action_view_extensions/builder_test.rb",
"test/action_view_extensions/form_helper_test.rb",
"test/components/error_test.rb",
"test/components/hint_test.rb",
"test/components/label_test.rb",
"test/components/wrapper_test.rb",
"test/error_notification_test.rb",
"test/form_builder_test.rb",
"test/inputs_test.rb",
"test/simple_form_test.rb",
"test/support/misc_helpers.rb",
"test/support/mock_controller.rb",
"test/support/mock_response.rb",
"test/support/models.rb",
"test/test_helper.rb"
]
if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<rails>, ["~> 3.0.0"])
else
s.add_dependency(%q<rails>, ["~> 3.0.0"])
end
else
s.add_dependency(%q<rails>, ["~> 3.0.0"])
end
s.rubyforge_project = "simple_form"
end