rmagick/ruby/1.8/gems/pg-0.9.0/rake/publishing.rb
### Generate a valid RFC822 message-id
Generate a valid RFC822 message-id
Generate a valid RFC822 message - id
def gen_message_id
		return "<%s.%s@%s>" % [
			(Time.now.to_f * 10000).to_i.to_s( 36 ),
			(rand( 2 ** 64 - 1 )).to_s( 36 ),
			Socket.gethostname
		]
	end
def gen_message_id return "<%s.%s@%s>" % [ ( Time . now . to_f * 10000 ) . to_i . to_s ( 36 ) , ( rand ( 2 ** 64 - 1 ) ) . to_s ( 36 ) , Socket . gethostname ] end
Generate a valid RFC822 message-id
Generate a valid RFC822 message - id