Merge pull request #1213 from repotag/remove_ruby18

Remove unicode support on deprecated ruby 1.8
This commit is contained in:
Dawa Ometto
2017-04-04 14:31:08 +02:00
committed by GitHub
-4
View File
@@ -11,10 +11,6 @@ require 'sanitize'
# internal
require File.expand_path('../gollum/uri_encode_component', __FILE__)
# Set ruby to UTF-8 mode
# This is required for Ruby 1.8.7 which gollum still supports.
$KCODE = 'U' if RUBY_VERSION[0, 3] == '1.8'
module Gollum
VERSION = '4.0.1'