diff options
author | Louise Crow <louise.crow@gmail.com> | 2015-05-15 16:11:04 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2015-05-15 16:11:04 +0100 |
commit | da706b6c05ee7d0be15b59cf0fdec7f6d3ed58ec (patch) | |
tree | 3ed7a8bda9140abad6001080aaf9c29b7fa1f0d8 /lib/attachment_to_html | |
parent | 8c29864c8a84d0113209a33c4421abd10fd47c5b (diff) | |
parent | 576b58803635de9d16dd7cd1c2a68b692ba11743 (diff) |
Merge branch 'set-file-encodings' into rails-3-develop
Diffstat (limited to 'lib/attachment_to_html')
-rw-r--r-- | lib/attachment_to_html/adapters/could_not_convert.rb | 3 | ||||
-rw-r--r-- | lib/attachment_to_html/adapters/google_docs_viewer.rb | 1 | ||||
-rw-r--r-- | lib/attachment_to_html/adapters/pdf.rb | 1 | ||||
-rw-r--r-- | lib/attachment_to_html/adapters/rtf.rb | 1 | ||||
-rw-r--r-- | lib/attachment_to_html/adapters/text.rb | 1 | ||||
-rw-r--r-- | lib/attachment_to_html/attachment_to_html.rb | 1 | ||||
-rw-r--r-- | lib/attachment_to_html/view.rb | 1 |
7 files changed, 8 insertions, 1 deletions
diff --git a/lib/attachment_to_html/adapters/could_not_convert.rb b/lib/attachment_to_html/adapters/could_not_convert.rb index 8e4bf39dc..f23583590 100644 --- a/lib/attachment_to_html/adapters/could_not_convert.rb +++ b/lib/attachment_to_html/adapters/could_not_convert.rb @@ -1,3 +1,4 @@ +# -*- encoding : utf-8 -*- module AttachmentToHTML module Adapters class CouldNotConvert @@ -46,4 +47,4 @@ module AttachmentToHTML end end -end
\ No newline at end of file +end diff --git a/lib/attachment_to_html/adapters/google_docs_viewer.rb b/lib/attachment_to_html/adapters/google_docs_viewer.rb index 991fbb757..343a89791 100644 --- a/lib/attachment_to_html/adapters/google_docs_viewer.rb +++ b/lib/attachment_to_html/adapters/google_docs_viewer.rb @@ -1,3 +1,4 @@ +# -*- encoding : utf-8 -*- module AttachmentToHTML module Adapters # Renders the attachment in a Google Docs Viewer diff --git a/lib/attachment_to_html/adapters/pdf.rb b/lib/attachment_to_html/adapters/pdf.rb index a010b0342..f99bdc78b 100644 --- a/lib/attachment_to_html/adapters/pdf.rb +++ b/lib/attachment_to_html/adapters/pdf.rb @@ -1,3 +1,4 @@ +# -*- encoding : utf-8 -*- module AttachmentToHTML module Adapters # Convert application/pdf documents in to HTML diff --git a/lib/attachment_to_html/adapters/rtf.rb b/lib/attachment_to_html/adapters/rtf.rb index 95f499689..90478d9ca 100644 --- a/lib/attachment_to_html/adapters/rtf.rb +++ b/lib/attachment_to_html/adapters/rtf.rb @@ -1,3 +1,4 @@ +# -*- encoding : utf-8 -*- module AttachmentToHTML module Adapters # Convert application/rtf documents in to HTML diff --git a/lib/attachment_to_html/adapters/text.rb b/lib/attachment_to_html/adapters/text.rb index e99183f0e..7e22422e2 100644 --- a/lib/attachment_to_html/adapters/text.rb +++ b/lib/attachment_to_html/adapters/text.rb @@ -1,3 +1,4 @@ +# -*- encoding : utf-8 -*- module AttachmentToHTML module Adapters # Convert text/plain documents in to HTML diff --git a/lib/attachment_to_html/attachment_to_html.rb b/lib/attachment_to_html/attachment_to_html.rb index 2f7c08264..e95f67262 100644 --- a/lib/attachment_to_html/attachment_to_html.rb +++ b/lib/attachment_to_html/attachment_to_html.rb @@ -1,3 +1,4 @@ +# -*- encoding : utf-8 -*- require 'view' Dir[File.dirname(__FILE__) + '/adapters/*.rb'].each do |file| diff --git a/lib/attachment_to_html/view.rb b/lib/attachment_to_html/view.rb index e6991d44e..0d5b205b7 100644 --- a/lib/attachment_to_html/view.rb +++ b/lib/attachment_to_html/view.rb @@ -1,3 +1,4 @@ +# -*- encoding : utf-8 -*- module AttachmentToHTML class View < ERB |