Skip to content
This repository has been archived by the owner on Dec 30, 2019. It is now read-only.

Commit

Permalink
cleanup and Rakefile tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
adzap committed Jun 30, 2009
1 parent f4aef9c commit 01553a6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 26 deletions.
15 changes: 0 additions & 15 deletions Manifest.txt

This file was deleted.

18 changes: 7 additions & 11 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ ar_mailer_gemspec = Gem::Specification.new do |s|
s.description = %q{Even delivering email to the local machine may take too long when you have to send hundreds of messages. ar_mailer allows you to store messages into the database for later delivery by a separate process, ar_sendmail.}
s.email = %q{[email protected]}
s.executables = ["ar_sendmail"]
s.extra_rdoc_files = ["History.txt", "LICENSE.txt", "Manifest.txt", "README.rdoc"]
s.files = ["History.txt", "LICENSE.txt", "Manifest.txt", "README.rdoc", "Rakefile", "bin/ar_sendmail", "generators/ar_mailer/ar_mailer_generator.rb", "generators/ar_mailer/templates/migration.rb", "generators/ar_mailer/templates/model.rb", "lib/action_mailer/ar_mailer.rb", "lib/action_mailer/ar_sendmail.rb", "lib/smtp_tls.rb", "share/bsd/ar_sendmail", "share/linux/ar_sendmail", "share/linux/ar_sendmail.conf", "test/resources/action_mailer.rb", "test/test_armailer.rb", "test/test_arsendmail.rb", "test/test_helper.rb"]
s.extra_rdoc_files = ["History.txt", "LICENSE.txt", "README.rdoc"]
s.files = ["History.txt", "LICENSE.txt", "README.rdoc", "Rakefile", "bin/ar_sendmail", "generators/ar_mailer/ar_mailer_generator.rb", "generators/ar_mailer/templates/migration.rb", "generators/ar_mailer/templates/model.rb", "lib/action_mailer/ar_mailer.rb", "lib/action_mailer/ar_sendmail.rb", "lib/smtp_tls.rb", "share/bsd/ar_sendmail", "share/linux/ar_sendmail", "share/linux/ar_sendmail.conf", "test/resources/action_mailer.rb", "test/test_armailer.rb", "test/test_arsendmail.rb", "test/test_helper.rb"]
s.has_rdoc = true
s.homepage = %q{http://github.com/adzap/ar_mailer}
s.rdoc_options = ["--main", "README.rdoc"]
Expand All @@ -31,20 +31,16 @@ Rake::GemPackageTask.new(ar_mailer_gemspec) do |pkg|
pkg.gem_spec = ar_mailer_gemspec
end

namespace :gem do
namespace :spec do
desc "Update ar_mailer.gemspec"
task :generate do
File.open("ar_mailer.gemspec", "w") do |f|
f.puts(ar_mailer_gemspec.to_ruby)
end
end
desc "Update ar_mailer.gemspec"
task :make_spec do
File.open("ar_mailer.gemspec", "w") do |f|
f.puts(ar_mailer_gemspec.to_ruby)
end
end

desc "Build packages and install"
task :install => :package do
sh %{sudo gem install --local pkg/ar_mailer-#{ActionMailer::ARSendmail::VERSION}}
sh %{sudo gem install --local --test pkg/ar_mailer-#{ActionMailer::ARSendmail::VERSION}}
end

desc 'Default: run unit tests.'
Expand Down

0 comments on commit 01553a6

Please sign in to comment.