lib/kramdown/utils/unidecoder.rb in kramdown-1.14.0 vs lib/kramdown/utils/unidecoder.rb in kramdown-1.15.0
- old
+ new
@@ -16,10 +16,10 @@
module Unidecoder
gem 'stringex' if defined?(Gem)
path = $:.find {|dir| File.directory?(File.join(File.expand_path(dir), "stringex", "unidecoder_data"))}
- if RUBY_VERSION <= '1.8.6' || !path
+ if !path
def self.decode(string)
string
end
else