Skip to content

Commit 9f832d2

Browse files
committed
Remove Jeweler.
1 parent a23a52b commit 9f832d2

File tree

2 files changed

+20
-227
lines changed

2 files changed

+20
-227
lines changed

Rakefile

+1-24
Original file line numberDiff line numberDiff line change
@@ -31,27 +31,4 @@ Rake::RDocTask.new(:rdoc) do |rdoc|
3131
rdoc.options << '--line-numbers' << '--inline-source'
3232
rdoc.rdoc_files.include('README.rdoc')
3333
rdoc.rdoc_files.include('lib/**/*.rb')
34-
end
35-
36-
begin
37-
require 'jeweler'
38-
Jeweler::Tasks.new do |s|
39-
root_files = FileList["README.rdoc", "MIT-LICENSE", "CHANGELOG.rdoc"]
40-
s.name = "devise"
41-
s.version = Devise::VERSION.dup
42-
s.summary = "Flexible authentication solution for Rails with Warden"
43-
s.email = "[email protected]"
44-
s.homepage = "http://github.com/plataformatec/devise"
45-
s.description = "Flexible authentication solution for Rails with Warden"
46-
s.authors = ['José Valim', 'Carlos Antônio']
47-
s.files = root_files + FileList["{app,config,lib}/**/*"]
48-
s.extra_rdoc_files = root_files
49-
s.add_dependency("warden", "~> 1.0.3")
50-
s.add_dependency("orm_adapter", "~> 0.0.3")
51-
s.add_dependency("bcrypt-ruby", "~> 2.1.2")
52-
end
53-
54-
Jeweler::GemcutterTasks.new
55-
rescue LoadError
56-
puts "Jeweler, or one of its dependencies, is not available. Install it with: gem install jeweler"
57-
end
34+
end

devise.gemspec

+19-203
Original file line numberDiff line numberDiff line change
@@ -1,209 +1,25 @@
1-
# Generated by jeweler
2-
# DO NOT EDIT THIS FILE DIRECTLY
3-
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
41
# -*- encoding: utf-8 -*-
2+
$:.push File.expand_path("../lib", __FILE__)
3+
require "devise/version"
54

65
Gem::Specification.new do |s|
7-
s.name = %q{devise}
8-
s.version = "1.2.rc"
6+
s.name = "devise"
7+
s.version = Devise::VERSION.dup
8+
s.platform = Gem::Platform::RUBY
9+
s.summary = "Flexible authentication solution for Rails with Warden"
10+
s.email = "[email protected]"
11+
s.homepage = "http://github.com/plataformatec/devise"
12+
s.description = "Flexible authentication solution for Rails with Warden"
13+
s.authors = ['José Valim', 'Carlos Antônio']
914

10-
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
11-
s.authors = ["Jos\303\251 Valim", "Carlos Ant\303\264nio"]
12-
s.date = %q{2010-12-11}
13-
s.description = %q{Flexible authentication solution for Rails with Warden}
14-
s.email = %q{[email protected]}
15-
s.extra_rdoc_files = [
16-
"CHANGELOG.rdoc",
17-
"MIT-LICENSE",
18-
"README.rdoc"
19-
]
20-
s.files = [
21-
"CHANGELOG.rdoc",
22-
"MIT-LICENSE",
23-
"README.rdoc",
24-
"app/controllers/devise/confirmations_controller.rb",
25-
"app/controllers/devise/omniauth_callbacks_controller.rb",
26-
"app/controllers/devise/passwords_controller.rb",
27-
"app/controllers/devise/registrations_controller.rb",
28-
"app/controllers/devise/sessions_controller.rb",
29-
"app/controllers/devise/unlocks_controller.rb",
30-
"app/helpers/devise_helper.rb",
31-
"app/mailers/devise/mailer.rb",
32-
"app/views/devise/confirmations/new.html.erb",
33-
"app/views/devise/mailer/confirmation_instructions.html.erb",
34-
"app/views/devise/mailer/reset_password_instructions.html.erb",
35-
"app/views/devise/mailer/unlock_instructions.html.erb",
36-
"app/views/devise/passwords/edit.html.erb",
37-
"app/views/devise/passwords/new.html.erb",
38-
"app/views/devise/registrations/edit.html.erb",
39-
"app/views/devise/registrations/new.html.erb",
40-
"app/views/devise/sessions/new.html.erb",
41-
"app/views/devise/shared/_links.erb",
42-
"app/views/devise/unlocks/new.html.erb",
43-
"config/locales/en.yml",
44-
"lib/devise.rb",
45-
"lib/devise/controllers/helpers.rb",
46-
"lib/devise/controllers/internal_helpers.rb",
47-
"lib/devise/controllers/scoped_views.rb",
48-
"lib/devise/controllers/url_helpers.rb",
49-
"lib/devise/encryptors/authlogic_sha512.rb",
50-
"lib/devise/encryptors/base.rb",
51-
"lib/devise/encryptors/clearance_sha1.rb",
52-
"lib/devise/encryptors/restful_authentication_sha1.rb",
53-
"lib/devise/encryptors/sha1.rb",
54-
"lib/devise/encryptors/sha512.rb",
55-
"lib/devise/failure_app.rb",
56-
"lib/devise/hooks/activatable.rb",
57-
"lib/devise/hooks/forgetable.rb",
58-
"lib/devise/hooks/rememberable.rb",
59-
"lib/devise/hooks/timeoutable.rb",
60-
"lib/devise/hooks/trackable.rb",
61-
"lib/devise/mapping.rb",
62-
"lib/devise/models.rb",
63-
"lib/devise/models/authenticatable.rb",
64-
"lib/devise/models/confirmable.rb",
65-
"lib/devise/models/database_authenticatable.rb",
66-
"lib/devise/models/encryptable.rb",
67-
"lib/devise/models/lockable.rb",
68-
"lib/devise/models/omniauthable.rb",
69-
"lib/devise/models/recoverable.rb",
70-
"lib/devise/models/registerable.rb",
71-
"lib/devise/models/rememberable.rb",
72-
"lib/devise/models/timeoutable.rb",
73-
"lib/devise/models/token_authenticatable.rb",
74-
"lib/devise/models/trackable.rb",
75-
"lib/devise/models/validatable.rb",
76-
"lib/devise/modules.rb",
77-
"lib/devise/omniauth.rb",
78-
"lib/devise/omniauth/config.rb",
79-
"lib/devise/omniauth/test_helpers.rb",
80-
"lib/devise/omniauth/url_helpers.rb",
81-
"lib/devise/orm/active_record.rb",
82-
"lib/devise/orm/mongoid.rb",
83-
"lib/devise/path_checker.rb",
84-
"lib/devise/rails.rb",
85-
"lib/devise/rails/routes.rb",
86-
"lib/devise/rails/warden_compat.rb",
87-
"lib/devise/schema.rb",
88-
"lib/devise/strategies/authenticatable.rb",
89-
"lib/devise/strategies/base.rb",
90-
"lib/devise/strategies/database_authenticatable.rb",
91-
"lib/devise/strategies/rememberable.rb",
92-
"lib/devise/strategies/token_authenticatable.rb",
93-
"lib/devise/test_helpers.rb",
94-
"lib/devise/version.rb",
95-
"lib/generators/active_record/devise_generator.rb",
96-
"lib/generators/active_record/templates/migration.rb",
97-
"lib/generators/devise/devise_generator.rb",
98-
"lib/generators/devise/install_generator.rb",
99-
"lib/generators/devise/orm_helpers.rb",
100-
"lib/generators/devise/views_generator.rb",
101-
"lib/generators/mongoid/devise_generator.rb",
102-
"lib/generators/templates/README",
103-
"lib/generators/templates/devise.rb"
104-
]
105-
s.homepage = %q{http://github.com/plataformatec/devise}
106-
s.rdoc_options = ["--charset=UTF-8"]
107-
s.require_paths = ["lib"]
108-
s.rubygems_version = %q{1.3.7}
109-
s.summary = %q{Flexible authentication solution for Rails with Warden}
110-
s.test_files = [
111-
"test/controllers/helpers_test.rb",
112-
"test/controllers/internal_helpers_test.rb",
113-
"test/controllers/url_helpers_test.rb",
114-
"test/devise_test.rb",
115-
"test/encryptors_test.rb",
116-
"test/failure_app_test.rb",
117-
"test/generators/generators_test_helper.rb",
118-
"test/generators/install_generator_test.rb",
119-
"test/generators/views_generator_test.rb",
120-
"test/indifferent_hash.rb",
121-
"test/integration/authenticatable_test.rb",
122-
"test/integration/confirmable_test.rb",
123-
"test/integration/database_authenticatable_test.rb",
124-
"test/integration/http_authenticatable_test.rb",
125-
"test/integration/lockable_test.rb",
126-
"test/integration/omniauthable_test.rb",
127-
"test/integration/recoverable_test.rb",
128-
"test/integration/registerable_test.rb",
129-
"test/integration/rememberable_test.rb",
130-
"test/integration/timeoutable_test.rb",
131-
"test/integration/token_authenticatable_test.rb",
132-
"test/integration/trackable_test.rb",
133-
"test/mailers/confirmation_instructions_test.rb",
134-
"test/mailers/reset_password_instructions_test.rb",
135-
"test/mailers/unlock_instructions_test.rb",
136-
"test/mapping_test.rb",
137-
"test/models/confirmable_test.rb",
138-
"test/models/database_authenticatable_test.rb",
139-
"test/models/encryptable_test.rb",
140-
"test/models/lockable_test.rb",
141-
"test/models/recoverable_test.rb",
142-
"test/models/rememberable_test.rb",
143-
"test/models/timeoutable_test.rb",
144-
"test/models/token_authenticatable_test.rb",
145-
"test/models/trackable_test.rb",
146-
"test/models/validatable_test.rb",
147-
"test/models_test.rb",
148-
"test/omniauth/url_helpers_test.rb",
149-
"test/orm/active_record.rb",
150-
"test/orm/mongoid.rb",
151-
"test/rails_app/app/active_record/admin.rb",
152-
"test/rails_app/app/active_record/shim.rb",
153-
"test/rails_app/app/active_record/user.rb",
154-
"test/rails_app/app/controllers/admins/sessions_controller.rb",
155-
"test/rails_app/app/controllers/admins_controller.rb",
156-
"test/rails_app/app/controllers/application_controller.rb",
157-
"test/rails_app/app/controllers/home_controller.rb",
158-
"test/rails_app/app/controllers/publisher/registrations_controller.rb",
159-
"test/rails_app/app/controllers/publisher/sessions_controller.rb",
160-
"test/rails_app/app/controllers/users/omniauth_callbacks_controller.rb",
161-
"test/rails_app/app/controllers/users_controller.rb",
162-
"test/rails_app/app/helpers/application_helper.rb",
163-
"test/rails_app/app/mongoid/admin.rb",
164-
"test/rails_app/app/mongoid/shim.rb",
165-
"test/rails_app/app/mongoid/user.rb",
166-
"test/rails_app/config/application.rb",
167-
"test/rails_app/config/boot.rb",
168-
"test/rails_app/config/environment.rb",
169-
"test/rails_app/config/environments/development.rb",
170-
"test/rails_app/config/environments/production.rb",
171-
"test/rails_app/config/environments/test.rb",
172-
"test/rails_app/config/initializers/backtrace_silencers.rb",
173-
"test/rails_app/config/initializers/devise.rb",
174-
"test/rails_app/config/initializers/inflections.rb",
175-
"test/rails_app/config/initializers/secret_token.rb",
176-
"test/rails_app/config/routes.rb",
177-
"test/rails_app/db/migrate/20100401102949_create_tables.rb",
178-
"test/rails_app/db/schema.rb",
179-
"test/rails_app/lib/shared_admin.rb",
180-
"test/rails_app/lib/shared_user.rb",
181-
"test/routes_test.rb",
182-
"test/support/assertions.rb",
183-
"test/support/helpers.rb",
184-
"test/support/integration.rb",
185-
"test/support/webrat/integrations/rails.rb",
186-
"test/test_helper.rb",
187-
"test/test_helpers_test.rb"
188-
]
189-
190-
if s.respond_to? :specification_version then
191-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
192-
s.specification_version = 3
15+
s.rubyforge_project = "devise"
19316

194-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
195-
s.add_runtime_dependency(%q<warden>, ["~> 1.0.3"])
196-
s.add_runtime_dependency(%q<orm_adapter>, ["~> 0.0.3"])
197-
s.add_runtime_dependency(%q<bcrypt-ruby>, ["~> 2.1.2"])
198-
else
199-
s.add_dependency(%q<warden>, ["~> 1.0.3"])
200-
s.add_dependency(%q<orm_adapter>, ["~> 0.0.3"])
201-
s.add_dependency(%q<bcrypt-ruby>, ["~> 2.1.2"])
202-
end
203-
else
204-
s.add_dependency(%q<warden>, ["~> 1.0.3"])
205-
s.add_dependency(%q<orm_adapter>, ["~> 0.0.3"])
206-
s.add_dependency(%q<bcrypt-ruby>, ["~> 2.1.2"])
207-
end
208-
end
17+
s.files = `git ls-files`.split("\n")
18+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
19+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20+
s.require_paths = ["lib"]
20921

22+
s.add_dependency("warden", "~> 1.0.3")
23+
s.add_dependency("orm_adapter", "~> 0.0.3")
24+
s.add_dependency("bcrypt-ruby", "~> 2.1.2")
25+
end

0 commit comments

Comments
 (0)