Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make encoding directives consistent

  • Loading branch information...
commit 135da04007bad23b70f56d46c2b505b608c8b988 1 parent dc83986
@sferik sferik authored
View
5 spec/autolinking_spec.rb
@@ -1,6 +1,5 @@
-#encoding: UTF-8
-# require File.dirname(__FILE__) + '/spec_helper'
-require 'spec_helper'
+# encoding: utf-8
+require File.dirname(__FILE__) + '/spec_helper'
class TestAutolink
include Twitter::Autolink
View
2  spec/extractor_spec.rb
@@ -1,4 +1,4 @@
-#encoding: UTF-8
+# encoding: utf-8
require File.dirname(__FILE__) + '/spec_helper'
class TestExtractor
View
2  spec/hithighlighter_spec.rb
@@ -1,4 +1,4 @@
-#encoding: UTF-8
+# encoding: utf-8
require File.dirname(__FILE__) + '/spec_helper'
class TestHitHighlighter
View
5 spec/rewriter_spec.rb
@@ -1,6 +1,5 @@
-# encoding: UTF-8
-
-require 'spec_helper'
+# encoding: utf-8
+require File.dirname(__FILE__) + '/spec_helper'
describe Twitter::Rewriter do
def original_text; end
View
3  spec/test_urls.rb
@@ -1,4 +1,5 @@
-#encoding: UTF-8
+# encoding: utf-8
+
module TestUrls
VALID = [
"http://google.com",
View
1  spec/twitter_text_spec.rb
@@ -1,3 +1,4 @@
+# encoding: utf-8
require File.dirname(__FILE__) + '/spec_helper'
major, minor, patch = RUBY_VERSION.split('.')
View
4 spec/unicode_spec.rb
@@ -1,4 +1,4 @@
-#encoding: UTF-8
+# encoding: utf-8
require File.dirname(__FILE__) + '/spec_helper'
describe Twitter::Unicode do
@@ -28,4 +28,4 @@
lambda { Twitter::Unicode::FFFFFF }.should raise_error(NameError)
end
-end
+end
View
4 spec/validation_spec.rb
@@ -1,4 +1,4 @@
-#encoding: BINARY
+# encoding: binary
require File.dirname(__FILE__) + '/spec_helper'
class TestValidation
@@ -40,4 +40,4 @@ class TestValidation
TestValidation.new.tweet_invalid?(char * 141).should == :too_long
end
-end
+end
View
4 twitter-text.gemspec
@@ -1,4 +1,6 @@
-spec = Gem::Specification.new do |s|
+# encoding: utf-8
+
+Gem::Specification.new do |s|
s.name = "twitter-text"
s.version = "1.4.11"
s.authors = ["Matt Sanford", "Patrick Ewing", "Ben Cherry", "Britt Selvitelle",
Please sign in to comment.
Something went wrong with that request. Please try again.