From 9f832d2cb2f32ea44eef8f7524b3a049e004d23f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Thu, 16 Dec 2010 16:37:42 +0100 Subject: [PATCH] Remove Jeweler. --- Rakefile | 25 +----- devise.gemspec | 222 +++++-------------------------------------------- 2 files changed, 20 insertions(+), 227 deletions(-) diff --git a/Rakefile b/Rakefile index 0c2d4e84..1f175628 100644 --- a/Rakefile +++ b/Rakefile @@ -31,27 +31,4 @@ Rake::RDocTask.new(:rdoc) do |rdoc| rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README.rdoc') rdoc.rdoc_files.include('lib/**/*.rb') -end - -begin - require 'jeweler' - Jeweler::Tasks.new do |s| - root_files = FileList["README.rdoc", "MIT-LICENSE", "CHANGELOG.rdoc"] - s.name = "devise" - s.version = Devise::VERSION.dup - s.summary = "Flexible authentication solution for Rails with Warden" - s.email = "contact@plataformatec.com.br" - s.homepage = "http://github.com/plataformatec/devise" - s.description = "Flexible authentication solution for Rails with Warden" - s.authors = ['José Valim', 'Carlos Antônio'] - s.files = root_files + FileList["{app,config,lib}/**/*"] - s.extra_rdoc_files = root_files - s.add_dependency("warden", "~> 1.0.3") - s.add_dependency("orm_adapter", "~> 0.0.3") - s.add_dependency("bcrypt-ruby", "~> 2.1.2") - end - - Jeweler::GemcutterTasks.new -rescue LoadError - puts "Jeweler, or one of its dependencies, is not available. Install it with: gem install jeweler" -end +end \ No newline at end of file diff --git a/devise.gemspec b/devise.gemspec index bbe4e371..bd60438a 100644 --- a/devise.gemspec +++ b/devise.gemspec @@ -1,209 +1,25 @@ -# Generated by jeweler -# DO NOT EDIT THIS FILE DIRECTLY -# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command # -*- encoding: utf-8 -*- +$:.push File.expand_path("../lib", __FILE__) +require "devise/version" Gem::Specification.new do |s| - s.name = %q{devise} - s.version = "1.2.rc" + s.name = "devise" + s.version = Devise::VERSION.dup + s.platform = Gem::Platform::RUBY + s.summary = "Flexible authentication solution for Rails with Warden" + s.email = "contact@plataformatec.com.br" + s.homepage = "http://github.com/plataformatec/devise" + s.description = "Flexible authentication solution for Rails with Warden" + s.authors = ['José Valim', 'Carlos Antônio'] - s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version= - s.authors = ["Jos\303\251 Valim", "Carlos Ant\303\264nio"] - s.date = %q{2010-12-11} - s.description = %q{Flexible authentication solution for Rails with Warden} - s.email = %q{contact@plataformatec.com.br} - s.extra_rdoc_files = [ - "CHANGELOG.rdoc", - "MIT-LICENSE", - "README.rdoc" - ] - s.files = [ - "CHANGELOG.rdoc", - "MIT-LICENSE", - "README.rdoc", - "app/controllers/devise/confirmations_controller.rb", - "app/controllers/devise/omniauth_callbacks_controller.rb", - "app/controllers/devise/passwords_controller.rb", - "app/controllers/devise/registrations_controller.rb", - "app/controllers/devise/sessions_controller.rb", - "app/controllers/devise/unlocks_controller.rb", - "app/helpers/devise_helper.rb", - "app/mailers/devise/mailer.rb", - "app/views/devise/confirmations/new.html.erb", - "app/views/devise/mailer/confirmation_instructions.html.erb", - "app/views/devise/mailer/reset_password_instructions.html.erb", - "app/views/devise/mailer/unlock_instructions.html.erb", - "app/views/devise/passwords/edit.html.erb", - "app/views/devise/passwords/new.html.erb", - "app/views/devise/registrations/edit.html.erb", - "app/views/devise/registrations/new.html.erb", - "app/views/devise/sessions/new.html.erb", - "app/views/devise/shared/_links.erb", - "app/views/devise/unlocks/new.html.erb", - "config/locales/en.yml", - "lib/devise.rb", - "lib/devise/controllers/helpers.rb", - "lib/devise/controllers/internal_helpers.rb", - "lib/devise/controllers/scoped_views.rb", - "lib/devise/controllers/url_helpers.rb", - "lib/devise/encryptors/authlogic_sha512.rb", - "lib/devise/encryptors/base.rb", - "lib/devise/encryptors/clearance_sha1.rb", - "lib/devise/encryptors/restful_authentication_sha1.rb", - "lib/devise/encryptors/sha1.rb", - "lib/devise/encryptors/sha512.rb", - "lib/devise/failure_app.rb", - "lib/devise/hooks/activatable.rb", - "lib/devise/hooks/forgetable.rb", - "lib/devise/hooks/rememberable.rb", - "lib/devise/hooks/timeoutable.rb", - "lib/devise/hooks/trackable.rb", - "lib/devise/mapping.rb", - "lib/devise/models.rb", - "lib/devise/models/authenticatable.rb", - "lib/devise/models/confirmable.rb", - "lib/devise/models/database_authenticatable.rb", - "lib/devise/models/encryptable.rb", - "lib/devise/models/lockable.rb", - "lib/devise/models/omniauthable.rb", - "lib/devise/models/recoverable.rb", - "lib/devise/models/registerable.rb", - "lib/devise/models/rememberable.rb", - "lib/devise/models/timeoutable.rb", - "lib/devise/models/token_authenticatable.rb", - "lib/devise/models/trackable.rb", - "lib/devise/models/validatable.rb", - "lib/devise/modules.rb", - "lib/devise/omniauth.rb", - "lib/devise/omniauth/config.rb", - "lib/devise/omniauth/test_helpers.rb", - "lib/devise/omniauth/url_helpers.rb", - "lib/devise/orm/active_record.rb", - "lib/devise/orm/mongoid.rb", - "lib/devise/path_checker.rb", - "lib/devise/rails.rb", - "lib/devise/rails/routes.rb", - "lib/devise/rails/warden_compat.rb", - "lib/devise/schema.rb", - "lib/devise/strategies/authenticatable.rb", - "lib/devise/strategies/base.rb", - "lib/devise/strategies/database_authenticatable.rb", - "lib/devise/strategies/rememberable.rb", - "lib/devise/strategies/token_authenticatable.rb", - "lib/devise/test_helpers.rb", - "lib/devise/version.rb", - "lib/generators/active_record/devise_generator.rb", - "lib/generators/active_record/templates/migration.rb", - "lib/generators/devise/devise_generator.rb", - "lib/generators/devise/install_generator.rb", - "lib/generators/devise/orm_helpers.rb", - "lib/generators/devise/views_generator.rb", - "lib/generators/mongoid/devise_generator.rb", - "lib/generators/templates/README", - "lib/generators/templates/devise.rb" - ] - s.homepage = %q{http://github.com/plataformatec/devise} - s.rdoc_options = ["--charset=UTF-8"] + s.rubyforge_project = "devise" + + s.files = `git ls-files`.split("\n") + s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") + 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{Flexible authentication solution for Rails with Warden} - s.test_files = [ - "test/controllers/helpers_test.rb", - "test/controllers/internal_helpers_test.rb", - "test/controllers/url_helpers_test.rb", - "test/devise_test.rb", - "test/encryptors_test.rb", - "test/failure_app_test.rb", - "test/generators/generators_test_helper.rb", - "test/generators/install_generator_test.rb", - "test/generators/views_generator_test.rb", - "test/indifferent_hash.rb", - "test/integration/authenticatable_test.rb", - "test/integration/confirmable_test.rb", - "test/integration/database_authenticatable_test.rb", - "test/integration/http_authenticatable_test.rb", - "test/integration/lockable_test.rb", - "test/integration/omniauthable_test.rb", - "test/integration/recoverable_test.rb", - "test/integration/registerable_test.rb", - "test/integration/rememberable_test.rb", - "test/integration/timeoutable_test.rb", - "test/integration/token_authenticatable_test.rb", - "test/integration/trackable_test.rb", - "test/mailers/confirmation_instructions_test.rb", - "test/mailers/reset_password_instructions_test.rb", - "test/mailers/unlock_instructions_test.rb", - "test/mapping_test.rb", - "test/models/confirmable_test.rb", - "test/models/database_authenticatable_test.rb", - "test/models/encryptable_test.rb", - "test/models/lockable_test.rb", - "test/models/recoverable_test.rb", - "test/models/rememberable_test.rb", - "test/models/timeoutable_test.rb", - "test/models/token_authenticatable_test.rb", - "test/models/trackable_test.rb", - "test/models/validatable_test.rb", - "test/models_test.rb", - "test/omniauth/url_helpers_test.rb", - "test/orm/active_record.rb", - "test/orm/mongoid.rb", - "test/rails_app/app/active_record/admin.rb", - "test/rails_app/app/active_record/shim.rb", - "test/rails_app/app/active_record/user.rb", - "test/rails_app/app/controllers/admins/sessions_controller.rb", - "test/rails_app/app/controllers/admins_controller.rb", - "test/rails_app/app/controllers/application_controller.rb", - "test/rails_app/app/controllers/home_controller.rb", - "test/rails_app/app/controllers/publisher/registrations_controller.rb", - "test/rails_app/app/controllers/publisher/sessions_controller.rb", - "test/rails_app/app/controllers/users/omniauth_callbacks_controller.rb", - "test/rails_app/app/controllers/users_controller.rb", - "test/rails_app/app/helpers/application_helper.rb", - "test/rails_app/app/mongoid/admin.rb", - "test/rails_app/app/mongoid/shim.rb", - "test/rails_app/app/mongoid/user.rb", - "test/rails_app/config/application.rb", - "test/rails_app/config/boot.rb", - "test/rails_app/config/environment.rb", - "test/rails_app/config/environments/development.rb", - "test/rails_app/config/environments/production.rb", - "test/rails_app/config/environments/test.rb", - "test/rails_app/config/initializers/backtrace_silencers.rb", - "test/rails_app/config/initializers/devise.rb", - "test/rails_app/config/initializers/inflections.rb", - "test/rails_app/config/initializers/secret_token.rb", - "test/rails_app/config/routes.rb", - "test/rails_app/db/migrate/20100401102949_create_tables.rb", - "test/rails_app/db/schema.rb", - "test/rails_app/lib/shared_admin.rb", - "test/rails_app/lib/shared_user.rb", - "test/routes_test.rb", - "test/support/assertions.rb", - "test/support/helpers.rb", - "test/support/integration.rb", - "test/support/webrat/integrations/rails.rb", - "test/test_helper.rb", - "test/test_helpers_test.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, ["~> 1.0.3"]) - s.add_runtime_dependency(%q, ["~> 0.0.3"]) - s.add_runtime_dependency(%q, ["~> 2.1.2"]) - else - s.add_dependency(%q, ["~> 1.0.3"]) - s.add_dependency(%q, ["~> 0.0.3"]) - s.add_dependency(%q, ["~> 2.1.2"]) - end - else - s.add_dependency(%q, ["~> 1.0.3"]) - s.add_dependency(%q, ["~> 0.0.3"]) - s.add_dependency(%q, ["~> 2.1.2"]) - end -end + s.add_dependency("warden", "~> 1.0.3") + s.add_dependency("orm_adapter", "~> 0.0.3") + s.add_dependency("bcrypt-ruby", "~> 2.1.2") +end \ No newline at end of file