Skip to content

Commit

Permalink
ruby 1.9 compat: declare source file encodings
Browse files Browse the repository at this point in the history
  • Loading branch information
yob committed Dec 23, 2009
1 parent 2fd1651 commit 79e8ced
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/dumb_quotes.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# coding: utf-8

module DumbQuotes
# Strips whitespace from model fields and converts blank values to nil.
def dumb_quotes!(options = nil)
Expand Down
2 changes: 2 additions & 0 deletions test/dumb_quotes_test.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# coding: utf-8

require "#{File.dirname(__FILE__)}/test_helper"

module MockAttributes
Expand Down

0 comments on commit 79e8ced

Please sign in to comment.