Rakefile in masterview_gem_pack-0.0.11 vs Rakefile in masterview_gem_pack-0.0.12

- old
+ new

@@ -103,16 +103,17 @@ # Rake::SshFilePublisher.new("foobar.com", "dist/gems", "pkg", "#{PKG_FILE_NAME}.gem").upload # # Rake::SshDirPublisher.new("foobar.com", "dist/api/#{PKG_NAME}", "doc").upload #end - +desc 'Verify RUBYFORGE_USER and RUBYFORGE_PASSWORD' task :verify_rubyforge do raise "RUBYFORGE_USER environment variable not set!" unless ENV['RUBYFORGE_USER'] raise "RUBYFORGE_PASSWORD environment variable not set!" unless ENV['RUBYFORGE_PASSWORD'] MASTERVIEW = MetaProject::Project::XForge::RubyForge.new('masterview') end +desc 'Verify GMAIL_USER GMAIL_PASSWORD' task :verify_gmail do raise "GMAIL_USER environment variable not set!" unless ENV['GMAIL_USER'] raise "GMAIL_PASSWORD environment variable not set!" unless ENV['GMAIL_PASSWORD'] end