Sha256: 332e4c1e9a055edd7ac87b9c8782697a8a1e004a9e95ee90214e837801f6a215
Contents?: true
Size: 471 Bytes
Versions: 4
Compression:
Stored size: 471 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 weighted_range configuration validation hit_highlighter ).each do |name| require "twitter-text/#{name}" end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
twitter-text-2.1.0 | lib/twitter-text.rb |
twitter-text-2.0.2 | lib/twitter-text.rb |
twitter-text-2.0.1 | lib/twitter-text.rb |
twitter-text-2.0.0 | lib/twitter-text.rb |