Sha256: d534e4cd528e0c3a04af7ae690a93a6e3f06b529a854eb29ba5a0458d55b3094

Contents?: true

Size: 691 Bytes

Versions: 12

Compression:

Stored size: 691 Bytes

Contents

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

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
end

# External libraries required. (for gems, use: ruby -rubygems ...)
require 'action_pack'
require 'action_view'

require File.join(File.dirname(__FILE__), 'regex')
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

12 entries across 12 versions & 1 rubygems

Version Path
twitter-text-1.4.8 lib/twitter-text.rb
twitter-text-1.4.7 lib/twitter-text.rb
twitter-text-1.4.6 lib/twitter-text.rb
twitter-text-1.4.5 lib/twitter-text.rb
twitter-text-1.3.4 lib/twitter-text.rb
twitter-text-1.3.3 lib/twitter-text.rb
twitter-text-1.3.2 lib/twitter-text.rb
twitter-text-1.4.2 lib/twitter-text.rb
twitter-text-1.4.1 lib/twitter-text.rb
twitter-text-1.3.1 lib/twitter-text.rb
twitter-text-1.3.0 lib/twitter-text.rb
twitter-text-1.2.5 lib/twitter-text.rb