Created
January 24, 2012 15:23
-
-
Save voxik/1670672 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 0b463ad1ad85dac5617c8ccc402a94c4eaddeb06 Mon Sep 17 00:00:00 2001 | |
From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <[email protected]> | |
Date: Tue, 24 Jan 2012 16:22:55 +0100 | |
Subject: [PATCH] Add encoding directive. | |
This lets the test suite pass with Ruby 1.9.3. | |
--- | |
spec/i18n_data_spec.rb | 4 +++- | |
1 files changed, 3 insertions(+), 1 deletions(-) | |
diff --git a/spec/i18n_data_spec.rb b/spec/i18n_data_spec.rb | |
index eaee294..99b3832 100644 | |
--- a/spec/i18n_data_spec.rb | |
+++ b/spec/i18n_data_spec.rb | |
@@ -1,3 +1,5 @@ | |
+# encoding: utf-8 | |
+ | |
require File.expand_path("spec_helper", File.dirname(__FILE__)) | |
NUM_2_LETTER_LANGUAGES = 185 | |
@@ -145,4 +147,4 @@ describe I18nData do | |
it "has a VERSION" do | |
I18nData::VERSION.should =~ /^\d+\.\d+\.\d+$/ | |
end | |
-end | |
\ No newline at end of file | |
+end | |
-- | |
1.7.7.5 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment