diff options
author | Patrick Cherry <patch0@users.noreply.github.com> | 2018-01-30 10:23:23 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-30 10:23:23 +0000 |
commit | 271edeea99b0b3628c77962c5cd70e03e34e0a66 (patch) | |
tree | 5c5f5510b389c31ee8686e07b451e22738d4c253 /lib | |
parent | b2468a1977d0982e73b64e4cc80ad8120fa16365 (diff) | |
parent | b37a469b817e55b06b8d6a22c1087506a2221c14 (diff) |
Merge pull request #4 from BytemarkHosting/gem
Package up mauvesend as a gem
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mauve/sender.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/mauve/sender.rb b/lib/mauve/sender.rb index e6cc4dd..7a965ab 100644 --- a/lib/mauve/sender.rb +++ b/lib/mauve/sender.rb @@ -1,11 +1,6 @@ # encoding: UTF-8 require 'ipaddr' require 'socket' -begin - require 'locale' -rescue LoadError - # Do nothing -- these are bonus libraries :) -end require 'mauve/mauve_resolv' require 'mauve/mauve_time' @@ -153,13 +148,6 @@ module Mauve update.replace ||= false # - # Check the locale charset. This is to maximise the amout of information - # mauve receives, rather than provide proper sanitized data for the server. - # - from_charset = (Locale.current.charset || Locale.charset) if defined?(Locale) - from_charset ||= "UTF-8" - - # # # update.each_field do |field, value| |