Sha256: 8bdbd6631065dac336fb42b5eedec0ab015a75e59a7e4cbdaa22c1b8c8cc35ee

Contents?: true

Size: 664 Bytes

Versions: 6

Compression:

Stored size: 664 Bytes

Contents

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

if major == 1 && minor < 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 ['u','UTF8'].include?($KCODE)
end

require 'rubygems'

# Needed for auto-linking
gem 'actionpack'
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

6 entries across 6 versions & 1 rubygems

Version Path
twitter-text-1.2.4 lib/twitter-text.rb
twitter-text-1.2.3 lib/twitter-text.rb
twitter-text-1.2.2 lib/twitter-text.rb
twitter-text-1.2.1 lib/twitter-text.rb
twitter-text-1.2.0 lib/twitter-text.rb
twitter-text-1.1.8 lib/twitter-text.rb