Browse files

Add in # encoding: utf-8 comments to the top of ruby file.

  • Loading branch information...
1 parent f4f4ee6 commit 008f857ce5d4894944721480b6c59b55550ac109 @quamen committed Oct 13, 2011
View
2 lib/postmark.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
require "postmark/version"
def require_local(file)
View
4 lib/postmark/attachments_fix_for_mail.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
module Postmark
#
@@ -40,4 +42,4 @@ def remove_postmark_attachments_from_standard_fields
end
-end
+end
View
2 lib/postmark/bounce.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
require 'time'
module Postmark
View
4 lib/postmark/handlers/mail.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
module Mail
class Postmark
@@ -13,4 +15,4 @@ def deliver!(mail)
end
end
-end
+end
View
2 lib/postmark/http_client.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
require 'cgi'
module Postmark
View
2 lib/postmark/json.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
module Postmark
module Json
View
4 lib/postmark/message_extensions/mail.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
module Mail
class Message
@@ -24,4 +26,4 @@ def body_text
end
end
-end
+end
View
4 lib/postmark/message_extensions/shared.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
module Postmark
module SharedMessageExtensions
@@ -30,4 +32,4 @@ def postmark_attachments
end
end
-end
+end
View
2 lib/postmark/message_extensions/tmail.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
##
# author: http://fernandoguillen.info
# date: 2008-08-27
View
2 lib/postmark/response_parsers/active_support.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
# assume activesupport is already loaded
module Postmark
module ResponseParsers
View
3 lib/postmark/response_parsers/json.rb
@@ -1,4 +1,7 @@
+# encoding: utf-8
+
require 'json'
+
module Postmark
module ResponseParsers
module Json
View
6 lib/postmark/response_parsers/yajl.rb
@@ -1,5 +1,9 @@
+# encoding: utf-8
+
require 'yajl'
+
Yajl::Encoder.enable_json_gem_compatability
+
module Postmark
module ResponseParsers
module Yajl
@@ -8,4 +12,4 @@ def self.decode(data)
end
end
end
-end
+end
View
2 lib/postmark/version.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
module Postmark
VERSION = "0.0.1"
end
View
2 spec/bounce_spec.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
require 'spec_helper'
describe "Bounce" do
View
2 spec/postmark_spec.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
require 'spec_helper'
describe "Postmark" do
View
2 spec/spec_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'rubygems'

0 comments on commit 008f857

Please sign in to comment.