Sha256: 3f7d0ca6bd778a3581d1acdc107c386cfbcedc1380f37020ab65f9e0e6662264

Contents?: true

Size: 745 Bytes

Versions: 9

Compression:

Stored size: 745 Bytes

Contents

major, minor, patch = RUBY_VERSION.split('.')

$RUBY_1_9 = if major.to_i == 1 && minor.to_i < 9
  # Ruby 1.8 KCODE check. Not needed on 1.9 and later.
  raise("twitter-text requires the $KCODE variable be set to 'UTF8' or 'u'") unless $KCODE[0].chr =~ /u/i
  false
else
  true
end

require 'active_support'
require 'active_support/core_ext/string/multibyte.rb'

require File.join(File.dirname(__FILE__), 'regex')
require File.join(File.dirname(__FILE__), 'rewriter')
require File.join(File.dirname(__FILE__), 'autolink')
require File.join(File.dirname(__FILE__), 'extractor')
require File.join(File.dirname(__FILE__), 'unicode')
require File.join(File.dirname(__FILE__), 'validation')
require File.join(File.dirname(__FILE__), 'hithighlighter')

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
twitter-text-1.4.17 lib/twitter-text.rb
twitter-text-1.4.16 lib/twitter-text.rb
twitter-text-1.4.15 lib/twitter-text.rb
twitter-text-1.4.14 lib/twitter-text.rb
twitter-text-1.4.13 lib/twitter-text.rb
twitter-text-1.4.12 lib/twitter-text.rb
twitter-text-1.4.11 lib/twitter-text.rb
twitter-text-1.4.10 lib/twitter-text.rb
twitter-text-1.4.9 lib/twitter-text.rb