Sha256: 69a99d6d095a09e64c48d110e7bf3e1ad5b19eb2debcea8a96aaa8499910e9af

Contents?: true

Size: 446 Bytes

Versions: 3

Compression:

Stored size: 446 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

%w(
  deprecation
  regex
  rewriter
  autolink
  extractor
  unicode
  validation
  hit_highlighter
).each do |name|
  require "twitter-text-relative/#{name}"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
twitter-text-relative-1.6.2.3 lib/twitter-text-relative.rb
twitter-text-relative-1.6.2.pre.3 lib/twitter-text-relative.rb
twitter-text-relative-1.6.2.2 lib/twitter-text-relative.rb