Permalink
Browse files

cleanup and Rakefile tweaks

  • Loading branch information...
1 parent f4aef9c commit 01553a63a1bcc72d9f1289b8e590bf97b75aaa72 @adzap committed Jun 30, 2009
Showing with 7 additions and 26 deletions.
  1. +0 −15 Manifest.txt
  2. +7 −11 Rakefile
View
@@ -1,15 +0,0 @@
-History.txt
-LICENSE.txt
-Manifest.txt
-README.txt
-Rakefile
-bin/ar_sendmail
-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/action_mailer.rb
-test/test_armailer.rb
-test/test_arsendmail.rb
View
@@ -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{adam.meehan@gmail.com}
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"]
@@ -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.'

0 comments on commit 01553a6

Please sign in to comment.