Sha256: cc14d3dd62ce42bd23dde4bd5972d047c3b791553a6563f4bcb8a41c73b31f19
Contents?: true
Size: 564 Bytes
Versions: 2
Compression:
Stored size: 564 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 'active_support/core_ext/hash/keys.rb' %w( deprecation regex rewriter autolink extractor unicode validation hit_highlighter ).each do |name| require "twitter-text/#{name}" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
twitter-text-1.6.0 | lib/twitter-text.rb |
twitter-text-1.5.0 | lib/twitter-text.rb |